/* ═══════════════════════════════════════════
   SITE ITWS — estilos
   Estrutura herdada do site da INOVAXX, com a identidade da ITWS:
   azul do símbolo (#0AADED → #1458AC), marinho nas seções escuras
   e o laranja do MindERP só nos produtos Mind.
   ═══════════════════════════════════════════ */
:root {
  --cyan: #0AADED;
  --blue: #1458AC;
  --blue-mid: #1683D6;
  --blue-light: #E6F5FD;
  --blue-glow: rgba(10,173,237,0.16);
  --warm: #FF6A2B;
  --warm-dark: #E9531A;
  --warm-light: #FFF1E8;
  --warm-glow: rgba(255,106,43,0.16);
  --emitia: #1B4965;
  --emitia-accent: #FF6B35;
  --emitia-light: #E8F8FC;
  --dark: #0F1932;
  --navy: #0B1630;
  --navy-2: #0E1C3A;
  --ink: #060D1F;
  --gray-700: #46506A;
  --gray-500: #6B7690;
  --gray-300: #B6BED0;
  --gray-100: #E9EEF5;
  --gray-50: #F5F8FC;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  --gradient-warm: linear-gradient(135deg, #FFA500 0%, #FF8A00 45%, #FF4C1E 100%);
  --gradient-hero: linear-gradient(160deg, #EFF9FF 0%, #FFFFFF 42%, #F3F6FF 100%);
  --shadow-sm: 0 2px 8px rgba(15,25,50,0.06);
  --shadow-md: 0 8px 32px rgba(15,25,50,0.08);
  --shadow-lg: 0 16px 48px rgba(15,25,50,0.12);
  --shadow-xl: 0 24px 64px rgba(15,25,50,0.16);
  --shadow-blue: 0 8px 32px rgba(20,88,172,0.28);
  --shadow-warm: 0 8px 32px rgba(255,106,43,0.28);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════ BASE ═══════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════ UTILITÁRIOS ═══════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}
.section-label.warm { background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 20px;
}
.section-title .grad, .grad {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { font-size: 1.1rem; color: var(--gray-500); max-width: 620px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.section-header .section-desc { margin: 0 auto; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  background: var(--gradient-primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--blue);
  transition: all 0.4s var(--ease-out-expo);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.btn-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out-expo); }
.btn-link:hover svg { transform: translateX(4px); }

/* ═══════════════ ENTRADA AO ROLAR ═══════════════ */
/* entrada calma: curva suave (o movimento se espalha pelo tempo todo) e escalonamento mais espaçado */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.33, 1, 0.68, 1), transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal { transform: translateY(48px); }
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed { opacity: 1; transform: none; }
.stagger-1 { transition-delay: 0.12s; }
.stagger-2 { transition-delay: 0.26s; }
.stagger-3 { transition-delay: 0.4s; }
.stagger-4 { transition-delay: 0.54s; }
.stagger-5 { transition-delay: 0.68s; }
.stagger-6 { transition-delay: 0.82s; }

/* ═══════════════ FORMAS FLUTUANTES ═══════════════ */
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(12px, -8px); }
  50% { transform: translate(-6px, -16px); }
  75% { transform: translate(-12px, -4px); }
}
@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-10px, 12px) scale(1.03); }
  66% { transform: translate(8px, -10px) scale(0.97); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}
@keyframes dash-rotate { to { transform: rotate(360deg); } }
@keyframes morph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 40% 60% 30% / 70% 40% 50% 60%; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
.geo-shape { position: absolute; pointer-events: none; z-index: 0; }

/* ═══════════════ NAVEGAÇÃO ═══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.5s var(--ease-out-expo);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 10px 0;
  box-shadow: 0 1px 30px rgba(15,25,50,0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 54px; width: auto; transition: height 0.3s ease; }
.navbar.scrolled .nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  background: var(--gradient-primary);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue);
  transition: all 0.4s var(--ease-out-expo) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 10px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--dark); border-radius: 4px; transition: all 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.active span { background: var(--white); }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh; height: 100dvh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transition: right 0.5s var(--ease-out-expo);
    z-index: 999;
    padding: 40px 24px;
    visibility: hidden;
  }
  .nav-links.open { right: 0; visibility: visible; }
  .nav-links a {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75) !important;
    padding: 14px 32px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }
  .nav-links a:hover { color: var(--white) !important; background: rgba(255,255,255,0.06); }
  .nav-links a::after { display: none !important; }
  .nav-cta { margin-top: 16px; width: auto !important; padding: 14px 40px !important; font-size: 1rem !important; }
}

/* ═══════════════ TOPO (HERO) ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; }
.hero-brand-watermark {
  position: absolute;
  left: -240px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  opacity: 0.06;
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--blue-glow);
  border-radius: 50%;
  position: absolute;
  top: -200px; right: -150px;
  filter: blur(80px);
  animation: pulse-glow 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--warm-glow);
  border-radius: 50%;
  position: absolute;
  bottom: -140px; left: -100px;
  filter: blur(70px);
  opacity: 0.6;
  animation: pulse-glow 6s ease-in-out infinite 2s;
}
.hero-morph {
  width: 300px; height: 300px;
  background: linear-gradient(135deg, rgba(10,173,237,0.07), rgba(20,88,172,0.06));
  position: absolute;
  top: 10%; right: 5%;
  animation: morph 20s ease-in-out infinite;
}
/* As formas animam por transform; o mouse mexe por "translate", que soma em vez de brigar com a animação */
.geo-shape { transition: translate 0.6s var(--ease-out-expo); }
.hero-circle-1 { width: 80px; height: 80px; border: 3px solid rgba(10,173,237,0.18); border-radius: 50%; top: 20%; right: 15%; animation: float-1 15s ease-in-out infinite; }
.hero-circle-2 { width: 40px; height: 40px; background: rgba(255,106,43,0.1); border-radius: 50%; top: 62%; right: 9%; animation: float-2 12s ease-in-out infinite; }
.hero-hex { width: 60px; height: 60px; background: rgba(20,88,172,0.08); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); top: 35%; left: 8%; animation: float-3 10s ease-in-out infinite; }
.hero-dots { top: 72%; left: 14%; display: grid; grid-template-columns: repeat(5, 8px); gap: 12px; animation: float-2 14s ease-in-out infinite; }
.hero-dots span { width: 8px; height: 8px; background: rgba(10,173,237,0.16); border-radius: 50%; }
.hero-ring { width: 200px; height: 200px; border: 2px dashed rgba(20,88,172,0.12); border-radius: 50%; bottom: 14%; right: 22%; animation: dash-rotate 120s linear infinite; }

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.hero-badge:hover { box-shadow: var(--shadow-md); }
.hero-badge .tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gradient-warm);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 22px;
}
.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* "fluxo de trabalho": o degradê corre devagar pelas letras, como o rio de vidro ao lado (começa e termina no
   mesmo azul, então a volta não tem emenda) */
.hero-title .highlight.fluxo {
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 30%, #8BE0FF 45%, var(--cyan) 60%, var(--blue) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: hero-fluxo 9s linear infinite;
}
/* as três linhas do título como foram escritas: no computador, a última não quebra */
@media (min-width: 961px) { .hero-title .hero-linha { white-space: nowrap; } }
@keyframes hero-fluxo { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .hero-title .highlight.fluxo { animation: none; } }
.hero-desc { font-size: 1.08rem; color: var(--gray-500); line-height: 1.75; margin-bottom: 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.hero-stat-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual-main { width: 100%; max-width: 480px; aspect-ratio: 1; position: relative; }
.hero-orbit-ring { position: absolute; inset: 0; border: 2px dashed rgba(10,173,237,0.3); border-radius: 50%; animation: dash-rotate 90s linear infinite; }
.hero-orbit-ring:nth-child(2) { inset: 40px; border-color: rgba(20,88,172,0.22); animation-duration: 120s; animation-direction: reverse; }
.hero-orbit-ring:nth-child(3) { inset: 80px; border-color: rgba(10,173,237,0.18); animation-duration: 150s; }
.hero-center-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  background: var(--white);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 0 10px rgba(10,173,237,0.06);
  z-index: 3;
}
.hero-center-logo img { width: 96px; height: auto; }
.orbit-item {
  position: absolute;
  width: 58px; height: 58px;
  background: var(--white);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  animation: float-3 6s ease-in-out infinite;
  z-index: 2;
}
.orbit-item svg { width: 24px; height: 24px; }
.orbit-item .orbit-label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray-500);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.orbit-item:hover .orbit-label { opacity: 1; }
.orbit-item:nth-child(5) { top: 4%; left: 50%; margin-left: -29px; animation-delay: 0s; }
.orbit-item:nth-child(6) { top: 19%; right: 7%; animation-delay: 0.5s; }
.orbit-item:nth-child(7) { top: 55%; right: -1%; animation-delay: 1s; }
.orbit-item:nth-child(8) { bottom: 7%; right: 20%; animation-delay: 1.5s; }
.orbit-item:nth-child(9) { bottom: 7%; left: 20%; animation-delay: 2s; }
.orbit-item:nth-child(10) { top: 55%; left: -1%; animation-delay: 2.5s; }
.orbit-item:nth-child(11) { top: 19%; left: 7%; animation-delay: 3s; }

@media (max-width: 960px) {
  .hero { padding: 110px 0 120px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 24px; }
  .hero-visual-main { max-width: 340px; }
  .hero-center-logo { width: 116px; height: 116px; border-radius: 32px; }
  .hero-center-logo img { width: 74px; }
}
@media (max-width: 480px) {
  .hero-actions a { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }
  .orbit-item { width: 48px; height: 48px; border-radius: 14px; }
  .orbit-item:nth-child(5) { margin-left: -24px; }
  .orbit-item svg { width: 20px; height: 20px; }
}

/* ═══════════════ ECOSSISTEMA (faixa escura, cascata de cards) ═══════════════
   Sem a classe eco-cascata (sem JS, celular, menos movimento): texto e os cards lado a lado, rolando na horizontal.
   Com eco-cascata (o site.js liga): a seção fica alta, o palco fica preso na tela e a rolagem derruba um card por vez. */
.eco {
  /* o baralho (pilha de trás + card da frente = 1,7 card de altura) cabe abaixo do menu com folga em qualquer altura */
  --ch: min(calc((100vh - 200px) / 1.7), 430px);
  --cw: calc(var(--ch) * 0.94);
  position: relative;
  background: var(--navy-2);
  color: var(--white);
}
.eco-palco {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 42%, rgba(10,173,237,0.14), transparent 70%),
    radial-gradient(50% 50% at 8% 95%, rgba(20,88,172,0.22), transparent 70%),
    var(--navy-2);
}
.eco-grade { position: relative; z-index: 2; }
.eco-rotulo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eco-rotulo::before { content: ''; width: 38px; height: 1px; background: currentColor; opacity: 0.7; }
.eco-texto h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.3vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 22px;
}
.eco-texto p { font-size: 1rem; color: rgba(255,255,255,0.62); line-height: 1.75; max-width: 440px; margin-bottom: 30px; }
.eco-botao {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.eco-botao > span { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.eco-botao .i { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out-expo); }
.eco-botao:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.35); }
.eco-botao:hover .i { transform: translateX(3px); }

/* Card (vale nos dois modos) */
.eco-baralho { list-style: none; }
.eco-card {
  position: relative;
  width: var(--cw);
  height: var(--ch);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(255,255,255,0.09);
  isolation: isolate;
}
/* Fundo: brilho na cor do produto atrás do símbolo (--brilho, por produto) e uma grade de pontos discreta em volta */
.eco-card {
  background:
    radial-gradient(70% 50% at 50% 33%, var(--brilho, rgba(10,173,237,0.3)), transparent 72%),
    linear-gradient(180deg, #0E1D40 0%, #081127 100%);
}
.eco-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1.6px) 0 0 / 16px 16px;
  -webkit-mask-image: radial-gradient(62% 46% at 50% 34%, #000, transparent);
  mask-image: radial-gradient(62% 46% at 50% 34%, #000, transparent);
}
.eco-minderp { --brilho: rgba(239,74,37,0.34); --brilho-forte: rgba(245,127,59,0.55); --nome: 0.105; }
.eco-emitia { --brilho: rgba(46,134,171,0.5); --brilho-forte: rgba(94,177,191,0.6); }
.eco-saf { --brilho: rgba(16,214,190,0.3); --brilho-forte: rgba(11,224,232,0.5); --nome: 0.1; }
.eco-logo {
  position: absolute;
  left: 0; right: 0; top: 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--ch) * 0.05);
}
.eco-simbolo { height: calc(var(--ch) * 0.3); width: auto; filter: drop-shadow(0 0 calc(var(--ch) * 0.05) var(--brilho-forte)); }
.eco-logotipo { height: calc(var(--ch) * var(--nome, 0.1)); width: auto; }
.eco-slogan {
  margin-top: calc(var(--ch) * -0.03);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(160,225,239,0.75);
}
/* Sombra de profundidade dos cards de trás (o JS mexe em --sombra) */
.eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #050B1A;
  opacity: var(--sombra, 0);
  pointer-events: none;
}
.eco-card-topo {
  position: absolute;
  top: 14px; left: 14px; right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eco-num {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(6,13,32,0.5);
  border: 1px solid rgba(255,255,255,0.22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.eco-tag { color: rgba(255,255,255,0.9); text-shadow: 0 1px 6px rgba(0,0,0,0.5); letter-spacing: 0.24em; }
.eco-card-base { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.eco-cap {
  display: block;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin-bottom: 6px;
}
.eco-card h3 { line-height: 1; }
.eco-card h3 a { color: inherit; display: block; }
/* Emitia: o logotipo é o nome em serifa, como na marca do produto */
.eco-emitia h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: calc(var(--ch) * 0.11);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #EAF6FA;
}
/* o texto acompanha o tamanho do card (em tela baixa o card encolhe e o texto não pode subir na logo) */
.eco-card p { font-size: clamp(0.7rem, calc(var(--ch) * 0.034), 0.84rem); line-height: 1.45; color: rgba(255,255,255,0.74); }
/* Modo parado (padrão): cards lado a lado com rolagem horizontal */
.eco:not(.eco-cascata) { --ch: 360px; --cw: 300px; }
.eco:not(.eco-cascata) .eco-texto { max-width: 640px; margin-bottom: 40px; }
.eco:not(.eco-cascata) .eco-baralho {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 24px 26px;
  margin: 0 -24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.eco:not(.eco-cascata) .eco-card { flex: 0 0 var(--cw); scroll-snap-align: start; }
.eco:not(.eco-cascata) .eco-trilho { display: none; }

/* Modo cascata */
.eco.eco-cascata { height: calc(100vh + var(--passos, 5) * 55vh); }
.eco-cascata .eco-palco {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 64px 0 0;
  display: flex;
  align-items: center;
}
.eco-cascata .eco-grade {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
}
.eco-cascata .eco-mesa {
  position: relative;
  height: calc(100vh - 64px - 24px);
  display: flex;
  justify-content: center;
}
.eco-cascata .eco-baralho {
  position: relative;
  width: var(--cw);
  height: 100%;
  perspective: 1100px;
  perspective-origin: 50% 38%;
}
.eco-cascata .eco-card {
  position: absolute;
  left: 0;
  top: calc(50% - var(--ch) * 0.15);
  transform-origin: 50% 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.eco-trilho {
  position: absolute;
  right: 0;
  top: calc(50% - var(--ch) * 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.eco-contador { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; display: flex; align-items: flex-start; }
.eco-contador small { font-size: 0.72rem; font-weight: 600; opacity: 0.5; margin: 4px 0 0 3px; letter-spacing: 0; }
.eco-linha { position: relative; width: 2px; height: calc(var(--ch) * 0.9); background: rgba(255,255,255,0.12); border-radius: 2px; --p: 0; }
.eco-cheio { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p) * 100%); background: linear-gradient(var(--cyan), var(--blue)); border-radius: 2px; }
.eco-marca { position: absolute; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.35); transform: translate(-50%, -50%); }
.eco-ponto {
  position: absolute;
  left: 50%;
  top: calc(var(--p) * 100%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(10,173,237,0.2), 0 0 18px var(--cyan);
}
.eco-nome {
  writing-mode: vertical-rl;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .eco-cascata .eco-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .eco { --ch: min(calc((100vh - 200px) / 1.7), 380px); }
}

/* ═══════════════ ONDAS ═══════════════ */
.wave { position: relative; line-height: 0; font-size: 0; margin: -2px 0; }
.wave svg { display: block; width: 100%; height: auto; transform: scale(1.01); }

/* ═══════════════ SOBRE ═══════════════ */
.sobre { padding: 100px 0 110px; background: var(--gray-50); position: relative; overflow: hidden; }
.sobre .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sobre-visual { position: relative; }
.sobre-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 40px 64px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.icon-wrap {
  width: 64px; height: 64px;
  background: var(--blue-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-wrap svg { width: 28px; height: 28px; color: var(--blue); }
.sobre-card-main h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.sobre-card-main p { color: var(--gray-500); line-height: 1.8; }
.sobre-mvv { display: grid; gap: 14px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.sobre-mvv div strong { font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); display: block; }
.sobre-mvv div span { font-size: 0.92rem; color: var(--gray-700); }
.sobre-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sobre-card-float.top-right { top: -24px; right: -20px; animation: float-3 5s ease-in-out infinite; }
.sobre-card-float.bottom-left { bottom: -24px; left: -20px; animation: float-3 6s ease-in-out infinite 1s; }
.float-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.float-icon.blue { background: var(--blue-light); }
.float-icon.warm { background: var(--warm-light); }
.float-icon svg { width: 20px; height: 20px; }
.sobre-card-float strong { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.sobre-card-float span { font-size: 0.78rem; color: var(--gray-500); display: block; }
.sobre-deco { position: absolute; width: 220px; height: 220px; background: var(--blue-glow); border-radius: 50%; top: -60px; left: -60px; filter: blur(60px); z-index: 0; }
.sobre-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.sobre-feature { display: flex; align-items: flex-start; gap: 16px; }
.check {
  width: 28px; height: 28px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check svg { width: 14px; height: 14px; color: var(--blue); }
.sobre-feature strong { font-family: var(--font-display); font-size: 0.98rem; display: block; margin-bottom: 2px; }
.sobre-feature p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.6; }
@media (max-width: 960px) {
  .sobre .container { grid-template-columns: 1fr; gap: 56px; }
  .sobre-visual { order: 2; margin: 0 12px; }
}
@media (max-width: 480px) {
  .sobre-card-main { padding: 28px; }
  .sobre-card-float { padding: 12px 16px; }
  .sobre-card-float.top-right { right: -8px; }
  .sobre-card-float.bottom-left { left: -8px; }
}

/* ═══════════════ HISTÓRIA ═══════════════ */
.historia { position: relative; overflow: hidden; min-height: 700px; background: var(--white); }
.historia-bg { position: absolute; inset: 0; z-index: 0; }
.historia-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.historia-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,88,172,0.88) 0%, rgba(10,120,200,0.62) 24%, rgba(10,173,237,0.4) 40%, rgba(255,255,255,0.93) 55%, #FFFFFF 70%),
    linear-gradient(180deg, transparent 55%, #FFFFFF 100%);
}
.historia-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.12;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
}
.historia .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  min-height: 700px;
  padding-top: 100px;
  padding-bottom: 80px;
}
.historia-left { color: var(--white); padding-right: 40px; padding-bottom: 20px; }
.historia-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.historia-left p.sub { font-size: 1.05rem; opacity: 0.88; margin-bottom: 24px; }
.historia-emblema-wrap { position: relative; width: 180px; height: 180px; display: inline-flex; align-items: center; justify-content: center; }
.historia-emblema-orbit { position: absolute; inset: 0; border: 1.5px dashed rgba(255,255,255,0.32); border-radius: 50%; animation: dash-rotate 40s linear infinite; }
.historia-emblema-orbit:nth-child(2) { inset: 15px; border-color: rgba(255,255,255,0.22); animation-duration: 55s; animation-direction: reverse; }
.historia-emblema-orbit:nth-child(3) { inset: 30px; border-color: rgba(255,255,255,0.15); animation-duration: 70s; }
.historia-emblema-orbit::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--white); top: -4px; left: 50%; }
.historia-emblema-orbit:nth-child(2)::after { background: #FF8A00; width: 6px; height: 6px; top: auto; bottom: -3px; left: 30%; }
.historia-emblema-orbit:nth-child(3)::after { background: var(--cyan); width: 5px; height: 5px; top: 50%; left: -3px; }
.historia-emblema {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.historia-emblema img { width: 64px; }
.historia-content { color: var(--dark); align-self: start; padding-top: 20px; }
.historia-intro {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 3px solid var(--cyan);
}
.historia-text { font-size: 1rem; color: var(--gray-700); line-height: 1.9; margin-bottom: 20px; }
.historia-purpose { background: var(--gray-50); border-radius: var(--radius-md); padding: 30px; margin: 28px 0; }
.historia-purpose h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 16px; }
.historia-purpose ul { display: flex; flex-direction: column; gap: 12px; }
.historia-purpose li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--gray-700); line-height: 1.6; }
.historia-purpose li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-primary); flex-shrink: 0; margin-top: 8px; }
.historia-tagline { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); }
@media (max-width: 960px) {
  .historia .container { grid-template-columns: 1fr; min-height: auto; align-items: start; padding-top: 110px; padding-bottom: 60px; gap: 32px; }
  .historia-left { padding: 0; text-align: center; }
  .historia-bg::after { background: linear-gradient(180deg, rgba(20,88,172,0.88) 0%, rgba(10,173,237,0.55) 28%, rgba(255,255,255,0.95) 48%, #FFFFFF 58%); }
  .historia-content { padding-top: 0; }
  .historia-purpose { padding: 24px; }
}

/* ═══════════════ CARDS (soluções, serviços, áreas) ═══════════════ */
.segmentos, .areas { padding: 110px 0; background: var(--white); position: relative; overflow: hidden; }
.geo-grid-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(20,88,172,0.05) 1px, transparent 0); background-size: 40px 40px; pointer-events: none; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.cards-grid.dois { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 20px;
  padding: 32px 28px 28px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  --card-accent: rgba(20,88,172,0.28);
  --card-cor: var(--blue);
}
.card:hover { border-color: var(--card-accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card[data-accent="warm"] { --card-accent: rgba(255,106,43,0.3); --card-cor: var(--warm); }
.card[data-accent="emitia"] { --card-accent: rgba(27,73,101,0.3); --card-cor: var(--emitia); }
.card .bleed-icon { position: absolute; bottom: -30px; right: -20px; opacity: 0.09; transition: all 0.5s ease; pointer-events: none; }
.card .bleed-icon svg { width: 160px; height: 160px; }
.card:hover .bleed-icon { opacity: 0.18; transform: rotate(-8deg) scale(1.05); }
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.card-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--card-cor); flex-shrink: 0; transition: box-shadow 0.3s ease; }
.card:hover .card-dot { box-shadow: 0 0 10px var(--card-cor); }
.card-header svg { width: 22px; height: 22px; }
.card-header img { width: 26px; height: 26px; }
.card-badge {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--white);
  background: var(--gradient-warm);
}
.card-badge.blue { background: var(--gradient-primary); }
.card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; position: relative; z-index: 1; }
.card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; position: relative; z-index: 1; max-width: 92%; flex: 1; }
.card .btn-link { margin-top: 18px; color: var(--card-cor); }
@media (max-width: 960px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid, .cards-grid.dois { grid-template-columns: 1fr; } }

/* ═══════════════ MÓDULOS DO MINDERP (carrossel em arco) ═══════════════
   Sem a classe mods-arco (sem JS): cards lado a lado, cada um com a descrição embaixo.
   Com mods-arco (o site.js liga): arco côncavo em 3D, o card do centro é o atual e o painel de baixo acompanha. */
.areas { background: var(--gray-50); }
.mods { padding-bottom: 90px; }
.mods .section-header { margin-bottom: 10px; }
.area-financeiro { --g1: #34D399; --g2: #06B6D4; }
.area-comercial { --g1: #FACC15; --g2: #F97316; }
.area-materiais { --g1: #FB7185; --g2: #D946EF; }
.area-manufatura { --g1: #FB923C; --g2: #EF4444; }
.area-manutencao { --g1: #DC2626; --g2: #7F1D1D; }
.area-administracao { --g1: #26D0CE; --g2: #1A2980; }
.area-bi { --g1: #60A5FA; --g2: #7C3AED; }

.mods-palco { position: relative; }
.mods-lista { list-style: none; }
.mod-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 600 / 780;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
  text-align: left;
  box-shadow: 0 30px 50px -28px rgba(11,22,48,0.55), 0 0 0 1px rgba(11,22,48,0.06);
  transition: box-shadow 0.5s ease;
}
.mod-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.mod-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,16,36,0.3) 0%, rgba(8,16,36,0) 24%, rgba(8,16,36,0) 52%, rgba(8,16,36,0.82) 100%);
}
/* Faixa na cor da área, na base do card */
.mod-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--g1), var(--g2));
}
.mod-num {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 2;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.mod-nome {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}
.mod-info { display: none; }

/* Sem JS: lado a lado, com a descrição embaixo de cada card */
.mods:not(.mods-arco) .mods-lista {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 10px 24px 24px;
}
.mods:not(.mods-arco) .mod { flex: 0 0 260px; scroll-snap-align: start; }
.mods:not(.mods-arco) .mod-info { display: block; padding: 14px 4px 0; }
.mods:not(.mods-arco) .mod-info h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.mods:not(.mods-arco) .mod-info p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 8px; }
.mods:not(.mods-arco) .mod-info li { font-size: 0.82rem; color: var(--gray-700); }
.mods:not(.mods-arco) .mods-rodape,
.mods:not(.mods-arco) .mods-fundo { display: none; }

/* Arco */
.mods-arco .mods-palco {
  --mw: 220px;
  height: calc(var(--mw) * 1.3 * 1.45);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}
.mods-arco .mods-palco.arrastando { cursor: grabbing; }
.mods-arco .mods-palco::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2%;
  width: min(70%, 900px); height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(11,22,48,0.13), transparent);
  pointer-events: none;
}
.mods-arco .mods-lista { position: absolute; inset: 0; z-index: 1; }
.mods-arco .mod {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--mw);
  margin-left: calc(var(--mw) / -2);
  margin-top: calc(var(--mw) * -0.68);
  will-change: transform, opacity;
}
.mods-arco .mod.ativo .mod-card { box-shadow: 0 30px 50px -26px rgba(11,22,48,0.55), 0 22px 60px -24px var(--g2); }
.mods-fundo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 32vw, 27rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(11,22,48,0.06);
  pointer-events: none;
}

/* Rodapé: contador, painel do módulo atual e setas */
.mods-rodape {
  display: grid;
  grid-template-columns: 1fr minmax(0, 780px) 1fr;
  align-items: end;
  gap: 20px;
  margin-top: 6px;
}
.mods-contador { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--dark); }
.mods-contador small { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); margin-left: 6px; }
.mods-painel { text-align: center; }
.mods-dica {
  display: block;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.mods-texto h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--dark); }
.mods-texto p { color: var(--gray-500); margin: 6px 0 16px; }
.mods-texto ul { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 8px; min-height: 82px; }
.mods-texto li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-700);
}
.mods-texto li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.mods-texto.troca { animation: mods-entra 0.5s var(--ease-out-expo); }
@keyframes mods-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mods-pontos { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.mods-ponto { position: relative; width: 7px; height: 7px; padding: 0; border-radius: var(--radius-full); background: var(--gray-300); transition: width 0.4s var(--ease-out-expo), background 0.4s ease; }
.mods-ponto::after { content: ''; position: absolute; inset: -8px -4px; }
.mods-ponto[aria-current="true"] { width: 24px; background: var(--blue); }
.mods-setas { display: flex; justify-content: flex-end; gap: 10px; }
.mods-seta {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  color: var(--dark);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.mods-seta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mods-seta .i { width: 18px; height: 18px; }
.mods-seta[data-passo="-1"] .i { transform: scaleX(-1); }
@media (max-width: 760px) {
  .mods-rodape { grid-template-columns: 1fr 1fr; align-items: center; }
  .mods-painel { grid-column: 1 / -1; order: -1; }
  .mods-texto ul { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mods-texto.troca { animation: none; }
}

/* ═══════════════ MINDERP EM DESTAQUE ═══════════════ */
.minderp { padding: 110px 0 60px; background: var(--white); position: relative; overflow: hidden; }
.minderp .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.minderp-marca { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.minderp-marca img:first-child { width: 54px; height: auto; }
.minderp-marca img:last-child { height: 40px; width: auto; }
.lista-check { display: grid; gap: 14px; margin: 28px 0 32px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: var(--gray-700); }
.lista-check li .check { background: var(--warm-light); }
.lista-check li .check svg { color: var(--warm); }
.lista-check.blue li .check { background: var(--blue-light); }
.lista-check.blue li .check svg { color: var(--blue); }
.lista-check.lista-emitia li .check { background: rgba(91,192,235,0.14); }
.lista-check.lista-emitia li .check svg { color: #5BC0EB; }
.lista-check strong { font-family: var(--font-display); color: var(--dark); }
.btn-warm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--gradient-warm);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-warm);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.btn-warm:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(255,106,43,0.35); }
.btn-warm svg { width: 20px; height: 20px; }
/* Moldura de navegador para as telas reais */
.browser {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-100); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #E2E7EF; }
.browser-bar span:nth-child(1) { background: #FF6159; }
.browser-bar span:nth-child(2) { background: #FFBD2E; }
.browser-bar span:nth-child(3) { background: #28C941; }
.browser-bar em { margin-left: 12px; flex: 1; max-width: 280px; font-style: normal; font-size: 0.72rem; color: var(--gray-500); background: var(--white); border-radius: var(--radius-full); padding: 3px 14px; border: 1px solid var(--gray-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.tela-wrap { position: relative; }
.tela-wrap::before {
  content: '';
  position: absolute;
  inset: 8% -6% -8% 10%;
  background: var(--gradient-warm);
  opacity: 0.16;
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}
.tela-wrap.tela-emitia::before { background: linear-gradient(135deg, #2E86AB, #FF6B35); }
.tela-selo {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-3 6s ease-in-out infinite;
}
.tela-selo strong { font-family: var(--font-display); font-size: 0.92rem; display: block; line-height: 1.3; }
.tela-selo span { font-size: 0.74rem; color: var(--gray-500); }
.tela-selo.bl { left: -24px; bottom: -22px; }
.tela-selo.tr { right: -18px; top: -30px; animation-delay: 1.2s; }
.tela-selo img { width: 30px; height: 30px; }
@media (max-width: 960px) {
  .minderp .container { grid-template-columns: 1fr; gap: 48px; }
  .tela-selo.bl { left: 8px; bottom: -26px; }
  .tela-selo.tr { right: 8px; top: -20px; }
}

/* ═══════════════ NOVIDADES (escura, cards de vidro) ═══════════════ */
.novidades { padding: 110px 0 120px; background: var(--navy); position: relative; overflow: hidden; }
.novidades::before {
  content: '';
  position: absolute;
  top: 40%; right: -120px;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(10,173,237,0.12), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.novidades::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(255,106,43,0.1), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.novidades .section-title { color: var(--white); }
.novidades .section-desc { color: rgba(255,255,255,0.62); }
.vidro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.vidro-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}
.vidro-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(10,173,237,0.35); transform: translateY(-6px); }
.vidro-card.warm:hover { border-color: rgba(255,138,0,0.4); }
.vidro-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,173,237,0.25), rgba(20,88,172,0.3));
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-out-expo);
}
.vidro-card.warm .vidro-icon { background: linear-gradient(135deg, rgba(255,165,0,0.3), rgba(255,76,30,0.3)); }
.vidro-card:hover .vidro-icon { transform: scale(1.08); }
.vidro-icon svg { width: 26px; height: 26px; color: var(--white); }
.vidro-card h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; color: var(--white); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vidro-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.selo-beta { font-size: 0.62rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #FFB066; border: 1px solid rgba(255,176,102,0.5); border-radius: var(--radius-full); padding: 2px 8px; }
@media (max-width: 960px) { .vidro-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vidro-grid { grid-template-columns: 1fr; } }

/* ═══════════════ EMITIA ═══════════════ */
/* [Chamado #4902] O Emitia virou a seção intermediária de fundo azul-escuro, entre o MindAI e os serviços (era
   claro, de #F2FBFE a branco): textos claros e os brilhos nas cores do Emitia */
.emitia {
  padding: 110px 0; position: relative; overflow: hidden;
  /* os brilhos ficam no meio da seção e somem antes das bordas: o azul-escuro encosta liso nas ondas de cima e de baixo */
  background: radial-gradient(48% 46% at 86% 50%, rgba(46,134,171,0.26), transparent 100%),
              radial-gradient(40% 42% at 8% 50%, rgba(255,107,53,0.12), transparent 100%), var(--navy);
}
.emitia .section-title { color: var(--white); }
.emitia .section-desc { color: rgba(255,255,255,0.66); }
.emitia .lista-check li { color: rgba(255,255,255,0.74); }
.emitia .lista-check strong { color: var(--white); }
.emitia .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.45); }
.emitia .btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: none; }
.emitia .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.emitia-marca { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.emitia-marca img { width: 44px; height: 44px; }
.emitia-marca strong { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 2rem; color: var(--white); letter-spacing: -0.5px; }
.emitia-marca span { display: block; font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; }
.emitia .section-title .grad-emitia {
  background: linear-gradient(135deg, #5BC0EB 0%, #2E86AB 45%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-emitia {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: #2E86AB;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 28px rgba(46,134,171,0.35);
  transition: transform 0.4s var(--ease-out-expo), background 0.3s ease;
}
.btn-emitia:hover { transform: translateY(-3px); background: #3A9BC4; }
.btn-emitia svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .emitia .container { grid-template-columns: 1fr; gap: 48px; }
  .emitia .tela-emitia { order: 2; }
}

/* ═══════════════ IMPLANTAÇÃO (12 etapas numa faixa horizontal) ═══════════════
   Sem a classe trilho-ligado (sem JS, celular, menos movimento): a faixa rola na horizontal.
   Com trilho-ligado (o site.js liga): a seção fica alta, o palco fica preso e a rolagem empurra a faixa de lado. */
.implantacao { position: relative; background: var(--white); }
.implantacao-palco { position: relative; padding: 90px 0 70px; overflow: hidden; }
.implantacao-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.implantacao-topo .section-title { margin-bottom: 10px; }
.implantacao-contador { margin-left: auto; font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--dark); white-space: nowrap; }
.implantacao-contador small { font-size: 0.9rem; font-weight: 600; color: var(--gray-500); margin-left: 6px; }
.implantacao-trilho { overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 0 26px; scrollbar-width: thin; }
.implantacao-faixa {
  list-style: none;
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
}
.etapa {
  position: relative;
  flex: 0 0 300px;
  padding: 16px 24px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #FFF6EE 0%, #FFFFFF 62%);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
}
.etapa img { display: block; height: clamp(150px, 29vh, 270px); width: 100%; object-fit: contain; margin-bottom: 8px; pointer-events: none; }
.etapa-num {
  position: absolute;
  top: 12px; left: 20px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,106,43,0.5);
}
.etapa h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.etapa p { font-size: 0.9rem; line-height: 1.55; color: var(--gray-500); }
.implantacao-progresso { height: 4px; margin-top: 6px; border-radius: 4px; background: var(--gray-100); overflow: hidden; }
.implantacao-progresso i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gradient-warm); border-radius: 4px; }

/* faixa presa: a altura da seção é a tela + o percurso da faixa (o JS põe --percurso) */
.implantacao.trilho-ligado { height: calc(100vh + var(--percurso, 0px)); }
.trilho-ligado .implantacao-palco {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 84px 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trilho-ligado .implantacao-trilho { overflow: visible; padding: 18px 0 22px; }
/* no palco em coluna, o .container com margin auto encolheria até o conteúdo: largura total */
.trilho-ligado .implantacao-palco > .container { width: 100%; }
.trilho-ligado .implantacao-faixa { will-change: transform; }
.trilho-ligado .etapa {
  transform: scale(0.93);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease, border-color 0.6s ease;
}
/* fora de foco, só o conteúdo esmaece: o cartão continua opaco (o rio de vidro passa por trás) */
.trilho-ligado .etapa > * { opacity: 0.45; transition: opacity 0.6s ease; }
.trilho-ligado .etapa.perto > * { opacity: 1; }
.trilho-ligado .etapa.perto { opacity: 1; transform: none; box-shadow: var(--shadow-lg); border-color: rgba(255,106,43,0.35); }
.trilho-ligado .etapa.perto .etapa-num { -webkit-text-stroke-color: rgba(255,106,43,0.85); }
@media (max-width: 600px) {
  .implantacao-topo { flex-direction: column; align-items: flex-start; }
  .implantacao-contador { display: none; }
  .etapa { flex-basis: 250px; }
}

/* ═══════════════ NÚMEROS (canvas) ═══════════════ */
.numeros { position: relative; padding: 140px 0 120px; overflow: hidden; background: var(--ink); }
.numeros-canvas { position: absolute; inset: 0; z-index: 0; }
.numeros-canvas canvas { width: 100%; height: 100%; display: block; }
.numeros::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(10,173,237,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(20,88,172,0.12) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.numeros::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to top, var(--ink), transparent); z-index: 1; pointer-events: none; }
.numeros .container { position: relative; z-index: 3; }
.numeros-tagline { text-align: center; margin-bottom: 64px; }
.numeros-tagline h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.02em; }
.numeros-tagline p { font-size: 0.98rem; color: rgba(255,255,255,0.45); }
.numeros-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.numero {
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
  transition: all 0.4s var(--ease-out-expo);
}
.numero:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.numero:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.numero:hover { background: rgba(10,173,237,0.07); border-color: rgba(10,173,237,0.18); }
.numero-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #5FD3FF 0%, var(--cyan) 50%, #4C8DF0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.numero-label { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.numero-desc { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.5; }
@media (max-width: 960px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .numero:first-child { border-radius: var(--radius-md) 0 0 0; }
  .numero:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
  .numero:nth-child(3) { border-radius: 0 0 0 var(--radius-md); }
  .numero:last-child { border-radius: 0 0 var(--radius-md) 0; }
}
@media (max-width: 520px) {
  .numeros-grid { grid-template-columns: 1fr; }
  .numero { border-radius: 0 !important; }
  .numero:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0 !important; }
  .numero:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md) !important; }
}

/* ═══════════════ CLIENTES (faixa de logos) ═══════════════ */
.clientes { padding: 110px 0 100px; background: var(--white); position: relative; overflow: hidden; }
.marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 18px; }
/* Dois grupos iguais (o segundo é cópia, aria-hidden): andar 50% devolve a faixa ao começo sem emenda */
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-grupo { display: flex; gap: 18px; padding-right: 18px; }
.marquee.reverso .marquee-track { animation-direction: reverse; animation-duration: 80s; }
/* com os 11 clientes da landing, cartões maiores: a faixa fica mais larga que uma tela Full HD e gira sem buraco */
.marquee-mind .marquee-track { animation-duration: 55s; }
.marquee-mind .logo-cliente { width: 200px; height: 100px; padding: 16px 22px; }
.marquee-mind .logo-cliente img { max-height: 62px; }
/* [Chamado #4902] Legibilidade sobre o rio de vidro: atrás de cada bloco de texto solto das seções claras por onde
   ele passa, um véu branco que some nas bordas. O rio continua à vista em volta e fica bem claro
   atrás das letras (no lugar do halo por sombra de texto, que desbotava os textos em degradê) */
.rio-ligado :is(.sobre-content, .historia-content, .mods-painel, .implantacao-topo > div, .minderp .container > div:first-child,
  .areas .section-header, .segmentos .section-header, .clientes .section-header, .clientes .marquee-titulo) {
  position: relative; isolation: isolate;
}
.rio-ligado :is(.sobre-content, .historia-content, .mods-painel, .implantacao-topo > div, .minderp .container > div:first-child,
  .areas .section-header, .segmentos .section-header, .clientes .section-header, .clientes .marquee-titulo)::before {
  /* um retângulo branco de bordas desfocadas: cobre o bloco por igual (o degradê radial sumia cedo nas pontas) */
  content: ''; position: absolute; inset: -22px -36px; z-index: -1; pointer-events: none;
  background: rgba(255,255,255,0.9); border-radius: 48px; filter: blur(26px);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-cliente {
  width: 168px; height: 88px;
  flex-shrink: 0;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.logo-cliente img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.4s ease, opacity 0.4s ease; }
.logo-cliente:hover { border-color: rgba(20,88,172,0.2); box-shadow: var(--shadow-sm); }
.logo-cliente:hover img { filter: none; opacity: 1; }
.marquee-titulo { text-align: center; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); margin: 34px 0 8px; }

/* Faixa "Seja parceiro" */
.parceiro {
  margin-top: 70px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.parceiro::before { content: ''; position: absolute; width: 320px; height: 320px; right: -60px; top: -140px; background: radial-gradient(circle, rgba(10,173,237,0.25), transparent 70%); filter: blur(20px); }
.parceiro > * { position: relative; z-index: 1; }
.parceiro h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.parceiro p { color: rgba(255,255,255,0.6); font-size: 0.98rem; max-width: 620px; }
@media (max-width: 760px) { .parceiro { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; } }

/* ═══════════════ CONTATO ═══════════════ */
.contato { padding: 110px 0; background: var(--white); position: relative; overflow: hidden; }
.contato .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
/* [Chamado #4902] O rio de vidro passa por trás do contato e o título e o texto ficavam ilegíveis por cima dele: a coluna
   da esquerda fica num cartão claro, como o do diagnóstico ao lado */
.contato-info {
  padding: 40px 40px 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95); border: 1px solid var(--gray-100); box-shadow: var(--shadow-lg);
}
@media (max-width: 560px) { .contato-info { padding: 28px 20px 24px; } }
.contato-channels { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; }
.contato-channel { display: flex; align-items: center; gap: 16px; }
.contato-channel-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--blue-light); }
.contato-channel-icon svg { width: 22px; height: 22px; color: var(--blue); }
.contato-channel-icon.zap { background: #E7F8EE; }
.contato-channel-icon.zap svg { color: #1FA855; }
.contato-channel strong { font-family: var(--font-display); font-size: 0.92rem; display: block; }
.contato-channel span, .contato-channel a { font-size: 0.9rem; color: var(--gray-500); }
.contato-channel a:hover { color: var(--blue); }
.contato-mapa { margin-top: 28px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.contato-mapa iframe { width: 100%; height: 220px; border: 0; display: block; }
/* [Chamado #4902] Os estilos do formulário de contato antigo (.contato-form-wrap, .form-row, .form-group) saíram:
   o formulário deu lugar ao chat de diagnóstico do MindERP, logo abaixo. Ficam o campo-isca e o status de envio. */
.campo-isca { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 0.9rem; border-radius: var(--radius-sm); padding: 0; min-height: 0; }
.form-status.ok { padding: 12px 16px; background: #E7F8EE; color: #146C3A; }
.form-status.erro { padding: 12px 16px; background: #FDECEC; color: #A12A2A; }
@media (max-width: 960px) {
  .contato .container { grid-template-columns: 1fr; }
}

/* ─── Diagnóstico MindERP (chat no lugar do formulário) ─── */
.diag {
  position: relative; display: flex; flex-direction: column; height: 680px;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dg-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 16px; flex-shrink: 0; }
.dg-titulo { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; line-height: 1.3; color: var(--dark); }
.dg-sub { display: block; font-size: 0.8rem; line-height: 1.4; color: var(--gray-500); }
.dg-topo-dir { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.dg-contador { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--dark); white-space: nowrap; }
.dg-recomecar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--gray-50); color: var(--gray-500); transition: color .2s, background .2s; }
.dg-recomecar[hidden] { display: none; }
.dg-recomecar:hover { color: var(--blue); background: var(--blue-light); }
.dg-recomecar svg { width: 16px; height: 16px; }
.dg-progresso { height: 4px; flex-shrink: 0; background: var(--gray-100); }
.dg-progresso i { display: block; width: 100%; height: 100%; background: var(--gradient-primary); transform-origin: left; transform: scaleX(var(--p, 0.1667)); transition: transform .9s var(--ease-out-expo); }

.dg-conversa, .dg-mensagem {
  position: relative; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 24px; background: var(--gray-50);
}
.dg-conversa[hidden], .dg-mensagem[hidden] { display: none; }
.dg-nota { align-self: center; font-size: 0.76rem; color: var(--gray-500); margin-bottom: 2px; }
.dg-msg {
  max-width: 86%; padding: 11px 15px; border-radius: 16px; font-size: 0.93rem; line-height: 1.5;
  animation: dg-entra .6s var(--ease-out-expo) both;
}
.dg-msg.ia { align-self: flex-start; background: var(--white); border: 1px solid var(--gray-100); border-top-left-radius: 6px; color: var(--dark); box-shadow: var(--shadow-sm); }
.dg-msg.eu { align-self: flex-end; background: var(--dark); color: var(--white); border-bottom-right-radius: 6px; }
.dg-digitando { display: inline-flex; gap: 5px; padding: 15px 16px; }
.dg-digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-300); animation: dg-ponto 1.2s ease-in-out infinite; }
.dg-digitando i:nth-child(2) { animation-delay: .15s; }
.dg-digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes dg-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dg-ponto { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.sem-anim, .sem-anim * { animation: none !important; }

.dg-opcoes { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.dg-opcoes.curtas { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.dg-opcao {
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-full); text-align: left;
  background: var(--white); border: 1.5px solid var(--gray-300); color: var(--dark); font-size: 0.9rem; line-height: 1.35;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
  animation: dg-entra .55s var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 80ms);
}
.dg-opcao:hover { border-color: var(--cyan); background: var(--blue-light); }
.dg-opcao:active { transform: scale(.98); }
.dg-botoes { flex-direction: row; flex-wrap: wrap; }
.dg-botoes .dg-opcao { border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; text-align: center; }
.dg-opcao.forte { background: var(--dark); border-color: var(--dark); color: var(--white); }
.dg-opcao.forte:hover { background: var(--navy-2); border-color: var(--navy-2); }
.dg-link {
  align-self: flex-start; padding: 4px 2px; background: none; color: var(--blue); font-size: 0.85rem;
  text-decoration: underline; text-underline-offset: 3px;
  animation: dg-entra .55s var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 80ms);
}
.dg-opcoes .dg-link { flex-basis: 100%; text-align: left; }
.dg-link:hover { color: var(--dark); }

/* mapa de visibilidade */
.dg-mapa { align-self: stretch; flex-shrink: 0; background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); animation: dg-entra .7s var(--ease-out-expo) both; }
.dg-mapa-topo { padding: 14px 18px; background: var(--navy); }
.dg-mapa-topo span { display: block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #38C6FF; }
.dg-mapa-topo strong { display: block; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.4; color: var(--white); }
.dg-mapa ul { padding: 2px 0; }
.dg-mapa li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px;
  font-size: 0.9rem; border-top: 1px solid var(--gray-100);
  animation: dg-entra .55s var(--ease-out-expo) both; animation-delay: calc(.3s + var(--i, 0) * 120ms);
}
.dg-mapa li:first-child { border-top: 0; }
.dg-selo { flex-shrink: 0; padding: 4px 11px; border-radius: var(--radius-full); font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.dg-selo.cego { background: var(--warm); color: var(--white); }
.dg-selo.parcial { background: #EADFC8; color: #6A5631; }
.dg-selo.vista { background: var(--dark); color: var(--white); }
.dg-comeco { margin: 4px 12px 12px; padding: 12px 14px; border-radius: 12px; background: var(--blue-light); font-size: 0.87rem; line-height: 1.55; color: var(--gray-700); }
.dg-comeco strong { color: var(--dark); }
.dg-acao {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-sm);
  background: var(--gradient-primary); color: var(--white); font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  box-shadow: var(--shadow-blue); transition: transform .2s, box-shadow .2s; animation: dg-entra .55s var(--ease-out-expo) both;
}
.dg-acao:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(20,88,172,0.35); }
.dg-acao svg { width: 18px; height: 18px; }

/* formulários dentro do chat (contato do diagnóstico e mensagem) */
.dg-form {
  align-self: stretch; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px; box-shadow: var(--shadow-sm);
  animation: dg-entra .6s var(--ease-out-expo) both;
}
.dg-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dg-grupo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dg-grupo label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: var(--dark); }
.dg-grupo label em { font-style: normal; color: var(--blue-mid); }
.dg-grupo input, .dg-grupo select, .dg-grupo textarea {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 13px; border: 1.5px solid var(--gray-100); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.92rem; color: var(--dark); background: var(--gray-50); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.dg-grupo textarea { min-height: 96px; resize: vertical; }
.dg-grupo input:focus, .dg-grupo select:focus, .dg-grupo textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px var(--blue-glow); background: var(--white); }
.dg-grupo [aria-invalid="true"] { border-color: #D93C3C; box-shadow: 0 0 0 4px rgba(217,60,60,0.12); }
.dg-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; line-height: 1.45; color: var(--gray-700); cursor: pointer; }
.dg-consent input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.dg-enviar {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 12px;
  background: var(--gradient-primary); color: var(--white); font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  box-shadow: var(--shadow-blue); transition: transform .2s, box-shadow .2s, opacity .2s;
}
.dg-enviar:hover { transform: translateY(-2px); }
.dg-enviar:disabled { opacity: .7; transform: none; cursor: progress; }
.dg-enviar svg { width: 18px; height: 18px; }
.dg-mensagem { animation: dg-entra .5s var(--ease-out-expo) both; }

/* resposta com as próprias palavras e o rodapé LGPD */
.dg-campo { display: flex; gap: 10px; flex-shrink: 0; padding: 14px 18px 6px; background: var(--white); border-top: 1px solid var(--gray-100); }
.dg-campo[hidden] { display: none; }
.dg-campo input {
  flex: 1; min-width: 0; min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--gray-100); border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 0.92rem; color: var(--dark); background: var(--gray-50); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.dg-campo input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px var(--blue-glow); background: var(--white); }
.dg-campo button { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-primary); color: var(--white); box-shadow: 0 6px 18px rgba(20,88,172,0.25); transition: opacity .2s, transform .2s; }
.dg-campo button:hover:not(:disabled) { transform: translateY(-1px); }
.dg-campo button:disabled { opacity: .55; cursor: default; }
.dg-campo button svg { width: 18px; height: 18px; }
.dg-lgpd { flex-shrink: 0; padding: 8px 18px 14px; font-size: 0.74rem; line-height: 1.45; color: var(--gray-500); background: var(--white); }
.dg-campo[hidden] + .dg-lgpd { padding-top: 12px; border-top: 1px solid var(--gray-100); }

@media (max-width: 960px) { .diag { height: 640px; } }
@media (max-width: 560px) {
  .diag { height: 600px; }
  .dg-topo { padding: 14px 16px 12px; }
  .dg-conversa, .dg-mensagem { padding: 16px 14px 20px; }
  .dg-linha { grid-template-columns: 1fr; }
  .dg-msg { max-width: 92%; }
  .dg-campo input, .dg-grupo input, .dg-grupo select, .dg-grupo textarea { font-size: 16px; }   /* menos que 16px: o iPhone dá zoom ao focar */
}
@media (prefers-reduced-motion: reduce) {
  .diag *, .diag *::before { animation: none !important; transition: none !important; }
}

/* ═══════════════ CTA ═══════════════ */
.cta-banner { padding: 84px 0; background: var(--gradient-primary); position: relative; overflow: hidden; text-align: center; }
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: var(--white); margin-bottom: 16px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.88); margin: 0 auto 32px; max-width: 560px; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--radius-full);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }

/* ═══════════════ RODAPÉ ═══════════════ */
.footer { background: var(--navy); padding: 64px 0 0; color: rgba(255,255,255,0.62); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer h4 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 800; color: var(--white); margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 0.9rem; transition: color 0.3s ease; }
.footer ul a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; color: rgba(255,255,255,0.75); }
.newsletter p { font-size: 0.88rem; margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; position: relative; }
.newsletter-linha { display: flex; gap: 8px; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus { border-color: var(--cyan); }
.newsletter-form button { padding: 12px 18px; border-radius: var(--radius-full); background: var(--gradient-primary); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.newsletter-form button[disabled] { opacity: 0.7; cursor: wait; }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.76rem; line-height: 1.5; color: rgba(255,255,255,0.5); }
.newsletter-consent input { margin-top: 3px; accent-color: var(--cyan); }
.newsletter .form-status.ok { background: rgba(31,168,85,0.15); color: #7EE2A6; }
.newsletter .form-status.erro { background: rgba(217,60,60,0.15); color: #FFA3A3; }
.footer-bottom { padding: 24px 0 28px; text-align: center; font-size: 0.8rem; line-height: 1.8; }
.footer-bottom small { display: block; color: rgba(255,255,255,0.38); font-size: 0.72rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ═══════════════ WHATSAPP ═══════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 900;
  transition: transform 0.3s var(--ease-out-expo);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ═══════════════ SEGMENTOS (Chroma Grid do React Bits, sem React) ═══════════════
   [Chamado #4902] As fotos ficam em preto e branco e ganham cor dentro de uma luz que segue o mouse pela grade toda
   (o site.js põe --cx/--cy/--forca na grade e --ox/--oy em cada área). A borda e o lavado do cartão acendem na cor
   do segmento (--acento) dentro da mesma luz. Sem mouse (toque), as fotos ficam coloridas. */
.seg-grade {
  --raio: 300px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 10px;
  -webkit-tap-highlight-color: transparent;
}
.seg-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 22px;
  border-radius: 26px; background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
  box-shadow: inset 0 0 0 1px var(--gray-100), 0 18px 40px -26px rgba(15,25,50,0.35);
  transition: filter .25s ease;
}
.seg-card:hover { filter: brightness(1.01); }
/* a luz: um círculo na posição do mouse, deslocado para cada área (mesma conta do Chroma Grid) */
.seg-grade .seg-cor, .seg-lavado, .seg-borda {
  -webkit-mask-image: radial-gradient(circle var(--raio) at calc(var(--cx, -9999px) - var(--ox, 0px)) calc(var(--cy, -9999px) - var(--oy, 0px)), var(--paradas, #000 0%, transparent 100%));
  mask-image: radial-gradient(circle var(--raio) at calc(var(--cx, -9999px) - var(--ox, 0px)) calc(var(--cy, -9999px) - var(--oy, 0px)), var(--paradas, #000 0%, transparent 100%));
}
.seg-lavado {
  position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(130% 70% at 50% 100%, var(--acento), transparent 72%);
  opacity: calc(var(--forca, 0) * 0.22);
}
.seg-borda {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px var(--acento), inset 0 0 18px -8px var(--acento);
  opacity: var(--forca, 0);
}
.seg-foto { position: relative; z-index: 1; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--gray-100); }
.seg-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.seg-pb { filter: grayscale(1) brightness(0.9) contrast(1.05); }
.seg-cor { opacity: var(--forca, 0); }
.seg-foto::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(15,25,50,0.06); pointer-events: none; }
.seg-nome {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-full); background: rgba(255,255,255,0.92); color: var(--dark);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; box-shadow: var(--shadow-sm);
}
.seg-nome::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--acento); }
.seg-texto { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 6px 14px 0; }
.seg-texto h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--dark); }
.seg-texto > p { margin-top: 8px; font-size: 0.93rem; line-height: 1.6; color: var(--gray-500); }
.seg-dores { display: grid; gap: 8px; margin: 16px 0 18px; }
.seg-dores li {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px;
  background: var(--gray-50); border: 1px solid var(--gray-100);
}
.seg-dores strong { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--dark); }
.seg-dores span { font-size: 0.78rem; color: var(--gray-500); }
.seg-acao {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--blue);
}
.seg-acao svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out-expo); }
.seg-acao:hover svg { transform: translateX(4px); }
@media (hover: none) {
  /* sem mouse não há luz: as fotos ficam coloridas */
  .seg-grade .seg-cor { opacity: 1; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 860px) { .seg-grade { grid-template-columns: 1fr; } }

/* ═══════════════ PRIVACIDADE (LGPD) ═══════════════ */
.footer-cookies {
  display: inline; margin-left: 10px; padding: 0; background: none; font: inherit; color: rgba(255,255,255,0.72);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-cookies:hover { color: var(--white); }
.lgpd {
  position: fixed; left: 24px; bottom: 24px; z-index: 1100; width: min(440px, calc(100% - 48px));
  animation: lgpd-entra .6s var(--ease-out-expo) both;
}
.lgpd[hidden] { display: none; }
.lgpd.saindo { animation: lgpd-sai .32s ease both; }
@keyframes lgpd-entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lgpd-sai { to { opacity: 0; transform: translateY(12px); } }
.lgpd-cartao {
  max-height: calc(100vh - 48px); overflow-y: auto; padding: 20px 22px 18px;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); box-shadow: var(--shadow-xl);
}
.lgpd-topo { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.lgpd-icone { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--blue-light); color: var(--blue); }
.lgpd-icone svg { width: 20px; height: 20px; }
.lgpd-topo h2 { flex: 1; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--dark); }
.lgpd-fechar { width: 34px; height: 34px; border-radius: 10px; background: var(--gray-50); color: var(--gray-500); font-size: 1.3rem; line-height: 1; }
.lgpd-fechar[hidden] { display: none; }
.lgpd-fechar:hover { color: var(--dark); }
.lgpd-texto { font-size: 0.86rem; line-height: 1.6; color: var(--gray-700); }
.lgpd-texto a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.lgpd-prefs { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.lgpd-prefs[hidden] { display: none; }
.lgpd-cat {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 14px; cursor: pointer;
}
.lgpd-cat-texto { flex: 1; min-width: 0; }
.lgpd-cat strong { display: block; font-family: var(--font-display); font-size: 0.86rem; color: var(--dark); }
.lgpd-cat small { display: block; font-size: 0.76rem; line-height: 1.45; color: var(--gray-500); }
.lgpd-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lgpd-chave { position: relative; flex-shrink: 0; width: 42px; height: 24px; border-radius: var(--radius-full); background: var(--gray-300); transition: background .25s; }
.lgpd-chave::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out-expo);
}
.lgpd-cat input:checked + .lgpd-chave { background: var(--gradient-primary); }
.lgpd-cat input:checked + .lgpd-chave::after { transform: translateX(18px); }
.lgpd-cat input:disabled + .lgpd-chave { opacity: .55; }
.lgpd-cat input:focus-visible + .lgpd-chave { outline: 3px solid var(--cyan); outline-offset: 3px; }
.lgpd-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.lgpd-btn {
  flex: 1 1 0; min-width: 120px; min-height: 44px; padding: 10px 16px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--white);
  background: var(--gradient-primary); box-shadow: var(--shadow-blue); transition: transform .2s, box-shadow .2s;
}
.lgpd-btn[data-acao="recusar"] { background: var(--dark); box-shadow: 0 8px 24px rgba(15,25,50,0.22); }
.lgpd-btn:hover { transform: translateY(-2px); }
.lgpd-btn[hidden] { display: none; }
.lgpd-btn.salvar { flex-basis: 100%; }
.lgpd-link { flex-basis: 100%; padding: 2px 0; background: none; font-size: 0.84rem; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-align: center; }
.lgpd-link[hidden] { display: none; }
.lgpd-link:hover { color: var(--dark); }
@media (max-width: 560px) {
  .lgpd { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .lgpd-cartao { max-height: calc(100vh - 24px); padding: 18px 16px 16px; }
  body.lgpd-aberto .whatsapp-float { opacity: 0; pointer-events: none; }   /* o aviso ocupa a largura: o botão volta quando ele sai */
}
@media (prefers-reduced-motion: reduce) {
  .lgpd, .lgpd.saindo, .lgpd-chave, .lgpd-chave::after { animation: none; transition: none; }
}

/* ═══════════════ DIVERSOS ═══════════════ */
.brand-curves { position: absolute; pointer-events: none; z-index: 0; opacity: 0.06; }
.brand-curves.top-right { top: -60px; right: -120px; width: 560px; }
::selection { background: var(--cyan); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Quem pede menos movimento no sistema não vê animação contínua nem entrada ao rolar */
@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; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .marquee-track { animation: none; width: auto; }
  .marquee-grupo { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-grupo[aria-hidden="true"] { display: none; }
}

/* ═══════════════ ÍCONES (sprite) ═══════════════ */
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.bleed-icon .i { stroke-width: 1.4; }
.card .bleed-icon, .card-header .i { color: var(--card-cor); }
.btn-primary .i, .btn-outline .i, .btn-white .i { width: 20px; height: 20px; }
.wave svg { height: clamp(36px, 5.6vw, 80px); }

/* ═══════════════ LOGO 3D DO MINDAI ═══════════════
   O <img> é o quadro parado; o mindai-3d.js troca por um <canvas> animado quando há WebGL. */
.mindai-3d { display: inline-flex; width: var(--t, 40px); height: var(--t, 40px); flex-shrink: 0; position: relative; }
.mindai-3d > img, .mindai-3d > canvas { width: 100% !important; height: 100% !important; display: block; }
.card-header .mindai-3d { margin: -8px -6px -8px -8px; }
.orbit-mindai { overflow: visible; }
.float-icon.mindai { background: none; width: 50px; height: 50px; margin: -4px -4px -4px -6px; }
.vidro-icon.mindai { background: none; width: 76px; height: 76px; margin: -8px 0 4px -8px; }
.novidades-3d { display: flex; margin: -20px auto 6px; }
@media (max-width: 600px) { .novidades-3d { --t: 120px !important; } }
.vidro-card .vidro-icon.mindai, .vidro-card.warm .vidro-icon.mindai { background: none; }
/* Pequenos: recorte redondo no miolo (o script desenha o miolo; a imagem parada amplia igual) */
.mindai-3d.pequeno { overflow: hidden; border-radius: 50%; }
.mindai-3d.pequeno > img { transform: scale(1.35); }

/* ═══════════════ ONDA DE VIDRO (topo) ═══════════════
   Ocupa a metade direita do topo, de cima a baixo, e se dissolve no fundo à esquerda e embaixo.
   O <img> é o quadro parado; o onda-vidro.js põe o <canvas> 3D por cima quando há WebGL. */
.hero { gap: 0; }
.hero .container { width: 100%; }
.hero-espaco { min-height: 1px; }
.onda-vidro {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(60vw, 1100px);
  z-index: 1;
  pointer-events: none;
  /* esmaecido reto à esquerda: desde o render novo o próprio vidro nasce do chão (o recorte curvo o escondia) */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-composite: intersect;
}
/* o vídeo vem espelhado: o "rio" de vidro desce pela borda direita da tela e a onda corre pela base até o texto */
.onda-vidro > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; transform: scaleX(-1); display: block; }
@media (max-width: 960px) {
  .hero { flex-direction: column; padding-bottom: 90px; }
  .hero-espaco { display: none; }
  .onda-vidro {
    position: relative;
    width: 100%;
    height: 340px;
    margin-top: 8px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 80%, transparent 100%);
  }
}

/* ═══════════════ RIO DE VIDRO (desce pela página atrás do conteúdo) ═══════════════
   O rio-vidro.js põe uma tela (canvas) fixa com o vidro (ladrilhos do Blender, A, B, A, B... sem emenda, com o fluxo
   de dados renderizado dentro) em "multiplicar": o branco do ladrilho some. Ela fica entre o fundo das seções claras
   e o conteúdo delas; as partes escuras ficam por cima, então o rio passa por trás delas e reaparece nas claras.
   O caminho se desenha com a rolagem. */
.rio-vidro { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1; }
.rio-vidro { mix-blend-mode: multiply; }
.rio-ligado :is(.sobre, .minderp, .areas, .segmentos, .clientes, .contato) > :is(.container, .mods-palco, .marquee) { position: relative; z-index: 2; }
.rio-ligado :is(.eco, .novidades, .emitia, .numeros, .cta-banner, .footer) { position: relative; z-index: 3; }
/* História: só a foto cobre o vidro; o lado branco vira transparente (mesmo branco do fundo da seção) e mostra o rio */
.rio-ligado .historia-bg, .rio-ligado .historia-dots { z-index: 2; }
.rio-ligado .historia-bg {
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 72%), linear-gradient(180deg, transparent 0, #000 90px, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 45%, transparent 72%), linear-gradient(180deg, transparent 0, #000 90px, #000 55%, transparent 100%);
  mask-composite: intersect;
}
.rio-ligado .historia-dots { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); }
.rio-ligado .historia .container { z-index: 3; }
/* ondas de transição: todas têm fundo claro e o desenho escuro por cima (as que levam a uma seção escura tiveram o
   desenho invertido, mesmo visual): só o desenho escuro cobre o rio; claro sobre claro não cobre nada */
.rio-ligado .implantacao-palco { z-index: 2; }
.rio-ligado .wave > svg { position: relative; z-index: 3; }
.rio-ligado .wave > svg:has(path[fill="#FFFFFF"], path[fill="#F5F8FC"]) { z-index: auto; }
/* as ondas internas da História (claras, z-index 3 em linha) viram o esmaecido da própria foto */
.rio-ligado .historia > div[style][aria-hidden] { display: none; }

/* ═══════════════ NOVIDADES: mergulho no MindAI e voo em profundidade ═══════════════
   Sem a classe voo-ligado (sem JS, celular, menos movimento): a grade de cards de sempre.
   Com voo-ligado (o site.js liga): a seção fica alta e o palco preso; a câmera mergulha no logo do MindAI (clarão) e
   depois voa entre os cards, que ficam em profundidades diferentes, com estrelas abrindo como um túnel. */
.novidades-palco { position: relative; }
.voo-estrelas, .voo-clarao { display: none; }
.novidades.voo-ligado { padding: 0; height: calc(100vh + var(--passos-voo, 8) * 85vh); overflow: clip; }   /* hidden anularia o sticky do palco */
.voo-ligado .novidades-palco { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.voo-ligado .voo-estrelas { display: block; position: absolute; inset: 0; pointer-events: none; }
.voo-estrelas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.voo-estrelas i {
  position: absolute;
  inset: -60%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1.6px), radial-gradient(circle, rgba(10,173,237,0.7) 1px, transparent 1.8px);
  background-size: 140px 140px, 230px 230px;
  background-position: 0 0, 60px 90px;
  will-change: transform, opacity;
}
.voo-estrelas i:nth-child(2) { background-size: 190px 190px, 310px 310px; background-position: 40px 20px, 120px 160px; }
.voo-estrelas i:nth-child(3) { background-size: 260px 260px, 170px 170px; background-position: 90px 130px, 20px 40px; }
.voo-ligado .voo-clarao {
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,170,90,0.6), rgba(10,173,237,0.28) 34%, transparent 66%);
  opacity: 0;
  pointer-events: none;
}
.voo-ligado .novidades-palco > .container { position: absolute; inset: 0; max-width: none; padding: 0; }
.voo-ligado .reveal { transition: none; }
.voo-ligado .section-header {
  position: absolute;
  left: 50%; top: 50%;
  width: min(760px, 90vw);
  margin: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.voo-ligado .novidades-3d { will-change: transform, opacity; }
.voo-ligado .vidro-grid { position: absolute; inset: 0; display: block; perspective: 1000px; perspective-origin: 50% 50%; }
.voo-ligado .vidro-card {
  position: absolute;
  left: 50%; top: 50%;
  width: min(400px, 86vw);
  transition: none;
  will-change: transform, opacity;
  background: rgba(14,28,58,0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* no voo, cada card ocupa a tela sozinho: maior e com texto maior */
.voo-ligado .vidro-card { width: min(540px, 86vw); padding: 34px 36px; }
.voo-ligado .vidro-card h3 { font-size: 1.45rem; }
.voo-ligado .vidro-card p { font-size: 1.04rem; color: rgba(255,255,255,0.7); }

/* ═══════════════ MINDERP: tela que gira e letreiro das áreas ═══════════════
   O site.js gira a tela com a rolagem (frente: Início; verso: painel) e anda o letreiro de lado. Sem JS ou com menos
   movimento, fica a frente parada e o letreiro parado. */
.minderp .container { position: relative; z-index: 1; }
.minderp-letreiro {
  position: absolute;
  left: 0; top: 50%;
  display: flex;
  white-space: nowrap;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,106,43,0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}
.giro { position: relative; transform-style: preserve-3d; will-change: transform; }
.giro-verso { position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.giro-verso img { width: 100%; height: auto; display: block; }
.giro-frente { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.minderp .tela-wrap { perspective: 1600px; }

/* ═══════════════ MINDAI: abertura e fecho em anel ═══════════════
   [Chamado #4902] Só com o voo ligado. Abertura: uma camada clara cobre o palco escuro, com os quadros do MindAI
   (desenhados) em anel e o letreiro no meio; o site.js gira o anel, abre os quadros e apaga a camada (--veu).
   Fecho, no fim da seção: os quadros com as imagens giram no escuro e o símbolo do Mind, transparente (uma janela
   para o Emitia), cresce até abrir a seção seguinte. */
.voo-abertura { display: none; }
.voo-ligado .voo-abertura {
  display: block; position: absolute; inset: 0; z-index: 30; pointer-events: none; overflow: hidden;
  perspective: 1500px; perspective-origin: 50% 50%;
}
.voo-ligado .voo-abertura::before { content: ''; position: absolute; inset: 0; background: var(--gray-50); opacity: var(--veu, 1); }
.ab-rio { display: none; }
.rio-ligado .voo-ligado .ab-rio {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  mix-blend-mode: multiply; opacity: var(--veu, 1);
}
.voo-ligado .voo-abertura.aberta { visibility: hidden; }
.ab-cena { position: absolute; inset: 0; transform-style: preserve-3d; transform: scale(var(--k, 1)); }
.ab-letreiro {
  position: absolute; left: 0; top: 50%; display: flex; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(6rem, 12vw, 11.5rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1; color: var(--dark); transform: translate3d(0, -50%, 0); will-change: transform, opacity;
}
.ab-anel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.ab-quadro {
  position: absolute; left: -130px; top: -180px; width: 260px; height: 360px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(165deg, #172A57 0%, #0B1630 70%);
  box-shadow: 0 30px 60px -30px rgba(11,22,48,0.55); will-change: transform, opacity;
}
.ab-quadro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ab-quadro::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,48,0) 35%, rgba(11,22,48,0.92) 100%); }
.ab-liso::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 70% 20%, rgba(255,106,43,0.42), transparent 70%), radial-gradient(70% 50% at 10% 90%, rgba(10,173,237,0.25), transparent 70%);
}
.ab-chip {
  position: absolute; z-index: 1; left: 16px; top: 16px; padding: 6px 12px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.26); color: var(--white);
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
}
.ab-quadro p { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; color: rgba(255,255,255,0.74); font-size: 0.86rem; line-height: 1.45; }
.ab-quadro p strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--white); margin-bottom: 4px; }
.ab-icone { position: absolute; z-index: 1; left: 50%; top: 40%; width: 84px; height: 84px; transform: translate(-50%, -50%); color: rgba(255,255,255,0.9); stroke-width: 1.4; }
.ab-barras { position: absolute; z-index: 1; left: 34px; right: 34px; top: 26%; height: 110px; display: flex; align-items: flex-end; gap: 12px; }
.ab-barras i { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #FFA500, #FF4C1E); }
.ab-barras i:nth-child(1) { height: 38%; } .ab-barras i:nth-child(2) { height: 62%; } .ab-barras i:nth-child(3) { height: 48%; }
.ab-barras i:nth-child(4) { height: 80%; } .ab-barras i:nth-child(5) { height: 100%; background: linear-gradient(180deg, #38C6FF, #1458AC); }
/* o fecho, depois da última estação: o anel no escuro e o símbolo do Mind transparente, uma janela para o Emitia (claro)
   que cresce até abrir a seção seguinte */
.voo-fecho { display: none; }
.voo-ligado .voo-fecho {
  display: block; position: absolute; inset: 0; z-index: 30; pointer-events: none; overflow: hidden;
  perspective: 1500px; perspective-origin: 50% 50%; visibility: hidden;
}
.voo-ligado .voo-fecho.ativo { visibility: visible; }
/* do claro do fecho para o escuro do Emitia: só com o voo ligado (sem ele, MindAI e Emitia já são escuros) */
.onda-fecho { display: none; }
.novidades.voo-ligado + .onda-fecho { display: block; }
/* entre o vidro do fecho e o Emitia o rio de vidro não aparece: a onda inteira (o claro e o desenho) cobre ele */
.rio-ligado .onda-fecho { z-index: 3; }
.novidades.voo-ligado::after { display: none; }   /* o brilho do pé da seção ficaria por cima do claro do fecho */
.ab-janela {
  position: absolute; inset: 0; background: #F2FBFE; opacity: var(--janela, 0);   /* a cor do topo do Emitia: sem emenda ao sair */
  -webkit-mask: url(../minderp-simbolo.svg) center / var(--furo, 0px) auto no-repeat;
  mask: url(../minderp-simbolo.svg) center / var(--furo, 0px) auto no-repeat;
}
/* o vidro do topo dentro da janela, sem o espelho do topo: aqui ele corre pela esquerda e esmaece para a direita */
.ab-fluxo {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(62vw, 1120px);
  /* esmaece para a direita e no pé, como o vidro do topo: sem corte reto quando o palco sai da tela */
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 34%), linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, transparent 0%, #000 34%), linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-composite: intersect;
}
.ab-fluxo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; display: block; }
/* desenhos dos quadros sem foto: a conversa do assistente e a onda da voz */
.ab-balao { position: absolute; z-index: 1; left: 26px; right: 26px; top: 24%; display: flex; flex-direction: column; gap: 10px; }
.ab-balao i { display: block; height: 30px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2); }
.ab-balao i:nth-child(1) { width: 78%; }
.ab-balao i:nth-child(2) { width: 58%; margin-left: auto; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #FFA500, #FF4C1E); border: 0; }
.ab-balao i:nth-child(3) { width: 88%; height: 42px; }
.ab-onda { position: absolute; z-index: 1; left: 34px; right: 34px; top: 30%; height: 90px; display: flex; align-items: center; gap: 9px; }
.ab-onda i { flex: 1; border-radius: 6px; background: linear-gradient(180deg, #38C6FF, #1458AC); }
.ab-onda i:nth-child(1), .ab-onda i:nth-child(7) { height: 26%; } .ab-onda i:nth-child(2), .ab-onda i:nth-child(6) { height: 52%; }
.ab-onda i:nth-child(3), .ab-onda i:nth-child(5) { height: 80%; } .ab-onda i:nth-child(4) { height: 100%; background: linear-gradient(180deg, #FFA500, #FF4C1E); }
/* o quadro do MindAI: o logo 3D no escuro, que acende quando chega de frente */
.ab-mindai { background: radial-gradient(110% 80% at 50% 40%, #24345F 0%, #0B1630 60%, #060D1F 100%); }
.ab-mindai::after { background: linear-gradient(180deg, rgba(6,13,31,0) 55%, rgba(6,13,31,0.85) 100%); }
.ab-mindai > .ab-logo {
  inset: auto; left: 50%; top: 42%; width: 190px; height: 190px; object-fit: contain;
  transform: translate(-50%, -50%) scale(var(--pulso, 1));
  filter: drop-shadow(0 0 calc(var(--brilho, 0) * 34px) rgba(255,138,0,0.85));
}

/* ═══════════════ MINDAI: o que ele faz, em demonstrações ═══════════════
   Cada estação é um texto e uma janela do MindERP com o painel do MindAI, onde a conversa acontece (o mindai-demos.js
   toca os passos quando a estação chega na tela). A conversa inteira já está no HTML: sem JS, ou com menos movimento,
   aparece pronta. No voo (voo-ligado), as estações ficam em profundidades diferentes, como antes os cards. */
.ia-estacoes { display: grid; gap: 64px; position: relative; z-index: 2; margin-top: 30px; }
.ia-estacao { display: grid; grid-template-columns: minmax(280px, 0.66fr) 1.34fr; gap: 48px; align-items: center; }
.ia-estacao.inverte { grid-template-columns: 1.34fr minmax(280px, 0.66fr); }
.ia-estacao.inverte .ia-texto { order: 2; }
.ia-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.ia-num b { font-size: 1.05rem; letter-spacing: 0; background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ia-num::after { content: ''; width: 46px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255,138,0,0.7), transparent); }
.ia-texto h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); margin-bottom: 14px; }
.ia-texto h3 em { font-style: normal; background: var(--gradient-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ia-texto > p { font-size: 1.02rem; line-height: 1.7; color: rgba(255,255,255,0.68); margin-bottom: 18px; }
.ia-provas { list-style: none; display: grid; gap: 9px; }
.ia-provas li { position: relative; padding-left: 22px; font-size: 0.92rem; line-height: 1.5; color: rgba(255,255,255,0.78); }
.ia-provas li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--gradient-warm); }

/* janela do MindERP (clara, como o sistema) com o painel do MindAI à direita */
.mj {
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(400px, 60vh, 520px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  color: var(--dark);
  font-size: 12.5px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08), 0 0 80px rgba(255,138,0,0.12);
  text-align: left;
}
.mj-topo { flex: 0 0 40px; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #F7F9FC; border-bottom: 1px solid var(--gray-100); }
.mj-pontos { display: flex; gap: 6px; }
.mj-pontos i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); }
.mj-pontos i:first-child { background: #FF8A65; }
.mj-trilha { font-weight: 600; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mj-trilha b { color: var(--dark); font-weight: 800; }
.mj-trilha span { margin: 0 6px; color: var(--gray-300); }
.mj-corpo { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 296px; will-change: transform; }
.mj-tela { position: relative; padding: 16px 16px 12px; overflow: hidden; min-width: 0; }
.mj-tela h4 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mj-tela h4 small { font-size: 0.72rem; font-weight: 600; color: var(--gray-500); }
.mj-filtros { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.mj-filtros span { padding: 4px 9px; border-radius: 8px; background: var(--gray-50); border: 1px solid var(--gray-100); color: var(--gray-500); font-weight: 600; font-size: 11px; }
.mj-tabela { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.mj-tabela th { text-align: left; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); font-weight: 800; padding: 6px 8px; border-bottom: 1px solid var(--gray-100); }
.mj-tabela td { padding: 7px 8px; border-bottom: 1px solid var(--gray-100); white-space: nowrap; transition: background 0.9s ease, box-shadow 0.9s ease; }
.mj-tabela td:first-child { font-weight: 700; }
.mj-tabela .num { text-align: right; font-variant-numeric: tabular-nums; }
.mj-tabela tr.marca td { background: var(--warm-light); }
.mj-tabela tr.marca td:first-child { box-shadow: inset 3px 0 0 var(--warm); }
.mj-selo { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.mj-selo.ok { background: var(--blue-light); color: var(--blue); }
.mj-selo.atr { background: #FFE3D6; color: var(--warm-dark); }
.mj-selo.av { background: #FFF4D6; color: #A86A00; }

/* painel do MindAI */
.mj-ia { position: relative; display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--gray-100); background: linear-gradient(180deg, #FFF6EE 0%, #FFFFFF 34%); }
.mj-ia-topo { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--gray-100); font-family: var(--font-display); font-weight: 800; font-size: 0.86rem; }
.mj-ia-topo img { width: 26px; height: 26px; }
.mj-ctx { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; max-width: 150px; padding: 3px 9px; border-radius: 999px; background: var(--blue-light); color: var(--blue); font-family: var(--font-body); font-size: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mj-ctx::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.mj-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; overflow: hidden; }
.mj-msg { max-width: 94%; padding: 8px 11px; border-radius: 14px; line-height: 1.5; }
.mj-msg.eu { align-self: flex-end; background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; }
.mj-msg.ia { align-self: flex-start; background: var(--white); border: 1px solid var(--gray-100); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.mj-msg.ia strong { color: var(--warm-dark); }
.mj-msg ol, .mj-msg ul { margin: 4px 0 0 16px; }
.mj-fonte { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.mj-fonte span { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--gray-50); border: 1px solid var(--gray-100); font-size: 10px; font-weight: 700; color: var(--gray-700); }
.mj-ferr { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 7px; border-radius: 999px; border: 1px dashed var(--gray-300); background: var(--gray-50); color: var(--gray-700); font-size: 10.5px; font-weight: 600; }
.mj-ferr i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #22B573; background: #22B573; position: relative; flex-shrink: 0; }
.mj-ferr i::after { content: ''; position: absolute; left: 2.5px; top: 0.5px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mj-ferr.rodando i { border-color: var(--cyan); border-right-color: transparent; background: none; animation: dash-rotate 0.8s linear infinite; }
.mj-ferr.rodando i::after { display: none; }
.mj-pensa { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--white); border: 1px solid var(--gray-100); }
.mj-pensa i { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-300); animation: mj-pensa 1s ease-in-out infinite; }
.mj-pensa i:nth-child(2) { animation-delay: 0.15s; }
.mj-pensa i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mj-pensa { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-3px); opacity: 1; background: var(--warm); } }
.mj-anexo { align-self: flex-end; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 700; }
.mj-anexo .tipo { width: 30px; height: 34px; border-radius: 6px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: var(--white); background: #1D7A4A; flex-shrink: 0; }
.mj-anexo .tipo.xml { background: var(--blue); }
.mj-anexo .tipo.pfx { background: #7A3FB8; }
.mj-anexo .tipo.pdf { background: #D9442B; }
.mj-anexo small { display: block; font-weight: 600; color: var(--gray-500); font-size: 10px; }
.mj-entrada { flex: 0 0 38px; margin: 0 10px 10px; display: flex; align-items: center; gap: 6px; padding: 0 5px 0 12px; border: 1px solid var(--gray-100); border-radius: 12px; background: var(--white); color: var(--gray-500); font-size: 11.5px; }
.mj-entrada .mj-digita { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dark); }
.mj-entrada .mj-digita:empty::before { content: attr(data-vazio); color: var(--gray-300); }
.mj-entrada .mj-digita.cursor::after { content: ''; display: inline-block; width: 1.5px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--dark); animation: mj-cursor 0.8s steps(1) infinite; }
@keyframes mj-cursor { 50% { opacity: 0; } }
.mj-bot { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--gray-500); flex-shrink: 0; transition: background 0.3s ease, color 0.3s ease; }
.mj-bot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mj-bot.enviar { background: var(--gradient-warm); color: var(--white); }
.mj-bot.apertado { transform: scale(0.86); }
.mj-msg .pv { transition: opacity 0.7s ease; }
.mj-bot.ouvindo { background: #FFE3D6; color: var(--warm-dark); }

/* passos que o script vai mostrando (sem script, ficam todos à vista) */
.mj-msgs > * { flex-shrink: 0; transform-origin: 50% 100%; transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }   /* sem espremer: as antigas saem por cima */
.demo-ligada .mj-msgs > .oculto { display: none; }
.demo-ligada .mj-msgs > .entrando { opacity: 0; transform: translateY(18px) scale(0.96); }

/* estação da voz: a orbe ocupa o painel enquanto a pergunta é falada */
.mj-orbe { position: absolute; left: 0; right: 0; top: 45px; bottom: 54px; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.6s ease; background: rgba(255,250,246,0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mj-orbe.ativa { opacity: 1; }
.mj-orbe::before { content: ''; position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #060D1F 0, #060D1F 52%, rgba(6,13,31,0) 71%); }
.mj-onda { position: absolute; z-index: 4; left: 50%; bottom: 66px; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; height: 30px; opacity: 0; transition: opacity 0.4s ease; }
.mj-onda.ativa { opacity: 1; }
.mj-onda i { width: 3px; height: 4px; border-radius: 3px; background: var(--warm); }
.mj-transcreve { position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 104px; text-align: center; font-weight: 700; color: var(--dark); font-size: 12px; opacity: 0; transition: opacity 0.4s ease; }
.mj-transcreve.ativa { opacity: 1; }
.mj-transcreve .emb { color: var(--gray-300); }

/* estação da imagem: a foto anexada, com a leitura passando por ela */
.mj-foto { position: relative; align-self: flex-end; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); background: #F2F4F8; }
.mj-foto svg { display: block; width: 100%; height: auto; }
.mj-foto .varre { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(10,173,237,0.22) 70%, rgba(10,173,237,0.7)); pointer-events: none; }
.mj-foto.lendo .varre { animation: mj-varre 1.3s ease-in-out 2; }
@keyframes mj-varre { to { top: 100%; } }
.mj-foto .caixa { position: absolute; border: 1.5px solid var(--warm); border-radius: 4px; background: rgba(255,138,0,0.12); }
.demo-ligada .mj-foto .caixa { opacity: 0; transform: scale(1.2); transition: opacity 0.7s ease, transform 0.9s var(--ease-out-expo); }
.demo-ligada .mj-foto.achou .caixa { opacity: 1; transform: none; }
.mj-foto.achou .caixa:nth-of-type(2) { transition-delay: 0.3s; }
.mj-foto.achou .caixa:nth-of-type(3) { transition-delay: 0.6s; }

/* Auto-Implementação: os arquivos viram cadastros em revisão */
.ai-trilha { display: flex; gap: 6px; margin-bottom: 12px; }
.ai-trilha span { flex: 1; position: relative; padding: 7px 6px 7px 25px; border-radius: 9px; background: var(--gray-50); border: 1px solid var(--gray-100); font-size: 10.5px; font-weight: 700; color: var(--gray-500); transition: all 0.4s ease; white-space: nowrap; }
.ai-trilha span::before { content: attr(data-n); position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; background: var(--gray-300); color: var(--white); }
.ai-trilha span.feita { color: var(--dark); border-color: rgba(34,181,115,0.35); background: #EAF8F1; }
.ai-trilha span.feita::before { background: #22B573; }
.ai-trilha span.agora { color: var(--warm-dark); border-color: rgba(255,106,43,0.45); background: var(--warm-light); }
.ai-trilha span.agora::before { background: var(--warm); }
.ai-contas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.ai-contas div { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--gray-100); background: var(--white); }
.ai-contas b { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ai-contas small { color: var(--gray-500); font-weight: 600; font-size: 10px; }
.ai-aprovar { position: absolute; right: 16px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; background: var(--gradient-warm); color: var(--white); font-weight: 800; font-size: 11.5px; box-shadow: var(--shadow-warm); transition: transform 0.25s ease, filter 0.25s ease; }
.ai-aprovar.apertado { transform: scale(0.93); filter: brightness(0.9); }
.mj-cursor { position: absolute; width: 18px; height: 18px; left: 55%; top: 70%; opacity: 0; pointer-events: none; z-index: 5; transition: left 0.9s var(--ease-out-expo), top 0.9s var(--ease-out-expo), opacity 0.3s ease; }
.mj-cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }

/* a última estação: o que mais chegou ao MindERP, cada um com a sua pequena demonstração */
.ia-mais { display: block; }
.ia-mais > header { text-align: center; margin-bottom: 26px; }
.ia-mais > header h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; color: var(--white); }
.ia-mais > header p { color: rgba(255,255,255,0.6); margin-top: 6px; }
.mais-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mais-item { border-radius: 18px; padding: 14px 14px 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.mais-item h4 { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.02rem; margin: 14px 2px 6px; }
.mais-item p { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.6); margin: 0 2px; }
.mais-vista { position: relative; height: 156px; border-radius: 12px; background: var(--white); overflow: hidden; color: var(--dark); font-size: 11px; padding: 10px; }

@media (max-width: 1100px) {
  .mj-corpo { grid-template-columns: 1fr 262px; }
  .mais-grade { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .ia-estacao, .ia-estacao.inverte { grid-template-columns: 1fr; gap: 26px; }
  .ia-estacao.inverte .ia-texto { order: 0; }
  .mj { height: 440px; }
}
@media (max-width: 600px) {
  .mj-corpo { grid-template-columns: 1fr; }
  .mj-tela { display: none; }
  .mj-ia { border-left: 0; }
  .mais-grade { grid-template-columns: 1fr; }
}

/* MindAI: garantias do cabeçalho, botões da tela e as telas de cada estação */
.ia-garantias { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ia-garantias li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.82); font-size: 0.86rem; font-weight: 600; }
.ia-garantias li::before { content: ''; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gradient-warm); }
.mj-demo { margin-left: auto; white-space: nowrap; font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-300); }
.mj-acoes { display: flex; gap: 6px; margin-bottom: 10px; }
.mj-acoes span { padding: 5px 11px; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--white); font-weight: 700; font-size: 11px; color: var(--gray-700); transition: box-shadow 0.8s ease, border-color 0.8s ease, color 0.8s ease; }
.mj-acoes span:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.mj-acoes span.marca { border-color: var(--warm); color: var(--warm-dark); box-shadow: 0 0 0 4px rgba(255,106,43,0.18); animation: mj-alvo 1.4s ease-in-out infinite; }
@keyframes mj-alvo { 50% { box-shadow: 0 0 0 8px rgba(255,106,43,0.08); } }
.mj-ic { width: 12px; height: 12px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: 0.75; }
.mj-video { display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 6px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; font-size: 11px; }
.mj-video .play { width: 44px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(135deg, #1458AC, #0AADED); flex-shrink: 0; }
.mj-video .play svg { width: 12px; height: 12px; fill: var(--white); }
.mj-video small { display: block; font-weight: 600; color: rgba(255,255,255,0.6); font-size: 10px; }

/* base de conhecimento: os documentos entram e viram trechos indexados */
.kb-docs { list-style: none; display: grid; gap: 8px; }
.kb-docs li { display: grid; grid-template-columns: 34px 1fr 70px auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--gray-100); border-radius: 10px; background: var(--white); }
.kb-docs .tipo { width: 34px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: var(--white); font-size: 8.5px; font-weight: 800; }
.tipo.pdf { background: #D9442B; } .tipo.mp4 { background: #7A3FB8; } .tipo.docx { background: #1458AC; } .tipo.url { background: #22B573; }
.kb-nome { font-weight: 700; font-size: 11.5px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-nome small { display: block; font-weight: 600; color: var(--gray-500); font-size: 10px; }
.kb-barra { height: 5px; border-radius: 5px; background: var(--gray-100); overflow: hidden; }
.kb-barra i { display: block; height: 100%; width: 100%; border-radius: 5px; background: var(--gradient-primary); }
.kb-ok { font-size: 10px; font-weight: 800; color: #22B573; }
.demo-ligada [data-doc] { opacity: 0; transform: translateX(-14px); transition: opacity 0.8s ease, transform 1s var(--ease-out-expo); }
.demo-ligada [data-doc].entrou { opacity: 1; transform: none; }
.demo-ligada [data-doc] .kb-barra i { width: 0; transition: width 1.8s ease; }
.demo-ligada [data-doc].entrou .kb-barra i { width: 100%; }
.demo-ligada [data-doc] .kb-ok { opacity: 0; transition: opacity 0.5s ease 1.8s; }
.demo-ligada [data-doc].entrou .kb-ok { opacity: 1; }
.kb-trechos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 14px; }
.kb-trechos i { height: 14px; border-radius: 4px; background: var(--blue-light); transition: background 0.7s ease, opacity 0.6s ease, transform 0.8s var(--ease-out-expo), box-shadow 0.6s ease; }
.kb-trechos i:nth-child(-n+6) { background: #FBE1DB; }
.kb-trechos i:nth-child(n+7):nth-child(-n+12) { background: #ECDDF8; }
.kb-trechos i:nth-child(n+13):nth-child(-n+18) { background: #DDE8F7; }
.kb-trechos i:nth-child(n+19) { background: #D8F3E6; }
.kb-trechos i.acha { background: var(--warm); box-shadow: 0 0 0 3px rgba(255,106,43,0.22); }
.kb-rotulo { margin-top: 14px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.kb-rotulo + .kb-trechos { margin-top: 8px; }
.demo-ligada .kb-trechos i { opacity: 0; transform: scale(0.4); }
.demo-ligada .kb-trechos i.dentro { opacity: 1; transform: none; }

/* forecast: indicadores e gráfico; a análise ocupa o painel da direita */
.mj-corpo.fc { grid-template-columns: 1fr 330px; }
.fc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.fc-kpis div { padding: 10px; border-radius: 10px; border: 1px solid var(--gray-100); }
.fc-kpis small { display: block; color: var(--gray-500); font-weight: 600; font-size: 10px; }
.fc-kpis b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; }
.fc-grafico { height: 46%; display: flex; align-items: flex-end; gap: 6px; padding: 0 2px; border-bottom: 1px solid var(--gray-100); }
.fc-grafico i { flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #FFA500, #FF4C1E); }
.fc-grafico i.prev { background: repeating-linear-gradient(135deg, rgba(255,106,43,0.35) 0 4px, rgba(255,106,43,0.12) 4px 8px); }
.fc-legenda { display: flex; gap: 14px; margin-top: 8px; font-size: 10px; font-weight: 700; color: var(--gray-500); }
.fc-legenda span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--warm); }
.fc-legenda span.prev::before { background: rgba(255,106,43,0.3); }
.fc-analise .mj-msgs { justify-content: flex-start; }
.mj-msg.fc-bloco { max-width: 100%; }
.mj-msg.fc-bloco b { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-dark); margin-bottom: 2px; }

/* as quatro novidades: cada uma com uma pequena tela que se mexe */
.nav-busca { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 9px; border: 1.5px solid var(--cyan); box-shadow: 0 0 0 4px var(--blue-glow); font-weight: 700; }
.nav-busca svg, .nav-res svg, .chat-banco svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--gray-500); flex-shrink: 0; }
.nav-digita::after { content: ''; display: inline-block; width: 1.5px; height: 12px; margin-left: 1px; vertical-align: -2px; background: var(--dark); animation: mj-cursor 0.8s steps(1) infinite; }
.nav-res { list-style: none; margin-top: 8px; display: grid; gap: 5px; }
.nav-res li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: var(--gray-50); font-weight: 700; transition: opacity 0.6s ease, transform 0.8s var(--ease-out-expo); }
.nav-res li:first-child { background: var(--blue-light); }
.nav-res li:first-child svg { color: #F5A400; fill: #F5A400; }
.nav-res small { margin-left: auto; font-weight: 600; color: var(--gray-500); font-size: 9.5px; }
.nav-demo.buscando .nav-res li { opacity: 0; transform: translateY(6px); }
.chat-b { max-width: 82%; padding: 6px 9px; border-radius: 11px; margin-bottom: 6px; font-weight: 600; line-height: 1.4; }
.chat-b.ele { background: var(--gray-50); border: 1px solid var(--gray-100); border-bottom-left-radius: 3px; }
.chat-b.eu { margin-left: auto; background: var(--navy); color: var(--white); border-bottom-right-radius: 3px; }
.chat-banco { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: var(--ink); color: rgba(255,255,255,0.6); font-size: 9.5px; font-weight: 700; }
.chat-banco svg { color: var(--cyan); }
.chat-cifra { font-family: Consolas, 'Courier New', monospace; color: #38C6FF; font-size: 10px; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; }
.pd-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pd-kpis div { padding: 6px 8px; border-radius: 8px; background: var(--gray-50); }
.pd-kpis small { display: block; color: var(--gray-500); font-weight: 600; font-size: 9.5px; }
.pd-kpis b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-barras { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 64px; display: flex; align-items: flex-end; gap: 5px; }
.pd-barras i { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: var(--gradient-primary); transform-origin: bottom; transition: transform 1.5s var(--ease-out-expo); }
.pd-barras i:nth-child(2) { transition-delay: 0.06s; } .pd-barras i:nth-child(3) { transition-delay: 0.12s; } .pd-barras i:nth-child(4) { transition-delay: 0.18s; }
.pd-barras i:nth-child(5) { transition-delay: 0.24s; } .pd-barras i:nth-child(6) { transition-delay: 0.3s; } .pd-barras i:nth-child(7) { transition-delay: 0.36s; }
.painel-demo.zerado .pd-barras i { transform: scaleY(0.05); }
.trib-l { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 2px; border-bottom: 1px dashed var(--gray-100); font-weight: 600; color: var(--gray-700); }
.trib-l b { font-family: var(--font-display); font-weight: 800; color: var(--dark); font-variant-numeric: tabular-nums; }
.trib-l.cbs b { color: var(--blue); } .trib-l.ibs b { color: var(--warm-dark); }
.trib-barra { position: absolute; left: 10px; right: 10px; bottom: 12px; height: 8px; border-radius: 8px; background: var(--gray-100); display: flex; overflow: hidden; }
.trib-barra i { height: 100%; transition: width 1.6s var(--ease-out-expo); }
.trib-barra i.cbs { width: 90%; background: var(--gradient-primary); }
.trib-barra i.ibs { width: 10%; background: var(--gradient-warm); }
.trib-demo.zerado .trib-barra i { width: 0; }

@media (max-width: 1100px) { .mj-corpo.fc { grid-template-columns: 1fr 280px; } }
@media (max-width: 600px) { .mj-corpo.fc { grid-template-columns: 1fr; } }

/* no voo: as estações ocupam a tela, uma de cada vez */
.voo-ligado .ia-estacoes { position: absolute; inset: 0; display: block; margin: 0; perspective: 1200px; perspective-origin: 50% 50%; }
.voo-ligado .ia-estacao { position: absolute; left: 50%; top: 50%; width: min(1180px, 92vw); will-change: transform, opacity; }
.voo-ligado .ia-mais { width: min(1120px, 92vw); }

/* estação 04: a gravação real da Auto-Implementação, com os capítulos andando junto */
.mj.mj-real { height: auto; margin: 0; background: #1B1B1E; }
.mj-real .mj-topo { background: #242428; border-bottom-color: rgba(255,255,255,0.07); }
.mj-real .mj-trilha { color: rgba(255,255,255,0.5); }
.mj-real .mj-trilha b { color: var(--white); }
.mj-real .mj-trilha span { color: rgba(255,255,255,0.25); }
.mj-demo.real { display: inline-flex; align-items: center; gap: 6px; color: #FF9A4D; }
.mj-demo.real::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #FF5A3C; box-shadow: 0 0 0 0 rgba(255,90,60,0.6); animation: mj-gravando 1.6s ease-out infinite; }
@keyframes mj-gravando { 70% { box-shadow: 0 0 0 7px rgba(255,90,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0); } }
.mj-filme { position: relative; aspect-ratio: 1280 / 704; background: #111114; }
.mj-filme video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.mj-capitulos { display: flex; gap: 6px; padding: 10px 10px 8px; }
.mj-capitulos button { flex: 1; position: relative; overflow: hidden; padding: 8px 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); font: 700 11px var(--font-body); text-align: left; white-space: nowrap; cursor: pointer; transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.mj-capitulos button:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.mj-capitulos button i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--gradient-warm); }
.mj-capitulos button.agora { color: var(--white); border-color: rgba(255,138,0,0.55); background: rgba(255,138,0,0.12); }
.mj-real figcaption { padding: 0 12px 10px; color: rgba(255,255,255,0.42); font-size: 11px; line-height: 1.4; }
@media (max-width: 600px) { .mj-capitulos button { font-size: 9.5px; padding: 7px 5px 9px; } }

/* ═══════════════ HISTÓRIA: as etapas numa faixa que anda de lado (navegação 4/5) ═══════════════
   O site.js empurra a faixa para a esquerda conforme a seção passa pela tela e a linha vai se desenhando.
   Sem JS ou com menos movimento, a faixa rola de lado com o dedo ou a barra. */
.historia-trilha { position: relative; z-index: 3; padding: 10px 0 100px; overflow-x: auto; scrollbar-width: none; }
.historia-trilha::-webkit-scrollbar { display: none; }
.historia-trilha ol { position: relative; list-style: none; display: flex; gap: 20px; width: max-content; padding: 34px max(24px, calc((100vw - 1200px) / 2 + 24px)) 0; }
.historia-trilha ol::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: linear-gradient(90deg, rgba(20,88,172,0.15), rgba(10,173,237,0.25)); }
.historia-trilha ol::after { content: ''; position: absolute; left: 0; top: 14px; height: 2px; width: calc(var(--linha, 1) * 100%); background: linear-gradient(90deg, #1458AC, #0AADED 70%, #FF8A00); }
.historia-trilha li { position: relative; flex: 0 0 250px; padding: 20px 22px 22px; border-radius: 20px; background: rgba(255,255,255,0.96); border: 1px solid var(--gray-100); box-shadow: var(--shadow-md); }
.historia-trilha li::before { content: ''; position: absolute; left: 22px; top: -26px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--cyan); }
.historia-trilha li.ht-agora::before { border-color: #FF8A00; box-shadow: 0 0 0 6px rgba(255,138,0,0.18); }
.historia-trilha .ht-num { display: block; font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; color: var(--blue-mid); margin-bottom: 6px; }
.historia-trilha li.ht-agora .ht-num { color: var(--warm-dark); }
.historia-trilha b { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.historia-trilha li > span:last-child { display: block; font-size: 0.9rem; line-height: 1.55; color: var(--gray-700); }
.historia-trilha.anda { overflow: hidden; }
.historia-trilha.anda ol { will-change: transform; }
