:root {
  --ink: #031535;
  --navy: #2c4156;
  --navy-deep: #1f3042;
  --slate: #39586d;
  --mist: #91bdea;
  --wash: #e7f0f8;
  --paper: #f6f9fc;
  --line: #d5e0ea;
  --white: #ffffff;
  --ok: #1f7a4d;
  --warn: #9a4b16;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 16px 36px rgba(16, 24, 32, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(145, 189, 234, 0.45), transparent 60%),
    var(--paper);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
::selection { background: #c5daf0; color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip {
  position: absolute; left: 12px; top: -80px;
  background: var(--navy); color: white; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 249, 252, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(213, 224, 234, 0.6);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo {
  display: flex; align-items: baseline; gap: 6px; text-decoration: none;
  font-family: Outfit, sans-serif; font-weight: 600;
  letter-spacing: -0.03em; font-size: 22px;
}
.logo span { font-size: 11px; letter-spacing: 0.16em; color: var(--slate); font-weight: 500; }
.nav { display: none; gap: 18px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--slate); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.nav + .header-actions { margin-left: 18px; }
.menu-toggle { display: inline-flex; margin-left: 8px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 10px 0; text-decoration: none; }
.mobile-nav.is-open { display: block; }

.ref-banner { background: var(--navy); color: white; font-size: 15px; }
.ref-banner p { margin: 0; padding: 10px 0; }
.ref-banner strong { font-family: Outfit, sans-serif; letter-spacing: 0.04em; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font: 600 15px "Plus Jakarta Sans", system-ui, sans-serif;
  border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: white; color: var(--navy); }
.btn-light:hover { background: var(--wash); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.cta-short { display: none; }

/* Tipografia */
h1, h2, h3 {
  font-family: Outfit, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; margin: 0 0 16px; max-width: 16ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 1.35rem; margin: 0 0 6px; font-weight: 600; }
.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate);
}
.lede { margin: 0 0 22px; color: var(--slate); max-width: 38rem; font-size: 1.08rem; }
.fine { margin: 14px 0 0; color: var(--slate); font-size: 14px; }

section { padding: 64px 0; }
.section-intro { max-width: 42rem; margin-bottom: 28px; }
.section-intro p { margin: 0; color: var(--slate); }

/* Formulários */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: white; color: var(--ink);
  font: 400 16px "Plus Jakarta Sans", system-ui, sans-serif;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2339586d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
.field input:focus, .field select:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field .hint { font-size: 13px; color: var(--slate); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--slate); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; min-height: 1.5em; }
.form-status.is-error { color: var(--warn); }
.form-done {
  border: 1px solid var(--line); background: white; border-radius: var(--radius-md);
  padding: 22px;
}
.form-done h3 { margin-bottom: 8px; }
.form-done p { margin: 0 0 14px; color: var(--slate); }

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 96px;
  color: var(--slate); font-size: 14px;
}
.footer-grid { display: grid; gap: 16px; }
.site-footer a { color: var(--navy); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 16px; align-content: flex-start; }
.site-footer p { margin: 0 0 8px; }

.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 11;
  min-height: 52px; padding: 0 18px; border-radius: 999px;
  background: var(--ok); color: white; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 24px rgba(31, 122, 77, 0.28);
}
.float-wa svg { width: 22px; height: 22px; }

@media (max-width: 799px) {
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn-primary { padding: 0 14px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

@media (min-width: 800px) {
  .nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .header-actions { margin-left: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  section { padding: 88px 0; }
}

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