:root {
  --primary: #0d6efd;
  --primary-dark: #084298;
  --primary-soft: #eaf2ff;
  --ink: #14213d;
  --muted: #5c6b82;
  --line: #dbe4f0;
  --surface: #ffffff;
  --surface-alt: #f6f9fd;
  --success: #12b76a;
  --warning: #f59e0b;
  --shadow: 0 22px 70px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--surface);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--primary-dark);
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.8);
}

.navbar {
  padding: 0.85rem 0;
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  width: auto;
  height: 3.35rem;
  object-fit: contain;
}

.footer-logo {
  width: auto;
  height: 3rem;
  filter: brightness(0) invert(1);
}

.footer-brand:hover .footer-logo,
.footer-brand:focus .footer-logo {
  filter: brightness(0) invert(1);
}

.brand-mark {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--primary), #27a3ff);
  border-radius: 0.7rem;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.25);
}

.nav-link {
  color: var(--ink);
  font-weight: 650;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
}

.btn {
  border-radius: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: rgba(13, 110, 253, 0.32);
  background: #fff;
}

.btn-whatsapp {
  color: #fff;
  background: #18a75d;
  border-color: #18a75d;
  box-shadow: 0 14px 30px rgba(24, 167, 93, 0.2);
}

.btn-whatsapp:hover {
  color: #fff;
  background: #12884b;
  border-color: #12884b;
}

.breadcrumb-wrap {
  padding-top: 5rem;
  background: var(--surface-alt);
}

.breadcrumb {
  margin: 0;
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.section-pad {
  padding: 6rem 0;
}

.section-pad-sm {
  padding: 4.75rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 82vh, 820px);
  display: flex;
  align-items: center;
  padding: 7.5rem 0 5rem;
  background:
    linear-gradient(90deg, rgba(5, 24, 52, 0.88) 0%, rgba(8, 66, 152, 0.72) 43%, rgba(5, 24, 52, 0.18) 100%),
    url("../img/hero-varejo.jpg") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

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

.hero .eyebrow,
.hero h1,
.hero-subtitle,
.hero-copy {
  color: #fff;
}

.hero .eyebrow {
  color: #cfe4ff;
}

.hero-copy {
  max-width: 42rem;
  color: #e9f2ff;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.65rem, 4.8vw, 5rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 900;
}

h3 {
  font-size: 1.1rem;
  font-weight: 850;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 750;
}

.section-heading p,
.solution p,
.benefits p,
.lead p,
.final-cta p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row span {
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.dashboard-mockup {
  width: min(100%, 680px);
  margin-inline: auto;
  padding: 1rem;
  background: #0f2447;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.mockup-topbar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: #dbeafe;
  padding: 0.45rem 0.55rem 1rem;
}

.mockup-topbar span {
  width: 0.75rem;
  height: 0.75rem;
  background: #5d7295;
  border-radius: 50%;
}

.mockup-topbar strong {
  margin-left: auto;
  font-size: 0.9rem;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.metric-card,
.chart-card,
.table-card {
  min-height: 8rem;
  padding: 1rem;
  background: #fff;
  border-radius: 1rem;
}

.metric-card {
  grid-column: span 2;
}

.metric-card small,
.metric-card span {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.metric-card strong {
  display: block;
  margin: 0.45rem 0;
  font-size: 1.45rem;
}

.metric-card.blue {
  background: #eaf2ff;
}

.metric-card.green {
  background: #e9fbf2;
}

.metric-card.amber {
  background: #fff6df;
}

.chart-card {
  grid-column: span 4;
  min-height: 16rem;
}

.chart-bars {
  display: flex;
  height: 100%;
  align-items: end;
  gap: 0.8rem;
}

.chart-bars i {
  flex: 1;
  min-height: 35%;
  background: linear-gradient(180deg, #27a3ff, var(--primary));
  border-radius: 0.65rem 0.65rem 0.2rem 0.2rem;
}

.chart-bars i:nth-child(2) { min-height: 62%; }
.chart-bars i:nth-child(3) { min-height: 48%; }
.chart-bars i:nth-child(4) { min-height: 78%; }
.chart-bars i:nth-child(5) { min-height: 58%; }
.chart-bars i:nth-child(6) { min-height: 88%; }

.table-card {
  grid-column: span 2;
  min-height: 16rem;
}

.table-card span {
  display: block;
  height: 2rem;
  margin-bottom: 0.8rem;
  background: #eef3f9;
  border-radius: 0.55rem;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pain,
.features,
.comparison,
.faq {
  background: var(--surface-alt);
}

.pain-item,
.feature-card,
.testimonial-card,
.screen-card {
  height: 100%;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.05);
}

.pain-item span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 900;
}

.pain-item p,
.feature-card p,
.testimonial-card span {
  color: var(--muted);
  margin-bottom: 0;
}

.solution-list {
  display: grid;
  gap: 1rem;
}

.solution-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 0.35rem solid var(--primary);
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.05);
}

.solution-list strong {
  font-size: 1.05rem;
}

.solution-list span {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card .icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  font-size: 1.45rem;
  background: var(--primary-soft);
  border-radius: 0.85rem;
}

.benefits {
  background: linear-gradient(135deg, #062d68, #0d6efd);
  color: #fff;
}

.benefits .eyebrow,
.benefits p {
  color: #dbeafe;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-grid div {
  padding: 1.15rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
}

.screen-card {
  padding: 0.8rem;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top left;
  background: #f2f6fb;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
}

.screen-card h3 {
  margin: 1rem 0 0.35rem;
}

.testimonial-card p {
  font-size: 1.05rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.comparison-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.05);
}

.comparison-table th {
  color: #fff;
  background: var(--primary-dark);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
}

.lead-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.lead-list li {
  padding-left: 1.8rem;
  position: relative;
  color: var(--ink);
  font-weight: 700;
}

.lead-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--success);
  border-radius: 50%;
}

.lead-form {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: var(--line);
  border-radius: 0.6rem;
}

.form-label {
  color: var(--ink);
  font-weight: 750;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.accordion-item {
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.final-cta {
  background: #fff;
}

.cta-panel {
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #0648a8, #0d6efd);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.cta-panel .eyebrow,
.cta-panel p {
  color: #eaf2ff;
}

.site-footer {
  padding: 4rem 0 2rem;
  color: #dbeafe;
  background: #071a33;
}

.site-footer a {
  color: #fff;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  min-width: 8.2rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: #18a75d;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(24, 167, 93, 0.28);
}

.floating-whatsapp:hover {
  color: #fff;
  background: #12884b;
}

@media (max-width: 991.98px) {
  .section-pad {
    padding: 4.5rem 0;
  }

  .section-pad-sm {
    padding: 3.75rem 0;
  }

  h1 {
    max-width: 100%;
  }

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

@media (max-width: 767.98px) {
  .brand-logo {
    height: 2.8rem;
  }

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

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

  .metric-card,
  .chart-card,
  .table-card {
    grid-column: span 2;
  }

  .feature-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    min-width: 7.5rem;
  }
}
