:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-strong: #f1f6fb;
  --ink: #0f172a;
  --muted: #536174;
  --line: #dce5ef;
  --primary: #1357d8;
  --primary-dark: #0b3d9b;
  --cyan: #0891b2;
  --green: #128c7e;
  --gold: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 23, 42, .11);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }

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

.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 229, 239, .9);
}

.nav-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--primary);
}

.brand img { width: 142px; height: auto; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  min-width: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #334155;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  background: #eef5ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  border: 0;
  background: #eef5ff;
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  font-size: 1.4rem;
}

.nav-backdrop,
.mobile-only {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .92rem;
  white-space: nowrap;
}

.btn-lg { min-height: 50px; padding: 13px 22px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 16px 32px rgba(19, 87, 216, .22); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-whatsapp { background: #16a34a; color: #fff; }

.home-hero, .page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 12% 14%, rgba(19, 87, 216, .14), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(8, 145, 178, .13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
}

.page-hero { padding: 86px 0 64px; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 900;
  margin: 0 0 14px;
}

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

h1 {
  font-size: clamp(2.35rem, 6vw, 4.85rem);
  line-height: .98;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.product-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 { line-height: 1.2; letter-spacing: 0; }

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  max-width: 720px;
}

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

.dashboard-preview, .software-card, .contact-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(220, 229, 239, .95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.window-dots { display: flex; gap: 7px; margin-bottom: 22px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #22c55e; }

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.preview-top span, .metric-grid span { display: block; color: var(--muted); font-size: .82rem; font-weight: 700; }
.preview-top strong { display: block; font-size: 1.35rem; }
.preview-top i { font-size: 2.6rem; color: var(--primary); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.metric-grid div {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.metric-grid strong { font-size: 1.45rem; }

.chart-bars {
  height: 150px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 12px;
}

.chart-bars span {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--cyan));
  min-height: 40px;
}

.chart-bars span:nth-child(1) { height: 46%; }
.chart-bars span:nth-child(2) { height: 62%; }
.chart-bars span:nth-child(3) { height: 52%; }
.chart-bars span:nth-child(4) { height: 78%; }
.chart-bars span:nth-child(5) { height: 68%; }
.chart-bars span:nth-child(6) { height: 90%; }

.section { padding: 78px 0; }
.tinted { background: #eef5ff; }

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow), .split-section p { color: var(--muted); }

.benefit-grid, .product-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit-card, .product-card, .feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.benefit-card i, .product-card > i, .feature-card > i, .software-card > i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: #e7f0ff;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.product-card h3, .product-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.product-card p, .benefit-card p, .feature-card p { color: var(--muted); }
.product-card ul { padding-left: 18px; color: #334155; margin: 16px 0 20px; }
.product-card li { margin-bottom: 6px; }
.product-card.large { display: flex; flex-direction: column; }
.product-card.large .btn { margin-top: auto; }

.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

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

.stacked-panels {
  display: grid;
  gap: 14px;
}

.stacked-panels div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.stacked-panels strong { display: block; margin-bottom: 4px; }
.stacked-panels span { color: var(--muted); }

.software-card h2 { font-size: 1.8rem; }
.software-card p { color: var(--muted); }

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.mini-list span {
  background: #f8fbff;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 700;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-strip a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
  font-weight: 800;
}

.product-strip i { color: var(--primary); font-size: 1.2rem; }

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.screenshot-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshot-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.legal-hero h1 {
  max-width: 820px;
}

.legal-updated {
  color: var(--muted);
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.legal-toc a {
  display: block;
  text-decoration: none;
  color: #334155;
  font-weight: 800;
  font-size: .9rem;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.legal-toc a:hover {
  color: var(--primary);
  background: #eef5ff;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.legal-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin: 34px 0 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #334155;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 700;
  margin-bottom: 28px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq-item summary { cursor: pointer; font-weight: 900; }
.faq-item p { color: var(--muted); margin: 12px 0 0; }

.contact-card form { display: grid; gap: 12px; }
.contact-card label { display: grid; gap: 6px; font-weight: 800; color: #334155; }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.form-alert.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-note {
  color: var(--muted);
  font-size: .86rem;
  margin: 12px 0 0;
}

.final-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #082f75, #0f766e);
  color: #fff;
}

.cta-panel {
  text-align: center;
  max-width: 900px;
}

.cta-panel .eyebrow { color: #bfdbfe; }
.cta-panel h2 { margin-bottom: 24px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.site-footer {
  background: #08111f;
  color: #cbd5e1;
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand img { width: 150px; height: auto; background: #fff; border-radius: 6px; padding: 5px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; color: #cbd5e1; text-decoration: none; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-small, .footer-bottom { color: #94a3b8; font-size: .82rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, .22);
  padding-top: 20px;
  margin-top: 34px;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #16a34a;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 18px 36px rgba(22, 163, 74, .35);
  z-index: 60;
}

@media (max-width: 1160px) {
  .site-header {
    backdrop-filter: none;
  }

  body.menu-locked {
    overflow: hidden;
  }

  .nav-menu {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 74px 0 0;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 48;
  }

  body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: 86px;
    right: 14px;
    bottom: auto;
    left: auto;
    width: min(380px, calc(100% - 28px));
    max-height: calc(100dvh - 104px);
    height: calc(100dvh - 104px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 52;
  }

  .nav-menu a {
    width: 100%;
    padding: 13px 14px;
    font-size: .96rem;
  }

  .mobile-only {
    display: block;
  }

  .mobile-legal-links {
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 8px;
  }

  .mobile-legal-links a {
    color: var(--muted);
    font-size: .88rem;
  }

  .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 12px;
  }

  .mobile-nav-actions .btn {
    width: 100%;
  }

  .mobile-nav-actions .btn-primary {
    color: #fff;
  }

  .mobile-nav-actions .btn-light {
    color: var(--ink);
  }

  body.menu-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-layout, .split-section, .footer-grid, .legal-layout { grid-template-columns: 1fr; }
  .benefit-grid, .product-grid, .feature-grid, .compact, .product-strip, .screenshot-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero, .page-hero { padding-top: 70px; }
  .legal-toc { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, 1160px); }
  .benefit-grid, .product-grid, .feature-grid, .compact, .product-strip, .screenshot-grid, .metric-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .nav-shell { width: calc(100% - 20px); }
}
