/* ============================================================
   M7 CONSULTORIA — Design System (refino 2026-07)
   Paleta de marca: #1573E6 / #0C2E66 / #4FA3FF
   Tipografia: Space Grotesk (títulos) + Montserrat (texto)
                + IBM Plex Mono (labels/dados — a mesma dos consoles M7)
   Direção: o site fala a língua visual dos sistemas que vende —
   cabeçalhos de seção estilo console, mono nos dados, azul da marca.
   ============================================================ */

:root {
  --primary: #1573E6;
  --primary-light: #4FA3FF;
  --primary-dark: #0C2E66;
  --primary-press: #1161c8;

  /* azul-carvão dos consoles reais (NOC/Morris) */
  --navy: #070d16;
  --navy-panel: #0b1421;
  --navy-line: rgba(125, 160, 220, .16);

  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #46536b;
  --ink-faint: #8a97ad;
  --line: #e3e9f2;

  --led: #2fd876;           /* verde de status dos consoles */
  --wa: #25D366;
  --wa-ink: #06301d;

  --shadow-sm: 0 1px 2px rgba(10, 20, 40, .05);
  --shadow: 0 1px 2px rgba(10, 20, 40, .05), 0 14px 34px -20px rgba(12, 46, 102, .30);
  --shadow-lg: 0 30px 60px -30px rgba(8, 22, 52, .45);

  --radius: 12px;
  --radius-lg: 16px;
  --container: 1180px;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a, button { touch-action: manipulation; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }

::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 72px) 0; }
.center { text-align: center; }

/* Eyebrow — mesmo desenho dos cabeçalhos de seção dos consoles M7:
   quadradinho + mono maiúsculo. Nada de pílula. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--primary); flex-shrink: 0; }

.section-title { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 14px; }
.section-sub { color: var(--ink-soft); font-size: 17px; max-width: 640px; }
.center .section-sub { margin-inline: auto; }
.grad-text { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -14px rgba(12, 46, 102, .8); }
.btn-primary:hover { background: var(--primary-press); }
.btn-wa { background: var(--wa); color: var(--wa-ink); font-weight: 700; box-shadow: 0 10px 22px -14px rgba(6, 48, 29, .7); }
.btn-wa:hover { background: #2ee06f; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-outline { background: transparent; color: var(--primary); border-color: rgba(21,115,230,.45); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 11px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 249, 252, .82); backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--container); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.brand img { width: 36px; height: 36px; }
.brand b { color: var(--primary); }
.brand span { color: var(--ink); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); padding: 9px 13px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--primary); background: rgba(21,115,230,.07); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(12,46,102,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(12,46,102,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 60% 0%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(34px, 4.9vw, 56px); margin: 22px 0 20px; line-height: 1.06; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .t b { font-family: var(--font-mono); font-weight: 600; font-size: 24px; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.hero-trust .t span { font-size: 12.5px; color: var(--ink-faint); }
.hero-trust .div { width: 1px; height: 34px; background: var(--line); }

/* Hero visual — moldura de navegador */
.mockup {
  border-radius: var(--radius); overflow: hidden; background: var(--navy);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(12,46,102,.14);
}
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--navy-panel); border-bottom: 1px solid var(--navy-line); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: rgba(255,255,255,.14); }
.mockup-bar .url { margin-left: 10px; flex: 1; color: #8fa4c4; font-size: 12px; padding: 4px 10px; border-radius: 6px; font-family: var(--font-mono); background: rgba(255,255,255,.05); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--led); white-space: nowrap; flex-shrink: 0; }
.mockup img { width: 100%; display: block; }
.hero-visual { position: relative; }

/* LED de status (mesmo dos consoles) */
.led { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 6px var(--led); animation: blink 2.4s infinite; flex-shrink: 0; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }

/* ---------- Strip ---------- */
.strip { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 12px 34px; flex-wrap: wrap; }
.strip span { font-family: var(--font-mono); font-weight: 500; color: var(--ink-faint); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s ease, box-shadow .25s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: rgba(21,115,230,.4); }
.card .ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; color: var(--primary); background: rgba(21,115,230,.09); margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--ink-soft); font-size: 14.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); border: 1px solid var(--line); padding: 3px 8px; border-radius: 5px; }

/* ---------- Seções escuras (azul-carvão dos consoles) ---------- */
.dark { background: var(--navy); color: #dbe5f5; position: relative; overflow: hidden; }
.dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(125,144,168,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(125,144,168,.055) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.dark .container { position: relative; z-index: 1; }
.dark .section-title, .dark h3, .dark h4 { color: #fff; }
.dark .section-sub { color: #9fb2d2; }
.dark .eyebrow { color: var(--primary-light); }
.dark .eyebrow::before { background: var(--primary-light); }
/* seção escura emendada na anterior (capítulo contínuo) */
.section--joined { padding-top: 0; }
.sec-div { border: 0; height: 1px; background: var(--navy-line); margin: 0 0 clamp(56px, 8vw, 88px); }

/* ---------- Demo ao vivo ---------- */
.demo-wrap { display: grid; grid-template-columns: 290px 1fr; gap: 28px; margin-top: 42px; align-items: start; }
.demo-tabs { display: flex; flex-direction: column; gap: 6px; }
.demo-tab {
  display: flex; align-items: center; gap: 13px; text-align: left; width: 100%;
  padding: 13px 15px; border-radius: 9px; color: #b7c8e8; font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s, box-shadow .2s; font-family: var(--font-head);
}
.demo-tab .ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--primary-light); flex-shrink: 0; }
.demo-tab .ic svg { width: 18px; height: 18px; }
.demo-tab:hover { background: rgba(255,255,255,.05); color: #fff; }
.demo-tab.active { background: rgba(21,115,230,.16); color: #fff; box-shadow: inset 3px 0 0 var(--primary-light); }
.demo-tab.active .ic { background: var(--primary); color: #fff; }
.demo-stage { position: relative; }
.demo-screen { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--navy-line); background: var(--navy); }
.demo-screen .mockup-bar { background: var(--navy-panel); }
.demo-screen img { width: 100%; display: block; }
.demo-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.demo-meta h4 { color: #fff; font-size: 19px; }
.demo-login {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--navy-line); background: rgba(255,255,255,.04);
  padding: 11px 16px; border-radius: 9px; font-size: 13.5px; color: #b7c8e8;
}
.demo-login > span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8fa4c4; }
.demo-login code { font-family: var(--font-mono); color: var(--primary-light); background: rgba(79,163,255,.12); padding: 2px 8px; border-radius: 5px; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.shot {
  border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s;
}
.shot:hover { box-shadow: var(--shadow); border-color: rgba(21,115,230,.4); }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  background: linear-gradient(transparent, rgba(7,13,22,.88)); }
.shot .zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transition: .25s; }
.shot:hover .zoom, .shot:focus-visible .zoom { opacity: 1; }
.shot .zoom svg { width: 17px; height: 17px; color: var(--primary); }

/* ---------- NOC — equipe autônoma ---------- */
.noc-frame {
  border-radius: var(--radius); overflow: hidden; margin-top: 46px;
  border: 1px solid var(--navy-line); background: #070b11; box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}
.noc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 16px; background: var(--navy-panel); border-bottom: 1px solid var(--navy-line);
  font-family: var(--font-mono); font-size: 12px; color: #8fa4c4;
}
.noc-bar .path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.noc-frame img { width: 100%; display: block; }
.noc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.fact {
  border: 1px solid var(--navy-line); background: rgba(255,255,255,.03);
  border-radius: 10px; padding: 18px 20px;
}
.fact b { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; color: #9fb2d2; }
.noc-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; margin-top: clamp(40px, 6vw, 60px); }
.noc-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.noc-cta p { color: #9fb2d2; font-size: 15px; }

/* ---------- Morris / feature 2 colunas ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 26px 0 30px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .chk { width: 26px; height: 26px; border-radius: 7px; background: rgba(21,115,230,.12); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.dark .feature-list .chk { background: rgba(79,163,255,.14); color: var(--primary-light); }
.feature-list .chk svg { width: 15px; height: 15px; }
.feature-list b { font-family: var(--font-head); }
.feature-list p { color: var(--ink-soft); font-size: 14.5px; }
.dark .feature-list p { color: #9fb2d2; }

/* ---------- Portfólio ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.pf-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease; display: flex; flex-direction: column;
}
.pf-card:hover { box-shadow: var(--shadow); border-color: rgba(21,115,230,.4); }
.dark .pf-card { background: var(--navy-panel); border-color: var(--navy-line); }
.dark .pf-card p { color: #9fb2d2; }
.pf-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #eef3fb; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 1.6s cubic-bezier(.2,.7,.3,1); }
.pf-card:hover .pf-thumb img { object-position: bottom; }
.pf-badge { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; font-weight: 600; color: #fff; background: rgba(7,13,22,.78); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 6px; }
.pf-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pf-body h3 { font-size: 18px; margin-bottom: 6px; }
.pf-body p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.pf-tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-soft); border: 1px solid var(--line); padding: 2px 8px; border-radius: 5px; }
.dark .pf-tags span { color: #9fb2d2; border-color: var(--navy-line); }
.pf-actions { display: flex; gap: 10px; }
.pf-actions a { flex: 1; }
.pf-actions .btn { width: 100%; padding: 11px; font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
  background: var(--navy); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 64px) 48px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(125,144,168,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(125,144,168,.06) 1px, transparent 1px); background-size: 28px 28px; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); position: relative; }
.cta-box p { color: #9fb2d2; font-size: 17px; margin: 14px auto 30px; max-width: 560px; position: relative; }
.cta-box .hero-actions { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #93a5c4; padding: 70px 0 30px; border-top: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand span { color: #fff; }
.footer .brand b { color: var(--primary-light); }
.footer-about { margin-top: 18px; font-size: 14.5px; max-width: 300px; }
.footer h4 { color: #fff; font-family: var(--font-mono); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14.5px; color: #93a5c4; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); display: grid; place-items: center; color: #c6d3ea; transition: .2s; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; font-family: var(--font-mono); color: #7d90a8; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--wa-ink);
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(6, 48, 29, .55);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 18px 36px -10px rgba(6, 48, 29, .65); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox / Modal ---------- */
.lightbox, .modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(7, 13, 22, .9); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open, .modal.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .close, .modal .close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: .2s;
}
.lightbox .close:hover, .modal .close:hover { background: rgba(255,255,255,.24); }
.lightbox .close svg, .modal .close svg { width: 24px; height: 24px; }
.modal-frame {
  width: min(1200px, 95vw); height: min(760px, 86vh); background: var(--navy); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.modal-frame .mockup-bar { background: var(--navy-panel); }
.modal-frame iframe { flex: 1; width: 100%; border: none; background: #fff; }

/* ---------- Page hero (interno) ---------- */
.page-hero { padding: 150px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(12,46,102,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(12,46,102,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 0%, #000 20%, transparent 72%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); }
.page-hero p { color: var(--ink-soft); font-size: 18px; max-width: 620px; margin-top: 16px; }
.breadcrumb { display: flex; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Carrossel do hero ---------- */
.hero-carousel { position: relative; aspect-ratio: 16 / 10; background: var(--navy); }
.hero-carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transition: opacity 1s ease; }
.hero-carousel img.active { opacity: 1; }
.hc-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 2; }
.hc-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.45); transition: .3s; cursor: pointer; }
.hc-dots i.on { width: 22px; background: #fff; }

/* ---------- Business Intelligence ---------- */
.bi-featured { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; margin-top: 44px; }
.bi-featured .demo-screen { cursor: zoom-in; }
.bi-copy h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.bi-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.bi-thumb {
  border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--line);
  background: var(--navy); box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.bi-thumb:hover { box-shadow: var(--shadow); border-color: rgba(21,115,230,.4); }
.bi-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.bi-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 11px 8px; color: #fff;
  font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .05em;
  background: linear-gradient(transparent, rgba(7,13,22,.92)); }
.bi-live-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 600;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--led);
  margin-bottom: 16px; }
.bi-live-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 6px var(--led); animation: blink 2.4s infinite; }

/* ---------- Grid de 4 (Comercial & Marketing) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }

/* ---------- Avatares com IA ---------- */
.avatar-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--navy-line); }
.avatar-frame img { width: 100%; display: block; }
.avatar-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(7,13,22,.78); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 7px;
  border: 1px solid var(--navy-line); }
.avatar-badge i { font-size: 13px; color: var(--primary-light); }

/* ---------- Plataformas ---------- */
.platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; margin-top: 40px; }
.platforms .pl { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600;
  font-size: 14.5px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.platforms .pl i { font-size: 18px; }
.platforms .pl .g-google { background: linear-gradient(90deg,#4285F4,#EA4335,#FBBC05,#34A853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.platforms .pl .c-meta { color: #0866FF; }
.platforms .pl .c-insta { color: #E1306C; }
.platforms .pl .c-linkedin { color: #0A66C2; }
.platforms .pl .c-wa { color: #25D366; }

/* ---------- Ícones Font Awesome ---------- */
.fa-whatsapp { line-height: 1; }
.btn .fa-whatsapp { font-size: 18px; }
.nav-cta .btn .fa-whatsapp { font-size: 16px; }
.wa-float .fa-whatsapp { font-size: 28px; }
.footer-social .fa-whatsapp,
.footer-social .fa-globe { font-size: 18px; }
/* botão do rodapé mantém texto escuro do .btn-wa (vence .footer-col a) */
.footer-col a.btn-wa, .footer-col a.btn-wa:hover { color: var(--wa-ink) !important; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .led, .bi-live-tag .dot { animation: none; }
  .hero-carousel img { transition: none; }
  .btn:hover, .wa-float:hover { transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-grid, .feature, .demo-wrap, .noc-body { grid-template-columns: 1fr; }
  .demo-wrap { gap: 22px; }
  .demo-tabs { flex-direction: row; flex-wrap: wrap; }
  .demo-tab { flex: 1 1 auto; }
  .hero-visual { margin-top: 20px; }
  .cards, .gallery, .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bi-featured { grid-template-columns: 1fr; }
  .bi-thumbs { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .noc-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn span.hide-sm { display: none; }
  .nav-toggle { display: grid; }
  .mobile-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 80px; left: 16px; right: 16px;
    background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); border: 1px solid var(--line);
  }
  .mobile-open .nav-links a { padding: 13px 16px; }
  .cards, .gallery, .pf-grid, .footer-grid, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 136px 0 60px; }
  .cta-box { padding: 44px 24px; }
  .demo-tabs { flex-direction: column; }
  .noc-facts { grid-template-columns: 1fr; }
  .noc-bar .path { font-size: 11px; }
}
