:root {
  --blue: #1070b8;
  --blue-deep: #0c5c96;
  --blue-soft: #e7f2fa;
  --ink: #122033;
  --ink-soft: #3d4f63;
  --muted: #6b7c8d;
  --line: rgba(18, 32, 51, 0.1);
  --mist: #f3f6f9;
  --paper: #ffffff;
  --hero: #0b1724;
  --hero-2: #123047;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(18, 32, 51, 0.06);
  --shadow-lg: 0 20px 50px rgba(18, 32, 51, 0.1);
  --header-h: 76px;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Sora", system-ui, sans-serif;
  --ease: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.15rem); color: var(--ink); }
h3 { font-size: 1.125rem; }

a { color: var(--blue-deep); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--blue);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(18, 32, 51, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  gap: 1.5rem;
}
.logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
}
.nav a:hover,
.nav a.is-active { color: var(--ink); background: var(--mist); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--paper) !important;
  font-weight: 600 !important;
  margin-left: 0.4rem;
  padding: 0.55rem 1.15rem !important;
}
.nav-cta:hover,
.nav-cta.is-active { background: var(--blue-deep) !important; color: var(--paper) !important; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.35rem;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: background var(--ease), transform 0.15s ease, box-shadow var(--ease), color var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--paper); }
.btn-primary:hover { background: var(--blue-deep); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #0a1622; color: var(--paper); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: "";
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--blue), var(--blue)) 50% 0 / 6px 18px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 50% / 18px 6px no-repeat;
  border-radius: 2px;
  opacity: 0.9;
}
.kicker-light { color: #8ec8ee; }
.kicker-light::before {
  background:
    linear-gradient(#8ec8ee, #8ec8ee) 50% 0 / 6px 18px no-repeat,
    linear-gradient(#8ec8ee, #8ec8ee) 0 50% / 18px 6px no-repeat;
}

.lede { color: var(--ink-soft); font-size: 1.125rem; max-width: 38rem; }

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(16, 112, 184, 0.22), transparent 55%),
    radial-gradient(700px 400px at 0% 100%, rgba(16, 112, 184, 0.12), transparent 50%),
    linear-gradient(165deg, var(--hero) 0%, var(--hero-2) 100%);
  color: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { color: var(--paper); margin-bottom: 1.15rem; max-width: 18ch; }
.hero .lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  max-width: 36rem;
  margin-bottom: 1.85rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.pill {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Device mock */
.device-wrap { display: flex; justify-content: center; }
.device {
  width: min(100%, 340px);
  background: linear-gradient(180deg, #1a3348, #122636);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
}
.device-bar {
  height: 18px;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.device-bar span {
  width: 72px;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 99px;
}
.device-screen {
  background: #f4f8fb;
  border-radius: 20px;
  padding: 1.15rem 1rem 1.25rem;
  color: var(--ink);
  min-height: 360px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
}
.chat-head strong { display: block; font-family: var(--display); font-size: 0.85rem; }
.chat-head span { font-size: 0.75rem; color: var(--muted); }
.bubble {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}
.bubble p { margin: 0; }
.bubble small { display: block; margin-top: 0.3rem; font-size: 0.68rem; opacity: 0.55; }
.bubble-in {
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.bubble-out {
  margin-left: auto;
  background: var(--blue-soft);
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.scale {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.55rem;
}
.scale i {
  flex: 1;
  font-style: normal;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 0.35rem 0;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.scale i.on { background: var(--blue); color: var(--paper); border-color: var(--blue); }

/* Audience */
.audience {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}
.audience-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.audience-row span + span::before {
  content: "·";
  margin-right: 0.65rem;
  color: #c5d0da;
}

/* Sections */
.section { padding: 5.25rem 0; }
.section--mist { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: 2.75rem; }
.section-head h2 { margin-bottom: 0.75rem; }
.section-head .lede { margin: 0; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  min-height: 100%;
  box-shadow: var(--shadow);
}
.step-num {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.85rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.15rem;
}
.pair-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem;
}
.pair-card h3 { margin-bottom: 0.4rem; }
.pair-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.55rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 112, 184, 0.28);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { margin-bottom: 0.55rem; }
.service p { color: var(--ink-soft); font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }
.diffs { display: grid; gap: 0.75rem; }
.diff {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--mist);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.diff b {
  font-family: var(--display);
  font-size: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--paper);
  display: grid;
  place-items: center;
}
.diff span { font-size: 0.95rem; color: var(--ink-soft); padding-top: 0.15rem; }

/* Contact */
.contact {
  padding: 5.25rem 0 5.5rem;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(16, 112, 184, 0.08), transparent 50%),
    var(--mist);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.contact-copy .lede { margin-bottom: 1.5rem; }
.contact-meta {
  display: grid;
  gap: 0.85rem;
}
.contact-meta a, .contact-meta p {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contact-meta a { color: var(--ink); font-weight: 600; }
.contact-meta a:hover { color: var(--blue); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.form-msg {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  font-size: 0.9375rem;
}
.form-msg.visible { display: block; }
.form-msg.ok { background: #e8f7ef; color: #176b3a; border: 1px solid #b7e4c7; }
.form-msg.erro { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.form-msg a { text-decoration: underline; }
.form-group { margin-bottom: 1.05rem; }
.form-group label {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.req { color: var(--blue); }
.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.form-contato input::placeholder,
.form-contato textarea::placeholder { color: #93a3b3; }
.form-contato input:focus,
.form-contato textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(16, 112, 184, 0.15);
}
.form-contato textarea { min-height: 132px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-contato .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.btn-enviar { width: 100%; }
.btn-enviar:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.form-privacy {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.95rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: var(--hero);
  color: rgba(255,255,255,0.72);
  padding: 3.25rem 1.5rem 1.5rem;
  font-family: var(--display);
  font-size: 0.85rem;
}
.footer a { color: rgba(255,255,255,0.82); }
.footer a:hover { color: var(--paper); }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  height: 34px;
  margin-bottom: 0.9rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-brand p { max-width: 26ch; line-height: 1.55; }
.footer h4 {
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

/* Legal page */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(16, 112, 184, 0.16), transparent 55%),
    var(--mist);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lede { margin-bottom: 0; }
.updated {
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2rem 0 5rem;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  font-family: var(--display);
  font-size: 0.8rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
}
.toc strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.toc ol { list-style: none; }
.toc li { margin-bottom: 0.38rem; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--blue); }
.legal { max-width: 720px; }
.legal h2 {
  font-size: 1.2rem;
  margin: 2.4rem 0 0.8rem;
  padding-top: 0.35rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal h2:first-child { margin-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.02rem; margin: 1.4rem 0 0.45rem; }
.legal p { color: var(--ink-soft); margin-bottom: 1rem; }
.legal ul, .legal ol { color: var(--ink-soft); margin: 0 0 1rem 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.highlight {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.2rem;
  margin: 1.4rem 0;
}
.highlight p { margin: 0; color: var(--ink); }
.legal .note { font-size: 0.92rem; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav a {
    padding: 0.9rem 0.2rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin: 1rem 0 0;
    text-align: center;
    border: 0 !important;
  }
  .hero { padding: calc(var(--header-h) + 2.4rem) 0 3.2rem; }
  .hero h1 { max-width: none; }
  .section, .contact { padding: 3.5rem 0; }
  .form-row, .pair, .steps { grid-template-columns: 1fr; }
  .form-card { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
