:root {
  --bg: #0e1a2b;
  --bg-soft: #121f34;
  --primary: #12e6a4;
  --teal: #1f6a66;
  --surface: #f5f6f4;
  --surface-strong: #e9ebea;
  --text: #ecf1f4;
  --muted: #8a8f98;
  --yellow: #ffc857;
  --card: rgba(19, 31, 47, 0.9);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(2, 7, 16, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(18, 230, 164, 0.12), transparent 35%),
    linear-gradient(180deg, #081521 0%, #0e1a2b 18%, #0e1a2b 100%);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(980px, calc(100% - 48px));
}

.section-box {
  padding: 120px 0;
}

.alt-bg {
  background: rgba(18, 31, 47, 0.72);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(14, 26, 43, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 180px;
  filter: brightness(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--surface);
  font-size: 0.95rem;
}

.main-nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.95rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-small {
  padding: 0.72rem 1.25rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #67f6cf);
  color: var(--bg);
  box-shadow: 0 16px 30px rgba(18, 230, 164, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.hero {
  padding-top: 74px;
  padding-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/patterns/pattern-sem-fundo.png") center/cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.eyebrow-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(18, 230, 164, 0.15);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(236, 241, 244, 0.78);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: rgba(236, 241, 244, 0.82);
  font-size: 0.92rem;
}

.hero-badges li {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 560px;
}

.dashboard-card {
  width: min(560px, 100%);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 28, 43, 0.9), rgba(13, 20, 31, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.main-card {
  padding: 18px 18px 12px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green { background: var(--primary); }
.dot.yellow { background: var(--yellow); }
.dot.gray { background: var(--muted); }

.dashboard-body {
  display: grid;
  gap: 18px;
}

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

.mini-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 14px;
}

.mini-stat.accent {
  background: linear-gradient(135deg, rgba(18, 230, 164, 0.18), rgba(18, 230, 164, 0.04));
}

.label {
  display: block;
  color: rgba(236, 241, 244, 0.72);
  font-size: 0.8rem;
}

.mini-stat strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.06em;
}

.chart-box {
  height: 160px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 18px 14px 10px;
}

.chart-bars {
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.chart-bars span {
  display: inline-block;
  width: 100%;
  height: var(--height);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(18, 230, 164, 0.9), rgba(18, 230, 164, 0.4));
}

.table-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 18px;
}

.table-head {
  color: rgba(236, 241, 244, 0.78);
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-row + .table-row {
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.problem-grid,
.steps-grid,
.benefits-grid {
  display: grid;
  gap: 24px;
}

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

.problem-card,
.step-card,
.benefit-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.problem-card {
  min-height: 260px;
}

.icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18,230,164,0.12), rgba(18,230,164,0.02));
  border: 1px solid rgba(18,230,164,0.2);
  margin-bottom: 18px;
}

.icon-wrap img {
  width: 42px;
  height: 42px;
}

.problem-card h3,
.step-card h3,
.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.problem-card p,
.step-card p,
.benefit-card p,
.solution-copy p,
.faq-list p {
  margin: 0;
  color: rgba(236, 241, 244, 0.72);
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.solution-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(236, 241, 244, 0.82);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.solution-visual {
  position: relative;
  min-height: 440px;
}

.floating-panel {
  background: linear-gradient(180deg, rgba(17, 29, 45, 0.96), rgba(11, 18, 28, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: 26px;
}

.panel-lg {
  width: min(480px, 100%);
  padding: 26px 22px 22px;
  position: absolute;
  right: 0;
  top: 0;
}

.panel-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(236, 241, 244, 0.62);
}

.metric-stack {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.metric {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.metric span {
  color: rgba(236, 241, 244, 0.68);
}

.metric.success {
  background: linear-gradient(135deg, rgba(18,230,164,0.14), rgba(18,230,164,0.04));
  border-color: rgba(18,230,164,0.28);
}

.panel-sm {
  width: min(320px, 100%);
  padding: 18px 20px;
  position: absolute;
  left: 10px;
  bottom: 16px;
}

.tiny-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(236, 241, 244, 0.8);
  font-size: 0.88rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(18,230,164,0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.progress-block {
  margin-top: 18px;
}

.progress-line {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #68f5d3);
  border-radius: inherit;
}

.progress-block small {
  display: block;
  margin-top: 10px;
  color: rgba(236, 241, 244, 0.68);
}

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

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18,230,164,0.2), rgba(18,230,164,0.06));
  border: 1px solid rgba(18,230,164,0.25);
  color: var(--primary);
  margin-bottom: 20px;
}

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

.benefit-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(18,230,164,0.1);
  border: 1px solid rgba(18,230,164,0.2);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: flex-start;
}

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

.faq-list details {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 22px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: var(--primary);
}

.faq-list p {
  padding: 0 0 20px;
}

.cta {
  padding-top: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18,230,164,0.18), rgba(31,106,102,0.15));
  border: 1px solid rgba(18,230,164,0.22);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.light {
  color: rgba(236, 241, 244, 0.78);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(9, 15, 23, 0.9);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
}

.footer-brand img {
  width: 170px;
}

.footer-wrap p {
  margin: 0;
  color: rgba(236, 241, 244, 0.7);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .two-col,
  .faq-wrap,
  .steps-grid,
  .benefits-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-visual {
    min-height: auto;
  }

  .solution-visual {
    min-height: 340px;
  }

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

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

@media (max-width: 640px) {
  .section-box {
    padding: 90px 0;
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .hero-actions,
  .cta-box,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .steps-grid,
  .benefits-grid,
  .panel-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 26px 22px;
  }

  .panel-lg {
    position: relative;
    width: 100%;
  }

  .panel-sm {
    position: relative;
    width: 100%;
    left: 0;
    bottom: 0;
    margin-top: 18px;
  }
}
