/* Companion — site comercial
   Identidade: azul de produto (#2b5ce6) + esmeralda (#10b981), fundo claro,
   tipografia Inter/Space Grotesk. Sem cores de empresa anterior. */

:root {
  --ink: #0a1222;
  --ink-2: #111c33;
  --ink-3: #1b2944;
  --muted: #5b6880;
  --muted-2: #7b879e;
  --line: #e3e8f2;
  --line-dark: #23324f;
  --paper: #f5f7fc;
  --card: #ffffff;
  --brand: #2b5ce6;
  --brand-dark: #1e45ba;
  --brand-soft: #e8eeff;
  --accent: #10b981;
  --accent-soft: #e3f8f0;
  --danger: #d64545;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 18, 34, .06);
  --shadow: 0 18px 50px -24px rgba(10, 18, 34, .35);
  --shadow-lg: 0 40px 90px -40px rgba(10, 18, 34, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 16px; }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(10,18,34,.5); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.brand svg { width: 32px; height: 32px; }
.brand small { display: block; font-family: var(--font); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; line-height: 1.2; }
.brand b { font-size: 18px; line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); background: #eef2fa; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--brand-dark); box-shadow: 0 12px 24px -14px rgba(43,92,230,.9); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }
.btn.soft { --btn-bg: var(--brand-soft); --btn-fg: var(--brand-dark); }
.btn.soft:hover { background: #dbe6ff; box-shadow: none; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

/* ---------- herói ---------- */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -30% 40% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(43,92,230,.12), transparent 62%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(36px, 5vw, 58px); line-height: 1.04;
  letter-spacing: -.035em; margin: 20px 0 18px; max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero-facts svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* mock do aplicativo */
.hero-art { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px; border-radius: 38px; padding: 10px; background: #0b1425;
  border: 1px solid #26344f; box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}
.phone-screen { border-radius: 30px; overflow: hidden; background: #f7f9fe; }
.phone-status { display: flex; justify-content: space-between; padding: 10px 16px 4px; font-size: 10px; color: #6a7690; font-weight: 600; }
.phone-head { padding: 12px 16px 8px; display: flex; justify-content: space-between; align-items: center; }
.phone-head b { font-size: 14px; }
.phone-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #2b5ce6, #10b981); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.phone-card { margin: 10px 14px; background: #fff; border: 1px solid #e6ebf5; border-radius: 14px; padding: 12px; box-shadow: 0 4px 14px -10px rgba(10,18,34,.35); }
.phone-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #7b879e; font-weight: 700; }
.phone-big { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; margin: 2px 0 6px; }
.phone-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #0b7a56; background: #e3f8f0; border-radius: 999px; padding: 3px 8px; }
.phone-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #eef2f9; font-size: 11px; color: #3c4963; }
.phone-row:first-of-type { border-top: 0; }
.phone-row i { width: 22px; height: 22px; border-radius: 7px; background: #e8eeff; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.phone-row b { margin-left: auto; font-size: 10px; color: #7b879e; font-weight: 600; }
.phone-tab { display: flex; justify-content: space-around; padding: 10px 8px 14px; font-size: 9px; color: #8a95ab; border-top: 1px solid #eef2f9; margin-top: 8px; }
.phone-tab span:first-child { color: var(--brand); font-weight: 700; }
.phone-badge {
  position: absolute; right: -6px; bottom: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
}
.phone-badge b { display: block; font-size: 12px; }
.phone-badge small { font-size: 10px; color: var(--muted); }
.phone-badge .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: #0b7a56; }

/* faixa de valor */
.strip { border-block: 1px solid var(--line); background: #fff; padding: 18px 0; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; font-size: 13px; color: var(--muted); }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner b { color: var(--ink); font-weight: 600; }

/* ---------- seções ---------- */
section { padding: 78px 0; }
.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head h2 { font-family: var(--display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

.grid { display: grid; gap: 16px; }
.features { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdaf0; }
.feature .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 19px; height: 19px; }
.feature h3 { font-size: 15px; margin: 0 0 6px; letter-spacing: -.01em; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; }
.feature.accent .ico { background: var(--accent-soft); color: #0b7a56; }

/* app / painel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split.rev .visual { order: 2; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.checklist svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.role-cards { display: grid; gap: 14px; }
.role-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; gap: 14px; }
.role-card .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.role-card h4 { margin: 0 0 4px; font-size: 14px; }
.role-card p { margin: 0; font-size: 13px; color: var(--muted); }

.web-mock {
  background: #0b1425; border-radius: 18px; padding: 12px; border: 1px solid #26344f;
  box-shadow: var(--shadow-lg);
}
.web-bar { display: flex; gap: 6px; padding: 4px 6px 10px; align-items: center; }
.web-bar i { width: 9px; height: 9px; border-radius: 50%; background: #33415e; }
.web-bar span { margin-left: 8px; font-size: 10px; color: #8fa0bd; background: #16233b; border-radius: 6px; padding: 3px 10px; }
.web-body { background: #f7f9fe; border-radius: 10px; padding: 16px; display: grid; gap: 12px; }
.web-row { display: flex; gap: 12px; }
.web-card { flex: 1; background: #fff; border: 1px solid #e6ebf5; border-radius: 10px; padding: 12px; }
.web-card small { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #828ea6; font-weight: 700; }
.web-card b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; margin-top: 3px; }
.web-card .bar { height: 6px; border-radius: 4px; background: #e8eefb; margin-top: 9px; overflow: hidden; }
.web-card .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2b5ce6, #10b981); }
.web-list { background: #fff; border: 1px solid #e6ebf5; border-radius: 10px; padding: 4px 12px; }
.web-list div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #eef2f9; font-size: 11px; color: #3c4963; }
.web-list div:first-child { border-top: 0; }

/* temas */
.themes-wrap { background: #fff; border-block: 1px solid var(--line); }
.theme-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.theme-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
}
.theme-chip i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.theme-chip[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.theme-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.theme-preview {
  border-radius: 18px; border: 1px solid var(--line); overflow: hidden; background: var(--tp-bg, #f7f9fe);
  color: var(--tp-ink, #0a1222); box-shadow: var(--shadow);
}
.tp-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--tp-card, #fff); border-bottom: 1px solid var(--tp-line, #e6ebf5); }
.tp-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.tp-brand i { width: 24px; height: 24px; border-radius: 7px; background: var(--tp-primary, #2b5ce6); display: grid; place-items: center; color: #fff; font-size: 11px; font-style: normal; }
.tp-button { background: var(--tp-primary, #2b5ce6); color: var(--tp-on-primary, #fff); border-radius: var(--tp-radius, 8px); padding: 6px 12px; font-size: 11px; font-weight: 700; }
.tp-main { padding: 18px; display: grid; gap: 10px; }
.tp-h { font-family: var(--tp-font, var(--display)); font-size: 20px; letter-spacing: -.02em; margin: 0; }
.tp-sub { font-size: 12px; color: var(--tp-muted, #5b6880); margin: 0; }
.tp-cards { display: flex; gap: 8px; }
.tp-card { flex: 1; background: var(--tp-card, #fff); border: 1px solid var(--tp-line, #e6ebf5); border-radius: var(--tp-radius, 10px); padding: 10px; }
.tp-card small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--tp-muted, #5b6880); }
.tp-card b { display: block; font-size: 15px; margin-top: 2px; color: var(--tp-primary, #2b5ce6); }
.tp-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--tp-accent, #10b981); color: var(--tp-on-accent, #06251c); }
.theme-notes h3 { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; margin: 0 0 8px; }
.theme-notes p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.theme-meta { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.theme-meta code { background: #eef2fa; border-radius: 6px; padding: 2px 7px; color: var(--ink-2); font-size: 11.5px; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.plan.highlight { border-color: var(--brand); box-shadow: 0 24px 60px -36px rgba(43,92,230,.6); position: relative; }
.plan h3 { font-size: 16px; margin: 0 0 4px; }
.plan .price { font-family: var(--display); font-size: 32px; letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .price small { font-size: 13px; color: var(--muted); font-family: var(--font); letter-spacing: 0; }
.plan .seats { font-size: 12px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.plan ul li { display: flex; gap: 8px; }
.plan ul svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.empty-note { border: 1px dashed #c8d3e8; border-radius: 12px; padding: 18px; color: var(--muted); font-size: 14px; background: #fbfcff; }

/* contratação */
.contact-wrap { background: var(--ink); color: #fff; border-radius: 22px; overflow: hidden; position: relative; }
.contact-wrap::after { content: ''; position: absolute; inset: auto -120px -160px auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(43,92,230,.45), transparent 65%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; padding: 44px; position: relative; z-index: 1; }
.contact-grid h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; margin: 10px 0 12px; }
.contact-grid p { color: #b7c3d9; font-size: 14.5px; }
.contact-info { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 13.5px; color: #cdd7e8; }
.contact-info a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px; display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px;
  font-size: 14px; color: var(--ink); background: #fbfcff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(43,92,230,.14); }
.field textarea { min-height: 84px; resize: vertical; }
.field .err { font-size: 11.5px; color: var(--danger); min-height: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; margin-top: 4px; }
.form small.privacy { color: var(--muted); font-size: 11.5px; }
.form-status { border-radius: 9px; padding: 10px 12px; font-size: 13px; display: none; }
.form-status.ok { display: block; background: var(--accent-soft); color: #085c43; }
.form-status.error { display: block; background: #fdecec; color: #8f2222; }
.hp { position: absolute; left: -9999px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
details summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }

/* rodapé */
footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin: 0 0 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 13px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-brand p { font-size: 13px; color: var(--muted); max-width: 34ch; margin: 10px 0 0; }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted-2); }
.foot-bottom a { color: var(--muted); }

/* whatsapp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: none; align-items: center; gap: 10px;
  background: #1faa59; color: #fff; text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(16, 90, 48, .7);
  font-weight: 600; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float.show { display: inline-flex; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(16, 90, 48, .8); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float::before {
  content: ''; position: absolute; inset: -6px; border-radius: 999px;
  border: 2px solid rgba(31,170,89,.5); animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(.92); opacity: .7; }
  70% { transform: scale(1.08); opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* revelação suave */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsivo */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 20ch; }
  .hero-art { order: 2; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .theme-stage { grid-template-columns: 1fr; }
  .split.rev .visual { order: 0; }
  .plans { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .nav.open {
    display: grid; position: fixed; inset: 68px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 14px 20px 20px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 12px; font-size: 15px; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .top-actions .btn { display: none; }
  .top-actions .btn.keep { display: inline-flex; }
  .hero { padding-top: 44px; }
  .hero p.lead { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  section { padding: 58px 0; }
  .phone { width: 264px; transform: none; }
  .phone-badge { right: 4px; bottom: 18px; padding: 8px 11px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; padding: 13px; }
  .wa-float span { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
