:root {
  color-scheme: light;
  --ink: #101827;
  --ink-2: #233044;
  --muted: #637083;
  --muted-2: #7b8796;
  --bg: #f4f6f8;
  --paper: #ffffff;
  --soft: #eef2f6;
  --line: #d9e0e8;
  --line-strong: #c1ccd8;
  --navy: #0d1b2f;
  --navy-2: #152943;
  --steel: #48617d;
  --green: #167258;
  --green-2: #0f5a46;
  --gold: #b9934b;
  --danger: #a44343;
  --shadow: 0 22px 70px rgba(16, 24, 39, .12);
  --radius: 8px;
  --max: 1220px;
}

[data-theme="dark"] {
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); line-height: 1.72; }
img { display: block; width: 100%; max-width: 100%; }
strong { color: var(--ink); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--green));
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(13, 27, 47, .18);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-2);
  font-weight: 650;
  font-size: 14px;
}
.nav-links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 750;
}
.menu-button { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--green); }
.btn-primary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 18px 40px rgba(13, 27, 47, .22);
}
.btn-primary:hover { background: #091426; }
.btn-accent {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.btn-accent:hover { background: var(--green-2); }

.container { width: min(var(--max), calc(100% - 32px)); margin: auto; }
.section { padding: 88px 0; position: relative; }
.section.compact, .section.tight { padding: 54px 0; }
.section-alt, .band { background: var(--paper); border-block: 1px solid var(--line); }
.section-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}
.section-navy p, .section-navy .lead { color: #c9d3df; }
.section-navy h2, .section-navy h3, .section-navy strong { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--green);
}
.section-navy .eyebrow { color: #d8c08a; }
.section-navy .eyebrow::before { background: #d8c08a; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: 0; color: var(--ink); }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 960px; font-weight: 850; }
h2 { font-size: clamp(30px, 4.2vw, 52px); max-width: 900px; font-weight: 820; }
h3 { font-size: 22px; font-weight: 820; }
h4 { font-size: 17px; font-weight: 800; }
.lead { color: var(--ink-2); font-size: clamp(18px, 2vw, 22px); max-width: 850px; line-height: 1.65; }
.section-head { display: grid; gap: 16px; margin-bottom: 34px; }
.section-head.wide { grid-template-columns: .92fr 1fr; align-items: end; }

.hero {
  padding: 74px 0 80px;
  background:
    linear-gradient(135deg, #f8fafc 0%, #eef2f6 58%, #e7edf3 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, .74fr);
  gap: 44px;
  align-items: center;
}
.hero-copy { display: grid; gap: 22px; }
.hero-note {
  max-width: 780px;
  border-left: 4px solid var(--green);
  padding: 14px 0 14px 18px;
  color: var(--ink-2);
  background: rgba(255,255,255,.58);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.trust-row span { border: 1px solid var(--line); background: rgba(255,255,255,.8); padding: 9px 12px; border-radius: 999px; }

.hero-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-panel img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-panel .mini-dashboard {
  margin-top: -70px;
  margin-left: 28px;
  width: calc(100% - 56px);
  position: relative;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  padding: 18px;
  box-shadow: 0 20px 44px rgba(13,27,47,.28);
}
.mini-dashboard p { color: #c8d3df; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini-kpi { border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 12px; }
.mini-kpi span { display: block; color: #9fb0c2; font-size: 12px; margin-bottom: 6px; }
.mini-kpi strong { color: #fff; font-size: 20px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: start; }
.media-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }

.card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(16,24,39,.07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p + p { margin-top: 10px; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 16px;
}
.badge {
  display: inline-flex;
  width: fit-content;
  border: 1px solid #cfd8e3;
  border-radius: 999px;
  background: #f4f6f8;
  color: var(--steel);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.stat { padding: 12px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 42px; color: var(--navy); margin-bottom: 8px; }

.image-panel {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.image-panel img { aspect-ratio: 16 / 10; object-fit: cover; }
.image-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.photo-card { padding: 0; overflow: hidden; }
.photo-card img { height: 210px; object-fit: cover; }
.photo-card .photo-body { padding: 22px; display: grid; gap: 12px; }

.feature-list, .check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.feature-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.feature-list li, .check-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  padding: 12px 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.section-navy .feature-list li, .section-navy .check-list li {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #d8e0ea;
}
.feature-list li::before, .check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

.module-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.module-row {
  display: grid;
  grid-template-columns: 220px 1fr 170px;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.module-row:last-child { border-bottom: 0; }
.module-row strong { color: var(--navy); }
.module-row span:last-child { color: var(--green); font-weight: 850; }

.segment-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.segment-tile {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  isolation: isolate;
  border-right: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.segment-tile:last-child { border-right: 0; }
.segment-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,47,.08), rgba(13,27,47,.92));
  z-index: -1;
}
.segment-tile.saude { background: url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=900&q=80") center / cover; }
.segment-tile.auto { background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=900&q=80") center / cover; }
.segment-tile.industria { background: url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=900&q=80") center / cover; }
.segment-tile.servicos { background: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80") center / cover; }
.segment-tile.varejo { background: url("https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?auto=format&fit=crop&w=900&q=80") center / cover; }
.segment-tile h3 { color: #fff; margin-bottom: 10px; }
.segment-tile p { color: #e5edf5; font-size: 14px; line-height: 1.55; }

.segment-card { display: grid; gap: 14px; }
.segment-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.segment-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; background: #f8fafc; }

.process { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: item; }
.process .card { position: relative; padding-top: 58px; }
.process .card::before {
  counter-increment: item;
  content: "0" counter(item);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--green);
  font-weight: 900;
}

.price-card { display: grid; gap: 16px; }
.price-card.featured { border: 2px solid var(--green); }
.price { color: var(--navy); font-size: 34px; font-weight: 900; }

.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--muted);
  font-weight: 850;
  text-align: center;
  padding: 18px 10px;
  font-size: 13px;
}

.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 18px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 850; color: var(--navy); }
.faq p { margin-top: 12px; }

.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
}
.form textarea { min-height: 118px; resize: vertical; }
.form small { color: var(--muted-2); }

.footer { background: var(--navy); color: #fff; padding: 54px 0 30px; }
.footer p, .footer a { color: #cbd5e1; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 28px; }
.footer a { display: block; margin: 10px 0; }
.footer .brand, .footer strong { color: #fff; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 44px rgba(37,211,102,.32), 0 0 0 0 rgba(37,211,102,.45);
  animation: pulse 2.2s infinite;
}
.whatsapp-float svg { width: 33px; height: 33px; }

.page-hero {
  padding: 86px 0 56px;
  background:
    linear-gradient(90deg, rgba(244,246,248,.98), rgba(244,246,248,.86)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=82") center / cover;
}
.breadcrumb { color: var(--muted); margin-bottom: 20px; font-weight: 750; }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline .card { position: relative; padding-left: 72px; }
.timeline .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0% { box-shadow: 0 16px 44px rgba(37,211,102,.32), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 16px 44px rgba(37,211,102,.32), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 16px 44px rgba(37,211,102,.32), 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 1040px) {
  .menu-button { display: inline-flex; align-items: center; }
  .nav-links {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .hero-grid, .split, .media-grid, .section-head.wide, .grid-2, .grid-3, .grid-4, .process, .footer-grid { grid-template-columns: 1fr; }
  .segment-showcase { grid-template-columns: 1fr; }
  .segment-tile { min-height: 260px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .module-row { grid-template-columns: 1fr; gap: 8px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .nav { min-height: 68px; }
  .brand span:last-child { display: none; }
  .nav-actions .btn { display: none; }
  .hero { padding: 50px 0 58px; background-position: center; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  .mini-grid, .feature-list, .logos { grid-template-columns: 1fr; }
  .hero-panel .mini-dashboard { margin: 12px 0 0; width: 100%; }
  .whatsapp-float { width: 60px; height: 60px; right: 16px; bottom: 16px; }
}
