:root {
  --bg: #e9eef2;
  --bg-deep: #0c1a22;
  --ink: #0c1a22;
  --muted: #4a5f6e;
  --line: rgba(12, 26, 34, 0.12);
  --accent: #0b7a62;
  --accent-soft: #d4f0e8;
  --paper: #f7fafb;
  --warn: #5c4a2a;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* —— Hero: one composition, full-bleed —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #f4f8fa;
  background: var(--bg-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(11, 122, 98, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(61, 90, 108, 0.4), transparent 50%),
    linear-gradient(165deg, #0c1a22 0%, #152a35 45%, #0b7a62 160%);
  z-index: 0;
}

.hero-chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 1;
}

.hero-chart path.line {
  fill: none;
  stroke: #7fd4b8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-line 2.2s ease-out 0.35s forwards;
}

.hero-chart path.area {
  fill: url(#chartFill);
  opacity: 0;
  animation: fade-area 1.2s ease 1.1s forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(12, 26, 34, 0.88) 0%, rgba(12, 26, 34, 0.55) 48%, rgba(12, 26, 34, 0.25) 100%),
    linear-gradient(180deg, rgba(12, 26, 34, 0.35) 0%, transparent 35%, rgba(12, 26, 34, 0.75) 100%);
}

.hero-top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 0;
}

.hero-top .mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f4f8fa;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.hero-top .mark img {
  width: 36px;
  height: 36px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 0 64px;
  max-width: 640px;
  animation: rise 0.9s ease-out both;
}

.brand-hero {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #d7e6e1;
}

.hero-copy .lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: #a8c0bc;
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #f4f8fa;
}
.btn-primary:hover { background: #096b56; }

.btn-ghost {
  background: transparent;
  color: #f4f8fa;
  border-color: rgba(244, 248, 250, 0.35);
}
.btn-ghost:hover { border-color: #f4f8fa; }

.btn-ink {
  background: var(--ink);
  color: #f4f8fa;
}
.btn-ink:hover { background: #16303c; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

/* —— Sections —— */
.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
}

.section .sub {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.step:nth-child(2) { animation-delay: 0.08s; }
.step:nth-child(3) { animation-delay: 0.16s; }

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1.2;
}

.step h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.price-sec {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-block {
  display: grid;
  gap: 24px;
  align-items: end;
}

@media (min-width: 720px) {
  .price-block {
    grid-template-columns: 1fr auto;
  }
}

.price-tag {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-tag span {
  font-size: 0.4em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.explain {
  max-width: 62ch;
}

.explain p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
}

.explain p:last-child { margin-bottom: 0; }
.explain b { color: var(--ink); font-weight: 650; }

.explain-on-dark p { color: #9bb5b0; }
.explain-on-dark b { color: #e8f0ee; font-weight: 650; }

.robo-sec {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* —— Desempenho —— */
.perf-sec {
  background: var(--bg-deep);
  color: #e8f0ee;
}

.perf-sec h2 { color: #f4f8fa; }
.perf-sec .sub { color: #9bb5b0; }
.perf-sec .sub b { color: #7fd4b8; }

.perf-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0 0 28px;
  max-width: 420px;
}

.perf-kpis-wide {
  max-width: none;
  margin-bottom: 16px;
}

@media (min-width: 720px) {
  .perf-kpis-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .perf-kpis-wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.kpi-label {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #8aa8a2;
}

.kpi-value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.03em;
  color: #7fd4b8;
}

.kpi-value-sm {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.perf-charts {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .perf-charts {
    grid-template-columns: 1fr 1fr;
  }
}

.perf-chart {
  margin: 0;
  padding: 14px 12px 8px;
  background: rgba(247, 250, 251, 0.04);
  border: 1px solid rgba(127, 212, 184, 0.18);
  border-radius: 6px;
}

.perf-chart figcaption {
  margin: 0 0 8px 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c5ddd7;
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-svg .grid {
  stroke: rgba(244, 248, 250, 0.08);
  stroke-width: 1;
}

.chart-svg .axis {
  fill: #7a9691;
  font-size: 11px;
  font-family: var(--font-body);
}

.chart-svg .eq-line {
  stroke: #4db896;
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-svg .eq-dot {
  fill: #7fd4b8;
}

.chart-svg .bar {
  fill: #0b7a62;
}

.chart-svg .bar-parcial {
  fill: #c4a35a;
}

.perf-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.perf-table th,
.perf-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(244, 248, 250, 0.1);
  text-align: left;
}

.perf-table th {
  color: #8aa8a2;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.perf-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.perf-table .pos {
  color: #7fd4b8;
  font-weight: 600;
}

.perf-note {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #7a9691;
  max-width: 60ch;
}

.disclaimer {
  background: var(--accent-soft);
}

.disclaimer p {
  margin: 0;
  max-width: 62ch;
  color: var(--warn);
  font-size: 0.98rem;
}

.foot {
  padding: 36px 0 48px;
  background: var(--bg-deep);
  color: #a8c0bc;
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.foot strong {
  display: block;
  color: #f4f8fa;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.foot a {
  color: #7fd4b8;
  text-decoration: none;
}
.foot a:hover { text-decoration: underline; }

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-area {
  to { opacity: 0.35; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chart path.line,
  .hero-chart path.area,
  .hero-copy,
  .step {
    animation: none !important;
  }
  .hero-chart path.line { stroke-dashoffset: 0; }
  .hero-chart path.area { opacity: 0.35; }
}

@media (max-width: 560px) {
  .hero-copy { padding-bottom: 48px; }
  .step { grid-template-columns: 40px 1fr; gap: 12px; }
}
