/* NeoResearch — site institucional. Sem build: só este arquivo.
   Cores em variáveis (tema claro e escuro); a marca usa o degradê azul-petróleo → roxo do logotipo. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --surface: #ffffff;
  --border: #e1e6ec;
  --text: #16202b;
  --muted: #55636f;
  --brand: #1f6f9f;
  --brand-2: #5b4bc4;
  --brand-soft: #e8f1f8;
  --accent-text: #ffffff;
  --ok: #178a4f;
  --warn: #b26a00;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 20px 50px rgba(16, 24, 40, .18);
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0d1218;
  --bg-alt: #111820;
  --surface: #161e27;
  --border: #26313c;
  --text: #e6ebf0;
  --muted: #9aa8b5;
  --brand: #59b2e6;
  --brand-2: #9c8cf5;
  --brand-soft: #14293a;
  --accent-text: #08121b;
  --ok: #56d38c;
  --warn: #f0b04d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
code { font-family: var(--mono); font-size: .88em; background: var(--brand-soft); color: var(--brand); padding: .1em .4em; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 750; font-size: 18px; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 550; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 18px;
}
.icon-btn:hover { background: var(--bg-alt); }
.menu-btn { display: none; }
[data-theme="light"] [data-when="dark"], [data-theme="dark"] [data-when="light"] { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
:root[data-theme="dark"] .btn-primary { color: #08121b; }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; background:
  radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%),
  radial-gradient(700px 380px at 0% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.grad { background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-row { justify-content: center; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14.5px; }
.hero-points i { color: var(--ok); margin-right: 4px; }

/* Ilustração da interface */
.hero-visual { position: relative; }
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff6058; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.mock-title { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { position: relative; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--bg); }
.kpi small { display: block; padding-right: 18px; white-space: nowrap; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.kpi b { font-size: 22px; letter-spacing: -.02em; }
.kpi b.warn { color: var(--warn); }
.kpi i { position: absolute; right: 10px; top: 10px; color: var(--muted); }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.col { background: var(--bg-alt); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.col h6 { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card-mini { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; font-weight: 550; display: grid; gap: 4px; }
.card-mini.done { opacity: .7; text-decoration: line-through; text-decoration-color: var(--muted); }
.tag { justify-self: start; font-size: 9.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); text-decoration: none; }
.t-hi { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.t-urg { background: color-mix(in srgb, #e5484d 18%, transparent); color: #e5484d; }
.t-ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.float { position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.float i { color: var(--brand); font-size: 18px; }
.f1 { left: -28px; bottom: 34px; animation: bob 5s ease-in-out infinite; }
.f2 { right: -12px; top: -18px; animation: bob 6s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- Números ---------- */
.stats { border-block: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 28px 0; text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .sub { margin-top: 14px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; }
.sub + .sub { margin-top: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(3, 1fr); }
.cards.small { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature h3 { margin: 16px 0 10px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 7px; }
.feature li::marker { color: var(--brand); }
.ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 24px; color: var(--brand); background: var(--brand-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
:root[data-theme="dark"] .num { color: #08121b; }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks i { color: var(--ok); margin-top: 4px; }
.two-col .checks { margin-top: 18px; }

/* Conversa de exemplo */
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 12px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 15px; }
.msg.me { justify-self: end; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-bottom-right-radius: 4px; }
:root[data-theme="dark"] .msg.me { color: #08121b; }
.msg.bot { display: flex; gap: 10px; background: var(--bg-alt); border-bottom-left-radius: 4px; }
.msg.bot i { color: var(--brand); font-size: 20px; margin-top: 1px; }

.chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; font-weight: 600; font-size: 14.5px; }

.store { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.store h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.store h3 i { color: var(--brand); }
.store p { color: var(--muted); max-width: 46em; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.swatches span { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(135deg, var(--a) 55%, var(--b) 55%); box-shadow: var(--shadow); }

.note { margin-top: 28px; text-align: center; color: var(--muted); }
.note i { color: var(--ok); margin-right: 6px; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\eaf9"; font-family: "tabler-icons"; font-size: 18px; color: var(--muted); transition: transform .15s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

.cta { background:
  radial-gradient(700px 320px at 50% 0%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 70%), var(--bg); }
.cta-logo { margin: 0 auto 18px; display: block; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer .links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer .brand { font-size: 16px; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .f1, .f2 { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards.small { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .mock { transform: none; }
  .f1 { left: 8px; } .f2 { right: 8px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 64px; margin: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .cards, .cards.small, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .float { display: none; }
  .hero { padding-top: 48px; }
}


/* ---------- Lista de espera ---------- */
.wl-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wl-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.wl-wide { grid-column: 1 / -1; }
.wl-field .req { color: #e5484d; }
.wl-field .opt { font-weight: 400; color: var(--muted); }
.wl-field input, .wl-field textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 13px; width: 100%;
}
.wl-field textarea { resize: vertical; min-height: 84px; }
.wl-field input:focus, .wl-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); border-color: var(--brand); }
.wl-field input[aria-invalid="true"] { border-color: #e5484d; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.wl-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.wl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wl-msg { font-size: 14px; color: var(--muted); margin: 0; }
.wl-msg.err { color: #e5484d; font-weight: 600; }
.wl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 24px; box-shadow: var(--shadow); }
.wl-done.hidden, .hidden { display: none; }
.wl-done > i { font-size: 44px; color: var(--ok); }
.wl-done h3 { margin: 10px 0 8px; }
.wl-done p { color: var(--muted); }
.privacy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.privacy ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.privacy li::marker { color: var(--brand); }
@media (max-width: 640px) { .wl-grid { grid-template-columns: 1fr; } }
