/* Layout: moldura da prova (barra de contadores em cima, 4 ferramentas embaixo) envolvendo
   quatro "sistemas" com identidades próprias. Tema claro único, de propósito: simula a tela de trabalho. */
:root {
  color-scheme: light;
  --ink: #18202e;
  --ink-2: #4a5568;
  --muted: #7b8698;
  --line: #e3e7ee;
  --bg: #f3f5f9;
  --panel: #ffffff;
  --frame: #141b2b;        /* moldura da prova */
  --frame-2: #1f2940;
  --accent: #2f6df6;       /* ação principal */
  --accent-soft: #e8efff;
  --ok: #138a52;
  --ok-soft: #e3f6ec;
  --warn: #c77700;
  --warn-soft: #fff3df;
  --bad: #d23a3a;
  --bad-soft: #fde8e8;
  --gestor: #f2b33d;
  /* WhatsUP */
  --wa-head: #4f6491;
  --wa-me: #dce9ff;
  --wa-bg: #f6f7fb;
  /* Silver */
  --sv-purple: #6a3df0;
  --sv-orange: #ff7a1a;
  /* GPSeg */
  --gp-bg: #ffffff;
  --gp-side: #f7f7f8;
  --gp-q: #f0f0f2;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; font: 14px/1.45 var(--font); color: var(--ink); background: var(--bg); overflow: hidden; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 600; color: var(--accent); margin: 0 0 6px; }
.btn-primary { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary.big { width: 100%; padding: 13px; font-size: 15px; margin-top: 8px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; }
.btn-ghost.small { padding: 6px 10px; font-size: 12px; }
.btn-danger { background: var(--bad); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 600; }

/* ---------- tela inicial ---------- */
.start { position: fixed; inset: 0; display: flex; background: var(--frame); overflow: auto; padding-block: 24px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.start-card { margin: auto; background: var(--panel); border-radius: 16px; padding: 32px; max-width: 640px; width: 100%; display: grid; gap: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.start-card h1 { font: 700 28px/1.15 var(--display); margin: 0 0 4px; text-wrap: balance; }
.start-card p { margin: 0; color: var(--ink-2); }
.start-list { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 4px; }
.start-card label { font-weight: 600; margin-top: 8px; }
.start-card input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.start-box { background: var(--bg); border-radius: 10px; padding: 12px 16px; display: grid; gap: 6px; }
.start-box.warn { background: var(--warn-soft); }
.start-box p { margin: 0; }
.modal-card.tour p { color: var(--ink-2); margin: 0 0 8px; }
.field-err { color: var(--bad) !important; font-size: 12.5px; margin-top: -4px !important; }
.start-card input.invalid { border-color: var(--bad); background: var(--bad-soft); }
.start-err { color: var(--bad) !important; font-size: 13px; }
.start-contact { font-size: 13px; background: var(--accent-soft); color: var(--accent) !important; border-radius: 8px; padding: 8px 12px; }
.rp-contact { color: var(--ink-2); font-weight: 500; }

/* ---------- moldura ---------- */
.app { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.topbar { background: var(--frame); color: #fff; display: flex; align-items: center; gap: 20px; padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); flex-wrap: wrap; }
.brand { font: 700 18px var(--display); letter-spacing: -.01em; }
.brand span { color: var(--gestor); margin-left: 2px; }
.counters { display: flex; gap: 10px; flex: 1; justify-content: center; flex-wrap: wrap; }
.ctr { display: flex; align-items: center; gap: 10px; background: var(--frame-2); border-radius: 10px; padding: 6px 14px 6px 10px; min-width: 0; }
.ctr-n { font: 700 24px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 28px; text-align: center; color: #fff; }
.ctr-l { font-size: 11px; line-height: 1.2; color: #b7c1d6; max-width: 110px; }
.ctr.pop .ctr-n { animation: pop .6s ease; color: #7ef0b0; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.top-right { display: flex; align-items: center; gap: 10px; }
.timer { font: 700 20px var(--display); font-variant-numeric: tabular-nums; background: var(--frame-2); padding: 6px 12px; border-radius: 8px; }
.timer.warn { color: #ff9b9b; }
.btn-gestor { background: var(--gestor); color: #2b1d00; border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 700; }
.topbar .btn-ghost { color: #b7c1d6; border-color: #34405c; }
.views { position: relative; overflow: hidden; min-height: 0; }
.view { position: absolute; inset: 0; overflow: auto; }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--frame); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar button { position: relative; background: none; border: 0; color: #8f9bb4; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 9px; font-size: 12px; font-weight: 600; border-top: 3px solid transparent; }
.tabbar button.active { color: #fff; border-top-color: var(--gestor); background: var(--frame-2); }
.tabbar .badge { position: absolute; top: 4px; left: calc(50% + 8px); background: var(--bad); color: #fff; font-size: 10px; border-radius: 9px; padding: 1px 6px; font-weight: 700; }

/* ---------- toasts e modal ---------- */
.toasts { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); top: 76px; display: grid; gap: 8px; z-index: 60; max-width: min(360px, calc(100vw - 32px)); }
.toast { background: var(--panel); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 24px rgba(20,27,43,.18); font-weight: 500; transition: opacity .4s, transform .4s; }
.toast.out { opacity: 0; transform: translateX(20px); }
.toast-ok { border-color: var(--ok); }
.toast-err { border-color: var(--bad); }
.toast-lead { border-color: var(--sv-orange); }
.toast-msg { border-color: var(--wa-head); }
.modal { position: fixed; inset: 0; background: rgba(12,17,28,.55); display: grid; place-items: center; z-index: 70; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.modal-card { background: var(--panel); border-radius: 14px; padding: 24px; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-card h2 { margin: 0 0 8px; font: 700 20px var(--display); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.gestor { display: flex; gap: 14px; align-items: flex-start; }
.gestor-hint { font-size: 16px; margin: 8px 0; color: var(--ink); }
.gestor-note { font-size: 12px; color: var(--warn); background: var(--warn-soft); padding: 6px 10px; border-radius: 6px; margin: 0; }
.copybox { white-space: pre-wrap; font-size: 12px; background: var(--bg); padding: 12px; border-radius: 8px; user-select: all; }

/* avatares */
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.av-big { width: 64px; height: 64px; font-size: 22px; }
.av-0 { background: #5b7bd5; } .av-1 { background: #c2569b; } .av-2 { background: #2b9a8a; } .av-3 { background: #d8892b; } .av-4 { background: #7d5bd5; }

/* ---------- WhatsUP ---------- */
.wa { display: grid; grid-template-columns: 320px 1fr; height: 100%; background: var(--panel); }
.wa-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.wa-side-head { background: var(--wa-head); color: #fff; padding: 14px 16px; display: flex; align-items: baseline; gap: 8px; }
.wa-logo { font: 700 18px var(--display); }
.wa-sub { font-size: 12px; opacity: .8; }
.wa-search { padding: 12px 12px 6px; }
.wa-search input { width: 100%; padding: 9px 14px; border: 1px solid var(--line); border-radius: 20px; font: inherit; }
.wa-filters { display: flex; gap: 6px; padding: 6px 12px 10px; }
.wa-filters button { border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 4px 12px; color: var(--ink-2); }
.wa-filters button.on { background: var(--accent-soft); border-color: #b9ccff; color: var(--accent); font-weight: 600; }
.wa-list { overflow: auto; flex: 1; }
.wa-item { width: 100%; border: 0; background: none; display: flex; gap: 10px; align-items: center; padding: 12px; text-align: left; border-bottom: 1px solid #f0f2f6; }
.wa-item:hover, .wa-item.on { background: #f2f5fb; }
.wa-item.lost { opacity: .5; }
.wa-item-body { flex: 1; min-width: 0; display: grid; }
.wa-item-top { display: flex; justify-content: space-between; gap: 6px; }
.wa-item-top small { color: var(--muted); }
.wa-item-prev { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-unread { background: var(--ok); color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.wa-none { color: var(--muted); padding: 16px; font-size: 13px; }
.ck { color: var(--muted); font-size: 11px; }
.ck.read { color: #2f8cf6; }
.wa-main { position: relative; display: flex; min-height: 0; background: var(--wa-bg); }
.wa-empty { margin: auto; text-align: center; color: var(--ink-2); }
.wa-empty svg { color: #8794ad; }
.wa-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
.wa-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.wa-chat-who { flex: 1; display: grid; min-width: 0; }
.wa-chat-who small { color: var(--muted); }
.wa-call { display: inline-flex; align-items: center; gap: 6px; background: var(--ok); color: #fff; border: 0; border-radius: 18px; padding: 7px 14px; font-weight: 600; }
.wa-call:disabled { opacity: .4; cursor: not-allowed; }
.wa-msgs { flex: 1; overflow: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.msg { display: flex; }
.msg.me { justify-content: flex-end; }
.bubble { max-width: min(520px, 75%); padding: 8px 12px 6px; border-radius: 12px; background: var(--panel); box-shadow: 0 1px 1px rgba(0,0,0,.06); white-space: normal; overflow-wrap: anywhere; }
.msg.me .bubble { background: var(--wa-me); border-bottom-right-radius: 4px; }
.msg.them .bubble { border-bottom-left-radius: 4px; }
.bubble .meta { display: block; text-align: right; font-size: 10px; color: var(--muted); margin-top: 2px; }
.msg-sys { align-self: center; background: #e9edf5; color: var(--ink-2); font-size: 12px; padding: 4px 10px; border-radius: 8px; }
.wa-assume { padding: 14px; text-align: center; background: var(--panel); border-top: 1px solid var(--line); }
.wa-composer { display: flex; gap: 8px; padding: 10px 14px; background: var(--panel); border-top: 1px solid var(--line); }
.wa-composer textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px; font: inherit; max-height: 120px; }
.wa-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--wa-head); color: #fff; display: grid; place-items: center; }
.call { position: absolute; inset: 0; background: rgba(24,32,46,.9); display: grid; place-items: center; z-index: 5; }
.call-card { color: #fff; display: grid; justify-items: center; gap: 6px; text-align: center; max-width: 420px; padding: 20px; }
.call-card small { color: #b7c1d6; }
.call-status { margin: 10px 0 0; font-weight: 600; }
.call-status.ringing { animation: blink 1s infinite; }
.call-status.missed { color: #ff9b9b; }
.call-status.live { color: #7ef0b0; }
@keyframes blink { 50% { opacity: .35; } }
.call-lines p { margin: 6px 0; font-style: italic; color: #e6ebf5; }
.call-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-hang { background: var(--bad); color: #fff; border: 0; border-radius: 22px; padding: 10px 20px; font-weight: 600; }
.btn-retry { background: var(--ok); color: #fff; border: 0; border-radius: 22px; padding: 10px 20px; font-weight: 600; }

/* ---------- Silver ---------- */
.sv { padding: 16px 20px; min-height: 100%; background: #f7f8fb; }
.sv-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sv-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 24px var(--display); color: #1b2340; }
.sv-head h2 svg { color: var(--accent); }
.sv-pills { display: flex; gap: 6px; background: #eef0f5; padding: 4px; border-radius: 10px; }
.pill { padding: 5px 12px; border-radius: 8px; color: var(--ink-2); font-size: 13px; }
.pill.on { background: var(--panel); color: var(--accent); font-weight: 600; border: 1px solid #c9d6ff; }
.sv-btn { margin-left: auto; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 7px 14px; font-weight: 500; }
.sv-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.sv-col { background: #eef1f6; border-radius: 12px; padding: 10px; min-width: 0; }
.sv-col-head { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; font-size: 15px; }
.sv-col-head .cnt { background: var(--panel); border-radius: 10px; padding: 0 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.c-novo .sv-col-head b { color: var(--sv-orange); }
.c-contato .sv-col-head b { color: #c88a00; }
.c-cotacao .sv-col-head b { color: var(--sv-purple); }
.c-proposta .sv-col-head b { color: var(--accent); }
.c-ganho .sv-col-head b { color: var(--ok); }
.c-perdido .sv-col-head b { color: var(--bad); }
.sv-cards { display: grid; gap: 10px; }
.sv-none { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0; }
.sv-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 7px; }
.c-novo .sv-card { border: 2px solid #ffc48f; }
.sv-card.late { border-color: var(--bad); background: #fff8f8; }
.sv-card h3 { margin: 0; font-size: 16px; font-weight: 600; }
.sv-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { border: 1px solid var(--line); border-radius: 12px; padding: 1px 8px; font-size: 11px; color: var(--ink-2); }
.tag.hot { background: var(--sv-orange); border-color: var(--sv-orange); color: #fff; font-weight: 600; }
.tag.red { background: var(--bad); border-color: var(--bad); color: #fff; font-weight: 600; }
.sv-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.sv-line.muted { color: var(--muted); font-size: 12px; }
.chip { background: #efe9ff; color: var(--sv-purple); border-radius: 10px; padding: 0 7px; font-size: 11px; font-weight: 600; }
.sv-actions { display: flex; gap: 6px; }
.sv-act { flex: 1; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 6px 8px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sv-act.green { border-color: #9fdcbc; color: var(--ok); }
.sv-big { background: var(--sv-purple); color: #fff; border: 0; border-radius: 8px; padding: 10px; font-weight: 600; }
.sv-big.win { background: var(--ok); }
.sv-lbl { font-size: 11px; color: var(--muted); }
.sv-quote-in { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }
.sv-info { font-size: 12px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 5px 8px; }
.sv-info.ok { background: var(--ok-soft); color: var(--ok); }
.sv-info.bad { background: var(--bad-soft); color: var(--bad); }
.sv-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dots { display: inline-flex; align-items: center; gap: 3px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #c3cad6; display: inline-block; }
.dots i.on { background: var(--ok); border-color: var(--ok); }

/* ---------- Seguradora (feio de propósito) ---------- */
.pt-wrap { display: flex; gap: 16px; padding: 16px; min-height: 100%; background: #c9ced6; align-items: flex-start; }
.pt-browser { flex: 1; min-width: 0; background: #fff; border: 1px solid #8d96a5; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pt-bar { display: flex; gap: 6px; align-items: center; background: #e4e7ec; padding: 6px 8px; border-bottom: 1px solid #b4bac5; }
.pt-bar button { width: 30px; height: 28px; border: 1px solid #a9b0bc; background: #f6f7f9; border-radius: 4px; font-size: 16px; line-height: 1; }
.pt-bar button:hover { background: #fff; }
.pt-url { flex: 1; min-width: 0; background: #fff; border: 1px solid #a9b0bc; border-radius: 14px; padding: 4px 12px; font: 12px Arial, sans-serif; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-page { min-height: 520px; font: 12px Verdana, Tahoma, Arial, sans-serif; color: #222; }
.pt-page a { color: #0033cc; }
.pt-loading { display: grid; place-items: center; min-height: 420px; color: #555; font: 12px Verdana, sans-serif; }
.pt-hourglass { width: 22px; height: 22px; border: 3px solid #b8c3d6; border-top-color: #1d4f91; border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.pt-logo { font: bold 20px Georgia, 'Times New Roman', serif; color: #1d4f91; letter-spacing: 1px; }
.pt-logo span { color: #d4a017; }
.pt-logo.big { font-size: 30px; text-align: center; margin: 40px 0 16px; }
.pt-login { padding: 0 16px 30px; }
.pt-box { max-width: 380px; margin: 0 auto; border: 1px solid #7f9db9; background: #f4f7fb; }
.pt-box-h { background: linear-gradient(#5f86b8, #3a6496); color: #fff; font-weight: bold; padding: 5px 8px; }
.pt-form { border-collapse: collapse; margin: 8px; }
.pt-form td { padding: 4px 6px; vertical-align: middle; }
.pt-form td:first-child { text-align: right; white-space: nowrap; font-weight: bold; color: #333; }
.pt-form input, .pt-form select { font: 12px Verdana, sans-serif; border: 1px solid #7f9db9; padding: 2px 3px; max-width: 100%; }
.pt-form input.ro { background: #eee; color: #555; }
.pt-btn { font: bold 11px Verdana, sans-serif; background: linear-gradient(#fdfdfd, #d9dde3); border: 1px solid #707070; padding: 3px 12px; border-radius: 2px; color: #000; }
.pt-btn.small { padding: 1px 6px; font-weight: normal; }
.pt-btn.gray { color: #555; }
.pt-btn:disabled { color: #999; }
.pt-remember { font-size: 11px; display: inline-flex; gap: 4px; align-items: center; }
.pt-tiny { font-size: 10px; color: #777; text-align: center; }
.pt-flash { border: 1px solid; padding: 6px 10px; margin: 8px; font: bold 12px Verdana, sans-serif; }
.pt-flash.err { border-color: #cc0000; background: #ffeeee; color: #cc0000; }
.pt-flash.ok { border-color: #2e7d32; background: #eef8ee; color: #2e7d32; }
.pt-shell { min-height: 520px; }
.pt-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 3px solid #1d4f91; flex-wrap: wrap; gap: 6px; }
.pt-userbox { font-size: 11px; }
.pt-notice { background: #fff6bf; color: #a00; font-size: 11px; padding: 3px 12px; border-bottom: 1px solid #e0d27a; }
.pt-body { display: flex; }
.pt-menu { width: 160px; flex: none; background: #e9eef5; border-right: 1px solid #b8c3d6; min-height: 460px; padding-bottom: 10px; }
.pt-menu-h { background: #1d4f91; color: #fff; font-weight: bold; padding: 4px 8px; }
.pt-menu a { display: block; padding: 5px 10px; }
.pt-content { flex: 1; padding: 12px 16px; min-width: 0; overflow-x: auto; }
.pt-h1 { font: bold 16px Arial, sans-serif; color: #1d4f91; border-bottom: 1px solid #b8c3d6; padding-bottom: 4px; }
.pt-grid { border-collapse: collapse; margin: 8px 0; min-width: 360px; }
.pt-grid th { background: #d6e0ee; border: 1px solid #9fb0c8; padding: 4px 8px; text-align: left; }
.pt-grid td { border: 1px solid #c3cfdf; padding: 4px 8px; }
.pt-price { color: #006600; font-size: 14px; }
.pt-cep-wait { margin: 10px 8px; padding: 8px; background: #ffffe0; border: 1px dashed #c9b800; display: flex; gap: 8px; align-items: center; }
.pt-err { padding: 30px; }
.pt-err h1 { font: bold 18px Arial, sans-serif; color: #a00; }
.pt-iis { padding: 16px 24px; font-family: Verdana, sans-serif; }
.pt-iis h1 { font: normal 18pt Verdana; color: #ff0000; margin: 0; }
.pt-iis h2 { font: normal 14pt Verdana; color: #800000; }
.pt-iis hr { border: 0; border-top: 1px solid silver; }
.postit { width: 180px; flex: none; background: #fff59d; padding: 14px; font: 15px 'Comic Sans MS', 'Segoe Print', cursive; color: #3b3300; transform: rotate(2deg); box-shadow: 2px 4px 10px rgba(0,0,0,.25); }
.postit code { font: inherit; font-weight: bold; }

/* ---------- Chat GPSeg ---------- */
.gp { display: grid; grid-template-columns: 240px 1fr; height: 100%; background: var(--gp-bg); }
.gp-side { background: var(--gp-side); border-right: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.gp-brand { font: 700 17px var(--display); display: flex; align-items: center; gap: 8px; }
.gp-mark { width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; display: inline-grid; place-items: center; font: 700 14px var(--display); flex: none; }
.gp-conv { padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.gp-conv.on { background: #e6e6ea; font-weight: 500; }
.gp-side-note { margin-top: auto; font-size: 12px; color: var(--muted); }
.gp-main { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.gp-msgs { flex: 1; overflow: auto; padding: 24px max(16px, calc(50% - 360px)); display: flex; flex-direction: column; gap: 18px; }
.gp-hello { margin: auto; text-align: center; }
.gp-hello h2 { font: 600 26px var(--display); margin: 0 0 18px; }
.gp-sugs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 560px; }
.gp-sugs button { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 8px 14px; color: var(--ink-2); }
.gp-q { display: flex; justify-content: flex-end; }
.gp-q div { background: var(--gp-q); border-radius: 18px; padding: 10px 16px; max-width: 75%; overflow-wrap: anywhere; }
.gp-a { display: flex; gap: 12px; align-items: flex-start; }
.gp-a-text { line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.gp-composer { display: flex; gap: 8px; margin: 0 max(16px, calc(50% - 360px)); border: 1px solid #d6d6dc; border-radius: 24px; padding: 8px 8px 8px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.gp-composer textarea { flex: 1; border: 0; resize: none; font: inherit; padding: 8px 0; outline: none; }
.gp-composer button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #111; color: #fff; font-size: 18px; font-weight: 700; }
.gp-art { display: grid; gap: 8px; margin-top: 12px; max-width: 340px; }
.gp-art img { width: 100%; border-radius: 12px; box-shadow: 0 4px 16px rgba(15,42,92,.2); }
.gp-art small { color: var(--muted); }
.gp-gen { color: var(--muted); }
.msg-img { display: block; width: 260px; max-width: 100%; border-radius: 8px; margin-bottom: 4px; }
.gp-disc { text-align: center; font-size: 11px; color: var(--muted); margin: 6px 0 10px; }

/* ---------- relatório ---------- */
.report { position: fixed; inset: 0; overflow: auto; background: var(--bg); }
.rp { max-width: 1100px; margin: 0 auto; padding-block: 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 16px; }
.rp-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.rp-head h1 { font: 700 30px var(--display); margin: 0; }
.rp-head p { margin: 4px 0 0; }
.rp-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rp-confirm { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; }
.rp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rp-kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 2px; }
.rp-kpi span { font: 700 36px/1 var(--display); font-variant-numeric: tabular-nums; }
.rp-kpi small { color: var(--ink-2); }
.rp-kpi.pers.alta span { color: var(--ok); }
.rp-kpi.pers.média span { color: var(--warn); }
.rp-kpi.pers.baixa span { color: var(--bad); }
.rp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rp-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; min-width: 0; }
.rp-box h2 { font: 600 15px var(--display); margin: 0 0 8px; }
.rp-box h2:not(:first-child) { margin-top: 16px; }
.rp-box dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; font-size: 13px; }
.rp-box dt { color: var(--ink-2); }
.rp-box dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rp-table { overflow-x: auto; }
.rp-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rp-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; border-bottom: 1px solid var(--line); padding: 6px 8px; }
.rp-table td { border-bottom: 1px solid #f0f2f6; padding: 7px 8px; font-variant-numeric: tabular-nums; }
.ok { color: var(--ok); font-weight: 600; }
.bad { color: var(--bad); font-weight: 600; }

/* ---------- responsivo (a prova é pensada para computador) ---------- */
@media (max-width: 900px) {
  .ctr-l { max-width: 80px; font-size: 10px; }
  .wa { grid-template-columns: 1fr; grid-template-rows: 220px 1fr; }
  .wa-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .gp { grid-template-columns: 1fr; }
  .gp-side { display: none; }
  .pt-wrap { flex-direction: column; }
  .postit { width: auto; transform: none; }
  .pt-menu { width: 120px; }
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .topbar { gap: 8px; }
  .ctr { padding: 4px 8px; }
  .ctr-n { font-size: 18px; }
  .btn-gestor { padding: 7px 10px; font-size: 12px; }
  .pt-body { flex-direction: column; }
  .pt-menu { width: auto; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- tour guiado (spotlight) ---------- */
#tour { position: fixed; inset: 0; z-index: 90; }
.tour-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(8,12,22,.74), 0 0 0 3px rgba(255,255,255,.9) inset; pointer-events: none; transition: left .25s, top .25s, width .25s, height .25s; }
.tour-hole.none { left: 50%; top: 50%; width: 0; height: 0; box-shadow: 0 0 0 9999px rgba(8,12,22,.74); }
.tour-pop { position: fixed; width: min(400px, calc(100vw - 24px)); background: var(--panel); color: var(--ink); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); animation: tourIn .22s ease-out; }
.tour-pop h2 { font: 700 23px/1.25 var(--display); margin: 0 0 10px; }
.tour-pop p { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 0 0 10px; }
.tour-pop p b { color: var(--ink); }
.tour-pop .tour-step { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.tour-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.tour-actions button { font-size: 16px; padding: 11px 20px; }
.tour-arrow { position: absolute; width: 18px; height: 18px; background: var(--panel); transform: rotate(45deg); }
.tour-pop.below .tour-arrow { top: -8px; }
.tour-pop.above .tour-arrow { bottom: -8px; }
.tour-pop.right .tour-arrow { left: -8px; }
.tour-pop.left .tour-arrow { right: -8px; }
.tour-pop.center .tour-arrow, .tour-pop.inside .tour-arrow { display: none; }
@keyframes tourIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tour-hole { transition: none; } .tour-pop { animation: none; } }
.tour-list { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 7px; }
.tour-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.tour-list li::before { content: ''; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tour-list li b { color: var(--ink); }
#countdown { position: fixed; inset: 0; z-index: 95; background: rgba(8,12,22,.78); display: grid; place-items: center; }
#countdown .cd-n { font: 700 150px/1 var(--display); color: #fff; animation: cdPop .8s ease-out both; }
#countdown .cd-n.go { font-size: 96px; color: #ffd166; }
@keyframes cdPop { from { opacity: 0; transform: scale(1.6); } 30% { opacity: 1; transform: scale(1); } to { opacity: .9; transform: scale(.92); } }
@media (max-width: 600px) { #countdown .cd-n { font-size: 110px; } #countdown .cd-n.go { font-size: 64px; } }
@media (prefers-reduced-motion: reduce) { #countdown .cd-n { animation: none; } }

/* ---------- pós-venda (clientes da carteira) ---------- */
.c-pos .sv-col-head b { color: #0f766e; }
.c-pos .sv-card { border: 2px solid #99e0d6; }
.tag.pos { background: #0f766e; border-color: #0f766e; color: #fff; font-weight: 600; }
.pt-red { color: #c00; }
.pt-boleto { margin: 10px 0; padding: 10px 12px; border: 1px dashed #6b7b95; background: #fbfbf2; max-width: 560px; }
.pt-linha { font: 15px/1.4 'Courier New', monospace; letter-spacing: .02em; margin: 6px 0 4px; padding: 6px 8px; background: #fff; border: 1px solid #c3cfdf; user-select: all; word-break: break-all; }
.pt-apolice { margin: 10px 0; padding: 8px; border: 1px solid #999; background: #fffff4; max-width: 640px; }
.pt-apolice pre { white-space: pre-wrap; word-break: break-all; font: 11px/1.25 'Courier New', monospace; color: #222; margin: 6px 0 0; letter-spacing: -0.2px; }
/* tela final do candidato: só a nota */
.nota-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg, #f4f6fa); }
.nota-card { background: #fff; border-radius: 20px; padding: 40px 32px; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 10px 40px rgba(15, 42, 92, .12); }
.nota-card h1 { font-size: 26px; margin: 6px 0 22px; }
.nota-num { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 180px; height: 180px; border-radius: 50%; border: 10px solid #d6dbe4; margin-bottom: 20px; }
.nota-num span { font-size: 64px; font-weight: 700; line-height: 1; }
.nota-num small { color: #6b7280; font-size: 14px; margin-top: 4px; }
.nota-num.alta { border-color: #2fa36b; } .nota-num.alta span { color: #1f8a57; }
.nota-num.media { border-color: #f2b33d; } .nota-num.media span { color: #b7791f; }
.nota-num.baixa { border-color: #e26d6d; } .nota-num.baixa span { color: #c0392b; }
.nota-txt { color: #374151; font-size: 16px; line-height: 1.5; }
.nota-env { color: #6b7280; font-size: 13px; margin-top: 18px; }
.nota-env.ok { color: #1f8a57; } .nota-env.erro { color: #b45309; }
.nota-redo { margin-top: 22px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; align-items: center; }
.nota-redo .nota-txt { width: 100%; margin: 0 0 6px; font-size: 14px; }
/* ---------- tela inicial (revisada com as regras de UX) ---------- */
.start { background: radial-gradient(1200px 600px at 15% -10%, #2a3b66 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #22305a 0%, transparent 55%), var(--frame); }
.start-card { max-width: 1180px; grid-template-columns: 1fr; gap: 24px; padding: 40px; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04); }
.start-info, .start-side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.start-brand { font: 700 15px var(--display); color: var(--ink); letter-spacing: -.01em; margin-bottom: 6px; }
.start-brand span { color: var(--accent); }
.start-info h1 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.02em; margin: 0; }
.start-lead { font-size: 16.5px; line-height: 1.55; max-width: 62ch; }
.start-lead b { color: var(--ink); }
.start-chips { list-style: none; margin: 2px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.start-chips li { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 13.5px; }
.start-chips b { font-weight: 600; }
.start-card h3 { font: 600 12px var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.start-sec { padding-top: 6px; }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.start-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.start-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.start-steps li i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 13px var(--display); box-shadow: 0 0 0 5px var(--panel); }
.start-steps li span { font-size: 26px; line-height: 1; margin-top: 4px; }
.start-steps li b { color: var(--ink); }
.start-note { font-size: 13px; color: var(--muted) !important; margin-top: 12px !important; text-align: center; }
.start-cols { display: grid; gap: 14px; margin-top: 4px; }
.start-box { border-radius: 14px; padding: 18px 20px; gap: 0; border: 1px solid transparent; align-content: start; }
.start-box.intro { background: var(--accent-soft); border-color: #d6e2ff; }
.start-box.intro h3 { color: var(--accent); }
.start-box.warn { background: var(--warn-soft); border-color: #f6e2bd; }
.start-box.warn h3 { color: var(--warn); }
.start-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.start-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.start-facts li > span:first-child { flex: none; width: 20px; text-align: center; line-height: 1.45; }
.start-facts b { color: var(--ink); }
/* formulário */
.start-side h2 { font: 700 20px var(--display); margin: 0; }
.start-sub { font-size: 14px; margin-top: -8px !important; }
.start-side .field { display: grid; gap: 6px; }
.start-side label { margin: 0; font-size: 13.5px; }
.start-side input { min-height: 46px; padding: 11px 14px; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.start-side input:hover { border-color: #c9d1de; }
.start-side input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47,109,246,.15); }
.start-side .field-err { margin-top: 0 !important; }
.start-contact { display: flex; gap: 8px; align-items: flex-start; background: #fff; color: var(--ink-2) !important; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
.start-side .btn-primary.big { min-height: 52px; font-size: 16px; border-radius: 12px; margin-top: 4px; box-shadow: 0 8px 20px rgba(47,109,246,.3); transition: transform .1s, box-shadow .15s, filter .15s; }
.start-side .btn-primary.big:hover { box-shadow: 0 10px 26px rgba(47,109,246,.38); }
.start-side .btn-primary.big:active { transform: translateY(1px); }
.start-side .btn-primary.big:disabled { opacity: .7; cursor: progress; box-shadow: none; }
.start-hint { font-size: 12.5px; color: var(--muted) !important; text-align: center; }
@media (min-width: 900px) {
  .start-card { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 40px; }
  .start-side { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: sticky; top: 0; align-self: start; }
  .start-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .start { padding-block: 12px; }
  .start-card { padding: 24px 18px; gap: 20px; border-radius: 16px; }
  .start-steps { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .start-steps::before { display: none; }
  .start-side { border-top: 1px solid var(--line); padding-top: 20px; }
}

.start-mobile-warn { display: none; }
@media (max-width: 899px) {
  .start-mobile-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-soft); border: 1px solid #f6e2bd; color: var(--ink) !important; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
}

/* música lofi */
.start-music { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500 !important; font-size: 14px; line-height: 1.35; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.start-music small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.start-music input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.start-music .sw { flex: none; width: 38px; height: 22px; border-radius: 999px; background: #cfd6e2; position: relative; transition: background .15s; }
.start-music .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.start-music input:checked + .sw { background: var(--accent); }
.start-music input:checked + .sw::after { transform: translateX(16px); }
.start-music input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-lofi { background: transparent; color: #cfd6e6; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 8px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.btn-lofi[aria-pressed="true"] { background: rgba(47,109,246,.18); border-color: rgba(47,109,246,.6); color: #fff; }
@media (max-width: 900px) { .btn-lofi { padding: 6px 9px; font-size: 12px; } }

/* resultado da cotação: copiar dados em destaque, transmitir discreto */
.pt-res-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.pt-btn-main { font: bold 13px Verdana, sans-serif; background: linear-gradient(#2f7de1, #1d5fb8); color: #fff; border: 1px solid #154b93; border-radius: 3px; padding: 9px 18px; box-shadow: 0 2px 0 #123f7c; cursor: pointer; }
.pt-btn-main:hover { filter: brightness(1.07); }
.pt-res-tip { font: 12px Verdana, sans-serif; color: #2b4a7a; }
.pt-res-trans { margin-top: 14px; font: 11px Verdana, sans-serif; color: #666; }
.pt-res-trans small { margin-left: 6px; }

.pt-okmark { color: #2e7d32; font-weight: bold; }
/* coluna Cotação: campo + botão cabem na largura do cartão */
.sv-card { min-width: 0; }
.sv-card .sv-actions:has(.sv-quote-in) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.sv-quote-in { min-width: 0; width: 100%; box-sizing: border-box; }
.sv-card .sv-actions:has(.sv-quote-in) .sv-act { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.start-crm { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); border: 1px solid #c9d8fb; color: var(--ink) !important; border-radius: 12px; padding: 12px 14px; margin-top: 14px !important; font-size: 14px; line-height: 1.45; text-align: left; }
.sv-auto { font-size: 12px; color: var(--muted); margin: 6px 0 8px; line-height: 1.35; }

/* tela inicial cabe em uma tela só (sem rolagem no computador) */
@media (min-width: 900px) {
  .start { padding-block: 16px; }
  .start-card { padding: 28px 32px; gap: 32px; }
  .start-info { gap: 10px; }
  .start-info .eyebrow { margin: 0; }
  .start-info h1 { font-size: clamp(26px, 2.6vw, 34px); }
  .start-lead { font-size: 15px; line-height: 1.5; }
  .start-chips { margin: 0; }
  .start-chips li { padding: 4px 12px 4px 9px; font-size: 13px; }
  .start-sec { padding-top: 0; }
  .start-card h3 { margin-bottom: 8px; }
  .start-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .start-steps::before { left: 10%; right: 10%; }
  .start-steps li { font-size: 13px; gap: 4px; }
  .start-steps li span { font-size: 22px; margin-top: 2px; }
  .start-crm { margin-top: 10px !important; padding: 9px 12px; font-size: 13.5px; }
  .start-box { padding: 14px 18px; }
  .start-box .start-facts { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
  .start-facts li { font-size: 13.5px; line-height: 1.4; }
  .start-side { padding: 22px 24px; gap: 11px; }
  .start-side input { min-height: 40px; padding: 8px 12px; }
  .start-side .field { gap: 4px; }
  .start-contact { padding: 8px 10px; font-size: 12.5px; }
  .start-music { padding: 8px 10px; font-size: 13.5px; }
  .start-side .btn-primary.big { min-height: 48px; }
}
@media (min-width: 900px) and (max-height: 660px) {
  .start-lead { display: none; }
  .start-card { padding: 22px 28px; }
}
.start-star { display: flex; gap: 10px; align-items: center; background: linear-gradient(135deg, #fff6dc, #ffe9b8); border: 1px solid #f2cf7a; color: var(--ink) !important; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; line-height: 1.35; margin-bottom: 4px !important; }
.start-star > span:first-child { font-size: 22px; }
.start-box .start-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 900px) and (max-height: 720px) {
  .start-sub { display: none; }
  .start-side { padding: 16px 20px; gap: 8px; }
  .start-star { padding: 8px 12px; font-size: 13.5px; }
  .start-side h2 { font-size: 18px; }
  .start-side input { min-height: 36px; padding: 6px 12px; }
  .start-contact, .start-music { padding: 6px 10px; }
  .start-side .btn-primary.big { min-height: 44px; }
  .start-hint { font-size: 12px; }
}
@media (min-width: 900px) and (max-height: 640px) { .start { padding-block: 8px; } .start-card { padding-block: 16px; } }

/* respiro: o cartão ocupa a tela e os blocos se distribuem na altura */
@media (min-width: 900px) {
  .start-card { max-width: 1320px; min-height: min(calc(100dvh - 32px), 880px); padding: clamp(22px, 4.2vh, 52px) clamp(28px, 3.4vw, 60px); column-gap: clamp(32px, 4vw, 72px); align-items: stretch; }
  .start-info { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(12px, 2.4vh, 30px); }
  .start-head { display: grid; gap: clamp(8px, 1.3vh, 14px); }
  .start-head .start-brand { margin-bottom: clamp(2px, 1vh, 12px); }
  .start-chips { margin-top: clamp(0px, .6vh, 6px); }
  .start-card h3 { margin-bottom: clamp(8px, 1.6vh, 16px); }
  .start-crm { margin-top: clamp(10px, 2vh, 20px) !important; }
  .start-box { padding: clamp(14px, 2.2vh, 24px) clamp(18px, 1.8vw, 26px); }
  .start-box .start-facts { gap: clamp(8px, 1.6vh, 16px) 24px; }
  .start-side { align-self: stretch; position: static; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px, 1.5vh, 16px); padding: clamp(16px, 3vh, 36px) clamp(20px, 2vw, 32px); }
  .start-star { margin-bottom: clamp(4px, 1.4vh, 14px) !important; }
}
@media (min-width: 900px) and (max-height: 640px) {
  .start-card { padding-block: 14px; min-height: 0; }
  .start-side { padding-block: 12px; gap: 7px; }
  .start-star { margin-bottom: 2px !important; }
}
@media (min-width: 900px) {
  .start-card { min-height: min(calc(100dvh - 32px), 800px); }
  .start-info { justify-content: center; gap: clamp(14px, 3.8vh, 40px); }
  .start-info h1 { font-size: clamp(26px, 4.4vh, 42px); }
  .start-lead { font-size: clamp(15px, 2vh, 17px); }
  .start-chips li { font-size: clamp(13px, 1.7vh, 14.5px); padding-block: clamp(4px, .8vh, 7px); }
  .start-steps li { font-size: clamp(13px, 1.8vh, 15px); gap: clamp(4px, .8vh, 8px); }
  .start-steps li span { font-size: clamp(22px, 3.4vh, 32px); }
  .start-facts li { font-size: clamp(13.5px, 1.8vh, 15px); }
  .start-side { justify-content: center; }
}
@media (min-width: 900px) and (max-height: 640px) { .start-card { min-height: 0; } }
.start-rules h3 { color: var(--warn) !important; }
.start-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vh, 14px); }
.start-tiles li { display: flex; gap: 12px; align-items: center; background: var(--warn-soft); border: 1px solid #f6e2bd; border-radius: 12px; padding: clamp(10px, 1.6vh, 16px) 14px; min-width: 0; }
.start-tiles .ico { flex: none; width: clamp(34px, 4.6vh, 42px); height: clamp(34px, 4.6vh, 42px); border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: clamp(17px, 2.3vh, 21px); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.start-tiles b { display: block; color: var(--ink); font-size: clamp(13.5px, 1.8vh, 15px); line-height: 1.3; }
.start-tiles small { display: block; color: var(--ink-2); font-size: clamp(12.5px, 1.6vh, 13.5px); line-height: 1.35; margin-top: 2px; }
@media (max-width: 600px) { .start-tiles { grid-template-columns: 1fr; } }

/* tela inicial se apresenta passo a passo */
@keyframes stIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stPop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes stLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .start-head > *, .start-chips li, .start-sec h3, .start-steps li, .start-rules h3, .start-tiles li, .start-side > * { animation: stIn .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
  .start-steps li i { animation: stPop .5s ease-out both; animation-delay: var(--d, 0s); }
  .start-steps::before { transform-origin: left center; animation: stLine var(--line-t, 2s) ease-in-out both; animation-delay: var(--line-d, 1.8s); }
  .start-head > .start-chips { animation: none; }
}
.start-sub { line-height: 1.45; color: var(--ink-2) !important; }
@media (min-width: 900px) and (max-height: 720px) { .start-sub { display: block; font-size: 13px; } }

.st-done :is(.start-head > *, .start-chips li, .start-sec h3, .start-steps li, .start-steps li i, .start-rules h3, .start-tiles li, .start-side > *), .st-done .start-steps::before { animation: none !important; }
.st-skip { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; background: rgba(17,24,39,.82); color: #fff; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 6px 18px rgba(0,0,0,.25); border-radius: 999px; padding: 7px 16px; font: 600 13px var(--font); cursor: pointer; backdrop-filter: blur(6px); }
.st-skip:hover { background: rgba(17,24,39,.95); }

/* borda reluzente no destaque das mensagens */
@property --star-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes starSpin { to { --star-a: 360deg; } }
@keyframes starGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); } 50% { box-shadow: 0 0 18px 2px rgba(245,166,35,.45); } }
.start-star { position: relative; isolation: isolate; border-color: transparent !important; }
.start-star::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--star-a), #f2cf7a 0deg, #f2cf7a 200deg, #fff8dc 250deg, #f5a623 290deg, #fffbe9 315deg, #f2cf7a 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: starSpin 3.2s linear infinite; }
.start-star::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; pointer-events: none; animation: starGlow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .start-star::before, .start-star::after { animation: none; } .start-star::after { box-shadow: 0 0 12px rgba(245,166,35,.35); } }

@media (prefers-reduced-motion: no-preference) { .start-steps li { animation-duration: 1.1s; } .start-steps li i { animation-duration: .8s; } }
/* fim do expediente: duas opções com o mesmo peso visual, para não induzir a escolha */
.exp-opts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.exp-opts button { min-height: 44px; font-weight: 600; }
.exp-opts button { justify-content: center; text-align: center; }
