:root {
  --blue-950: #06213f;
  --blue-900: #073763;
  --blue-700: #0b63ce;
  --blue-100: #eaf3ff;
  --green-700: #118657;
  --green-600: #17a86b;
  --green-500: #22c983;
  --green-100: #eafaf3;
  --text: #142033;
  --muted: #5f6d80;
  --line: #d9e6f4;
  --soft: #f5f9fd;
  --white: #fff;
  --shadow: 0 6px 22px rgba(7, 55, 99, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  animation: page-load .65s ease both;
}
a { color: inherit; text-decoration: none; }

@keyframes page-load {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .6s ease,
    transform .6s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform;
}
body.reveal-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.reveal-ready article.reveal-item.is-visible:hover,
body.reveal-ready .stat-card.reveal-item.is-visible:hover,
body.reveal-ready .case-card.reveal-item.is-visible:hover,
body.reveal-ready .client-card.reveal-item.is-visible:hover,
body.reveal-ready details.reveal-item.is-visible:hover {
  transform: translateY(-3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 230, 244, .9);
  backdrop-filter: blur(14px);
}
.brand { flex: 1; display: flex; align-items: center; min-width: 230px; }
.brand img {
  width: clamp(230px, 24vw, 335px);
  max-height: 84px;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.nav a:hover { color: var(--blue-700); }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-900);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.btn, .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover, .header-action:hover, article:hover { transform: translateY(-3px); }
.header-action, .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--blue-700));
  box-shadow: 0 14px 34px rgba(11, 99, 206, .24);
}
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.btn-light { color: var(--blue-900); background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.16); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 0;
  align-items: center;
  min-height: 735px;
  padding: 88px clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--blue-950);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,33,63,.96) 0%, rgba(6,33,63,.88) 37%, rgba(7,55,99,.54) 62%, rgba(6,33,63,.16) 100%),
    radial-gradient(circle at 18% 78%, rgba(34,201,131,.27), transparent 30%),
    linear-gradient(135deg, rgba(11,99,206,.5), rgba(23,168,107,.28));
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-dashboard-work.jpg");
  background-size: cover;
  background-position: right calc(45% + var(--hero-bg-y, 0px));
  opacity: .72;
  transform: scale(1.04);
  z-index: 0;
  will-change: background-position;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-cascade .72s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: .08s; }
.hero-content > *:nth-child(2) { animation-delay: .18s; }
.hero-content > *:nth-child(3) { animation-delay: .28s; }
.hero-content > *:nth-child(4) { animation-delay: .38s; }
.hero-content > *:nth-child(5) { animation-delay: .48s; }
@keyframes hero-cascade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes title-focus {
  from { letter-spacing: .015em; filter: blur(2px); }
  to { letter-spacing: -.01em; filter: blur(0); }
}
.eyebrow, .section-kicker {
  color: var(--green-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 20px;
  width: min(840px, 100%);
  font-size: clamp(33px, 4.1vw, 56px);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-shadow: 0 12px 34px rgba(0,0,0,.48), 0 2px 2px rgba(0,0,0,.28);
  animation-name: hero-cascade, title-focus;
  animation-duration: .72s, 1.15s;
  animation-timing-function: ease, ease;
  animation-fill-mode: forwards, both;
}
.hero-text {
  width: min(760px, 100%);
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 19px;
  line-height: 1.62;
  text-shadow: 0 8px 24px rgba(0,0,0,.42);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}

.section, .trust-strip, .contact, .footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.trust-strip { padding: 76px 0 46px; }
.section { padding: 72px 0; }
.section-heading {
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: left;
  margin-bottom: 30px;
}
.section-heading.compact { display: grid; }
h2 { margin: 10px 0 0; color: var(--blue-900); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
h3 { margin: 18px 0 10px; color: var(--blue-900); font-size: 23px; }
p { color: var(--muted); line-height: 1.6; }
.section-lead { width: min(820px, 100%); margin: 6px 0 0; font-size: 17px; line-height: 1.65; }
.section-kicker.light { color: var(--green-500); }
.section-lead.light { color: rgba(255,255,255,.82); }

/* Quem somos / indicadores */
.about-section .section-heading { margin-bottom: 34px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.stat-card {
  display: grid;
  gap: 8px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--soft));
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-500);
}
.stat-card strong { color: var(--blue-900); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.stat-card span { color: var(--muted); font-weight: 700; font-size: 14px; }
.about-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.about-points span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--blue-900);
  background: var(--soft);
  font-weight: 800;
}
.about-points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  stroke: var(--green-700);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Por que escolher (diferencial) */
.why-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(56px, 6vw, 88px) max(18px, calc((100% - 1180px) / 2));
  color: #fff;
  overflow: hidden;
  background: var(--blue-950);
}
.why-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-dashboard-work.jpg");
  background-size: cover;
  background-position: right center;
  opacity: .28;
  transform: scale(1.04);
}
.why-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6,33,63,.96), rgba(11,99,206,.82) 62%, rgba(23,168,107,.72)),
    radial-gradient(circle at 88% 18%, rgba(34,201,131,.28), transparent 30%);
}
.why-inner { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; }
.why-section h2 { color: #fff; max-width: 920px; }
.why-text { width: min(820px, 100%); margin: 16px 0 0; color: rgba(255,255,255,.85); font-size: 17px; line-height: 1.65; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.why-grid article {
  padding: 26px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
}
.why-grid article.highlight {
  background: rgba(34,201,131,.14);
  border-color: rgba(34,201,131,.5);
}
.why-grid h3 { color: #fff; margin-top: 0; }
.why-grid ul { display: grid; gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.why-grid li { color: rgba(255,255,255,.86); font-weight: 600; }
.why-grid li::before { content: "›"; margin-right: 10px; color: var(--green-500); font-weight: 900; }
.why-grid .highlight li::before { content: "✓"; }

/* Nossa metodologia */
.method-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}
.method-flow li {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue-700);
  transition: transform .18s ease, box-shadow .18s ease;
}
.method-flow li:hover { transform: translateY(-3px); }
.method-flow span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
  font-weight: 900;
}
.method-flow strong { display: block; margin: 14px 0 8px; color: var(--blue-900); font-size: 18px; }
.method-flow p { margin: 0; font-size: 14px; }
.method-flow li::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--green-600);
  font-weight: 900;
  font-size: 18px;
}
.method-flow li:nth-child(3n)::after,
.method-flow li:last-child::after { content: none; }

/* Cases completos */
.cases-section .case-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.case-media { display: grid; gap: 14px; justify-items: center; }
.case-logo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 150px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.case-logo img { width: 72%; height: 72%; object-fit: contain; }
.case-logo.client-logo--wide img { width: 88%; height: 88%; }
.case-tag-segment {
  align-self: stretch;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: var(--blue-900);
  background: var(--blue-100);
}
.case-body h3 { margin-top: 0; font-size: 25px; }
.case-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.case-visual-grid div {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 146px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, var(--soft));
}
.case-visual-grid strong {
  color: var(--blue-900);
  font-size: 15px;
}
.case-visual-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.case-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
}
.case-icon::before,
.case-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}
.case-icon-alert::before {
  width: 25px;
  height: 25px;
  clip-path: polygon(50% 0,100% 88%,0 88%);
}
.case-icon-alert::after {
  width: 4px;
  height: 12px;
  top: 13px;
  border-radius: 999px;
  box-shadow: 0 14px 0 #fff;
}
.case-icon-build::before {
  width: 25px;
  height: 18px;
  border-radius: 4px;
  top: 18px;
}
.case-icon-build::after {
  width: 16px;
  height: 5px;
  border-radius: 999px;
  top: 12px;
}
.case-icon-result::before {
  width: 25px;
  height: 18px;
  left: 9px;
  top: 15px;
  clip-path: polygon(0 62%,32% 62%,32% 36%,62% 36%,62% 8%,100% 8%,100% 100%,0 100%);
}
.case-icon-result::after {
  width: 28px;
  height: 4px;
  left: 8px;
  bottom: 9px;
  border-radius: 999px;
}
.case-block { margin-top: 16px; }
.case-block h4 {
  margin: 0 0 6px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-block p { margin: 0; }
.case-modules { display: flex; flex-wrap: wrap; gap: 8px; }
.case-modules span {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-900);
  background: var(--soft);
  border: 1px solid var(--line);
}
.case-details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.case-details summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--blue-900);
  font-weight: 900;
}
.case-details p {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 14px;
}

.trust-tags, .feature-tags, .delivery-list, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-tags span, .feature-tags span, .delivery-list span, .benefits-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--blue-900);
  background: var(--soft);
  font-weight: 900;
}

.examples-grid article, .process-line article, .compare-card, .faq-grid details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.process-line article { padding: 20px; border-top: 4px solid var(--green-500); }
.process-line span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue-700);
  font-weight: 900;
}
.process-line strong { display: block; margin: 16px 0 8px; color: var(--blue-900); }
.process-line p { margin: 0; font-size: 14px; }

.comparison-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare-card { padding: 28px; }
.compare-card ul { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.compare-card li { color: var(--muted); font-weight: 700; }
.compare-card li::before { content: "•"; margin-right: 9px; color: var(--green-600); font-weight: 900; }
.manual { background: #fbfdff; }
.custom { background: linear-gradient(135deg, #f4fff9, #f2f7ff); border-color: rgba(34,201,131,.35); }

.features-section, .examples-section { background: linear-gradient(180deg, #fff, var(--soft)); width: 100%; max-width: none; padding-left: max(18px, calc((100% - 1180px) / 2)); padding-right: max(18px, calc((100% - 1180px) / 2)); }
.examples-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.examples-grid article {
  min-height: 178px;
  padding: 18px;
}
.example-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--green-100));
  border: 1px solid rgba(26, 188, 122, .22);
}
.example-icon::before,
.example-icon::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
}
.example-icon-agro::before { width: 34px; height: 21px; border-radius: 50% 50% 8px 8px; transform: rotate(-18deg); }
.example-icon-agro::after { width: 5px; height: 40px; border-radius: 999px; transform: rotate(28deg); }
.example-icon-cattle::before { width: 38px; height: 24px; border-radius: 16px 16px 10px 10px; top: 26px; }
.example-icon-cattle::after { width: 44px; height: 8px; border-radius: 999px; top: 20px; }
.example-icon-market::before { width: 38px; height: 30px; border-radius: 5px; top: 24px; }
.example-icon-market::after { width: 46px; height: 8px; border-radius: 999px; top: 17px; }
.example-icon-bakery::before { width: 40px; height: 26px; border-radius: 50% 50% 12px 12px; top: 25px; }
.example-icon-bakery::after { width: 28px; height: 5px; border-radius: 999px; top: 18px; }
.example-icon-butcher::before { width: 38px; height: 24px; border-radius: 7px; top: 26px; transform: rotate(-8deg); }
.example-icon-butcher::after { width: 10px; height: 30px; border-radius: 8px; right: 15px; top: 18px; transform: rotate(28deg); }
.example-icon-church::before { width: 34px; height: 34px; clip-path: polygon(50% 0,100% 38%,100% 100%,0 100%,0 38%); top: 24px; }
.example-icon-church::after { width: 5px; height: 35px; border-radius: 999px; top: 12px; }
.example-icon-finance::before { width: 38px; height: 38px; border-radius: 50%; }
.example-icon-finance::after { width: 8px; height: 38px; border-radius: 999px; background: #fff; box-shadow: -9px 0 0 rgba(255,255,255,.8), 9px 0 0 rgba(255,255,255,.8); }
.example-icon-stock::before { width: 38px; height: 30px; border-radius: 5px; top: 26px; }
.example-icon-stock::after { width: 30px; height: 6px; border-radius: 999px; top: 18px; box-shadow: 0 14px 0 rgba(7, 70, 151, .85); }
.example-icon-service-order::before { width: 34px; height: 40px; border-radius: 6px; top: 15px; }
.example-icon-service-order::after { width: 24px; height: 5px; border-radius: 999px; top: 26px; box-shadow: 0 10px 0 rgba(7, 70, 151, .85), 0 20px 0 rgba(7, 70, 151, .72); }
.example-icon-report::before { width: 38px; height: 34px; border-radius: 6px; top: 22px; }
.example-icon-report::after { width: 7px; height: 26px; border-radius: 999px; bottom: 16px; box-shadow: -11px 8px 0 rgba(7, 70, 151, .85), 11px -6px 0 rgba(7, 70, 151, .72); }
.examples-grid strong { display: block; margin-top: 18px; color: var(--blue-900); }

.clients-section {
  border-top: 1px solid var(--line);
  padding-top: 58px;
  padding-bottom: 58px;
}
.clients-section .section-heading {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.client-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.client-logo {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.client-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.client-logo--wide img {
  width: 86%;
  height: 86%;
}
.client-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 21px;
}
.client-card p {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 14px;
  line-height: 1.45;
}

.delivery-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 38px;
  padding: 42px;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6,33,63,.96), rgba(11,99,206,.84) 60%, rgba(23,168,107,.72)),
    url("assets/hero-dashboard-work.jpg") right center / cover;
  box-shadow: 0 22px 56px rgba(7,55,99,.18);
}
.delivery-card > * { position: relative; z-index: 1; }
.delivery-card h2 { color: #fff; }
.delivery-list span { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }

.benefits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits-grid span { display: flex; align-items: center; min-height: 72px; }

.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.faq-grid details { padding: 18px; }
.faq-grid summary { cursor: pointer; color: var(--blue-900); font-weight: 900; }
.faq-grid p { margin-bottom: 0; }

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 72px;
  padding: 44px;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6,33,63,.96), rgba(11,99,206,.84) 58%, rgba(23,168,107,.75)),
    url("assets/hero-dashboard-work.jpg") right center / cover;
}
.contact > * { position: relative; z-index: 1; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.86); }
.contact-info { display: grid; gap: 8px; margin-top: 18px; color: rgba(255,255,255,.9); font-weight: 800; }

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--blue-700));
  box-shadow: 0 16px 38px rgba(7,55,99,.24);
  font-weight: 900;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr .6fr 1fr;
  gap: 28px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer img {
  width: 210px;
  height: auto;
}
.footer-brand, .footer-links, .footer-contact { display: grid; gap: 9px; }
.footer strong, .footer a { color: var(--blue-900); font-weight: 900; }

/* Estado ativo na navegação */
.nav a.active { color: var(--blue-700); position: relative; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-500), var(--blue-700));
}

/* Hero das páginas internas */
.page-hero {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(48px, 6vw, 84px) max(18px, calc((100% - 1180px) / 2));
  color: #fff;
  overflow: hidden;
  background: var(--blue-950);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-dashboard-work.jpg");
  background-size: cover;
  background-position: right center;
  opacity: .24;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,33,63,.96), rgba(11,99,206,.8) 70%, rgba(23,168,107,.68));
}
.page-hero-inner { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.45); }
.breadcrumb strong { color: var(--green-500); }
.page-hero h1 { margin: 12px 0 18px; width: min(880px, 100%); color: #fff; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; }
.page-hero-text { width: min(760px, 100%); margin: 0; color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.62; }

/* Tecnologias */
.tech-category { margin-top: 30px; }
.tech-category h3 { margin: 0 0 14px; color: var(--blue-900); font-size: 19px; }
.tech-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tech-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tech-tile:hover { transform: translateY(-3px); }
.tech-badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, var(--blue-700), var(--green-600));
}
.tech-tile strong { display: block; color: var(--blue-900); font-size: 17px; }
.tech-tile small { color: var(--muted); font-weight: 700; }
.tech-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tech-benefits article p { color: rgba(255,255,255,.82); }

/* Integrações */
.integ-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.integ-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.integ-card:hover { transform: translateY(-3px); }
.integ-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: var(--blue-900);
  font-weight: 900;
  font-size: 15px;
  background: linear-gradient(135deg, var(--blue-100), var(--green-100));
  border: 1px solid rgba(26, 188, 122, .22);
}
.integ-card strong { color: var(--blue-900); font-size: 17px; }
.integ-card p { margin: 0; font-size: 14px; }
.integ-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.integ-flow li:nth-child(3n)::after { content: "→"; }
.integ-flow li:nth-child(4n)::after,
.integ-flow li:last-child::after { content: none; }

.page-contact { margin-top: 0; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .process-line { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .examples-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .integ-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integ-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integ-flow li:nth-child(3n)::after { content: none; }
  .integ-flow li:nth-child(2n)::after { content: none; }
}

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; align-items: center; gap: 12px; }
  .brand { flex: 1; min-width: 0; }
  .brand img { width: min(100%, 230px); max-height: 60px; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-action { order: 2; min-height: 42px; padding: 9px 16px; }
  .nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    white-space: normal;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 6px; border-radius: 8px; }
  .nav a:hover, .nav a.active { background: var(--soft); }
  .nav a.active::after { content: none; }
  .section-heading, .comparison-grid, .delivery-card, .contact, .footer, .clients-grid, .client-card { grid-template-columns: 1fr; }
  .faq-grid, .benefits-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-flow, .integ-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-flow li::after, .integ-flow li::after { content: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-tiles, .integ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-section .case-card { grid-template-columns: 1fr; }
  .case-visual-grid { grid-template-columns: 1fr; }
  .case-media { grid-template-columns: 200px 1fr; justify-items: stretch; align-items: center; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 18px; }
  .hero h1 { font-size: 30px; }
  .hero-text { font-size: 16px; }
  .process-line, .examples-grid, .faq-grid, .benefits-grid, .why-grid, .method-flow, .stats-grid, .tech-tiles, .integ-grid, .integ-flow, .tech-benefits { grid-template-columns: 1fr; }
  .case-media { grid-template-columns: 1fr; }
  .contact, .delivery-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  body.reveal-ready .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  body,
  .hero-content > *,
  .hero {
    animation: none !important;
  }
  .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

.nav .access-link {
  color: #0b63ce;
}

.nav .access-link:hover,
.nav .access-link.active {
  color: #17a86b;
}
