:root {
  --bg: #f2f4f2;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-alt: #f0f4f5;
  --surface-deep: #12313e;
  --text: #16222a;
  --text-soft: #5b6973;
  --line: rgba(21, 45, 57, 0.12);
  --brand: #173847;
  --brand-strong: #0d2430;
  --brand-soft: #547181;
  --accent: #a27b52;
  --accent-soft: #e4d5c6;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 35, 48, 0.08);
  --radius-lg: 34px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(23, 56, 71, 0.04), transparent 180px),
    var(--bg);
}

body::before {
  display: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(18, 35, 48, 0.06);
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark-image {
  display: block;
  width: 42px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 12px rgba(13, 36, 48, 0.12));
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy-image {
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}

.brand-copy-minimal {
  gap: 0;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  font-size: 1.02rem;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: 160ms ease;
}

.nav a:hover,
body[data-page="home"] .nav a[href="index.html"],
body[data-page="solucoes"] .nav a[href="solucoes.html"],
body[data-page="como-funciona"] .nav a[href="como-funciona.html"],
body[data-page="para-quem"] .nav a[href="para-quem.html"],
body[data-page="sobre"] .nav a[href="sobre.html"],
body[data-page="contato"] .nav a[href="contato.html"] {
  background: var(--surface-alt);
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 700;
  transition: 160ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(13, 36, 48, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand);
}

.button.compact {
  padding: 0 15px;
  min-height: 42px;
  font-size: 0.92rem;
}

.button.full {
  width: 100%;
}

.hero,
.page-hero,
.section-block,
.list-card,
.audience-card,
.copy-card,
.contact-card,
.contact-form,
.faq-item,
.feature-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 24px;
  margin-top: 28px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(18, 35, 48, 0.06);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(21, 45, 57, 0.1);
  border-radius: 999px;
  background: rgba(240, 244, 245, 0.72);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-strong);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  max-width: 10ch;
}

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

h3 {
  font-size: 1.2rem;
}

.lead {
  margin: 18px 0 0;
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--text);
  max-width: 54ch;
}

.support-text,
.section-heading p,
.feature-card p,
.step-card p,
.copy-card p,
.contact-card p,
.closing-note,
.footer p,
.faq-item p,
.form-note,
.contact-mini p {
  color: var(--text-soft);
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-clean {
  align-items: center;
}

.hero-summary {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
  color: var(--white);
  box-shadow: none;
}

.summary-block {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.summary-block strong {
  font-family: "Sora", sans-serif;
  font-size: 1.32rem;
  line-height: 1.3;
}

.summary-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.76;
  text-transform: uppercase;
}

.summary-list {
  display: grid;
  gap: 10px;
  padding: 18px 0;
}

.summary-list p,
.contact-mini-dark p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.summary-list p {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.summary-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.section-block,
.page-hero {
  margin-top: 26px;
  padding: 28px;
  border-radius: 22px;
}

.section-soft {
  background: #f8fafb;
  box-shadow: none;
}

.compact-heading {
  max-width: 56ch;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 72ch;
}

.section-heading.narrow {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.step-card,
.faq-item,
.contact-card,
.copy-card,
.list-card,
.audience-card,
.contact-form {
  border-radius: 18px;
  padding: 22px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.faq-item:hover {
  border-color: rgba(21, 45, 57, 0.18);
  box-shadow: 0 18px 36px rgba(18, 35, 48, 0.08);
}

.feature-card-simple {
  background: var(--surface);
  box-shadow: none;
  border-left: 3px solid rgba(23, 56, 71, 0.18);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.split-balanced {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.steps-stack {
  display: grid;
  gap: 14px;
}

.step-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.step-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.step-line h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.step-line p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.check-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--text);
}

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

.steps-grid.full-width {
  margin-top: 24px;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand);
  border: 1px solid var(--line);
}

.emphasis-block {
  background:
    radial-gradient(circle at top right, rgba(162, 123, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #ecf2f4, #ffffff);
}

.two-column-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.highlight-copy {
  padding: 20px;
  border-left: 4px solid var(--brand);
  background: linear-gradient(180deg, rgba(240, 244, 245, 0.95), rgba(255, 255, 255, 0.9));
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(162, 123, 82, 0.24), transparent 20%),
    linear-gradient(180deg, #173847, #214859);
}

.cta-band-clean {
  padding-top: 30px;
  padding-bottom: 30px;
}

.cta-band .eyebrow,
.cta-band h2,
.cta-band p {
  color: var(--white);
}

.inner-page {
  display: grid;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(162, 123, 82, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 248, 0.94));
}

.copy-card.wide {
  margin-top: 26px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label,
.contact-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--brand-strong);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfd;
  color: var(--text);
}

.contact-form fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.contact-form legend {
  padding: 0 8px;
  color: var(--brand-soft);
  font-weight: 700;
}

.inline-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
  padding: 28px 10px 10px;
}

.footer-clean {
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-strong);
  font-family: "Manrope", sans-serif;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
}

@media (max-width: 1100px) {
  .four-up,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-wrap {
    width: min(100% - 24px, 1180px);
  }

  .topbar,
  .hero,
  .split-section,
  .two-column-copy,
  .contact-layout,
  .cta-band,
  .footer,
  .three-up,
  .two-up,
  .steps-stack {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    border-radius: 18px;
  }

  .brand-wordmark {
    width: 176px;
  }

  .nav,
  .button.compact {
    width: 100%;
  }

  .hero,
  .page-hero,
  .section-block {
    padding: 24px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }
}

@media (max-width: 640px) {
  .brand {
    align-items: flex-start;
  }

  .brand-wordmark {
    width: 144px;
  }

  .nav a,
  .button,
  .button.compact {
    width: 100%;
  }

  .four-up,
  .three-up,
  .two-up,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
