/* ===================================================================
   ControlCore ERP — site institucional
   Design tokens + sistema visual completo (sem framework CSS externo)
   =================================================================== */

:root {
  /* Marca (extraída do logo oficial) */
  --ink-900: #171d29;
  --ink-800: #1e2632;
  --ink-700: #2a3342;
  --ink-600: #3b465a;
  --brand-700: #16309e;
  --brand-600: #1b3ab8;
  --brand-500: #2348d9;
  --brand-400: #4a68e6;
  --brand-050: #eef2ff;
  --pos-600: #0f9d74;
  --pos-050: #e7f8f1;
  --warn-600: #b7791f;
  --warn-050: #fdf3e2;

  /* Neutros */
  --slate-900: #151a23;
  --slate-700: #3d4759;
  --slate-600: #55606f;
  --slate-500: #6b7688;
  --slate-400: #8a94a3;
  --slate-300: #b6bfcc;
  --slate-200: #e3e8f0;
  --slate-100: #edf1f6;
  --slate-050: #f6f8fb;
  --white: #ffffff;

  /* Tipografia */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h1: clamp(2.5rem, 4.6vw, 4rem);
  --h2: clamp(1.9rem, 3.2vw, 2.7rem);
  --h3: 1.15rem;
  --lh-tight: 1.12;
  --lh-normal: 1.6;

  /* Layout */
  --container: 1200px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --gap: clamp(1.5rem, 3vw, 2.5rem);
  --section-pad: clamp(4.5rem, 9vw, 8rem);

  /* Sombra */
  --shadow-sm: 0 1px 2px rgba(21, 26, 35, 0.06);
  --shadow-md: 0 12px 32px -14px rgba(21, 26, 35, 0.22), 0 2px 8px rgba(21, 26, 35, 0.05);
  --shadow-lg: 0 28px 60px -24px rgba(21, 26, 35, 0.32), 0 4px 14px rgba(21, 26, 35, 0.06);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@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; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
section { padding-block: var(--section-pad); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink-900); color: var(--white);
  padding: 0.7rem 1.1rem; border-radius: var(--r-sm);
  z-index: 999; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Foco visível consistente */
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-050); padding: 0.4rem 0.85rem; border-radius: var(--r-pill);
}
.eyebrow--invert { background: rgba(35, 72, 217, 0.18); color: #c9d4ff; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: var(--h2); font-weight: 800; letter-spacing: -0.01em;
  line-height: var(--lh-tight); color: var(--ink-800); margin-top: 0.9rem;
}
.section-head p { font-size: 1.05rem; color: var(--slate-500); margin-top: 1rem; max-width: 48ch; margin-inline: auto; }
.section-head:not(.center) p { margin-inline: 0; }
.section-head:not(.center) { margin-inline: 0; }
/* Título/lead de seção fora de um .section-head completo (usados em layouts de 2 colunas) */
.section-title { font-size: var(--h2); font-weight: 800; color: var(--ink-800); line-height: var(--lh-tight); margin-top: 0.9rem; }
.section-title.no-eyebrow-gap { margin-top: 0; }
.section-lede { margin-top: 1rem; color: var(--slate-500); font-size: 1.05rem; max-width: 46ch; }
.bg-tint { background: var(--slate-050); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.95rem; border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-500); color: var(--white); box-shadow: 0 10px 24px -10px rgba(35, 72, 217, 0.55); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(35, 72, 217, 0.6); }
.btn-secondary { background: var(--white); color: var(--ink-800); border-color: var(--slate-200); }
.btn-secondary:hover { border-color: var(--brand-400); color: var(--brand-600); transform: translateY(-2px); }
.btn-ghost-invert { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 1.15rem;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), padding 0.25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-color: var(--slate-200);
  padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; color: var(--ink-800); }
.brand img { height: 42px; width: auto; }
.brand-mark-hero { height: 40px; }

.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav > .btn { display: none; }
.main-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--slate-600);
  position: relative; padding-block: 0.3rem; transition: color 0.15s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--brand-500); border-radius: 2px; transition: right 0.22s var(--ease);
}
.main-nav a:hover { color: var(--ink-800); }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none; background: none; border: none; padding: 0.4rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
html.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 auto 0; top: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 5.5rem 1.5rem 2rem; gap: 0.2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--slate-100); font-size: 1.05rem; }
  .main-nav > .btn { display: inline-flex; margin-top: 0.8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: clamp(7.5rem, 14vw, 10rem); padding-bottom: clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(35, 72, 217, 0.13), transparent 60%),
    linear-gradient(180deg, var(--slate-050) 0%, var(--white) 62%);
  overflow: clip;
}
.hero .container {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 4rem); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero h1 {
  font-size: var(--h1); font-weight: 800; letter-spacing: -0.015em;
  line-height: var(--lh-tight); color: var(--ink-900);
}
.hero h1 em { font-style: normal; color: var(--brand-500); }
.hero .lede { margin-top: 1.4rem; font-size: 1.15rem; color: var(--slate-500); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-trust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 2.2rem); }
.hero-trust .stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--ink-800); }
.hero-trust .stat span { font-size: 0.82rem; color: var(--slate-500); }

/* ---------- Mockup do dashboard ---------- */
.app-mock {
  position: relative; background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--slate-100);
  overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.app-mock:hover { transform: perspective(1400px) rotateY(-1deg) rotateX(0.5deg); }
.app-mock { transition: transform 0.5s var(--ease); }
.app-mock__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1rem; background: var(--slate-050); border-bottom: 1px solid var(--slate-100);
}
.app-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); }
.app-mock__url {
  margin-inline: auto; font-size: 0.72rem; color: var(--slate-500);
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-pill);
  padding: 0.2rem 0.9rem;
}
.app-mock__body { display: grid; grid-template-columns: 62px 1fr; }
.app-mock__side {
  background: var(--ink-800); padding: 1rem 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; align-items: center;
}
.app-mock__side .side-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-500); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:.75rem; margin-bottom: .6rem; }
.app-mock__side i {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
}
.app-mock__side i.is-active { background: rgba(255,255,255,0.12); color: #fff; }
.app-mock__side i svg { width: 17px; height: 17px; }
.app-mock__main { padding: 1.1rem 1.2rem 1.3rem; }
.app-mock__title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.9rem; }
.app-mock__title h4 { font-size: 0.95rem; font-weight: 800; color: var(--ink-800); }
.app-mock__title span { font-size: 0.72rem; color: var(--slate-400); }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin-bottom: 0.9rem; }
.kpi {
  background: var(--slate-050); border: 1px solid var(--slate-100); border-radius: var(--r-sm);
  padding: 0.65rem 0.7rem;
}
.kpi span { font-size: 0.66rem; color: var(--slate-500); }
.kpi b { display: block; font-size: 0.92rem; color: var(--ink-800); margin-top: 0.15rem; }
.kpi em { font-style: normal; font-size: 0.68rem; font-weight: 700; }
.kpi em.up { color: var(--pos-600); }
.kpi em.down { color: #c0392b; }

.mock-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.7rem; }
.mock-card { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--r-sm); padding: 0.75rem 0.8rem; }
.mock-card h5 { font-size: 0.72rem; font-weight: 700; color: var(--slate-600); margin-bottom: 0.5rem; }
.mock-card .legend { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.mock-card .legend span { font-size: 0.6rem; color: var(--slate-500); display: flex; align-items: center; gap: 0.3rem; }
.legend i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.legend-dot.brand { background: var(--brand-500); }
.legend-dot.pos { background: var(--pos-600); }
.legend-dot.warn { background: var(--warn-600); }
.legend-dot.slate { background: var(--slate-300); }
.donut { border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none;
  background: conic-gradient(var(--brand-500) 0 38%, var(--pos-600) 38% 62%, var(--warn-600) 62% 82%, var(--slate-300) 82% 100%); }
.donut::after { content: ""; border-radius: 50%; background: #fff; display: block; width: 46%; height: 46%; }
.donut.sm { width: 52px; height: 52px; }
.donut.md { width: 56px; height: 56px; }
.hub-connector--invert { background: linear-gradient(rgba(255,255,255,.4), var(--brand-400)); }
.span-2 { grid-column: span 2; }
.activity-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.activity-list li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.68rem; color: var(--slate-600); }
.activity-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); margin-top: 0.35rem; flex: none; }
.activity-list small { display: block; color: var(--slate-400); font-size: 0.6rem; }

.badge-chip {
  display: inline-block; font-size: 0.6rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--r-pill);
}
.badge-chip.ok { background: var(--pos-050); color: var(--pos-600); }
.badge-chip.warn { background: var(--warn-050); color: var(--warn-600); }

.mock-table { width: 100%; border-collapse: collapse; font-size: 0.66rem; margin-top: 0.3rem; }
.mock-table td { padding: 0.3rem 0; color: var(--slate-600); border-top: 1px solid var(--slate-100); }
.mock-table td:last-child { text-align: right; }

.ai-float {
  position: absolute; right: -14px; bottom: -18px; background: var(--ink-900); color: #fff;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; padding: 0.8rem 1rem; max-width: 230px;
  box-shadow: var(--shadow-lg); font-size: 0.72rem; display: flex; gap: 0.55rem; align-items: flex-start;
}
.ai-float svg { flex: none; width: 18px; height: 18px; color: var(--brand-400); margin-top: 1px; }
@media (max-width: 520px) { .ai-float { display: none; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Cards genéricos ---------- */
.card-grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.tile {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--slate-200); }
.tile .ic {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-050); color: var(--brand-600); margin-bottom: 1.1rem;
}
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: var(--h3); font-weight: 700; color: var(--ink-800); margin-bottom: 0.5rem; }
.tile p { font-size: 0.92rem; color: var(--slate-500); }

/* Problema */
.problem-tile { border-color: var(--slate-200); }
.problem-tile .ic { background: #fdecec; color: #c0392b; }
.transition-line {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; font-size: 1.3rem; font-weight: 700;
  color: var(--ink-800); display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.transition-line svg { color: var(--brand-500); width: 26px; height: 26px; }

/* Solução — diagrama hub-and-spoke */
.hub-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 1rem; }
.hub-node {
  background: var(--ink-900); color: #fff; font-weight: 800; padding: 1rem 2.2rem; border-radius: var(--r-pill);
  box-shadow: var(--shadow-md); font-size: 1rem;
}
.hub-node.company { background: var(--white); color: var(--ink-800); border: 1.5px dashed var(--slate-300); box-shadow: none; }
.hub-connector { width: 2px; height: 30px; background: linear-gradient(var(--slate-300), var(--brand-400)); }
.hub-core {
  background: var(--brand-500); color: #fff; padding: 1.1rem 2.4rem; border-radius: var(--r-pill);
  box-shadow: 0 18px 34px -14px rgba(35,72,217,0.55); font-size: 1.05rem; font-weight: 800;
}
.hub-spokes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.7rem;
  margin-top: 30px; width: 100%; max-width: 880px;
}
.hub-spokes::before { content: none; }
.spoke {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-sm);
  padding: 0.85rem 0.6rem; text-align: center; font-size: 0.82rem; font-weight: 700; color: var(--ink-700);
  position: relative;
}
.spoke::before {
  content: ""; position: absolute; top: -30px; left: 50%; width: 1px; height: 30px;
  background: var(--slate-200);
}

/* Módulos */
.module-tile .ic { background: var(--brand-050); }
.evolve-banner {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; background: var(--ink-900); color: #fff; border-radius: var(--r-lg);
  padding: 1.8rem 2.2rem;
}
.evolve-banner p { font-size: 1.15rem; font-weight: 700; }
.evolve-banner span { font-size: 0.85rem; color: var(--slate-300); display:block; margin-top:.3rem; font-weight: 400;}
.evolve-dots { display: flex; gap: 0.5rem; align-items: center; }
.evolve-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.evolve-dots i:nth-child(1), .evolve-dots i:nth-child(2), .evolve-dots i:nth-child(3) { background: var(--brand-400); }
.evolve-dots i.plus { background: transparent; border: 1.4px dashed rgba(255,255,255,0.5); }

/* Diferencial / plataforma */
.platform-section { background: var(--ink-900); color: #fff; position: relative; overflow: clip; }
.platform-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 15% 0%, rgba(35,72,217,0.25), transparent 60%);
}
.platform-section .section-head h2 { color: #fff; }
.platform-section .section-head p { color: var(--slate-300); }
.platform-diagram { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-top: 2.5rem; }
.platform-root {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  padding: 1.1rem 2.6rem; border-radius: var(--r-pill); font-weight: 800; letter-spacing: 0.03em;
  box-shadow: 0 20px 44px -16px rgba(35,72,217,0.7);
}
.platform-branches {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-top: 2.2rem; width: 100%; max-width: 1080px;
}
.platform-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r);
  padding: 1.3rem 1.1rem; text-align: center; backdrop-filter: blur(6px);
}
.platform-card.is-new { border-style: dashed; opacity: 0.85; }
.platform-card b { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; }
.platform-card span { font-size: 0.76rem; color: var(--slate-300); }
@media (max-width: 780px) { .platform-branches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .platform-branches { grid-template-columns: 1fr; } }

.diff-grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  max-width: 1000px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.diff-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r);
  padding: 1.5rem 1.4rem; transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}
.diff-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.3); }
.diff-card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(35,72,217,0.22); color: var(--brand-400); margin-bottom: 1rem;
}
.diff-card .ic svg { width: 21px; height: 21px; }
.diff-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.diff-card p { font-size: 0.86rem; color: var(--slate-300); }
@media (max-width: 780px) { .diff-grid { grid-template-columns: 1fr; } }

/* Benefícios */
.benefit-tile { display: flex; gap: 1rem; align-items: flex-start; background: transparent; border: none; box-shadow: none; padding: 0; }
.benefit-tile:hover { transform: none; }
.benefit-tile .ic { flex: none; background: var(--brand-050); color: var(--brand-600); }
.benefit-tile h3 { margin-bottom: 0.35rem; }

/* Dashboard grande */
.dash-showcase { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: clamp(2rem, 4vw, 3.2rem); align-items: center; }
.dash-tabs { display: inline-flex; gap: 0.3rem; background: var(--slate-100); padding: 0.3rem; border-radius: var(--r-pill); margin-bottom: 1.2rem; }
.dash-tabs button { border: none; background: transparent; padding: 0.45rem 1rem; border-radius: var(--r-pill); font-size: 0.82rem; font-weight: 700; color: var(--slate-500); }
.dash-tabs button.is-active { background: var(--white); color: var(--ink-800); box-shadow: var(--shadow-sm); }
.big-mock { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.3rem; }
.big-mock .kpi-row { grid-template-columns: repeat(4, 1fr); }
.chart-area { margin-top: 0.7rem; }
.donut-wrap { display: flex; align-items: center; gap: 0.9rem; }
.donut-legend { font-size: 0.72rem; display: flex; flex-direction: column; gap: 0.35rem; }
.donut-legend span { display: flex; align-items: center; gap: 0.4rem; color: var(--slate-600); }

/* Tecnologia */
.tech-section { background: var(--slate-050); }
.tech-tile .ic { background: var(--white); border: 1px solid var(--slate-200); }
.tech-visual {
  margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 900px; margin-inline: auto;
}
.tech-visual .layer {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r); padding: 1.2rem;
  text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--ink-700);
}
.tech-visual .layer svg { width: 26px; height: 26px; margin-inline: auto; margin-bottom: 0.6rem; color: var(--brand-600); }
@media (max-width: 760px) { .tech-visual { grid-template-columns: 1fr; } }

/* IA */
.ai-section { position: relative; }
.ai-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.ai-questions { display: flex; flex-direction: column; gap: 0.8rem; }
.ai-questions li {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-pill);
  padding: 0.8rem 1.3rem; font-size: 0.92rem; font-weight: 600; color: var(--ink-700);
  display: flex; align-items: center; gap: 0.7rem; box-shadow: var(--shadow-sm);
}
.ai-questions li svg { width: 16px; height: 16px; color: var(--brand-500); flex: none; }
.ai-disclaimer {
  margin-top: 1.6rem; font-size: 0.85rem; color: var(--slate-500); background: var(--brand-050);
  border-left: 3px solid var(--brand-500); padding: 0.9rem 1.1rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.ai-chat {
  background: var(--ink-900); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-lg); color: #fff;
}
.ai-chat__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.ai-chat__head .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-500); display:flex; align-items:center; justify-content:center; }
.ai-chat__head b { font-size: 0.9rem; }
.ai-chat__head span { display: block; font-size: 0.68rem; color: var(--slate-400); }
.ai-bubble { max-width: 88%; padding: 0.7rem 0.95rem; border-radius: var(--r); font-size: 0.85rem; margin-bottom: 0.7rem; }
.ai-bubble.user { background: rgba(255,255,255,0.1); margin-left: auto; border-bottom-right-radius: 4px; }
.ai-bubble.bot { background: rgba(35,72,217,0.22); border: 1px solid rgba(74,104,230,0.4); border-bottom-left-radius: 4px; }
.ai-bubble.bot small { display: block; margin-top: 0.4rem; color: var(--slate-300); font-size: 0.68rem; }

/* Segmentos */
.segment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.segment-tile {
  border: 1px solid var(--slate-200); border-radius: var(--r); padding: 1.4rem 1.1rem; text-align: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.segment-tile:hover { border-color: var(--brand-400); transform: translateY(-3px); }
.segment-tile svg { width: 26px; height: 26px; color: var(--brand-600); margin-inline: auto; margin-bottom: 0.7rem; }
.segment-tile span { font-size: 0.88rem; font-weight: 700; color: var(--ink-700); }
@media (max-width: 900px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }

/* Segurança */
.security-section { background: var(--ink-900); color: #fff; }
.security-section .section-head h2 { color: #fff; }
.security-section .section-head p { color: var(--slate-300); }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.security-tile {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r);
  padding: 1.3rem 1.1rem;
}
.security-tile svg { width: 22px; height: 22px; color: var(--brand-400); margin-bottom: 0.8rem; }
.security-tile h3 { font-size: 0.95rem; color: #fff; margin-bottom: 0.35rem; }
.security-tile p { font-size: 0.82rem; color: var(--slate-300); }
.security-note { margin-top: 2rem; font-size: 0.82rem; color: var(--slate-400); max-width: 700px; }
@media (max-width: 900px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }

/* Sobre */
.about-wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,4vw,3.5rem); align-items: center; }
.about-badge { display: inline-flex; align-items: center; gap: .6rem; background: var(--brand-050); color: var(--brand-600); padding: .5rem 1rem; border-radius: var(--r-pill); font-weight: 700; font-size: .85rem; margin-bottom: 1.1rem; }
.about-quote { font-size: 1.4rem; font-weight: 700; color: var(--ink-800); line-height: 1.4; }
.about-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.about-list li { display: flex; gap: .6rem; font-size: .92rem; color: var(--slate-600); }
.about-list svg { width: 18px; height: 18px; color: var(--pos-600); flex: none; margin-top: 2px; }
.about-panel { background: var(--slate-050); border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 1.8rem; }
.about-panel .row { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--slate-200); }
.about-panel .row:last-child { border-bottom: none; }
.about-panel .row b { color: var(--ink-800); font-size: 1.05rem; }
.about-panel .row span { color: var(--slate-500); font-size: .85rem; }

/* CTA final */
.cta-section {
  background: linear-gradient(135deg, var(--ink-900), var(--brand-700) 130%);
  color: #fff; text-align: center; position: relative;
}
.cta-section h2 { font-size: var(--h2); font-weight: 800; color: #fff; max-width: 780px; margin-inline: auto; }
.cta-section p { margin-top: 1.1rem; font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 620px; margin-inline: auto; }
.cta-actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Formulário */
.contact-wrap { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.contact-side h2 { font-size: var(--h2); font-weight: 800; color: var(--ink-800); line-height: var(--lh-tight); }
.contact-side p { margin-top: 1rem; color: var(--slate-500); font-size: 1rem; max-width: 42ch; }
.contact-points { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--slate-600); }
.contact-points svg { width: 18px; height: 18px; color: var(--brand-500); flex: none; margin-top: 2px; }

.form-card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-700); }
.field label .req { color: var(--brand-500); }
.field input, .field select, .field textarea {
  border: 1px solid var(--slate-200); border-radius: var(--r-sm); padding: 0.75rem 0.9rem;
  font: inherit; color: var(--ink-800); background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-050); outline: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field small.error { color: #c0392b; font-size: 0.76rem; min-height: 1em; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.form-note { font-size: 0.76rem; color: var(--slate-400); }
.form-success {
  display: none; align-items: flex-start; gap: 0.8rem; background: var(--pos-050); color: var(--pos-600);
  border: 1px solid #bfe9d8; border-radius: var(--r-sm); padding: 1rem 1.1rem; margin-top: 1.2rem; font-size: 0.88rem;
}
.form-success.is-visible { display: flex; }
.form-error {
  display: none; background: #fdecec; color: #c0392b; border: 1px solid #f3c6c6;
  border-radius: var(--r-sm); padding: 0.85rem 1rem; margin-top: 1.2rem; font-size: 0.85rem;
}
.form-error.is-visible { display: block; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--slate-300); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--slate-400); max-width: 32ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease); }
.footer-social a:hover { background: var(--brand-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.88rem; transition: color .15s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: 0.8rem; color: var(--slate-400); flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Responsivo geral (seções com 2 colunas) ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .dash-showcase, .ai-grid, .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .mock-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .app-mock { transform: none; }
  .app-mock__body { grid-template-columns: 46px 1fr; }
  section { padding-block: clamp(3rem, 12vw, 4.5rem); }
}

/* Página simples (privacidade/termos) */
.legal-page main { max-width: 780px; margin-inline: auto; padding: clamp(7rem, 12vw, 9rem) 1.5rem 5rem; }
.legal-page h1 { font-size: 2.2rem; font-weight: 800; color: var(--ink-800); margin-bottom: 1rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; color: var(--ink-800); margin-top: 2rem; margin-bottom: 0.6rem; }
.legal-page p, .legal-page li { color: var(--slate-600); font-size: 0.95rem; }
.legal-page ul { padding-left: 1.2rem; list-style: disc; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-page a.back { color: var(--brand-600); font-weight: 700; display: inline-block; margin-bottom: 1.5rem; }
