/* ==========================================================================
   Munderno Sistemas — Landing page
   ========================================================================== */

:root {
  --bg: #070c18;
  --bg-2: #0b1323;
  --surface: #0f192c;
  --surface-2: #142038;
  --text: #eef3fb;
  --muted: #9fb0c8;
  --soft: #c5d1e4;
  --line: rgba(196, 214, 245, .12);
  --line-strong: rgba(140, 180, 255, .32);
  --blue: #7aa9ff;
  --mint: #5fe0c8;
  --ok: #4ade80;
  --grad: linear-gradient(110deg, #8bb9ff, #5fe0c8);
  --radius: 18px;
  --max: 1180px;
  --header-h: 76px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 4%, rgba(65, 117, 255, .20), transparent 42%),
    radial-gradient(ellipse at 10% 30%, rgba(57, 220, 198, .08), transparent 36%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--mint);
  color: #07101f;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--grad);
  color: #07101f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, filter .2s, background .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(95, 160, 255, .18);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn .i { width: 17px; height: 17px; }
.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 40px; padding: 9px 15px; font-size: 13px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(7, 12, 24, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .25s, background .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 12, 24, .9); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; color: #fff; font-size: 23px; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.brand small { display: block; margin-top: 6px; color: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .92em; margin-right: -.92em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s, background .25s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Common section ---------- */
section { padding: 96px 0; }

.eyebrow, .kicker {
  color: var(--mint);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.kicker { margin-bottom: 14px; }

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -.045em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #9dc5ff, #5fe0c8);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 92px 0 84px;
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--mint); }

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-lead { max-width: 590px; margin-bottom: 32px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px 36px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-stats dd { margin: 0; }
.hero-stats strong { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.hero-stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

/* Hero visual: product status board */
.visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 149, 255, .22), rgba(95, 149, 255, 0) 68%);
}

.board {
  position: relative;
  width: min(100%, 460px);
  padding: 22px;
  border: 1px solid rgba(159, 192, 255, .22);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(20, 33, 56, .96), rgba(10, 17, 32, .97));
  box-shadow: var(--shadow);
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: #aab9d1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; border-radius: 50%; background: #334155; }
.lights i:first-child { background: #f87171aa; }
.lights i:nth-child(2) { background: #fbbf24aa; }
.lights i:last-child { background: #4ade80aa; }

.board h3 { margin: 20px 0 6px; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.board > p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }

.status-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.status-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s, background .2s;
}
.status-item:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .045); }
.status-item b { display: block; font-size: 14px; line-height: 1.3; }
.status-item small { display: block; color: var(--muted); font-size: 12px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(74, 222, 128, .1);
  color: #86efac;
  font-size: 11px;
  font-weight: 600;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.board-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #b4c3d9;
  font-size: 12px;
}
.board-foot .i { width: 16px; height: 16px; color: var(--mint); }

.app-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #07101f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.app-ico .i { width: 19px; height: 19px; stroke-width: 2; }
.app-ico--sms { background: linear-gradient(140deg, #8bb9ff, #6b8cff); }
.app-ico--zapi { background: linear-gradient(140deg, #5fe0c8, #34d399); }
.app-ico--painel { background: linear-gradient(140deg, #c4b5fd, #8bb9ff); }

/* ---------- Products strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 22px 0;
}
.strip-label { color: var(--muted); font-size: 13px; }
.strip-items { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.strip-items span { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 14px; font-weight: 600; }
.strip-items .i { width: 17px; height: 17px; color: var(--mint); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: border-color .25s, transform .25s, background .25s;
}
.service:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.service h3 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.02em; }
.service p { color: var(--muted); font-size: 14px; }

.ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid rgba(122, 169, 255, .2);
  border-radius: 12px;
  background: rgba(110, 168, 255, .1);
  color: #9cc2ff;
}

/* ---------- Cases (projects) ---------- */
.cases { display: grid; gap: 28px; }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
}
.case:nth-child(even) .case-visual { order: 2; }

.case-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(60, 113, 195, .35), transparent 55%),
    linear-gradient(135deg, #13213a, #0a1222);
}
.case-visual::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -110px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(180, 209, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(180, 209, 255, .035), 0 0 0 56px rgba(180, 209, 255, .02);
  pointer-events: none;
}
.case-visual--zapi { background: radial-gradient(ellipse at 10% 0%, rgba(52, 211, 153, .22), transparent 55%), linear-gradient(135deg, #0f2230, #0a1222); }
.case-visual--painel { background: radial-gradient(ellipse at 90% 100%, rgba(167, 139, 250, .22), transparent 55%), linear-gradient(135deg, #171d3a, #0a1222); }

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.case h3 { margin-bottom: 12px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.case-desc { margin-bottom: 20px; color: var(--muted); font-size: 15px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0 0 24px; padding: 0; list-style: none; }
.features li { display: flex; gap: 9px; color: var(--soft); font-size: 14px; line-height: 1.45; }
.features .i { width: 17px; height: 17px; margin-top: 1px; color: var(--mint); stroke-width: 2.2; }

.metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.metric {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}
.metric strong { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.03em; }
.metric span { display: block; color: var(--muted); font-size: 12px; }

.case-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.case-domain { color: var(--muted); font-size: 13px; }
.case-note { margin-top: 14px; color: #74849d; font-size: 11.5px; }

/* Mockups */
.mock {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  border: 1px solid rgba(180, 209, 255, .2);
  border-radius: 16px;
  background: rgba(9, 15, 29, .88);
  box-shadow: var(--shadow);
  font-size: 12px;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-weight: 600;
}
.mock-head .app-ico { width: 26px; height: 26px; border-radius: 8px; }
.mock-head .app-ico .i { width: 14px; height: 14px; }
.mock-head em { margin-left: auto; color: var(--muted); font-style: normal; font-weight: 500; font-size: 11px; }
.mock-body { padding: 14px; }

/* SMS mock */
.ai-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px dashed rgba(122, 169, 255, .4);
  border-radius: 10px;
  color: #b8d1ff;
}
.ai-hint .i { width: 15px; height: 15px; }
.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #1b2a46;
  color: var(--text);
  line-height: 1.45;
}
.bubble a { color: #9cc2ff; text-decoration: underline; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; color: var(--muted); }
.mini-btn { padding: 6px 10px; border-radius: 8px; background: var(--grad); color: #07101f; font-weight: 700; font-size: 11px; }
.progress { height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress i { display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--grad); }

/* Code mock */
.code {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  color: #c9d6ea;
  font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
}
.code .m { color: #5fe0c8; font-weight: 700; }
.code .k { color: #9cc2ff; }
.code .s { color: #fcd34d; }
.code .c { color: #64748b; }
.code-res { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); color: #86efac; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-res::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

/* Dashboard mock */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.kpi { padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.kpi small { display: block; color: var(--muted); font-size: 10px; }
.kpi b { font-size: 15px; letter-spacing: -.03em; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a5b4fc, #7aa9ff66); }
.bars i:nth-child(odd) { background: linear-gradient(180deg, #5fe0c8, #5fe0c855); }

/* ---------- Custom development ---------- */
.custom {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(131, 178, 255, .2);
  border-radius: 26px;
  background: radial-gradient(ellipse at 100% 0%, rgba(66, 121, 229, .14), transparent 50%), var(--surface);
}
.custom > div > p { margin-bottom: 28px; color: var(--muted); font-size: 16px; }
.custom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.custom-point { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.custom-point .ico { width: 38px; height: 38px; margin-bottom: 14px; }
.custom-point .ico .i { width: 18px; height: 18px; }
.custom-point b { display: block; margin-bottom: 4px; font-size: 15px; }
.custom-point span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 184, 255, .5), rgba(143, 184, 255, .08));
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--mint);
}
.step small { color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.step h3 { margin: 8px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s, background .2s;
}
.faq details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: var(--mint);
  font-size: 18px;
  font-weight: 500;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(132, 181, 255, .24);
  border-radius: 26px;
  background: radial-gradient(ellipse at 90% 0%, rgba(76, 126, 228, .2), transparent 48%), linear-gradient(130deg, #14223a, #0c1426);
}
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.contact h2 { max-width: 640px; }
.contact p { color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer .brand { color: var(--text); }
.footer-about p { max-width: 320px; margin-top: 16px; }
.footer h4 { margin: 0 0 14px; color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #74849d;
  font-size: 13px;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .35), 0 4px 12px rgba(0, 0, 0, .3);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 40px rgba(37, 211, 102, .45), 0 4px 12px rgba(0, 0, 0, .3); }
.wa-float .i { width: 30px; height: 30px; }

/* ---------- Reveal animation (only when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .hero { gap: 36px; }
  .case { gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  /* backdrop-filter no header deixa o menu fixo translúcido no Chrome; no mobile usamos fundo sólido */
  .header, .header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 12, 24, .96);
  }
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: #070c18;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-links a.btn, .nav-links a.btn:hover { display: inline-flex; margin-top: 10px; padding: 14px; background: var(--grad); color: #07101f; font-size: 15px; font-weight: 700; }

  .hero { grid-template-columns: 1fr; gap: 20px; padding: 64px 0 64px; }
  .visual { min-height: 0; padding: 24px 0; }

  .services { grid-template-columns: 1fr 1fr; }

  .case { grid-template-columns: 1fr; padding: 20px; }
  .case:nth-child(even) .case-visual { order: 0; }
  .case-visual { min-height: 280px; padding: 28px 20px; }
  .case-body { padding: 4px 6px 8px; }
  .features { grid-template-columns: 1fr 1fr; }

  .custom { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step:nth-child(2)::before { right: 0; }
  .faq { grid-template-columns: 1fr; gap: 8px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 921px) {
  .nav-links .btn { display: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  section { padding: 68px 0; }
  .brand { font-size: 20px; }
  .brand small { font-size: 10px; letter-spacing: 1em; margin-right: -1em; }
  .nav-links { padding-inline: 16px; }

  .hero { padding: 44px 0 40px; }
  .hero-lead { font-size: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
  .hero-stats strong { font-size: 21px; }
  .hero-stats span { font-size: 12px; line-height: 1.4; }

  .board { padding: 16px; border-radius: 18px; }
  .board h3 { font-size: 19px; }
  .status-item { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 10px; }
  .status-item .app-ico { width: 34px; height: 34px; }

  .strip-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .strip-items { gap: 8px 18px; }

  .section-head { margin-bottom: 32px; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 22px; }

  .case { padding: 14px; border-radius: 20px; }
  .case-visual { min-height: 0; padding: 22px 14px; border-radius: 14px; }
  .features { grid-template-columns: 1fr; }
  .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .metric { padding: 9px 10px; }
  .metric strong { font-size: 15px; }
  .metric span { font-size: 11px; line-height: 1.35; }
  .case-actions .btn { flex: 1 1 100%; }
  .code { font-size: 11px; }

  .custom { padding: 22px; border-radius: 20px; }
  .custom-list { grid-template-columns: 1fr; }
  .custom .btn { width: 100%; }

  .process { grid-template-columns: 1fr; gap: 28px; }
  .step::before { right: 0; }

  .contact { padding: 28px 22px; border-radius: 20px; }
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .btn { width: 100%; white-space: normal; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; padding-bottom: 64px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 380px) {
  .status-item { grid-template-columns: 34px 1fr; }
  .status-pill { grid-column: 2; justify-self: start; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
}
