/* Respondida — site institucional. Tokens do manual da marca v1.0 */
@font-face { font-family: "Jakarta"; src: url("/fonts/PJS-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PJS-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --noite: #0E1A3A;
  --noite-2: #16244A;
  --azul: #2F5BFF;
  --azul-forte: #1F45E0;
  --azul-suave: #E8EDFF;
  --verde: #14C79C;
  --verde-texto: #0A7D62;
  --ambar: #F5A524;
  --vermelho: #E5484D;
  --tinta: #0E1A3A;
  --tinta-2: #5B6478;
  --papel: #F4F6FB;
  --linha: #E2E7F2;
  --display: "Jakarta", "Inter", system-ui, sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texto); font-size: 17px; line-height: 1.6; color: var(--tinta); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; max-width: 22ch; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 860px; }
.dot { margin-left: -0.09em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--tinta); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--texto); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 14px; padding: 14px 22px; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-forte); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { font-size: 18px; padding: 18px 28px; }

/* ---------- topo ---------- */
.top { background: var(--noite); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.top nav { display: flex; align-items: center; gap: 28px; }
.top nav a { color: #C9D3F5; text-decoration: none; font-size: 15px; font-weight: 600; }
.top nav a:hover { color: #fff; }
.top nav .nav-login { color: #fff; border: 1.5px solid rgba(255,255,255,.28); padding: 7px 16px; border-radius: 10px; }

/* ---------- hero ---------- */
.hero { background: var(--noite); color: #fff; padding: 72px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.lead-in { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.3; color: #C9D3F5; max-width: 30ch; letter-spacing: -0.01em; }
.hero h1 { font-weight: 800; font-size: clamp(52px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.04em; margin-top: 10px; max-width: 10ch; }
.hero-sub { margin-top: 28px; font-size: 18px; color: #C9D3F5; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* fila ao vivo */
.demo { background: #fff; color: var(--tinta); border-radius: 24px; padding: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--linha); }
.demo-title { font-weight: 600; font-size: 15px; }
.demo-count { margin-left: auto; background: var(--azul-suave); color: var(--azul-forte); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 2px 10px; min-width: 28px; text-align: center; }
.demo-list { list-style: none; margin: 0; padding: 6px 0 0; min-height: 352px; position: relative; }
.demo-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 6px; border-bottom: 1px solid #EEF1F8; transition: opacity .45s, transform .45s, background-color .3s; }
.demo-item.enter { opacity: 0; transform: translateY(10px); }
.demo-item.leave { opacity: 0; transform: translateX(24px); }
.demo-item.done { background: #E3F8F2; }
.demo-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.demo-name { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-msg { display: block; font-size: 13.5px; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pill.ok { background: #E3F8F2; color: var(--verde-texto); }
.pill.warn { background: #FEF3DE; color: #9A5B00; }
.pill.late { background: #FDE7E8; color: #C2272D; }
.pill.answered { background: var(--verde); color: #fff; }
.demo-foot { font-size: 12.5px; color: var(--tinta-2); padding: 12px 6px 2px; }

/* ---------- problema ---------- */
.problem { padding: 104px 0 88px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.problem-grid p { color: var(--tinta-2); }
.problem-grid p:last-child { color: var(--tinta); font-weight: 600; }

/* ---------- como funciona ---------- */
.how { background: var(--papel); padding: 96px 0; }
.steps { list-style: none; counter-reset: passo; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--linha); }
.steps li { counter-increment: passo; position: relative; }
.steps li::before { content: counter(passo); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--azul); color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 22px; position: relative; box-shadow: 0 0 0 8px var(--papel); }
.steps li:last-child::before { background: var(--verde); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--tinta-2); font-size: 16px; }

/* ---------- recursos ---------- */
.features { padding: 104px 0; }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin: 40px 0 0; }
.feat > div { padding: 26px 0; border-top: 1px solid var(--linha); }
.feat dt { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.feat dt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); flex: none; }
.feat dd { margin: 8px 0 0 20px; color: var(--tinta-2); font-size: 16px; }

/* ---------- para quem ---------- */
.who { background: var(--azul); color: #fff; padding: 96px 0; }
.who-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.25); font-size: 18px; color: #E8EDFF; }
.who-list li:first-child { border-top: 0; padding-top: 0; }
.who-list strong { color: #fff; }

/* ---------- segurança ---------- */
.trust { padding: 96px 0 40px; }
.trust-list { list-style: none; margin: 32px 0 0; padding: 0; }
.trust-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--linha); }
.trust-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 3px solid var(--verde); border-bottom: 3px solid var(--verde); transform: rotate(-45deg); }

/* ---------- perguntas ---------- */
.faq { padding: 72px 0 104px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--display); font-weight: 700; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 400; color: var(--azul); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--tinta-2); max-width: 62ch; }

/* ---------- CTA final ---------- */
.final { background: var(--noite); color: #fff; padding: 104px 0; text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(36px, 5vw, 64px); max-width: none; margin: 24px 0 16px; letter-spacing: -0.03em; }
.final p { color: #C9D3F5; max-width: 46ch; margin-bottom: 32px; font-size: 18px; }

/* ---------- rodapé ---------- */
.foot { padding: 36px 0; border-top: 1px solid var(--linha); }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { color: var(--tinta-2); font-size: 15px; }
.foot nav { margin-left: auto; display: flex; gap: 20px; }
.foot nav a { color: var(--tinta-2); font-size: 15px; text-decoration: none; }
.foot nav a:hover { color: var(--tinta); text-decoration: underline; }

/* ---------- página de texto (privacidade, 404) ---------- */
.doc { padding: 72px 0 104px; }
.doc h1 { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.doc .updated { color: var(--tinta-2); margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; max-width: none; }
.doc p, .doc li { color: #2B3550; max-width: 68ch; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .hero-in, .who-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .top nav a:not(.nav-login) { display: none; }
  .hero { padding: 48px 0 64px; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .demo-list { min-height: 300px; }
  .foot nav { margin-left: 0; }
  .problem, .features, .how, .who, .final { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-item { transition: none; }
}
