:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0f1115;
  --muted: #5f6673;
  --line: #dfe3e8;
  --accent: #0f1115;
  --blue: #2474ff;
  --green: #37b24d;
  --radius: 8px;
  --max-width: 1160px;
  --header-height: 72px;
  --section-y: clamp(76px, 9vw, 128px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  text-rendering: geometricPrecision;
}

body,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 48px);
  border-bottom: 1px solid rgba(15, 17, 21, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 17, 21, 0.06);
}

.brand,
.nav-links,
.footer-links,
.hero-actions,
.hero-tags {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 17, 21, 0.12);
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-links {
  gap: 26px;
  color: rgba(15, 17, 21, 0.72);
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.header-cta:hover {
  background: #232731;
}

#solucao,
#processo,
#contato {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86svh;
  padding: calc(var(--header-height) + 44px) clamp(20px, 5vw, 72px) 56px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("./assets/hero-dashboard.png");
  background-position: 70% center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 36%, rgba(255, 255, 255, 0.32) 70%, rgba(255, 255, 255, 0.12) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 22%);
}

.hero-backdrop {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-content {
  width: min(720px, 100%);
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: #343944;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:focus-visible,
.header-cta:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 116, 255, 0.35);
  outline-offset: 3px;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: #232731;
}

.button-secondary {
  border-color: rgba(15, 17, 21, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero-tags {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-tags li {
  padding: 8px 12px;
  border: 1px solid rgba(15, 17, 21, 0.12);
  border-radius: 999px;
  color: #343944;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: var(--section-y) clamp(20px, 5vw, 72px);
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  color: #fff;
  background: #0f1115;
}

.section-dark p,
.section-dark span {
  color: rgba(255, 255, 255, 0.68);
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.problem {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

.problem .split {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: start;
}

.problem h2 {
  max-width: 720px;
  font-size: clamp(2.55rem, 4.4vw, 4.25rem);
  line-height: 1.02;
}

.problem .section-copy {
  max-width: 560px;
  padding-top: 44px;
}

.problem .section-copy p {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
}

.split,
.benefits-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.section-copy p {
  font-size: 1.08rem;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 240px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: var(--blue);
  font-weight: 900;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-item span {
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--green);
}

.benefit-item p {
  margin: 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.process-list li {
  min-height: 220px;
  padding: 26px;
  background: #0f1115;
}

.process-list strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.08rem;
}

.process-list span {
  display: block;
  line-height: 1.6;
}

.contact-section {
  background: #fff;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.contact-copy h2 {
  max-width: 620px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1.02;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-note strong {
  color: var(--ink);
}

.contact-note span {
  color: var(--muted);
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: 0 24px 70px rgba(15, 17, 21, 0.08);
}

.form-heading {
  padding-bottom: 8px;
}

.form-heading h3 {
  margin-bottom: 6px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.form-heading p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
}

label {
  color: #252a33;
  font-size: 0.92rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cfd5dd;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  border: 1px solid #cfd5dd;
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, #5f6673 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #5f6673 50%, transparent 50%) right 12px center / 6px 6px no-repeat,
    #fff;
  outline: none;
  appearance: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

input::placeholder {
  color: #9aa2af;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 116, 255, 0.13);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #d92d20;
}

select:disabled {
  cursor: not-allowed;
  color: #8d96a3;
  background:
    linear-gradient(45deg, transparent 50%, #9aa2af 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #9aa2af 50%, transparent 50%) right 12px center / 6px 6px no-repeat,
    #eef1f5;
  opacity: 0.85;
}

.field-error {
  min-height: 16px;
  color: #b42318;
  font-size: 0.82rem;
  line-height: 1.3;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-privacy {
  margin: 0;
  font-size: 0.9rem;
}

.form-privacy a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  min-height: 56px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.form-status.is-error {
  color: #b42318;
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(860px, 100%);
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  min-height: 64px;
  padding: 20px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style-position: outside;
}

details p {
  padding: 0 22px 22px;
  margin: 0;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-page {
  padding-top: var(--header-height);
}

.privacy-hero {
  padding: 88px clamp(20px, 5vw, 72px) 48px;
  background: var(--bg-soft);
}

.privacy-content {
  width: min(820px, 100%);
  margin: 0 auto;
}

.privacy-content h1 {
  max-width: 100%;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.privacy-body {
  padding: 56px clamp(20px, 5vw, 72px) 96px;
}

.privacy-body .privacy-content {
  display: grid;
  gap: 24px;
}

.privacy-body h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

@media (max-width: 900px) {
  :root {
    --header-height: 66px;
    --section-y: 76px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: clamp(220px, 48vw, 360px);
  }

  .hero::before {
    background-position: 58% bottom;
    background-size: min(1120px, 170vw) auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 48%, rgba(255, 255, 255, 0.3) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 30%);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 9vw, 5.2rem);
  }

  .split,
  .benefits-layout,
  .contact-layout,
  .feature-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .problem .split {
    grid-template-columns: 1fr;
  }

  .problem .section-copy {
    max-width: 680px;
    padding-top: 0;
  }

  .problem h2 {
    max-width: 680px;
    font-size: clamp(2.2rem, 7vw, 3.8rem);
  }

  .section-heading,
  .section-heading.align-left {
    width: min(680px, 100%);
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .feature-card,
  .process-list li {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 28px;
  }

  .process-list {
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .contact-copy {
    position: static;
  }

  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 7vw, 3.5rem);
  }
}

@media (max-width: 620px) {
  :root {
    --section-y: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand span:last-child {
    max-width: 128px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .hero {
    padding-right: 18px;
    padding-bottom: clamp(190px, 58vw, 280px);
    padding-left: 18px;
  }

  .hero::before {
    background-position: 56% bottom;
    background-size: 920px auto;
  }

  .hero-actions,
  .hero-actions .button,
  .form-submit {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.7rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-tags li {
    font-size: 0.84rem;
  }

  .feature-grid,
  .benefit-list,
  .faq-list {
    gap: 12px;
  }

  .lead-form {
    padding: 20px;
    box-shadow: none;
  }

  .form-split {
    grid-template-columns: 1fr;
  }

  input,
  select {
    min-height: 52px;
    font-size: 1rem;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
