/* =========================================================================
   CE Technology — Design System
   Tokens → Reset → Layout → Componentes → Páginas → Responsivo
   ========================================================================= */

/* ---------- Fonte ---------- */
@font-face {
  font-family: 'Inter Variable';
  src: url('/assets/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cores de marca */
  /* Azul oficial da marca: #0077FF (arquivo oficial da logomarca). */
  --brand-mark: #0077ff;
  --blue-50: #e9f3ff;
  --blue-100: #d1e5ff;
  --blue-200: #a8ccff;
  --blue-300: #7db0ff;
  --blue-400: #4d97ff;
  --blue-500: #1a82ff;
  /* Tom de ação: 4,83:1 sobre branco, para atender contraste de texto. */
  --blue-600: #006ceb;
  --blue-700: #0057c4;
  --cyan-400: #4fd2f5;

  /* Neutros */
  --ink-950: #05080f;
  --ink-900: #0b1220;
  --ink-800: #111c31;
  --ink-700: #1b2942;
  --gray-50: #f7f9fc;
  --gray-100: #eef2f8;
  --gray-200: #e0e7f1;
  --gray-300: #cbd5e3;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --white: #ffffff;

  /* Semântica */
  --bg: var(--white);
  --bg-soft: var(--gray-50);
  --bg-dark: var(--ink-900);
  --text: var(--ink-900);
  --text-muted: var(--gray-600);
  --text-on-dark: #e8eefb;
  --text-on-dark-muted: #9fb1cd;
  --border: var(--gray-200);
  --border-dark: rgba(255, 255, 255, 0.12);
  --brand: var(--blue-600);
  --brand-strong: var(--blue-700);

  /* Tipografia */
  --font-sans: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.35rem + 3.4vw, 4rem);
  --fs-h1: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-h2: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1.03rem + 0.35vw, 1.3rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Espaçamento e forma */
  --container: 1200px;
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --section-y: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow-sm: 0 2px 8px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(11, 18, 32, 0.18);
  --shadow-lg: 0 32px 64px -28px rgba(11, 18, 32, 0.35);
  --shadow-blue: 0 18px 40px -18px rgba(0, 108, 235, 0.55);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 640;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 560;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--light {
  background: var(--bg);
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--soft-top {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.icon {
  flex: none;
}

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  margin: 0 0 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.75;
}

.eyebrow--light {
  color: var(--blue-600);
}

.eyebrow--dark {
  color: var(--blue-300);
}

.section-head {
  max-width: 760px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head__title {
  font-size: var(--fs-h2);
}

.section-head__desc {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
  line-height: 1.62;
}

.section-head--light-on-dark .section-head__desc {
  color: var(--text-on-dark-muted);
}

.section-head + * {
  margin-top: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
}

/* ---------- Botões ---------- */
.btn {
  --btn-py: 0.8rem;
  --btn-px: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-py) var(--btn-px);
  min-height: 48px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 580;
  letter-spacing: -0.006em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  --btn-py: 0.6rem;
  --btn-px: 1.15rem;
  min-height: 42px;
  font-size: var(--fs-xs);
}

.btn--lg {
  --btn-py: 0.95rem;
  --btn-px: 1.9rem;
  min-height: 54px;
  font-size: var(--fs-body);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  background: var(--brand-strong);
}

.btn--secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  padding-inline: 0.25rem;
}

.btn--ghost:hover {
  color: var(--brand-strong);
}

.btn--light {
  background: var(--white);
  color: var(--ink-900);
}

.btn--light:hover {
  background: var(--blue-50);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn__icon {
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.66rem;
  flex: none;
}

.logo__mark {
  display: inline-flex;
  color: var(--brand-mark);
}

.logo__symbol {
  display: block;
  width: 32px;
  height: auto;
}

.logo__wordmark {
  display: block;
  width: auto;
  height: 15px;
}

.site-footer .logo__symbol {
  width: 34px;
}

.site-footer .logo__wordmark {
  height: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(11, 18, 32, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 0.4rem + 1.4vw, 2.2rem);
}

.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  padding-block: 0.4rem;
  transition: color 0.18s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav__link:hover,
.nav__link.is-current {
  color: var(--ink-900);
}

.nav__link:hover::after,
.nav__link.is-current::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__icon {
  display: flex;
}

.nav-toggle__icon[hidden] {
  display: none;
}

/* ---------- Menu mobile ---------- */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__inner {
  padding-block: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  display: block;
  padding: 0.9rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 560;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu__label {
  margin: 1.35rem 0 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.mobile-menu__link--sub {
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-menu__link--sub span {
  font-size: var(--fs-xs);
  font-weight: 420;
  color: var(--gray-500);
}

.mobile-menu .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 130% at 78% 8%, #143a86 0%, rgba(20, 58, 134, 0) 55%),
    radial-gradient(90% 120% at 0% 100%, #0d2a63 0%, rgba(13, 42, 99, 0) 60%), var(--ink-900);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2.4rem + 6vw, 7.5rem);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 25%, transparent 78%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.38) 0%, rgba(0, 119, 255, 0) 68%);
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-xs);
  font-weight: 520;
  color: var(--blue-100);
  margin-bottom: 1.6rem;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 640;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 680;
  letter-spacing: -0.032em;
  color: var(--white);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue-300) 10%, var(--cyan-400) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin-top: 1.4rem;
  font-size: var(--fs-lead);
  color: var(--text-on-dark-muted);
  max-width: 34em;
  line-height: 1.6;
}

.hero__meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-dark);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
  font-weight: 500;
}

.hero__meta .icon {
  color: var(--blue-300);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__visual .mock--dashboard {
  max-width: 430px;
}

.hero--wide .hero__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.hero__visual--cluster {
  align-items: center;
}

.hero--compact {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3.25rem, 2rem + 4vw, 6rem);
}

.hero--compact .hero__title {
  font-size: var(--fs-h1);
}

.hero__product-name {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero__product-name span.hero__product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-mark), var(--blue-700));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.hero__product-badge {
  width: auto;
  height: 54px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 12px 26px -14px rgba(0, 0, 0, 0.9);
}

.hero__product-name strong {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 720;
  letter-spacing: 0.01em;
  color: var(--white);
}

/* ---------- Mocks ---------- */
.mock {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.mock__dots {
  display: inline-flex;
  gap: 0.3rem;
}

.mock__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
}

.mock__dots i:first-child {
  background: #ef7c7c;
}

.mock__dots i:nth-child(2) {
  background: #f3c35b;
}

.mock__dots i:nth-child(3) {
  background: #7fd39a;
}

.mock__addr {
  font-size: 0.72rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  letter-spacing: 0.01em;
}

.mock__body {
  padding: 1.35rem 1.4rem 1.5rem;
  color: var(--ink-900);
}

.mock__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.mock__label {
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.mock__value {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.2rem;
  line-height: 1.2;
}

.mock__value--sm {
  font-size: 1.3rem;
}

.mock__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 640;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.mock__pill--up {
  background: #e7f7ee;
  color: #11794a;
}

.mock__pill--soft {
  background: var(--blue-50);
  color: var(--blue-700);
}

.mock__chart {
  width: 100%;
  height: 88px;
  margin-top: 0.9rem;
}

.mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.mock__kpi {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mock__kpi-label {
  font-size: 0.68rem;
  color: var(--gray-500);
  font-weight: 540;
}

.mock__kpi-value {
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.mock__kpi-trend {
  font-size: 0.68rem;
  font-weight: 600;
}

.mock__kpi-trend--up {
  color: #14855a;
}

.mock__kpi-trend--down {
  color: #b4472f;
}

.mock__rows {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.mock__rows li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-600);
}

.mock__rows li b {
  margin-left: auto;
  font-weight: 620;
  color: var(--ink-900);
  font-size: 0.76rem;
}

.mock__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--gray-300);
}

.mock__dot--blue {
  background: var(--blue-500);
}

.mock__dot--cyan {
  background: var(--cyan-400);
}

.mock__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: 0.8rem;
}

.mock__bar-item {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: var(--blue-100);
}

.mock__bar-item.is-active {
  background: var(--blue-500);
}

.mock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.9rem;
}

.mock__chips li {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 560;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Telefone */
.mock--phone {
  position: relative;
  z-index: 2;
  width: 174px;
  max-width: 174px;
  flex: none;
  margin-left: -48px;
  margin-bottom: -52px;
  align-self: flex-end;
  border-radius: 26px;
  border: 6px solid var(--ink-800);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.mock__notch {
  width: 58px;
  height: 5px;
  border-radius: 99px;
  background: var(--gray-200);
  margin: 8px auto 0;
}

.mock__phone-body {
  padding: 0.85rem 0.9rem 1rem;
}

/* Flutuantes */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
  max-width: 230px;
}

.float-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: var(--blue-50);
  color: var(--blue-600);
}

.float-card--cyan .float-card__icon {
  background: #e2f7fd;
  color: #0d7fa0;
}

.float-card__title {
  font-size: 0.78rem;
  font-weight: 660;
  color: var(--ink-900);
  line-height: 1.3;
}

.float-card__text {
  font-size: 0.7rem;
  color: var(--gray-500);
  line-height: 1.35;
}

.float-card--tl {
  left: -52px;
  top: -28px;
  z-index: 3;
}

.float-card--br {
  right: -46px;
  bottom: -30px;
  z-index: 3;
}

.float-card--tr {
  right: -40px;
  top: -26px;
  z-index: 4;
}

.float-card--bl {
  left: -34px;
  bottom: -28px;
  z-index: 3;
}

/* Flow (NARCH CORE) */
.mock--flow {
  max-width: 540px;
}

.mock__body--flow {
  padding-block: 1.6rem 1.4rem;
}

.flow-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2.4rem;
}

.flow-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.flow-node__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
  background: var(--blue-50);
  color: var(--blue-600);
}

.flow-node--1 .flow-node__icon,
.flow-node--2 .flow-node__icon {
  background: #e4f6fc;
  color: #0d7fa0;
}

.flow-node__label {
  font-size: 0.82rem;
  font-weight: 640;
  line-height: 1.2;
}

.flow-node__state {
  font-size: 0.68rem;
  color: var(--gray-500);
}

.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.flow-lines path {
  fill: none;
  stroke: var(--blue-200);
  stroke-width: 0.6;
  stroke-dasharray: 4 4;
  animation: flow-dash 2.6s linear infinite;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -16;
  }
}

.mock__log {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mock__log p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--gray-600);
}

/* Kiosk */
.mock--kiosk {
  background: transparent;
  box-shadow: none;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

.mock__tablet {
  width: 100%;
  border-radius: 26px;
  border: 10px solid var(--ink-800);
  background: var(--ink-800);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock__tablet-screen {
  background: var(--white);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.3rem;
  color: var(--ink-900);
}

.mock__kiosk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mock__kiosk-brand {
  font-size: 0.72rem;
  font-weight: 620;
  color: var(--gray-500);
}

.mock__kiosk-title {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock__checks {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock__checks li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 11px;
  border: 1px solid var(--gray-200);
  font-size: 0.82rem;
  color: var(--gray-600);
}

.mock__checks li span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--gray-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: transparent;
}

.mock__checks li.is-done {
  background: var(--blue-50);
  border-color: var(--blue-100);
  color: var(--ink-900);
}

.mock__checks li.is-done span {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.mock__checks li.is-active {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.12);
  color: var(--ink-900);
}

.mock__kiosk-action {
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 620;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  border-color: var(--blue-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  background: var(--blue-50);
  color: var(--blue-600);
}

.card__icon--cyan {
  background: #e4f6fc;
  color: #0d7fa0;
}

.card__icon--indigo {
  background: #eceaff;
  color: #4b46c9;
}

.card__title {
  font-size: var(--fs-h3);
  font-weight: 640;
}

.card__text {
  margin-top: 0.55rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}

.section--dark .card:hover {
  border-color: rgba(143, 182, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.section--dark .card__text {
  color: var(--text-on-dark-muted);
}

.section--dark .card__icon {
  background: rgba(0, 119, 255, 0.16);
  color: var(--blue-300);
}

.feature-grid {
  display: grid;
  gap: 1.1rem;
}

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

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

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

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  position: relative;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

.product-card--cyan::before {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
}

.product-card--indigo::before {
  background: linear-gradient(90deg, #7b76ff, var(--blue-600));
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem 1.65rem 1.8rem;
}

.product-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-mark), var(--blue-700));
  color: var(--white);
  margin-bottom: 1.3rem;
  box-shadow: 0 10px 22px -12px rgba(0, 108, 235, 0.85);
}

.product-card--cyan .product-card__icon {
  background: linear-gradient(140deg, #47c8ee, #1668cf);
  box-shadow: 0 10px 22px -12px rgba(22, 104, 207, 0.8);
}

.product-card--indigo .product-card__icon {
  background: linear-gradient(140deg, #8a86ff, #3b36c4);
  box-shadow: 0 10px 22px -12px rgba(59, 54, 196, 0.8);
}

.product-card__name {
  font-size: 1.3rem;
  font-weight: 720;
  letter-spacing: 0.005em;
}

.product-card__tagline {
  margin-top: 0.2rem;
  font-size: var(--fs-sm);
  font-weight: 580;
  color: var(--blue-600);
}

.product-card__summary {
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.product-card__cta {
  margin-top: auto;
  padding-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-900);
}

.product-card__cta .icon {
  transition: transform 0.2s var(--ease);
  color: var(--blue-600);
}

.product-card:hover .product-card__cta .icon {
  transform: translateX(3px);
}

/* ---------- Listas ---------- */
.check-list {
  display: grid;
  gap: 0.8rem;
}

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

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.check-list__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex: none;
  margin-top: 1px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.section--dark .check-list__item {
  color: var(--text-on-dark-muted);
}

.section--dark .check-list__mark {
  background: rgba(0, 119, 255, 0.2);
  color: var(--blue-300);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list__item {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 560;
  color: var(--gray-700);
}

.section--dark .tag-list__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}

.section--dark .steps__item {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-dark);
}

.steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.steps__title {
  font-size: var(--fs-h3);
  font-weight: 640;
}

.steps__text {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.58;
}

.section--dark .steps__text {
  color: var(--text-on-dark-muted);
}

/* ---------- Module list ---------- */
.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.module-list__item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.module-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  background: var(--blue-50);
  color: var(--blue-600);
}

.section--dark .module-list__icon {
  background: rgba(0, 119, 255, 0.16);
  color: var(--blue-300);
}

.module-list__title {
  font-size: 1.02rem;
  font-weight: 640;
}

.module-list__text {
  margin-top: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.58;
}

.section--dark .module-list__text {
  color: var(--text-on-dark-muted);
}

/* ---------- Split (texto + visual) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 5rem);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.split__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.5rem;
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.14);
  color: var(--blue-300);
  margin-bottom: 0.9rem;
}

.section--light .pillar__icon,
.section--soft .pillar__icon {
  background: var(--blue-50);
  color: var(--blue-600);
}

.pillar__title {
  font-size: var(--fs-h3);
  font-weight: 640;
}

.pillar__text {
  margin-top: 0.45rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.58;
}

.section--dark .pillar__text {
  color: var(--text-on-dark-muted);
}

/* ---------- Stat band (conceitos, sem métricas inventadas) ---------- */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.concept {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 119, 255, 0.08), rgba(0, 119, 255, 0.02));
  border: 1px solid var(--blue-100);
}

.concept__title {
  font-size: var(--fs-h3);
  font-weight: 660;
}

.concept__text {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.section--dark .concept {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border-color: var(--border-dark);
}

.section--dark .concept__text {
  color: var(--text-on-dark-muted);
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--ink-900) 0%, #10306e 60%, var(--blue-700) 140%);
  color: var(--white);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 210, 245, 0.22) 0%, rgba(79, 210, 245, 0) 70%);
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-strip__title {
  font-size: var(--fs-h2);
  max-width: 16em;
}

.cta-strip__text {
  margin-top: 0.75rem;
  color: #bcccea;
  font-size: var(--fs-lead);
  max-width: 40em;
}

.cta-strip__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.contact-info {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--gray-50);
  padding: 1.9rem 1.8rem;
}

.contact-info__block + .contact-info__block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-info__label {
  font-size: var(--fs-xs);
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.45rem;
}

.contact-info__value {
  font-size: var(--fs-body);
  font-weight: 560;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.contact-info__value .icon {
  color: var(--blue-600);
  margin-top: 3px;
}

.contact-info__value a:hover {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info__note {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: 0.4rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  transition: color 0.15s var(--ease);
}

.contact-links .icon {
  color: var(--blue-600);
}

.contact-links a:hover {
  color: var(--brand);
}

.form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.9rem 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gray-700);
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink-900);
  padding: 0.75rem 0.9rem;
  border-radius: 11px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.14);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
}

.form__note {
  margin-top: 1.1rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
  line-height: 1.6;
}

.form__note a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form .btn {
  margin-top: 1.25rem;
  width: 100%;
}

.form__status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-size: var(--fs-sm);
  color: var(--blue-700);
}

.form__status[hidden] {
  display: none;
}

/* ---------- Utilitários de conteúdo ---------- */
.prose-note {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.module-list--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  margin-top: 1rem;
}

.mock--panel {
  max-width: 440px;
}

.form__heading {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.form__intro {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.contact-info__sub {
  font-weight: 420;
  color: var(--gray-500);
}

.error-page {
  max-width: 56ch;
  padding-block: clamp(2rem, 1rem + 4vw, 5rem);
}

.error-page__title {
  font-size: var(--fs-h1);
}

.error-page__text {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
}

/* ---------- Páginas legais ---------- */
.legal {
  max-width: 78ch;
}

.legal__updated {
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.72;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal ul {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.legal ul li {
  position: relative;
  padding-left: 1.2rem;
}

.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
}

.legal a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-head {
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.page-head__title {
  font-size: var(--fs-h1);
}

.page-head__text {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 62ch;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__desc {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 38ch;
}

.site-footer__legal-name {
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: #7d8ea8;
}

.site-footer__title {
  font-size: var(--fs-xs);
  font-weight: 640;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__nav a {
  font-size: var(--fs-sm);
  transition: color 0.18s var(--ease);
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.site-footer__contact .icon {
  color: var(--blue-400);
  margin-top: 2px;
}

.site-footer__contact a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: var(--fs-xs);
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-footer__bottom-links a:hover {
  color: var(--white);
}


/* ---------- Elementos auxiliares de seção ---------- */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.hero__copy--wide {
  max-width: 780px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
}

.hero__chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  font-size: var(--fs-xs);
  font-weight: 520;
  color: var(--blue-100);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.hero__chips a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.hero__chips .icon {
  color: var(--blue-300);
}

.flow-summary {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.flow-summary__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}

.flow-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  background: rgba(0, 119, 255, 0.18);
  color: var(--blue-300);
}

.flow-summary__name {
  font-size: 0.95rem;
  font-weight: 680;
  letter-spacing: 0.01em;
  color: var(--white);
}

.flow-summary__text {
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
}

/* ---------- Mega-menu de Produtos ---------- */
.nav__item {
  position: relative;
}

/* O painel ocupa a largura do cabeçalho, não a do item. */
.nav__item--mega {
  position: static;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav__chevron {
  display: inline-flex;
  color: var(--gray-400);
  transition: transform 0.22s var(--ease), color 0.22s var(--ease);
}

.nav__item--mega:hover .nav__chevron,
.nav__item--mega:focus-within .nav__chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav__item--mega:hover .mega,
.nav__item--mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav__item--mega.is-closing .mega {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mega__bg {
  position: absolute;
  inset: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 40px 70px -38px rgba(11, 18, 32, 0.45);
}

.mega__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 119, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(90% 80% at 85% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(90% 80% at 85% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}

.mega__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-block: 1.9rem 1.5rem;
}

.mega__col + .mega__col {
  border-left: 1px solid var(--gray-100);
  padding-left: 2rem;
  margin-left: 2rem;
}

.mega__product {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.mega__product:hover {
  background: var(--gray-50);
  border-color: var(--border);
}

.mega__product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  color: var(--white);
  background: linear-gradient(140deg, var(--brand-mark), var(--blue-700));
  box-shadow: 0 10px 20px -12px rgba(0, 108, 235, 0.9);
}

.mega__product--cyan .mega__product-icon {
  background: linear-gradient(140deg, #47c8ee, #1668cf);
}

.mega__product--indigo .mega__product-icon {
  background: linear-gradient(140deg, #8a86ff, #3b36c4);
}

.mega__product-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mega__product-text strong {
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  color: var(--ink-900);
}

.mega__product-text span {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.mega__product-arrow {
  margin-left: auto;
  display: inline-flex;
  color: var(--gray-300);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.mega__product:hover .mega__product-arrow {
  color: var(--brand);
  transform: translateX(3px);
}

.mega__label {
  margin: 1.1rem 0 0.4rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 660;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.mega__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  transition: background-color 0.14s var(--ease);
}

.mega__item:hover {
  background: var(--blue-50);
}

.mega__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex: none;
  margin-top: 1px;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}

.mega__item:hover .mega__item-icon {
  background: var(--white);
  color: var(--brand);
}

.mega__item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mega__item-text strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}

.mega__item-text span {
  font-size: 0.74rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.mega__foot {
  position: relative;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.mega__foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 0.9rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

.mega__foot-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mega__foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 620;
  color: var(--brand);
}

.mega__foot-links a:hover {
  color: var(--brand-strong);
}

/* ---------- Menu mobile: grupos expansíveis ---------- */
.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu__row .mobile-menu__link {
  border-bottom: 0;
  flex: 1;
  min-width: 0;
}

.mobile-menu__expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--gray-500);
  transition: transform 0.22s var(--ease), background-color 0.15s var(--ease);
}

.mobile-menu__expand[aria-expanded='true'] {
  transform: rotate(180deg);
  background: var(--gray-50);
}

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0 0.5rem;
}

.mobile-menu__sub[hidden],
.mobile-menu__items[hidden] {
  display: none;
}

.mobile-menu__link--sub,
.mobile-menu__link--product {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.25rem;
  border-bottom: 0;
  font-size: 0.95rem;
}

.mobile-menu__link--sub strong,
.mobile-menu__link--product strong {
  display: block;
  font-weight: 660;
}

.mobile-menu__link--sub > span > span,
.mobile-menu__link--product > span > span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--gray-500);
}

.mobile-menu__sub-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  background: var(--blue-50);
  color: var(--brand);
}

.mobile-menu__product + .mobile-menu__product {
  border-top: 1px solid var(--gray-100);
}

.mobile-menu__items {
  display: flex;
  flex-direction: column;
  padding: 0.2rem 0 0.8rem 2.9rem;
  border-left: 2px solid var(--blue-100);
  margin: 0.1rem 0 0.4rem 1rem;
}

.mobile-menu__item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0;
}

.mobile-menu__item span:first-child {
  font-size: 0.9rem;
  font-weight: 580;
  color: var(--ink-900);
}

.mobile-menu__item span:last-child {
  font-size: 0.76rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.mobile-menu__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.mobile-menu__contact .icon {
  color: var(--brand);
}

.mobile-menu__contact a:hover {
  color: var(--brand);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  margin-bottom: 1.25rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.45rem;
  opacity: 0.5;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb [aria-current='page'] {
  color: var(--blue-200);
  font-weight: 560;
}

/* ---------- Cards de vertical ---------- */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.vertical-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.vertical-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.vertical-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 1.35rem 1.45rem;
}

.vertical-card__scene {
  display: block;
  margin: 0 -1.35rem 1.15rem;
}

.vertical-card__scene .scene {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--blue-100);
}

.vertical-card__scene .scene svg {
  height: 116px;
  object-fit: cover;
}

.section--dark .vertical-card__scene .scene {
  border-bottom-color: var(--border-dark);
}

.vertical-card__icon {
  margin-top: 0;
}

.vertical-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background: var(--blue-50);
  color: var(--blue-600);
}

.vertical-card--cyan .vertical-card__icon {
  background: #e4f6fc;
  color: #0d7fa0;
}

.vertical-card--indigo .vertical-card__icon {
  background: #eceaff;
  color: #4b46c9;
}

.vertical-card__name {
  font-size: 1.02rem;
  font-weight: 660;
  letter-spacing: -0.015em;
}

.vertical-card__tagline {
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.vertical-card__cta {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  font-weight: 620;
  color: var(--brand);
}

.vertical-card__cta .icon {
  transition: transform 0.2s var(--ease);
}

.vertical-card:hover .vertical-card__cta .icon {
  transform: translateX(3px);
}

.section--dark .vertical-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark);
}

.section--dark .vertical-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(143, 182, 255, 0.45);
}

.section--dark .vertical-card__icon {
  background: rgba(0, 119, 255, 0.16);
  color: var(--blue-300);
}

.section--dark .vertical-card__tagline {
  color: var(--text-on-dark-muted);
}

.section--dark .vertical-card__cta {
  color: var(--blue-300);
}

/* ---------- Cards de solução ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.solution-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1.85rem 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.solution-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}

.solution-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 1.15rem;
  background: var(--blue-50);
  color: var(--blue-600);
}

.solution-card__icon--cyan {
  background: #e4f6fc;
  color: #0d7fa0;
}

.solution-card__icon--indigo {
  background: #eceaff;
  color: #4b46c9;
}

.solution-card__title {
  font-size: 1.22rem;
  font-weight: 660;
}

.solution-card__problem {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 560;
  color: var(--blue-700);
}

.solution-card__text {
  margin-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.62;
}

.solution-card__list {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gray-100);
  display: grid;
  gap: 0.55rem;
}

.solution-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  color: var(--gray-600);
  line-height: 1.5;
}

.solution-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: none;
  margin-top: 1px;
  background: var(--blue-50);
  color: var(--blue-600);
}

/* ---------- Sumário das páginas legais ---------- */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--gray-50);
  padding: 1.35rem 1.25rem;
}

.legal-toc__title {
  font-size: var(--fs-xs);
  font-weight: 640;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.85rem;
}

.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  counter-reset: toc;
}

.legal-toc a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--gray-600);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.legal-toc a:hover {
  background: var(--white);
  color: var(--brand);
}

.legal h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal__note {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--blue-100);
  background: var(--blue-50);
  font-size: var(--fs-sm);
  color: var(--blue-700);
  line-height: 1.6;
}

/* ---------- Nota informativa em seções ---------- */
.note-inline {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--blue-400);
  background: var(--gray-50);
  border-radius: 0 12px 12px 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

.section--dark .note-inline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-on-dark-muted);
}

/* ---------- Rodapé: bloco inferior ---------- */
.site-footer__bottom > div p + p {
  margin-top: 0.3rem;
}


/* =========================================================================
   Dispositivos, telas e composições visuais
   ========================================================================= */

.device {
  position: relative;
  width: 100%;
}

.device__frame {
  position: relative;
  background: var(--ink-800);
  overflow: hidden;
}

.device__screen {
  background: var(--white);
  overflow: hidden;
  color: var(--ink-900);
}

/* Notebook */
.device--laptop {
  padding-inline: 5%;
}

.device--laptop .device__frame {
  border-radius: 14px 14px 4px 4px;
  padding: 9px 9px 9px;
  box-shadow: 0 34px 60px -30px rgba(5, 8, 15, 0.65);
}

.device--laptop .device__screen {
  border-radius: 7px;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}

.device--laptop .device__base {
  position: relative;
  height: 13px;
  margin: 0 -5.3%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #22304c 0%, #16203a 60%, #0e1628 100%);
  box-shadow: 0 16px 26px -16px rgba(5, 8, 15, 0.8);
}

.device--laptop .device__base span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: rgba(255, 255, 255, 0.14);
}

/* Tablet */
.device--tablet .device__frame {
  border-radius: 26px;
  padding: 11px;
  box-shadow: 0 30px 56px -28px rgba(5, 8, 15, 0.62);
}

.device--tablet .device__screen {
  border-radius: 16px;
}

/* Smartphone */
.device--phone .device__frame {
  border-radius: 26px;
  padding: 7px;
  box-shadow: 0 26px 44px -22px rgba(5, 8, 15, 0.7);
}

.device--phone .device__screen {
  border-radius: 20px;
}

.device__notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.device--phone .device__screen {
  padding-top: 12px;
}

/* ---------- Telas ---------- */
.screen {
  display: flex;
  flex: 1;
  min-height: 0;
}

.screen--plain,
.screen--kiosk,
.screen--phone {
  display: block;
}

.screen__side {
  width: 46px;
  flex: none;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-100);
  padding: 0.8rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.screen__side-dot {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--brand-mark);
}

.screen__side-line {
  height: 6px;
  border-radius: 3px;
  background: var(--gray-200);
}

.screen__side-line:nth-child(3) {
  background: var(--blue-200);
}

.screen__main {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.screen__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.screen--plain {
  padding: 1rem 1.1rem 1.15rem;
}

.screen--kiosk {
  padding: 1.05rem 1.1rem 1.25rem;
}

.screen--phone {
  padding: 0.85rem 0.85rem 1rem;
}

.screen__phone-title {
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}

.screen__kiosk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.screen__kiosk-brand {
  font-size: 0.72rem;
  font-weight: 620;
  color: var(--gray-500);
}

.screen__kiosk-title {
  margin-top: 0.95rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.screen__kiosk-action {
  margin-top: 1rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 620;
}

/* ---------- Lista de execuções ---------- */
.run-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.run-list__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-600);
}

.run-list__state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--gray-300);
}

.run-list__state--ok {
  background: #17a06a;
}

.run-list__state--run {
  background: var(--brand-mark);
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.18);
}

.run-list__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.run-list__badge {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 640;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  white-space: nowrap;
}

.run-list__badge--ok {
  background: #e7f7ee;
  color: #11794a;
}

.run-list__badge--run {
  background: var(--blue-50);
  color: var(--blue-700);
}

/* ---------- Anel de indicador ---------- */
.mock__ring {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}

.mock__ring svg {
  display: block;
}

.mock__ring-value {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mock__ring-label {
  margin-top: 0.2rem;
  font-size: 0.64rem;
  color: var(--gray-500);
}

.screen--phone .mock__ring {
  margin: 0.9rem auto 0;
}

/* ---------- Composições ---------- */
.device-pair {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding-bottom: 18px;
  padding-right: 60px;
}

.device--pair-front {
  right: 0;
  bottom: -12px;
}

.device-cluster__scene {
  position: absolute;
  left: -26px;
  bottom: -18px;
  z-index: 2;
  width: 158px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 34px -18px rgba(5, 8, 15, 0.7);
}

.device-cluster__scene .scene {
  border-radius: 14px;
}

.device-cluster__scene .scene svg {
  height: 104px;
}

.device-cluster {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding-bottom: 40px;
  padding-left: 26px;
}

.device-cluster__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.28) 0%, rgba(0, 119, 255, 0) 68%);
  filter: blur(6px);
  pointer-events: none;
}

.device-cluster .device--laptop {
  position: relative;
  z-index: 1;
}

.device--float-left,
.device--float-right,
.device--pair-front {
  position: absolute;
  z-index: 3;
  width: 122px;
}

.device--float-left {
  left: -48px;
  bottom: -26px;
}

.device--float-right {
  right: 0;
  bottom: -18px;
}

/* Telefone pequeno: conteúdo proporcional à moldura reduzida. */
.device--float-left .screen--phone,
.device--float-right .screen--phone,
.device--pair-front .screen--phone {
  padding: 0.55rem 0.5rem 0.7rem;
}

.device--float-left .mock__label,
.device--float-right .mock__label,
.device--pair-front .mock__label {
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.device--float-left .mock__value--sm,
.device--float-right .mock__value--sm,
.device--pair-front .mock__value--sm,
.device--float-right .screen__phone-title,
.device--pair-front .screen__phone-title {
  font-size: 0.92rem;
}

.device--float-left .mock__bars,
.device--float-right .mock__bars {
  height: 38px;
  gap: 3px;
}

.device--float-left .mock__rows li,
.device--float-right .mock__rows li {
  font-size: 0.62rem;
  padding: 0.35rem 0;
}

.device--float-left .mock__rows li b,
.device--float-right .mock__rows li b {
  font-size: 0.6rem;
}

.device--float-left .mock__chips li,
.device--float-right .mock__chips li,
.device--pair-front .mock__chips li {
  font-size: 0.54rem;
  padding: 0.18rem 0.4rem;
}

.device--float-right .mock__ring,
.device--pair-front .mock__ring {
  transform: scale(0.78);
  transform-origin: center top;
  margin-top: 0.5rem;
}

.device-cluster--kiosk {
  max-width: 452px;
  padding-bottom: 30px;
  padding-left: 0;
  padding-right: 62px;
}

.device-cluster--kiosk .device--tablet {
  max-width: 340px;
}

.device-cluster--kiosk .device--tablet {
  position: relative;
  z-index: 1;
}

/* ---------- Diagrama de integração ---------- */
.diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.25fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: clamp(1.25rem, 0.6rem + 2vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.section--light .diagram,
.section--soft .diagram {
  border-color: var(--border);
  background: linear-gradient(150deg, var(--white), var(--gray-50));
  box-shadow: var(--shadow-sm);
}

.diagram__label {
  font-size: 0.66rem;
  font-weight: 660;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.7rem;
}

.section--light .diagram__label,
.section--soft .diagram__label {
  color: var(--gray-500);
}

.diagram__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.diagram__node {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.8rem;
  border-radius: 11px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 560;
  color: var(--text-on-dark);
}

.section--light .diagram__node,
.section--soft .diagram__node {
  border-color: var(--border);
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}

.diagram__node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--blue-300);
}

.diagram__node-dot--out {
  background: var(--cyan-400);
}

.diagram__link svg {
  width: 100%;
  height: 190px;
}

.diagram__link path {
  fill: none;
  stroke: var(--blue-400);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  opacity: 0.55;
  animation: flow-dash 3s linear infinite;
}

.section--light .diagram__link path,
.section--soft .diagram__link path {
  stroke: var(--blue-300);
  opacity: 0.9;
}

.diagram__core {
  position: relative;
  text-align: center;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(125, 176, 255, 0.4);
  background: linear-gradient(160deg, rgba(0, 119, 255, 0.2), rgba(0, 119, 255, 0.06));
  overflow: hidden;
}

.section--light .diagram__core,
.section--soft .diagram__core {
  border-color: var(--blue-200);
  background: linear-gradient(160deg, var(--blue-50), var(--white));
}

.diagram__core-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.35) 0%, rgba(0, 119, 255, 0) 70%);
  pointer-events: none;
}

.diagram__core-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--brand-mark), var(--blue-700));
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(0, 108, 235, 0.95);
}

.diagram__core-name {
  position: relative;
  margin-top: 0.85rem;
  font-size: 1.05rem;
  font-weight: 720;
  letter-spacing: 0.01em;
  color: var(--white);
}

.section--light .diagram__core-name,
.section--soft .diagram__core-name {
  color: var(--ink-900);
}

.diagram__core-text {
  position: relative;
  margin-top: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--text-on-dark-muted);
}

.section--light .diagram__core-text,
.section--soft .diagram__core-text {
  color: var(--text-muted);
}

.diagram__core-tags {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.diagram__core-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 560;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--blue-100);
}

.section--light .diagram__core-tags li,
.section--soft .diagram__core-tags li {
  background: var(--white);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
}

/* ---------- Cenas das verticais ---------- */
.scene {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-100);
  overflow: hidden;
}

.scene svg {
  width: 100%;
  height: auto;
  display: block;
}

.scene__base rect,
.scene__base path {
  fill: #c9dcf7;
}

.scene__base .scene__front {
  fill: #aecdf5;
}

.scene__base .scene__detail rect {
  fill: var(--white);
  opacity: 0.9;
}

.scene__base .scene__stroke {
  fill: none;
  stroke: #9dc2f2;
  stroke-width: 5;
  stroke-linecap: round;
}

.scene__accent .scene__line {
  fill: none;
  stroke: var(--brand-mark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene__accent .scene__pulse {
  fill: var(--brand-mark);
}

.scene__accent .scene__wheel {
  fill: var(--ink-800);
}

.scene__accent .scene__road {
  stroke: #9dc2f2;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 10;
}

.scene__accent .scene__beam {
  stroke: var(--brand-mark);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.55;
}

.scene__accent .scene__flag {
  fill: var(--brand-mark);
  stroke: var(--brand-mark);
  stroke-width: 3;
  stroke-linejoin: round;
}

.scene__accent .scene__stroke {
  fill: none;
  stroke: var(--brand-mark);
  stroke-width: 3.5;
  stroke-linecap: round;
}

.section--dark .scene {
  background: linear-gradient(160deg, rgba(0, 119, 255, 0.14), rgba(255, 255, 255, 0.03));
  border-color: var(--border-dark);
}

.section--dark .scene__base rect,
.section--dark .scene__base path {
  fill: rgba(160, 198, 255, 0.32);
}

.section--dark .scene__base .scene__detail rect {
  fill: rgba(11, 18, 32, 0.55);
  opacity: 1;
}

.section--dark .scene__accent .scene__line,
.section--dark .scene__accent .scene__stroke {
  stroke: var(--blue-300);
}

.section--dark .scene__accent .scene__pulse {
  fill: var(--blue-300);
}

/* ---------- Fundos tecnológicos ---------- */
.backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.backdrop--grid {
  background-image: linear-gradient(rgba(0, 119, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 0%, #000 10%, transparent 72%);
  mask-image: radial-gradient(110% 90% at 50% 0%, #000 10%, transparent 72%);
}

.backdrop--dots {
  background-image: radial-gradient(rgba(0, 119, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 80% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(80% 70% at 80% 20%, #000 0%, transparent 70%);
}

.backdrop--glow {
  background: radial-gradient(60% 70% at 78% 12%, rgba(0, 119, 255, 0.16) 0%, rgba(0, 119, 255, 0) 70%);
}

.section--dark .backdrop--grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.section--dark .backdrop--dots {
  background-image: radial-gradient(rgba(125, 176, 255, 0.22) 1px, transparent 1px);
}

.section--has-backdrop {
  position: relative;
  isolation: isolate;
}

.section--has-backdrop > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Showcase alternando texto e visual ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.25rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.showcase--reverse .showcase__visual {
  order: -1;
}

.showcase__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase + .showcase {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.showcase__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin-top: 1.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.section--dark .showcase__points {
  border-top-color: var(--border-dark);
}

.showcase__point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.section--dark .showcase__point {
  color: var(--text-on-dark-muted);
}

.showcase__point .icon {
  color: var(--brand);
  margin-top: 2px;
}

.section--dark .showcase__point .icon {
  color: var(--blue-300);
}

/* ---------- Animação de entrada ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================================
   Responsivo
   ========================================================================= */

@media (max-width: 1180px) {
  .logo__wordmark {
    height: 14px;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .hero--wide .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.25rem;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .float-card--tl {
    left: -20px;
    top: -24px;
  }

  .float-card--bl {
    left: -20px;
  }

  .float-card--br {
    right: -12px;
  }

  .float-card--tr {
    right: -12px;
    top: -20px;
  }

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

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-toc {
    position: static;
  }

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

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .nav,
  .site-header__actions .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .product-grid,
  .feature-grid--3,
  .feature-grid--4,
  .concept-grid,
  .pillars,
  .vertical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split,
  .split--wide-left,
  .contact-grid,
  .showcase {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase--reverse .showcase__visual {
    order: 0;
  }

  .diagram {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .diagram__link {
    display: none;
  }

  .module-list {
    gap: 1.35rem 2rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .logo__symbol {
    width: 29px;
  }

  .logo__wordmark {
    height: 12px;
  }

  .product-grid,
  .feature-grid--2,
  .feature-grid--3,
  .feature-grid--4,
  .concept-grid,
  .pillars,
  .steps,
  .module-list,
  .check-list--2,
  .form__grid,
  .vertical-grid,
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__meta {
    gap: 0.6rem 1.25rem;
  }

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

  .device--float-left {
    left: -8px;
    width: 100px;
  }

  .device--float-right {
    right: -8px;
    width: 100px;
  }

  .device-cluster {
    padding-left: 12px;
  }

  .device-cluster {
    padding-bottom: 30px;
  }

  .device-cluster__scene {
    width: 122px;
    left: -12px;
  }

  .device--pair-front {
    right: 0;
    width: 96px;
  }

  .device-cluster--kiosk {
    padding-right: 46px;
  }

  .device-pair {
    padding-right: 44px;
  }

  .mock--phone {
    width: 100%;
    max-width: 174px;
    margin: 1.25rem auto 0;
    align-self: center;
  }

  .float-card {
    position: static;
    max-width: none;
    margin-top: 0.85rem;
  }

  .hero__visual {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip__inner {
    gap: 1.75rem;
  }

  .cta-strip__actions {
    width: 100%;
  }

  .cta-strip__actions .btn {
    flex: 1 1 auto;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info,
  .form {
    padding: 1.5rem 1.35rem 1.6rem;
  }
}

@media (max-width: 360px) {
  .logo__wordmark {
    display: none;
  }

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

  .flow-nodes {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-lines {
    display: none;
  }
}
