:root {
  --text: #5f5869;
  --text-h: #120f17;
  --bg: #ffffff;
  --surface: #f6f4f9;
  --border: #e6e3ea;
  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --accent-bg: rgba(124, 58, 237, 0.08);
  --accent-border: rgba(124, 58, 237, 0.35);
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(18, 15, 23, 0.04), 0 8px 24px rgba(18, 15, 23, 0.06);
  --sans: system-ui, "Segoe UI", Roboto, sans-serif;
  --width: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #a7a3b0;
    --text-h: #f2f0f5;
    --bg: #131218;
    --surface: #1c1a23;
    --border: #2d2a36;
    --accent: #c084fc;
    --accent-strong: #a855f7;
    --accent-bg: rgba(192, 132, 252, 0.12);
    --accent-border: rgba(192, 132, 252, 0.4);
    --on-accent: #1a0b2e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  font: 16px/1.65 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--text-h);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.inner {
  max-width: var(--width);
  margin: 0 auto;
  padding-inline: 24px;
}

.sprite {
  position: absolute;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--on-accent);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  transition: filter 0.15s, background-color 0.15s;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-ghost {
  color: var(--text-h);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent-border);
  background: var(--accent-bg);
  filter: none;
}

.btn-light {
  color: #4c1d95;
  background: #fff;
  border-color: #fff;
}

.link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.link:hover {
  color: var(--accent);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-h);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

.nav a:not(.btn):hover {
  color: var(--text-h);
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, var(--accent-bg), transparent 70%),
    radial-gradient(700px 320px at 0% 110%, var(--accent-bg), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero .inner {
  padding-block: 96px 88px;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 span {
  color: var(--accent);
}

.hero .lead {
  max-width: 660px;
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 20px);
}

/* ---------- Sections ---------- */

.section {
  padding-block: 88px;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 38px);
}

.section-head p:last-child {
  margin: 0;
  font-size: 18px;
}

/* ---------- Product ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.product-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.product-title img {
  border-radius: 12px;
}

.product h3 {
  margin: 0;
  font-size: 26px;
}

.product-tag {
  margin: 0;
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
}

.product-body > p {
  margin: 0 0 16px;
  font-size: 17px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 30px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-bg) no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Ilustração abstrata do painel, só em CSS: sem screenshot para não ficar desatualizada. */
.product-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.28), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(124, 58, 237, 0.4), transparent 60%),
    linear-gradient(135deg, #2e1065, #4c1d95);
}

.mock {
  width: 100%;
  max-width: 300px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(20, 8, 40, 0.35);
}

.mock-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6e3ea;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.mock-grid b {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #ddd6fe, #fbcfe8);
}

.mock-grid b:nth-child(2n) {
  background: linear-gradient(135deg, #c4b5fd, #a5b4fc);
}

.mock-grid b:nth-child(3n) {
  background: linear-gradient(135deg, #fde68a, #f9a8d4);
}

.mock-comment {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  margin-top: 6px;
  border-radius: 8px;
  background: #f6f4f9;
}

.mock-comment span {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c4b5fd;
}

.mock-comment em {
  height: 7px;
  width: 70%;
  border-radius: 4px;
  background: #e6e3ea;
}

.mock-comment.reply {
  margin-left: 24px;
  background: rgba(124, 58, 237, 0.1);
}

.mock-comment.reply span {
  background: #7c3aed;
}

.mock-comment.reply em {
  width: 55%;
  background: rgba(124, 58, 237, 0.3);
}

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.15s, transform 0.15s;
}

.card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--accent-bg);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  font-size: 15px;
}

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.process li {
  counter-increment: step;
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 2px solid var(--border);
}

.process li::before {
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.process strong {
  color: var(--text-h);
}

.process span {
  font-size: 15px;
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: start;
}

.about p {
  margin: 0 0 14px;
  font-size: 17px;
}

.company {
  margin: 0;
  padding: 8px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.company div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.company div:last-child {
  border-bottom: none;
}

.company dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company dd {
  margin: 2px 0 0;
  color: var(--text-h);
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  color: #e9d5ff;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(236, 72, 153, 0.25), transparent 70%),
    linear-gradient(135deg, #3b0764, #5b21b6);
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin: 0 0 28px;
  font-size: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer nav a {
  color: var(--text);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--accent);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .product,
  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .product {
    padding: 24px;
  }

  .product-visual {
    min-height: 260px;
  }

  .hero .inner {
    padding-block: 64px 56px;
  }

  .section {
    padding-block: 64px;
  }
}

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .btn {
    transition: none;
  }
}
