/* Digit.ai Home 2.0: one dark visual world (Vértuz reference), Digit.ai design system tokens.
   Layout: glass cards on deep blue, a cool light source top-right, yellow only as accent. */
:root {
  color-scheme: dark;
  --bg: #060d18;          /* fundo do site da MAGIT */
  --raised: #0a1524;      /* azul-950 */
  --deep: #234975;        /* azul-700 */
  --primary: #4b77ac;     /* magit-primary */
  --yellow: #fecc00;      /* magit-amarelo */
  --on-yellow: #000000;
  --ink: #eef4fc;         /* neutro-100 */
  --muted: #a0a5ac;       /* neutro-400 */
  --brand-text: #95bbe8;  /* azul-300 */
  --border: rgba(149, 187, 232, .16);
  --glass: rgba(149, 187, 232, .05);
  --glass-strong: rgba(149, 187, 232, .09);
  --font: "Comfortaa", "Varela Round", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- buttons, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); }
.btn-yellow:hover { background: #ffd83a; }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--border); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--glass-strong); border-color: rgba(149, 187, 232, .32); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink);
}
.tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 5px var(--deep), inset 0 0 0 9px var(--yellow); }
.tag-solid { background: rgba(10, 21, 36, .6); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(10, 21, 36, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(149, 187, 232, .08);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: 148px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.menu a:not(.btn) { text-decoration: none; color: var(--ink); opacity: .85; }
.menu a:not(.btn):hover { opacity: 1; color: var(--yellow); }
.menu-cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--glass); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-block: 72px 56px;
  background-image:
    linear-gradient(90deg, rgba(6,13,24,.88), rgba(6,13,24,.5) 55%, rgba(6,13,24,.15)),
    linear-gradient(180deg, rgba(6,13,24,0) 0%, rgba(6,13,24,.6) 46%, var(--bg) 66%),
    url("assets/bg/hero-bg.webp");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, top center;
  background-size: 100% 100%, 100% 100%, cover;
}
.hero-light {
  position: absolute; inset: -20% -10% auto auto; width: 75%; height: 120%;
  background:
    radial-gradient(closest-side at 60% 40%, rgba(75, 119, 172, .55), transparent 70%),
    radial-gradient(closest-side at 75% 25%, rgba(149, 187, 232, .25), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(238, 244, 252, .5) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone {
  width: 300px; max-width: 100%;
  border-radius: 40px; padding: 14px;
  background: linear-gradient(160deg, #1a2d47, #0b1626);
  border: 1px solid rgba(149, 187, 232, .25);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(-4deg);
}
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 14px; border-bottom: 1px solid var(--border); }
.phone-bar div { line-height: 1.15; }
.phone-bar b { display: block; font-size: 14px; }
.phone-bar small { display: block; margin-top: 2px; color: var(--brand-text); font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 30px; object-fit: cover; object-position: left center; height: 30px; }
.chat { display: grid; gap: 10px; padding: 16px 6px 8px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 13px; line-height: 1.5; }
.msg.in { justify-self: start; background: rgba(238, 244, 252, .08); border-bottom-left-radius: 6px; }
.msg.out { justify-self: end; background: var(--deep); border-bottom-right-radius: 6px; }
.msg.short { padding-inline: 16px; }
.msg.file { display: flex; gap: 10px; align-items: center; }
.msg.file b { display: block; font-size: 12px; }
.msg.file small { color: var(--brand-text); font-size: 11px; }
.file-icon { flex: none; width: 30px; height: 36px; border-radius: 6px; background: var(--yellow); position: relative; }
.file-icon::after { content: "PDF"; position: absolute; inset: auto 0 6px; text-align: center; font: 700 8px/1 var(--font); color: #000; }

.float {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 999px;
  background: rgba(15, 31, 53, .72); border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  font-size: 13px; white-space: nowrap;
  animation: drift 6s ease-in-out infinite;
}
.float b { display: block; font-size: 13px; }
.float small { color: var(--muted); font-size: 12px; }
.f1 { top: 0; left: -2%; }
.f2 { top: 44%; right: -4%; animation-delay: -2s; }
.f3 { bottom: 0; left: 0; animation-delay: -4s; }
.dot { flex: none; width: 28px; height: 28px; border-radius: 50%; }
.dot.y { background: var(--yellow); box-shadow: 0 0 0 6px rgba(254, 204, 0, .15); }
.dot.b { background: var(--primary); box-shadow: 0 0 0 6px rgba(75, 119, 172, .25); }
.dot.w { background: var(--ink); box-shadow: 0 0 0 6px rgba(238, 244, 252, .12); }
@keyframes drift { 50% { transform: translateY(-8px); } }

.stats {
  position: relative; z-index: 1;
  list-style: none; margin: 56px 0 0; padding: 8px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.stats li { padding: 20px 24px; display: grid; gap: 4px; min-width: 0; }
.stats li + li { border-left: 1px solid var(--border); }
.stats b { font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding-block: 104px; position: relative; }
.head { display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head.left { justify-items: start; text-align: left; margin: 0; }
.head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; }
.head p { color: var(--muted); font-size: 17px; max-width: 62ch; }

.card {
  border-radius: var(--r-lg); padding: 28px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--border);
  display: grid; gap: 12px; align-content: start; min-width: 0;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(149, 187, 232, .32); transform: translateY(-2px); }
.card h3 { font-size: 19px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--deep); margin-bottom: 8px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- incorpora panel ---------- */
.panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: 56px;
  background: linear-gradient(160deg, #13294a 0%, var(--raised) 55%, #0c1a2d 100%);
  border: 1px solid var(--border);
}
.panel-light {
  position: absolute; inset: -40% -20% auto auto; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(75, 119, 172, .45), transparent 70%);
}
.panel > *:not(.panel-light) { position: relative; }
.incorpora-top { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; max-width: 760px; }
.incorpora-top p { max-width: 64ch; }
/* Cabeçalho da Incorpora: título e texto à esquerda, prazos de ativação empilhados à direita */
.incorpora-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; margin-bottom: 32px; }
.incorpora-head .incorpora-top { margin-bottom: 0; }
.incorpora-head .activation { grid-template-columns: 1fr; margin-top: 0; gap: 12px; }
.incorpora-head .activation .btn { grid-column: auto; justify-self: start; }
.incorpora-head .act { padding: 16px 20px; }
.incorpora-head .act b { font-size: 24px; }
@media (max-width: 920px) {
  .incorpora-head { grid-template-columns: 1fr; gap: 24px; }
}
.incorpora-top > div { display: grid; gap: 18px; justify-items: start; }
.incorpora-top h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.incorpora-top p { color: var(--muted); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs button {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font: 700 14px/1 var(--font); color: var(--ink);
  background: rgba(10, 21, 36, .5); border: 1px solid var(--border);
  transition: background-color .2s ease, color .2s ease;
}
.tabs button:hover { background: rgba(10, 21, 36, .8); }
.tabs button[aria-selected="true"] { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }

.journey {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
  padding: 32px; border-radius: var(--r-lg);
  background: rgba(10, 21, 36, .55); border: 1px solid var(--border);
}
.journey-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.route { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--yellow); text-transform: uppercase; }
.journey h3 { font-size: 24px; }
.journey p { color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.3l2.6 2.6 5-5.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.mini-chat { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: rgba(238, 244, 252, .03); border: 1px solid var(--border); min-width: 0; }
.mini-chat .msg { max-width: 90%; }

.activation { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; margin-top: 24px; }
.act { padding: 20px 24px; border-radius: var(--r-md); border: 1px solid var(--border); background: rgba(10, 21, 36, .4); display: grid; gap: 2px; }
.act small { color: var(--muted); font-size: 12px; }
.act b { font-size: 28px; line-height: 1.2; color: var(--muted); }
.act span { font-size: 13px; color: var(--muted); }
.act-main { border-color: rgba(254, 204, 0, .45); background: rgba(254, 204, 0, .06); }
.act-main b { color: var(--yellow); }

/* ---------- IA ---------- */
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ia-grid .head { gap: 20px; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: var(--glass); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center;
  padding: 20px 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--border);
}
.steps li::before {
  content: counter(s, decimal-leading-zero); grid-row: span 2;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); color: var(--yellow); font-weight: 700; font-size: 15px;
}
.steps b { font-size: 18px; }
.steps span { color: var(--muted); font-size: 14px; }
.steps li:last-child { border-color: rgba(254, 204, 0, .4); }

/* ---------- integrações ---------- */
.flow { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1.2fr 40px 1fr; align-items: center; }
.node { padding: 20px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--border); display: grid; gap: 2px; text-align: center; min-width: 0; }
.node b { font-size: 17px; }
.node span { color: var(--muted); font-size: 12px; }
.node-core { padding: 28px 20px; background: var(--deep); border-color: rgba(254, 204, 0, .5); box-shadow: 0 0 0 6px rgba(254, 204, 0, .06); justify-items: center; gap: 10px; }
.node-core img { width: 132px; }
.node-core span { color: var(--ink); }
.node-stack { display: grid; gap: 8px; }
.node-stack .node { padding: 12px 16px; }
.link { height: 2px; background: repeating-linear-gradient(90deg, var(--brand-text) 0 6px, transparent 6px 12px); opacity: .6; }
.note { margin-top: 32px; text-align: center; color: var(--muted); }

/* ---------- clientes ---------- */
.logos { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logos li { background: #ffffff; border-radius: var(--r-md); padding: 14px 18px; display: grid; place-items: center; aspect-ratio: 5 / 2; }
.logos img { max-height: 100%; width: auto; object-fit: contain; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-tag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-yellow); background: var(--yellow); padding: 4px 10px; border-radius: 999px; }
.case dl { margin: 0; display: grid; gap: 4px; }
.case dt { font-size: 12px; font-weight: 700; color: var(--brand-text); margin-top: 8px; }
.case dd { margin: 0; color: var(--muted); font-size: 14px; }
.tech { font-size: 12px !important; color: var(--ink) !important; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px !important; }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; padding: 0 0 28px 28px; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--yellow); }
.timeline b { font-size: 20px; }
.timeline span { color: var(--muted); }
.process { list-style: none; margin: 72px 0 0; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--border); counter-reset: p; }
.process li { counter-increment: p; padding: 20px 24px; display: grid; gap: 6px; min-width: 0; }
.process li + li { border-left: 1px solid var(--border); }
.process li::before { content: counter(p, decimal-leading-zero); color: var(--yellow); font-weight: 700; font-size: 13px; }
.process b { font-size: 17px; }
.process span { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--border); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--yellow); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.contact-copy p { color: var(--muted); }
.hours { font-size: 14px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: rgba(10, 21, 36, .6); border: 1px solid var(--border); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select {
  min-height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  background: rgba(238, 244, 252, .04); border: 1px solid #767b81; color: var(--ink);
  font: 500 15px var(--font);
}
.field select option { background: var(--raised); }
.field input:focus, .field select:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff8a80; }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; color: var(--brand-text); }
.form-msg.error { color: #ff8a80; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 56px 32px; background: #070f1b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer-grid strong { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-grid span { color: var(--muted); }
.footer-brand img { width: 148px; }
.footer-brand p { color: var(--muted); max-width: 32ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; min-height: 52px;
  border-radius: 999px; background: var(--yellow); color: #000; text-decoration: none; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: #000; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 8px; }
  .link { width: 2px; height: 24px; justify-self: center; background: repeating-linear-gradient(180deg, var(--brand-text) 0 6px, transparent 6px 12px); }
  .node-stack { grid-template-columns: 1fr; }
  .f1 { left: 0; } .f2 { right: 0; }
}
@media (max-width: 1260px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: rgba(10, 21, 36, .97); border-bottom: 1px solid var(--border);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(149, 187, 232, .08); font-size: 16px; }
  .menu-cta { margin-top: 16px; min-height: 48px; }
}
@media (max-width: 920px) {
  .hero-grid, .incorpora-top, .journey, .ia-grid, .about, .faq, .contact { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .stats, .process { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3), .process li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3), .process li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .activation { grid-template-columns: 1fr 1fr; }
  .activation .btn { grid-column: 1 / -1; }
  .cases { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 40px 28px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .section { padding-block: 72px; }
  .hero { padding-block: 40px 40px; }
  .lead { font-size: 16px; }
  .actions .btn { width: 100%; }
  .pillars, .stats, .process, .activation, .form, .node-stack, .footer-grid { grid-template-columns: 1fr; }
  .stats li + li, .process li + li { border-left: 0; border-top: 1px solid var(--border); }
  .hero-visual { min-height: 440px; }
  .phone { width: 260px; }
  .float { font-size: 12px; padding: 10px 14px; }
  .float small { display: none; }
  .f1 { top: 2%; left: 0; } .f2 { top: 50%; right: 0; } .f3 { bottom: 0; left: 0; }
  .panel { padding: 32px 18px; border-radius: var(--r-lg); }
  .journey { padding: 20px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0 15px; }
}
/* =========================================================
   Animações
   Tudo parte de um estado visível: sem JS ou com movimento reduzido, a página fica completa.
   ========================================================= */

/* Cabeçalho que compacta e barra de leitura */
.site-header { transition: background-color .3s ease, border-color .3s ease; }
.site-header .nav { transition: min-height .3s ease; }
.site-header.scrolled { background: rgba(10, 21, 36, .92); border-bottom-color: rgba(149, 187, 232, .16); }
.site-header.scrolled .nav { min-height: 60px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--read, 0)); background: linear-gradient(90deg, var(--yellow), var(--brand-text)); }

/* Entrada do hero em cascata */
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-visual { animation: rise 1.1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: .25; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Palavra em amarelo com brilho que passa */
.hero h1 em {
  background: linear-gradient(100deg, var(--yellow) 0%, var(--yellow) 40%, #fff3b0 50%, var(--yellow) 60%, var(--yellow) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s ease-in-out 1.2s infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 40%, 100% { background-position: -50% 0; } }

/* Luz do hero respirando */
.hero-light { animation: breathe 12s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-4%, 3%) scale(1.06); opacity: .85; } }

/* Celular e cartões seguem o mouse (parallax) */
.hero-visual .phone { transition: transform .4s ease-out; transform: rotate(-4deg) translate(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 10px)); }
.hero-visual .float { translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -14px); transition: translate .4s ease-out; }

/* Conversa do celular digitando */
.typing { justify-self: start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: rgba(238, 244, 252, .08); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-text); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.chat.playing .msg, .chat.playing .typing { display: none; }
.chat.playing .msg.show { display: block; animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
.chat.playing .msg.file.show { display: flex; }
.chat.playing .typing.show { display: inline-flex; }
@keyframes pop { from { opacity: .2; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* Números contando */
.stats b { display: inline-block; min-width: 3ch; }

/* Blocos aparecem ao rolar (partem de um estado visível) */
.reveal { opacity: .35; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Cartões: spotlight do cursor e leve inclinação */
.card { position: relative; overflow: hidden; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(254, 204, 0, .08), transparent 45%); }
.card:hover::before { opacity: 1; }
.card.tilt { transition: transform .15s ease-out, border-color .2s ease; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-2px); }
.ico { transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .3s ease; }
.card:hover .ico { transform: translateY(-3px) rotate(-6deg); background: #2b5688; }

/* Botão amarelo com reflexo que passa */
.btn-yellow { position: relative; overflow: hidden; }
.btn-yellow::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-yellow:hover::after { left: 130%; }

/* Faixa de clientes em movimento */
.marquee { overflow: hidden; margin: 0 0 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .logos { display: flex; width: max-content; gap: 12px; margin: 0; padding: 4px 0; grid-template-columns: none; animation: slide 40s linear infinite; }
.marquee .logos li { width: 220px; flex: none; }
.marquee:hover .logos { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Abas da Incorpora: painel troca com movimento e a conversa entra em sequência */
.journey.swap .journey-copy > * { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.journey.swap .journey-copy > *:nth-child(2) { animation-delay: .05s; }
.journey.swap .journey-copy > *:nth-child(3) { animation-delay: .1s; }
.journey.swap .journey-copy > *:nth-child(4) { animation-delay: .15s; }
.journey.swap .mini-chat .msg { animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
.journey.swap .mini-chat .msg:nth-child(2) { animation-delay: .35s; }
.journey.swap .mini-chat .msg:nth-child(3) { animation-delay: .7s; }
.journey.swap .mini-chat .msg:nth-child(4) { animation-delay: 1.05s; }

/* Barras de prazo de ativação */
.act .bar { display: block; height: 6px; margin-top: 12px; border-radius: 999px; background: rgba(149, 187, 232, .12); overflow: hidden; }
.act .bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: inherit; background: var(--muted); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .2s; }
.act-main .bar i { background: var(--yellow); }
.activation.ready:not(.in) .bar i { --grow: .08; }

/* Agentes de IA: etapa ativa percorre a lista */
.steps li { transition: border-color .4s ease, background-color .4s ease, transform .4s ease; }
.steps li::before { transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.steps li.active { border-color: rgba(254, 204, 0, .55); background: rgba(254, 204, 0, .05); transform: translateX(6px); }
.steps li.active::before { background: var(--yellow); color: #000; box-shadow: 0 0 0 6px rgba(254, 204, 0, .14); }
.steps li:last-child { border-color: var(--border); }
.steps li:last-child.active { border-color: rgba(254, 204, 0, .55); }

/* Integrações: pacotes de dados correndo entre os nós */
.link { position: relative; overflow: visible; }
.link::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px rgba(254, 204, 0, .8); animation: packet 2.4s linear infinite; }
.flow .link:nth-of-type(2)::after { animation-delay: .8s; }
.flow .link:nth-of-type(3)::after { animation-delay: 1.6s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.node-core { animation: halo 3s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 0 12px rgba(254, 204, 0, .08); } }

/* Linha do tempo que se preenche com a rolagem */
.timeline { position: relative; }
.timeline::after { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--tl, 1) * 100%); background: linear-gradient(var(--yellow), var(--primary)); }
.timeline li::before { transition: transform .4s ease, box-shadow .4s ease; z-index: 1; }
.timeline li.lit::before { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(254, 204, 0, .12); }

/* =========================================================
   Formato de balão (vindo do site atual da Digit.ai)
   Botões com o canto superior esquerdo reto, cartões com o superior direito reto,
   como os balões de conversa do logo. No hover o botão "responde": o canto reto muda de lado.
   ========================================================= */
:root { --bubble-btn: 4px 16px 16px 16px; --bubble-btn-hover: 16px 16px 16px 4px; --bubble-card: var(--r-lg) 6px var(--r-lg) var(--r-lg); }
.btn, .tabs button { border-radius: var(--bubble-btn); transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, border-radius .3s cubic-bezier(.2, .7, .2, 1); }
.btn:hover, .tabs button:hover { border-radius: var(--bubble-btn-hover); }
.card, .journey, .mini-chat, .act, .steps li, .faq-list details, .form, .node, .process, .logos li { border-radius: var(--bubble-card); }
.panel { border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); }
.ico { border-radius: 16px 16px 16px 4px; }
.tag { border-radius: 14px 14px 14px 4px; padding-right: 16px; }
.float { border-radius: 20px 20px 20px 4px; }
.case-tag, .pills li { border-radius: 10px 10px 10px 2px; }
.wa-float { border-radius: 26px 26px 6px 26px; }
.menu-toggle { border-radius: 14px 14px 14px 4px; }
.field input, .field select { border-radius: 4px var(--r-sm) var(--r-sm) var(--r-sm); }

/* Selos de confiança logo abaixo dos botões do hero */
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Ganhos do dia a dia como uma conversa */
.gains { margin-top: 48px; display: grid; gap: 16px; justify-items: center; }
.gains-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.gains-thread { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.gains-thread li { padding: 12px 18px; font-size: 14px; font-weight: 600; border-radius: 18px 18px 18px 4px; background: rgba(238, 244, 252, .07); border: 1px solid var(--border); }
.gains-thread li.me { border-radius: 18px 18px 4px 18px; background: var(--deep); border-color: rgba(149, 187, 232, .3); }
.gains-thread li.reveal { transform: translateY(18px) scale(.94); }
.gains-thread li.reveal.in { transform: none; }

/* Suporte */
.section-tight { padding-block: 72px; }
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Cabeçalho: logo à esquerda, menu centralizado, botão à direita */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.brand { justify-self: start; }
.menu { justify-self: center; }
.menu-cta { display: none; }
.header-cta { justify-self: end; min-height: 40px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.tag-plain { padding: 6px 16px; }
.hl { color: var(--yellow); }
/* Rótulos das seções só com texto, como no site da MAG-IT */
.tag:not(.tag-plain) { padding: 0; background: none; border: 0; border-radius: 0; backdrop-filter: none; color: var(--brand-text); font-size: 13px; letter-spacing: .16em; }
.tag:not(.tag-plain) i { display: none; }
@media (max-width: 1260px) {
  .nav { display: flex; }
  .header-cta { display: none; }
  .menu-cta { display: inline-flex; }
}

/* Trajetória em rolagem, como no site da MAG-IT: título preso à esquerda,
   etapas com anos gigantes que acendem conforme passam pelo centro da tela */
.about { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; }
.about > .head { position: sticky; top: 120px; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.story-steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; min-height: 42vh; padding-block: 40px; border-top: 1px solid var(--border); opacity: .35; transition: opacity .5s ease; }
.story-steps li:last-child { border-bottom: 1px solid var(--border); }
.story-steps li.on { opacity: 1; }
.story-steps h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.story-steps p { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 40ch; }
.story-steps .sn { font: 700 clamp(64px, 8vw, 120px) / .85 var(--font); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(149, 187, 232, .5); transition: -webkit-text-stroke-color .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.story-steps li.on .sn { -webkit-text-stroke-color: var(--yellow); transform: translateX(-6px); }
@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about > .head { position: static; }
  .story-steps li { min-height: 0; opacity: 1; }
  .story-steps .sn { font-size: 56px; }
}

/* Clientes: cases em coluna à esquerda e um celular à direita, com os logos subindo
   como uma conversa (recebidas à esquerda, enviadas à direita) e a barra de mensagem que leva ao contato */
.clients-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.clients-grid .cases { grid-template-columns: 1fr; gap: 14px; }
.clients-grid .case { gap: 8px; padding: 22px 24px; }
/* "Desafio: texto" e "O que automatizamos: texto" em linhas corridas, sem coluna */
.clients-grid .case dl { display: block; line-height: 1.45; }
.clients-grid .case dt { display: inline; margin: 0; font-size: 14px; }
.clients-grid .case dt::after { content: ": "; }
.clients-grid .case dd { display: inline; margin: 0; }
.clients-grid .case dd { line-height: inherit; }
.clients-grid .case dd::after { content: ""; display: block; height: 4px; }
.client-phone { justify-self: center; width: 100%; max-width: 360px; padding: 12px; border-radius: 48px; background: linear-gradient(160deg, #1a2d47, #0b1626); border: 1px solid rgba(149, 187, 232, .25); box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
.cp-screen { position: relative; height: 640px; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); border-radius: 38px; overflow: hidden; background: var(--bg); }
.cp-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 20px; background: #050b14; z-index: 3; }
.cp-screen .cw-head { padding-top: 44px; }
.cp-body { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.cp-thread { list-style: none; margin: 0; padding: 0 14px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; animation: rise-thread 34s linear infinite; }
.client-phone:hover .cp-thread { animation-play-state: paused; }
@keyframes rise-thread { to { transform: translateY(-50%); } }
.cp-thread li { position: relative; width: 74%; min-width: 0; height: 72px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 12px 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cp-thread li.in { justify-self: start; background: rgba(238, 244, 252, .06); border: 1px solid rgba(149, 187, 232, .16); border-radius: 22px 22px 22px 4px; }
.cp-thread li.out { justify-self: end; background: rgba(35, 73, 117, .42); border: 1px solid rgba(149, 187, 232, .24); border-radius: 22px 22px 4px 22px; padding-right: 34px; }
.cp-thread li.out::after { content: "✓✓"; position: absolute; right: 12px; bottom: 8px; font-size: 10px; letter-spacing: -2px; color: var(--yellow); }
.cp-thread img { width: auto; min-width: 0; max-width: 100%; max-height: 36px; object-fit: contain; opacity: .9; }
.cp-thread img.big { max-height: 48px; }
.cp-screen .cw-input { margin: 10px 12px 14px; padding: 6px 6px 6px 16px; font-size: 11.5px; line-height: 1.35; border-radius: 22px; }
.cp-screen .cw-input span:first-child { white-space: normal; overflow: visible; }
.cp-screen .cw-input .send { width: 34px; height: 34px; }
.cp-screen .cw-input .send svg { width: 15px; height: 15px; }
@media (max-width: 920px) {
  .clients-grid { grid-template-columns: 1fr; gap: 40px; }
  .cp-screen { height: 540px; }
}
.cw-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); background: rgba(10, 21, 36, .5); }
.cw-head .avatar { width: 40px; height: 40px; flex: none; }
.cw-title { display: grid; min-width: 0; }
.cw-title b { font-size: 15px; }
.cw-title small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cw-title small i { width: 7px; height: 7px; border-radius: 50%; background: #5cc27a; flex: none; animation: blink 1.6s ease-in-out infinite; }
.cw-input { display: flex; align-items: center; gap: 12px; margin: 0 16px 16px; padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(238, 244, 252, .04); color: var(--muted); text-decoration: none; font-size: 14px; transition: border-color .25s ease, background-color .25s ease; }
.cw-input span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-input .send { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform .25s ease; }
.cw-input .send svg { width: 18px; height: 18px; fill: #000; }
.cw-input:hover { border-color: rgba(254, 204, 0, .5); background: rgba(254, 204, 0, .05); color: var(--ink); }
.cw-input:hover .send { transform: translateX(3px) rotate(-12deg); }

/* Agentes de IA: etapas à esquerda e um celular que executa cada etapa, em sincronia */
.ia-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.ia-left { display: grid; gap: 28px; justify-items: start; min-width: 0; }
.ia-left .steps { width: 100%; }
.ia-left .steps li { padding: 14px 20px; cursor: pointer; }
.ia-right { display: grid; gap: 22px; justify-items: center; min-width: 0; }
.ia-right .pills { justify-content: center; max-width: 380px; }
.ia-phone { justify-self: center; width: 100%; max-width: 360px; padding: 12px; border-radius: 48px; background: linear-gradient(160deg, #1a2d47, #0b1626); border: 1px solid rgba(149, 187, 232, .25); box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
.ia-screen { position: relative; height: 620px; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); border-radius: 38px; overflow: hidden; background: var(--bg); }
.ia-screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 20px; background: #050b14; z-index: 3; }
.ia-screen .cw-head { padding-top: 44px; }
.ia-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px 14px; overflow: hidden; min-height: 0; }
.ia-chat .msg { max-width: 86%; flex: none; }
.ia-chat .msg.in { align-self: flex-start; }
.ia-chat .msg.out { align-self: flex-end; }
.ia-chat .sys { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 8px; max-width: 92%; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--brand-text); background: rgba(149, 187, 232, .08); border: 1px dashed rgba(149, 187, 232, .3); }
.ia-chat .sys::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--brand-text); }
.ia-chat .sys.loading::before { border: 2px solid var(--brand-text); border-right-color: transparent; background: none; width: 10px; height: 10px; animation: spin .8s linear infinite; }
.ia-chat .sys.ok { color: #5cc27a; border-color: rgba(92, 194, 122, .4); background: rgba(92, 194, 122, .08); }
.ia-chat .sys.ok::before { background: #5cc27a; }
.ia-chat .sys.hand { color: var(--yellow); border-color: rgba(254, 204, 0, .45); background: rgba(254, 204, 0, .07); }
.ia-chat .sys.hand::before { background: var(--yellow); }
.ia-chat .new { animation: pop .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes spin { to { transform: rotate(360deg); } }
.ia-steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 18px 18px; }
.ia-steps-bar i { height: 4px; border-radius: 4px; background: rgba(149, 187, 232, .15); transition: background-color .4s ease; }
.ia-steps-bar i.on { background: var(--yellow); }
@media (max-width: 920px) {
  .ia-grid { grid-template-columns: 1fr; gap: 40px; }
  .ia-screen { height: 560px; }
}

/* Parcerias: palavra dentro de um balão, cards com o contorno em balão deslocado atrás
   (como no site atual) e o selo oficial de cada parceiro sobre um bloco branco */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 14px; }
.partner { position: relative; }
.partner::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1.5px solid rgba(254, 204, 0, .55); border-radius: 28px 28px 28px 8px; pointer-events: none; transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .4s ease; }
.partner:hover::before { transform: translate(-6px, 6px); border-color: var(--yellow); }
.partner-card { position: relative; height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; gap: 12px; text-align: center; padding: 28px 26px 26px; border-radius: 28px 8px 28px 28px; background: linear-gradient(180deg, rgba(31, 58, 95, .55), rgba(15, 31, 53, .8)); border: 1px solid var(--border); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.partner:hover .partner-card { transform: translateY(-4px); }
.badge-tile { width: 100%; height: 110px; display: grid; place-items: center; }
/* Ordem no card: logo, texto, selo amarelo e, por último, o selo oficial de parceria */
.partner-card { grid-template-rows: auto auto 1fr auto; }
.partner-card .partner-logo { order: 1; }
.partner-card .partner-role { order: 2; }
.partner-card p { order: 3; }
.partner-card .badge-tile { order: 4; margin-top: 6px; }
.badge-tile img { max-width: 100%; max-height: 120px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.partner-card h3 { font-size: 20px; }
.partner-card p { color: var(--muted); font-size: 14px; }
.partner-card p strong { color: var(--ink); }
.partner-role { justify-self: center; padding: 6px 12px; border-radius: 12px 12px 12px 3px; font-size: 12px; font-weight: 700; background: rgba(254, 204, 0, .1); border: 1px solid rgba(254, 204, 0, .35); color: var(--yellow); }
@media (max-width: 920px) {
  .partners { grid-template-columns: 1fr; gap: 40px; max-width: 440px; margin: 0 auto; }
}

/* Logos oficiais de WhatsApp, Blip, Sienge e CV CRM sempre que o nome aparece como rótulo.
   Símbolo pequeno (.mk) ao lado do nome; logo completa em bloco branco (.logo-chip) onde há destaque */
.mk { display: inline-block; flex: none; width: 16px; height: 16px; object-fit: contain; vertical-align: -3px; margin-right: 6px; }
.mk + .mk { margin-left: -2px; }
.mk-plus { margin: 0 6px 0 -2px; font-weight: 700; color: var(--muted); }
.trust li::before { content: none; }
.trust { align-items: center; }
.trust li { gap: 4px; line-height: 1; }
.trust .mk { margin: 0; vertical-align: middle; align-self: center; }
.trust .mk-plus { margin: 0 1px; line-height: 1; }
.trust .mk + .mk-plus + .mk { margin-right: 2px; }
.logo-chip { display: inline-grid; place-items: center; height: 44px; padding: 8px 14px; margin: 0 auto 6px; border-radius: 12px 12px 12px 3px; background: #fff; }
.logo-chip img { width: auto; max-width: 120px; max-height: 26px; object-fit: contain; }
.node-logo { display: block; width: auto; max-width: 100%; height: 30px; margin: 4px auto 10px; object-fit: contain; }
.node-logo.wa { height: 34px; margin: 2px auto 10px; }
.node-stack .node-logo { height: 24px; margin: 2px auto 6px; }
.node-stack .logo-chip { height: 36px; padding: 6px 12px; }
.node-stack .logo-chip img { max-height: 20px; }
.partner-logo { margin: 0; }
.partner-logo .logo-chip { height: 68px; padding: 12px 22px; margin: 0; }
.partner-logo .logo-chip img { max-width: 190px; max-height: 44px; }
.partner-card .badge-tile { height: 76px; }
.partner-card .badge-tile img { max-height: 72px; }
.partner-card .partner-role { padding: 4px 10px; font-size: 11px; }
.dot.logo { display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.dot.logo img { width: 18px; height: 18px; object-fit: contain; }
.route { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.route i { font-style: normal; margin: 0 4px; }
.route { line-height: 1; }
.route .mk { margin: 0 4px 0 0; vertical-align: middle; align-self: center; }
.route i { line-height: 1; }
.tech { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tech { align-items: center; }
.tech span { display: inline-flex; align-items: center; gap: 5px; line-height: 1; }
.tech .mk { margin: 0; vertical-align: middle; }
.ico-logo { background: rgba(255, 255, 255, .06) !important; }
.ico-logo img { width: 30px; height: 30px; object-fit: contain; }
.story-steps h3 .mk { width: 24px; height: 24px; vertical-align: -4px; margin-right: 10px; }
.wa-float img { width: 24px; height: 24px; object-fit: contain; }
.wa-link { display: inline-flex; align-items: center; }
.ia-chat .sys.sienge:not(.loading)::before { width: 14px; height: 14px; border-radius: 0; background: url("assets/marcas/sienge-mark.svg") center / contain no-repeat; }

/* Como trabalhamos: quatro cards em linha, sem animação de trilha */
.process-flow { margin-top: 96px; }
.magit-wrap { margin-top: 80px; }
.pf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pf-step { display: grid; }
.pf-card { gap: 10px; }
.pf-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--yellow); }
.pf-card h3 { font-size: 19px; }
.pf-card p { color: var(--muted); font-size: 14px; }
.pf-out { justify-self: start; padding: 6px 12px; border-radius: 12px 12px 12px 3px; font-size: 12px; font-weight: 700; background: rgba(149, 187, 232, .1); color: var(--brand-text); }
@media (max-width: 920px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
}

/* Botão flutuante do WhatsApp pulsando */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--yellow); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }

@media (max-width: 1080px) {
  .link::after { top: 0; left: 50%; margin: 0 0 0 -4px; animation-name: packet-v; }
  @keyframes packet-v { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
}
@media (max-width: 920px) {
  .support { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .marquee .logos li { width: 170px; }
  .trust { gap: 8px 14px; font-size: 12px; }
  .gains-thread li { font-size: 13px; padding: 10px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 em { color: var(--yellow); background: none; }
  .card.tilt { transform: none; }
  .link::after { display: none; }
}

/* ---------- Telas de celular em fundo branco (hero e Agentes de IA) ---------- */
.phone .phone-bar { background: #fff; color: #0a1524; border-radius: 28px 28px 0 0; padding: 14px 14px 12px; border-bottom-color: #e3e9f1; }
.phone .phone-bar small { color: #4b77ac; }
.phone .chat { background: #fff; border-radius: 0 0 28px 28px; padding: 16px 12px 14px; }
.phone .msg, .ia-chat .msg { color: #0a1524; }
.phone .msg.in, .ia-chat .msg.in, .phone .typing, .ia-chat .typing { background: #eef2f7; }
.phone .msg.out, .ia-chat .msg.out { background: var(--deep); color: #fff; }
.phone .typing i, .ia-chat .typing i { background: #4b77ac; }

.ia-screen { background: #fff; }
.ia-screen .cw-head { background: #fff; border-bottom-color: #e3e9f1; color: #0a1524; }
.ia-screen .cw-title small { color: #5b6573; }
.ia-chat .sys { color: var(--deep); background: #eef2f7; border-color: rgba(35, 73, 117, .3); }
.ia-chat .sys::before { background: var(--deep); }
.ia-chat .sys.loading::before { border-color: var(--deep); border-right-color: transparent; background: none; }
.ia-chat .sys.ok { color: #1f7a3d; background: rgba(92, 194, 122, .14); border-color: rgba(31, 122, 61, .35); }
.ia-chat .sys.ok::before { background: #2f9e52; }
.ia-chat .sys.hand { color: #0a1524; background: rgba(254, 204, 0, .28); border-color: #e0b400; }
.ia-chat .sys.hand::before { background: #e0b400; }
.ia-steps-bar i { background: #e3e9f1; }
/* ---------- Bloco "Uma solução MAG-IT" ---------- */
.magit-band { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 36px 44px; border-radius: var(--r-lg) 8px var(--r-lg) var(--r-lg); background: linear-gradient(120deg, rgba(35, 73, 117, .55), rgba(15, 31, 53, .85)); border: 1px solid var(--border); }
.magit-band::after { content: ""; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 204, 0, .14), transparent 65%); pointer-events: none; }
.magit-logo { position: relative; width: 132px; height: 132px; flex: none; }
.magit-logo img { width: 100%; height: 100%; display: block; animation: magit-glow 4s ease-in-out infinite; }
.magit-logo::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed rgba(149, 187, 232, .35); animation: spin 18s linear infinite; }
@keyframes magit-glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(254, 204, 0, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(254, 204, 0, .35)); } }
.magit-copy { display: grid; gap: 10px; justify-items: start; }
.magit-copy h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.magit-copy p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 60ch; }
.magit-band .btn { position: relative; z-index: 1; white-space: nowrap; }
@media (max-width: 920px) {
  .magit-band { grid-template-columns: 1fr; justify-items: start; gap: 22px; padding: 28px 22px; }
  .magit-logo { width: 104px; height: 104px; }
}
@media (prefers-reduced-motion: reduce) { .magit-logo img, .magit-logo::before { animation: none; } }
/* ---------- Serviços (home) ---------- */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; }
.service .ico { margin-bottom: 4px; }
.service-logo { font-size: 26px; margin-bottom: 6px; }
.service-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }
.service h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; }
.service > p { color: var(--muted); }
.service .checks { margin-bottom: 8px; }
.service .btn { margin-top: auto; }
.service-incorpora { border-color: rgba(254, 204, 0, .45); background: linear-gradient(160deg, rgba(254, 204, 0, .08), rgba(15, 31, 53, .6) 60%); }
@media (max-width: 920px) { .services { grid-template-columns: 1fr; } .service { padding: 26px 22px; } }

/* ---------- Depoimento em vídeo (cases) ---------- */
.clients-grid .case-video { display: grid; justify-items: center; text-align: center; gap: 18px; padding: 28px 24px; border-color: rgba(254, 204, 0, .45); background: linear-gradient(180deg, rgba(254, 204, 0, .07), rgba(15, 31, 53, .6) 55%); }
.cv-head { display: grid; justify-items: center; gap: 12px; }
.cv-logo { height: 40px; width: auto; }
.case-video .case-tag { justify-self: center; }
.case-video video { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #000; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.cv-caption { display: grid; justify-items: center; gap: 6px; }
.cv-caption h3 { font-size: 22px; }
.cv-caption > p:not(.tech) { color: var(--brand-text); font-size: 14px; }
.case-video .tech { justify-content: center; margin-top: 4px; }

/* ---------- Logo da Solução Incorpora (vetor) ---------- */
.inc-logo { display: inline-flex; align-items: center; gap: .35em; font-size: 26px; line-height: 1; color: #fff; }
.inc-logo svg { height: 1.7em; width: auto; flex: none; }
.inc-logo b { display: block; font-size: 1em; font-weight: 700; letter-spacing: -.01em; }
.inc-logo small { display: block; margin-top: .3em; font-size: .4em; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: #9ccc3c; }

/* ---------- Trajetória e integrações ---------- */
.story-logo { font-size: 22px; margin-bottom: 16px; }
.story-steps h3.next { margin-top: 28px; }
.node-logo.wa-api { height: 40px; margin: 0 auto 8px; }

/* ---------- Página da Solução Incorpora ---------- */
.inc-hero-logo { height: 76px; width: auto; }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pain-grid .card { display: grid; gap: 10px; align-content: start; }
.pain-grid .card p { color: var(--muted); font-size: 14px; }
.pain-note { margin-top: 24px; text-align: center; color: var(--muted); }
.pain-note b { color: var(--yellow); font-weight: 700; }

.market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market .card { display: grid; gap: 6px; align-content: start; }
.market b { font: 700 clamp(48px, 5vw, 64px) / 1 var(--font); color: var(--yellow); letter-spacing: -.02em; }
.market .card span { font-size: 15px; }
.market .card p { color: var(--muted); font-size: 14px; }
.market-insight { margin-top: 20px; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid rgba(254, 204, 0, .35); background: rgba(254, 204, 0, .06); font-size: 17px; line-height: 1.5; }
.market-insight .hl { font-weight: 700; }
.source { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; }
.practice > .card { display: grid; gap: 14px; align-content: start; }
.practice .big { display: flex; align-items: center; gap: 18px; }
.practice .big b { font: 700 clamp(64px, 7vw, 92px) / .9 var(--font); color: var(--yellow); letter-spacing: -.03em; }
.practice .big span { font-size: 17px; line-height: 1.35; }
.practice small { color: var(--muted); font-size: 13px; }
.practice h3 { font-size: 15px; font-weight: 700; color: var(--brand-text); letter-spacing: .02em; }
.flow-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; position: relative; }
.flow-row li { display: grid; justify-items: center; text-align: center; gap: 8px; font-size: 13px; color: var(--muted); }
.flow-row li b { color: var(--ink); font-size: 14px; }
.flow-row .ico { margin: 0; }
.eco { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.eco img { height: 26px; width: auto; }
.eco img.wa-api { height: 38px; }
.eco i { flex: 1 1 16px; max-width: 40px; border-top: 2px dashed rgba(254, 204, 0, .5); }
.practice-quote { grid-column: 1 / -1; padding: 22px 26px; border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(238, 244, 252, .03); font-size: 18px; line-height: 1.5; }

.agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.agent { display: grid; gap: 12px; align-content: start; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(10, 21, 36, .45); transition: border-color .3s ease, background-color .3s ease, transform .3s ease; }
.agent.on { border-color: rgba(254, 204, 0, .55); background: rgba(254, 204, 0, .06); }
.agent-head { display: flex; align-items: center; gap: 14px; }
.agent-head .ico { margin: 0; flex: none; }
.agent-head b { display: block; font-size: 20px; }
.agent-head small { color: var(--brand-text); font-size: 13px; }
.agent > p { color: var(--muted); font-size: 14px; }
.agent .tabs { margin: 4px 0 0; }

.regua { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.regua-left { display: grid; gap: 28px; min-width: 0; }
.regua-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: rs; }
.regua-steps li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(238, 244, 252, .03); counter-increment: rs; }
.regua-steps li::before { content: counter(rs); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--on-yellow); background: var(--yellow); margin-bottom: 6px; }
.regua-steps b { font-size: 16px; }
.regua-steps span { color: var(--muted); font-size: 14px; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quick > span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.quick b { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(254, 204, 0, .5); color: var(--yellow); font-size: 13px; font-weight: 600; }
.gains3 { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); }
.gains3 strong { color: var(--yellow); }

.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.caps li { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 24px 16px; border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(238, 244, 252, .03); font-size: 15px; font-weight: 600; transition: border-color .3s ease, transform .3s ease; }
.caps li:hover { border-color: rgba(254, 204, 0, .5); transform: translateY(-3px); }
.caps .ico { margin: 0; }

.activation.compare { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-top: 0; }
.compare .act { gap: 6px; padding: 28px; }
.compare .act b { font-size: clamp(36px, 4vw, 52px); }
.compare .act h3 { font-size: 20px; }
.compare .act ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.compare .act li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
.compare .act li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--muted); }
.compare .act-main li { color: var(--ink); }
.compare .act-main li::before { border-color: var(--yellow); background: var(--yellow); }
.compare-note { margin-top: 20px; text-align: center; font-size: 17px; }
.compare-note b { color: var(--yellow); }

.inc-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.inc-logos li { display: grid; place-items: center; height: 96px; padding: 18px; border-radius: 22px 22px 22px 6px; border: 1px solid var(--border); background: rgba(238, 244, 252, .04); }
.inc-logos img { max-width: 100%; max-height: 44px; width: auto; object-fit: contain; opacity: .9; transition: opacity .3s ease; }
.inc-logos li:hover img { opacity: 1; }
.inc-stats { margin-top: 20px; }

.inc-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.inc-cta h2 { font-size: clamp(28px, 3.2vw, 40px); max-width: 22ch; }
.inc-cta p { color: var(--muted); font-size: 17px; margin-top: 10px; }
.inc-cta .actions { justify-content: flex-end; }

@media (max-width: 1080px) {
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regua { grid-template-columns: 1fr; gap: 40px; }
  .practice { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pain-grid, .market, .agents, .regua-steps, .activation.compare, .inc-cta { grid-template-columns: 1fr; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .inc-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inc-cta .actions { justify-content: flex-start; }
}
/* ---------- Incorpora: topo com celular e prédio ao fundo ---------- */
.inc-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(54%, 760px); pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
.inc-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; animation: inc-zoom 20s ease-in-out infinite alternate; }
.inc-hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to bottom, transparent, var(--bg)); }
.inc-hero-space { min-height: 520px; }
@keyframes inc-zoom { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1.5%); } }
@media (max-width: 920px) {
  .inc-hero-art { width: 100%; opacity: .4; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
  .inc-hero-space { display: none; }
}

/* ---------- Incorpora: na prática ---------- */
.practice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.practice-stat { justify-items: center; align-content: center; text-align: center; }
.practice-stat b { font: 700 clamp(72px, 8vw, 104px) / .9 var(--font); color: var(--yellow); letter-spacing: -.03em; }
.practice-stat span { font-size: 18px; line-height: 1.35; max-width: 22ch; }
.practice-flow { grid-column: 1 / -1; }
.practice-flow .flow-row::before { content: ""; position: absolute; top: 24px; left: 12.5%; right: 12.5%; border-top: 2px dashed rgba(254, 204, 0, .4); }
.practice-flow .flow-row .ico { position: relative; z-index: 1; }
.eco-stack { flex-direction: column; flex-wrap: nowrap; gap: 10px; padding-top: 4px; }
.eco-stack i { flex: none; width: 0; height: 22px; max-width: none; border-top: 0; border-left: 2px dashed rgba(254, 204, 0, .5); }
.practice-quote { text-align: center; }
.market-insight { text-align: center; }
@media (max-width: 1080px) {
  .practice { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-stat { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .practice { grid-template-columns: 1fr; }
  .practice-flow .flow-row::before { display: none; }
}

/* ---------- Incorpora: agentes em cards ---------- */
.agent { gap: 14px; }
.agent .checks { margin: 0; }
.agent .route { justify-self: start; margin-top: auto; }

/* ---------- Incorpora: régua de cobrança ---------- */
.regua-steps { position: relative; gap: 22px; padding-top: 24px; }
.regua-steps::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(254, 204, 0, .1), var(--yellow), rgba(254, 204, 0, .1)); }
.regua-steps::after { content: ""; position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(254, 204, 0, .15); }
.regua-steps li::before { position: absolute; top: 16px; right: 16px; margin: 0; width: 26px; height: 26px; font-size: 13px; }
.regua-steps li:not(:last-child)::after { content: "›"; position: absolute; top: 50%; right: -17px; transform: translateY(-50%); font-size: 26px; line-height: 1; color: var(--yellow); }
.rs-ico { width: 44px; height: 44px; border-radius: 14px 14px 14px 4px; display: grid; place-items: center; border: 1px solid rgba(254, 204, 0, .45); background: rgba(254, 204, 0, .06); margin-bottom: 6px; }
.rs-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.regua-divider { margin: 0; border: 0; height: 1px; background: var(--border); }
.quick { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick > span, .quick b { flex: none; white-space: nowrap; }
.quick b { padding: 7px 12px; font-size: 12px; }
.regua-shot { margin: 0; justify-self: center; width: min(100%, 380px); animation: float-y 6s ease-in-out infinite; }
.regua-shot img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 760px) { .regua-steps li:not(:last-child)::after { display: none; } }

/* ---------- Incorpora: IA com destaque em sequência ---------- */
.caps li { animation: cap-cycle 7.5s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); }
.caps li .ico { animation: cap-ico 7.5s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s); }
@keyframes cap-cycle { 0%, 22%, 100% { border-color: var(--border); transform: none; box-shadow: none; } 7%, 15% { border-color: rgba(254, 204, 0, .65); transform: translateY(-8px); box-shadow: 0 20px 40px rgba(254, 204, 0, .12); } }
@keyframes cap-ico { 0%, 22%, 100% { transform: none; background: var(--deep); } 7%, 15% { transform: scale(1.12); background: rgba(254, 204, 0, .2); } }

/* ---------- Incorpora: chamada final com o celular ---------- */
.inc-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.inc-cta-copy { display: grid; gap: 14px; justify-items: start; }
.inc-cta-copy p { margin-top: 0; }
.inc-cta h2 { line-height: 1.12; }
.inc-cta .actions { justify-content: flex-start; margin-top: 8px; }
.inc-cta-img { width: 260px; height: auto; border-radius: 28px; -webkit-mask-image: linear-gradient(to bottom, #000 85%, transparent); mask-image: linear-gradient(to bottom, #000 85%, transparent); animation: float-y 6s ease-in-out infinite; }
@media (max-width: 760px) { .inc-cta-img { justify-self: center; width: 220px; } }
/* ---------- Logo da Solução Incorpora (imagem oficial) ---------- */
.inc-logo-img { display: block; width: auto; }
.inc-hero-logo { height: 104px; }
.service-logo { height: 72px; font-size: inherit; }
.story-logo { height: 60px; font-size: inherit; margin-bottom: 18px; }
.tech-logo { display: block; height: 24px; width: auto; }

/* ---------- Cabeçalho da Incorpora: atalho para o site ---------- */
.header-actions { display: flex; align-items: center; gap: 8px; min-height: 0; padding: 0; }
.header-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.header-actions .btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1260px) { .header-actions { display: none; } }

/* ---------- Incorpora: topo com o prédio de fundo e o celular animado ---------- */
.inc-hero-art { width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .35) 32%, #000 62%); mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .35) 32%, #000 62%); }
.inc-hero-art img { object-position: right center; }
.inc-phone { position: relative; justify-self: center; width: min(100%, 430px); animation: float-y 6s ease-in-out infinite; }
.inc-phone img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.inc-phone-glow { position: absolute; inset: 12% 8% 6% 24%; border-radius: 50%; background: radial-gradient(circle, rgba(254, 204, 0, .28), transparent 65%); filter: blur(20px); animation: inc-glow 5s ease-in-out infinite; }
.inc-ping { position: absolute; z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #38e1f0; box-shadow: 0 0 12px #38e1f0; }
.inc-ping::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #38e1f0; animation: inc-ping 2.4s ease-out infinite; }
.inc-ping.p1 { left: 35%; top: 39.3%; }
.inc-ping.p2 { left: 33.2%; top: 56.8%; }
.inc-ping.p2::after { animation-delay: .8s; }
.inc-ping.p3 { left: 31.3%; top: 74.2%; }
.inc-ping.p3::after { animation-delay: 1.6s; }
@keyframes inc-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@keyframes inc-glow { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.05); } }
@media (max-width: 920px) {
  .inc-hero-art { opacity: .5; }
  .inc-phone { width: min(100%, 320px); }
}

/* ---------- Incorpora: os três destaques em um card ---------- */
.practice-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr); gap: 0; padding: 32px 0; }
.practice-main > div { padding: 4px 32px; display: grid; gap: 16px; align-content: start; }
.practice-main > div + div { border-left: 1px solid var(--border); }
.pm-stat { justify-items: center; align-content: center !important; text-align: center; }
.pm-stat b { font: 700 clamp(72px, 8vw, 104px) / .9 var(--font); color: var(--yellow); letter-spacing: -.03em; }
.pm-stat span { font-size: 18px; line-height: 1.35; max-width: 20ch; }
.pm-stat small { color: var(--muted); font-size: 13px; }
.practice-main .eco-stack { align-items: flex-start; }
@media (max-width: 900px) {
  .practice-main { grid-template-columns: 1fr; padding: 8px 0; }
  .practice-main > div { padding: 24px; }
  .practice-main > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Incorpora: agentes com imagem ---------- */
.agents-art { margin: 0 0 24px; overflow: hidden; border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.agents-art img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.agents-art:hover img { transform: scale(1.03); }

/* ---------- Incorpora: régua (linha abaixo dos cards, sem setas, ícones nos ganhos) ---------- */
.regua-steps { padding-top: 0; padding-bottom: 26px; }
.regua-steps::before { top: auto; bottom: 0; }
.regua-steps::after { top: auto; bottom: -4px; }
.regua-steps li:not(:last-child)::after { content: none; }
.gains3 { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.gains3 li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.g-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(254, 204, 0, .5); background: rgba(254, 204, 0, .08); }
.g-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.regua-shot { width: min(100%, 400px); }
.regua-shot img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }

/* ---------- Incorpora: chamada final no estilo do banner ---------- */
.inc-cta { position: relative; display: block; overflow: hidden; min-height: 460px; border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); border: 1px solid var(--border); background: #071733; }
.inc-cta-art { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; -webkit-mask-image: linear-gradient(to right, transparent, #000 34%); mask-image: linear-gradient(to right, transparent, #000 34%); }
.inc-cta-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.inc-cta-copy { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; max-width: 600px; padding: 64px 56px; }
.inc-cta-copy .tag { letter-spacing: .3em; }
.inc-cta h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; max-width: none; }
.inc-cta-copy p { color: var(--ink); font-size: 18px; }
@media (max-width: 760px) {
  .inc-cta-art { position: relative; width: 100%; height: 280px; -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
  .inc-cta-copy { padding: 8px 24px 32px; }
}

/* ---------- Home: depoimento em destaque ---------- */
.case-feature { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 24px; }
.cf-video { display: block; width: min(100%, 380px); height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #000; border: 1px solid var(--border); box-shadow: 0 40px 70px rgba(0, 0, 0, .5), 0 0 0 6px rgba(254, 204, 0, .08); }
.cf-id { display: flex; align-items: center; gap: 22px; }
.cf-logo { height: 44px; width: auto; flex: none; padding-right: 22px; border-right: 1px solid var(--border); box-sizing: content-box; }
.cf-id > div { display: grid; gap: 4px; justify-items: start; }
.cf-id h3 { font-size: 22px; }
.cf-id > div > p:not(.tech) { color: var(--brand-text); font-size: 14px; }
.cf-id .tech { margin-top: 6px; align-items: center; }
@media (max-width: 520px) { .cf-id { flex-direction: column; text-align: center; } .cf-logo { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--border); } .cf-id > div { justify-items: center; } }
/* ---------- Home: mural de clientes ---------- */
.client-wall { display: grid; gap: 20px; align-content: center; min-width: 0; }
.cw-top { display: flex; align-items: center; gap: 16px; }
.cw-top b { font: 700 56px / 1 var(--font); color: var(--yellow); letter-spacing: -.02em; }
.cw-top span { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 28ch; }
.cw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cw-grid li { height: 76px; display: grid; place-items: center; padding: 14px 18px; border-radius: 20px 20px 20px 6px; border: 1px solid var(--border); background: rgba(238, 244, 252, .04); animation: wall-glow 11s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1s); }
.cw-grid li:nth-child(even) { border-radius: 20px 20px 6px 20px; }
.cw-grid img { max-width: 100%; max-height: 36px; width: auto; object-fit: contain; opacity: .9; }
.cw-grid img.big { max-height: 46px; }
@keyframes wall-glow { 0%, 9%, 100% { border-color: var(--border); background: rgba(238, 244, 252, .04); transform: none; } 3%, 6% { border-color: rgba(254, 204, 0, .6); background: rgba(254, 204, 0, .08); transform: translateY(-3px); } }
.cw-grid .cw-you { animation: none; border: 1px dashed rgba(254, 204, 0, .55); background: rgba(254, 204, 0, .05); }
.cw-you a { display: grid; gap: 2px; text-align: center; text-decoration: none; color: var(--yellow); }
.cw-you a small { color: var(--muted); font-size: 12px; }
.cw-you:hover { background: rgba(254, 204, 0, .1); }
.case-feature .cf-id { order: 0; }

/* ---------- Incorpora: ajustes finos ---------- */
.g-ico { width: auto; height: auto; border: 0; background: none; border-radius: 0; }
.g-ico svg { width: 28px; height: 28px; stroke-width: 1.6; }
.practice-quote { border: 0; background: none; padding: 4px 0 0; }
.pm-eco { align-content: center !important; justify-items: center; }
.pm-eco .eco-stack { align-items: center; }

/* ---------- Incorpora: agentes sobre a imagem ---------- */
.agents-stage { position: relative; overflow: hidden; border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.agents-bg { display: block; width: 100%; height: auto; min-height: 640px; object-fit: cover; object-position: center top; }
.agents-stage::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, rgba(10, 21, 36, .92)); pointer-events: none; }
.agents-stage .agents { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: min(92%, 940px); margin: 0; transform: translateX(-50%); }
.agents-stage .agent { background: rgba(10, 21, 36, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: rgba(149, 187, 232, .25); }
@media (max-width: 900px) {
  .agents-bg { min-height: 0; }
  .agents-stage::after { display: none; }
  .agents-stage .agents { position: static; transform: none; width: auto; padding: 16px; }
}

/* ---------- Incorpora: exemplo da IA no celular ---------- */
.ia-demo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.caps-steps { grid-template-columns: 1fr; gap: 12px; }
.caps-steps li, .caps-steps li .ico { animation: none; }
.caps-steps li { display: flex; align-items: center; justify-items: start; text-align: left; gap: 16px; padding: 16px 22px; transition: border-color .4s ease, background-color .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.caps-steps li.active { border-color: rgba(254, 204, 0, .65); background: rgba(254, 204, 0, .08); transform: translateX(8px); }
.caps-steps li.active .ico { background: rgba(254, 204, 0, .22); transform: scale(1.08); }
.inc-demo-phone .ia-steps-bar { grid-template-columns: repeat(5, 1fr); }
.ia-chat .msg.file { display: flex; align-items: center; gap: 10px; }
.ia-chat .msg.file b { display: block; font-size: 12px; }
.ia-chat .msg.file small { display: block; font-size: 11px; color: #a9c3e4; }
.ia-example-note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 920px) { .ia-demo { grid-template-columns: 1fr; gap: 32px; } .caps-steps li.active { transform: none; } }.agents-bg { min-height: 720px; object-position: center 15%; }
.agents-stage .agent { padding: 18px 22px; gap: 10px; }
.agents-stage .agent > p { font-size: 13px; line-height: 1.5; }
.agents-stage .checks { gap: 6px; }
.agents-stage .checks li { font-size: 13px; }
@media (max-width: 900px) { .agents-bg { min-height: 0; } }
/* ---------- Cabeçalho: logo à esquerda, navegação no centro exato, botões à direita ---------- */
@media (min-width: 1261px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav .brand { justify-self: start; }
  .nav { column-gap: 16px; }
  .site-header .nav { max-width: 1360px; }
  .menu { gap: 20px; font-size: 13.5px; }
  .header-actions { justify-self: end; gap: 6px; }
  .header-actions .btn { padding: 0 12px; font-size: 13px; }
}
.support-cta { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Incorpora: agentes em destaque, imagem como fundo ---------- */
.agents-bg { filter: brightness(.5) saturate(.85) blur(1.5px); transform: scale(1.03); }
.agents-stage::after { inset: 0; background: linear-gradient(180deg, rgba(10, 21, 36, .25), rgba(10, 21, 36, .55) 45%, rgba(10, 21, 36, .9)); }
.agents-stage .agents { width: min(94%, 1060px); bottom: 36px; gap: 20px; }
.agents-stage .agent { padding: 28px 30px; gap: 14px; background: rgba(10, 21, 36, .88); border: 1px solid rgba(254, 204, 0, .55); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(254, 204, 0, .08) inset; transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease; }
.agents-stage .agent:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 40px rgba(254, 204, 0, .12); }
.agents-stage .agent-head b { font-size: 24px; }
.agents-stage .agent-head small { font-size: 14px; color: var(--yellow); }
.agents-stage .agent-head .ico { width: 52px; height: 52px; background: rgba(254, 204, 0, .14); }
.agents-stage .agent > p { font-size: 15px; color: var(--ink); opacity: .85; }
.agents-stage .checks { gap: 8px; }
.agents-stage .checks li { font-size: 14px; }
@media (max-width: 900px) { .agents-bg { filter: brightness(.6) saturate(.9); transform: none; } .agents-stage .agents { width: auto; } }
/* ---------- Incorpora: dois agentes com o agente animado no centro ---------- */
.agents-duo { display: grid; grid-template-columns: minmax(0, 1fr) 280px minmax(0, 1fr); gap: 24px; align-items: center; }
.agents-duo .agent { padding: 28px 30px; gap: 14px; background: linear-gradient(180deg, rgba(31, 58, 95, .5), rgba(15, 31, 53, .85)); border: 1px solid rgba(254, 204, 0, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s ease; }
.agents-duo .agent:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 40px rgba(254, 204, 0, .12); }
.agents-duo .agent-head b { font-size: 24px; }
.agents-duo .agent-head small { font-size: 14px; color: var(--yellow); }
.agents-duo .agent-head .ico { width: 52px; height: 52px; background: rgba(254, 204, 0, .14); }
.agents-duo .agent > p { font-size: 15px; color: var(--ink); opacity: .85; }
.agents-duo .checks li { font-size: 14px; }
.agent-core { position: relative; height: 320px; display: grid; place-items: center; }
.ac-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.ac-ring.r1 { width: 240px; height: 240px; margin: -120px 0 0 -120px; border: 1.5px dashed rgba(254, 204, 0, .45); animation: spin 24s linear infinite; }
.ac-ring.r2 { width: 170px; height: 170px; margin: -85px 0 0 -85px; border: 1px solid rgba(149, 187, 232, .3); background: radial-gradient(circle, rgba(254, 204, 0, .14), transparent 70%); animation: ac-pulse 3.2s ease-in-out infinite; }
.ac-wire { position: absolute; top: 50%; width: 46px; height: 2px; background: linear-gradient(90deg, rgba(254, 204, 0, 0), rgba(254, 204, 0, .9), rgba(254, 204, 0, 0)); background-size: 200% 100%; animation: ac-flow 1.6s linear infinite; }
.ac-wire.w-l { left: -24px; }
.ac-wire.w-r { right: -24px; animation-direction: reverse; }
.ac-orbit { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px; animation: spin 18s linear infinite; }
.ac-chip { position: absolute; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--on-yellow); background: var(--yellow); white-space: nowrap; animation: spin 18s linear infinite reverse; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.ac-chip.c1 { left: 50%; top: -12px; margin-left: -34px; }
.ac-chip.c2 { left: -14px; bottom: 32px; }
.ac-chip.c3 { right: -6px; bottom: 32px; }
.ac-bot { position: relative; z-index: 1; width: 128px; animation: float-y 4s ease-in-out infinite; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .5)) drop-shadow(0 0 22px rgba(254, 204, 0, .25)); }
.ac-bot svg { display: block; width: 100%; height: auto; }
.ac-eyes { transform-box: fill-box; transform-origin: center; animation: ac-blink 4.5s ease-in-out infinite; }
.ac-antenna { animation: ac-glow 1.8s ease-in-out infinite; }
.ac-dot { animation: ac-type 1.2s ease-in-out infinite; }
.ac-dot.d2 { animation-delay: .2s; }
.ac-dot.d3 { animation-delay: .4s; }
@keyframes ac-pulse { 0%, 100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes ac-flow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes ac-blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes ac-glow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes ac-type { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (max-width: 1080px) {
  .agents-duo { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .agent-core { order: -1; height: 280px; }
  .ac-wire { display: none; }
}
/* Cabeçalho um pouco mais alto */
.site-header .nav { min-height: 84px; }
.site-header.scrolled .nav { min-height: 70px; }

/* Botão flutuante do WhatsApp: só o ícone */
.wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
.wa-float img { width: 28px; height: 28px; }

/* ---------- Botão "Suporte técnico" no menu ---------- */
.menu .menu-support { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(254, 204, 0, .45); color: var(--yellow); opacity: 1; transition: background-color .25s ease, border-color .25s ease; }
.menu .menu-support svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu .menu-support:hover, .menu .menu-support.is-active { background: rgba(254, 204, 0, .12); border-color: var(--yellow); color: var(--yellow); }
@media (max-width: 1260px) { .menu .menu-support { justify-content: center; margin-top: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(254, 204, 0, .45); } }
@media (min-width: 1261px) { .menu { gap: 16px; } }

/* ---------- Página de suporte técnico ---------- */
.support-hero { position: relative; overflow: hidden; padding-block: 72px 24px; text-align: center; }
.support-hero .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.support-hero h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.05; }
.support-hero h1 em { font-style: normal; color: var(--yellow); }
.support-hero .lead { max-width: 60ch; }
.support-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.support-side { display: grid; gap: 20px; position: sticky; top: 110px; }
.support-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.support-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); background: rgba(238, 244, 252, .03); }
.support-steps .ico { flex: none; margin: 0; }
.support-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.support-steps span { color: var(--muted); font-size: 14px; }
.support-alt { display: grid; gap: 6px; justify-items: start; padding: 22px; border-radius: var(--r-lg); border: 1px dashed rgba(254, 204, 0, .45); background: rgba(254, 204, 0, .05); }
.support-alt > span { color: var(--muted); font-size: 14px; }
.support-alt .wa-link { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 700; text-decoration: none; }
.support-form { padding: 10px; overflow: hidden; background: #fff; border-color: rgba(254, 204, 0, .45); }
.support-form iframe { display: block; width: 100%; height: 900px; border: 0; border-radius: 16px; background: #fff; }
.support-fallback { margin: 10px 8px 6px; font-size: 13px; color: #44516a; text-align: center; }
.support-fallback a { color: #234975; font-weight: 700; }
@media (max-width: 920px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-side { position: static; order: 2; }
  .support-form iframe { height: 1080px; }
}
@media (min-width: 1261px) {
  .menu { gap: 14px; font-size: 13px; }
  .header-actions .btn { padding: 0 11px; }
  .header-actions .btn-ghost svg { display: none; }
}

/* Agentes: os dois cards com a mesma altura */
.agents-duo { align-items: stretch; }
.agents-duo .agent { align-content: start; }
.agents-duo .agent-core { align-self: center; }

.support-form.is-linked { padding: 0; background: linear-gradient(180deg, rgba(31, 58, 95, .5), rgba(15, 31, 53, .85)); }
.support-form.is-linked .support-fallback { display: none; }
.support-open { display: grid; gap: 16px; justify-items: start; padding: 40px; }
.support-open h2 { font-size: clamp(26px, 3vw, 34px); }
.support-open > p { color: var(--muted); }
.support-open .checks { margin-bottom: 8px; }
.dot.user { display: grid; place-items: center; background: var(--yellow); box-shadow: 0 0 0 6px rgba(254, 204, 0, .15); }
.dot.user svg { width: 16px; height: 16px; fill: none; stroke: #0a1524; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Topo: os dois botões lado a lado */
.hero-actions { flex-wrap: nowrap; }
.hero-actions .btn { white-space: nowrap; }
@media (max-width: 420px) { .hero-actions { flex-wrap: wrap; } .hero-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- Home: vídeo + case + logos de clientes ---------- */
.case-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: center; }
.case-row .case-feature { display: block; }
.case-row .cf-video { width: 100%; }
.case-story { display: grid; gap: 18px; justify-items: start; padding: 36px 40px; border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); border: 1px solid rgba(254, 204, 0, .45); background: linear-gradient(160deg, rgba(254, 204, 0, .07), rgba(15, 31, 53, .7) 55%); }
.cs-question { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.cs-lead { color: var(--muted); font-size: 16px; }
.cs-gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cs-gains li { display: flex; gap: 14px; align-items: flex-start; }
.cs-gains .g-ico { margin-top: 2px; }
.cs-gains b { display: block; font-size: 16px; }
.cs-gains span { color: var(--muted); font-size: 14px; }
.client-wall-row { margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.client-wall-row .cw-top { flex-direction: column; align-items: flex-start; gap: 8px; max-width: 220px; }
.client-wall-row .cw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .client-wall-row { grid-template-columns: 1fr; }
  .client-wall-row .cw-top { flex-direction: row; align-items: center; max-width: none; }
  .client-wall-row .cw-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .case-row { grid-template-columns: 1fr; justify-items: center; }
  .case-row .case-feature { width: min(100%, 340px); }
  .case-story { padding: 28px 24px; }
}
@media (max-width: 560px) { .client-wall-row .cw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.client-wall-row .cw-you a b { font-size: 13px; }
.client-wall-row .cw-you a small { font-size: 11px; }

/* Suporte: formulário no mesmo formato do Pipefy (usado na pré-visualização) */
.support-form.is-linked { padding: 0; background: #fff; }
.pf-replica { display: grid; gap: 18px; padding: 32px 30px; color: #1f2a3c; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.pf-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; font-size: 14px; font-weight: 600; }
.pf-field legend { padding: 0; margin-bottom: 8px; }
.pf-field small { font-weight: 400; color: #5b6573; }
.pf-field input:not([type="radio"]), .pf-field textarea { width: 100%; padding: 11px 12px; border: 1px solid #d5dbe5; border-radius: 6px; font: 400 14px/1.4 inherit; color: #1f2a3c; background: #fff; }
.pf-field input:focus, .pf-field textarea:focus { outline: 2px solid #4b77ac; outline-offset: 1px; border-color: #4b77ac; }
.pf-phone { display: flex; gap: 8px; }
.pf-ddi { flex: none; display: grid; place-items: center; padding: 0 12px; border-radius: 6px; background: #eef2f7; font-weight: 400; font-size: 13px; }
.pf-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 400; }
.pf-radios label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pf-drop { display: grid; gap: 6px; justify-items: center; padding: 22px; border: 1px dashed #b9c3d3; border-radius: 8px; font-weight: 400; color: #5b6573; cursor: pointer; }
.pf-drop b { color: #234975; }
.pf-submit { justify-self: start; padding: 11px 26px; border: 0; border-radius: 6px; background: #234975; color: #fff; font: 600 14px/1 inherit; cursor: pointer; }
.pf-submit:hover { background: #1a3a60; }
.pf-note { font-size: 12px; color: #5b6573; }.pf-note.is-on { padding: 10px 12px; border-radius: 6px; background: #fff7d1; color: #1f2a3c; }

/* ---------- Soluções: cards no formato dos cards de benefícios do site da MAGIT ---------- */
.pillars .card { position: relative; overflow: hidden; padding: 30px 28px 34px; border-radius: 24px; background: linear-gradient(165deg, rgba(24, 46, 78, .6), rgba(8, 17, 32, .8)); border: 1px solid rgba(110, 150, 205, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 60px -36px rgba(75, 119, 172, .6); }
.pillars .card:hover { border-color: rgba(149, 187, 232, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 32px -8px rgba(75, 119, 172, .6), 0 24px 60px -24px rgba(75, 119, 172, .55); }
.pillars .card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--yellow), var(--brand-text)); box-shadow: 0 0 14px rgba(254, 204, 0, .45); transition: width 1.2s cubic-bezier(.2, .7, .2, 1) .2s; }
.pillars .card.in::after, .pillars .card:not(.reveal)::after { width: 100%; }
/* ---------- Ganhos no dia a dia: cards com ícone ---------- */
.gains-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gains-grid li { display: flex; align-items: center; gap: 18px; min-height: 104px; padding: 22px 24px; border-radius: 22px; background: linear-gradient(165deg, rgba(24, 46, 78, .55), rgba(8, 17, 32, .8)); border: 1px solid rgba(110, 150, 205, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); font-weight: 700; font-size: 16px; line-height: 1.4; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.gains-grid li:hover { border-color: rgba(149, 187, 232, .55); transform: translateY(-3px); box-shadow: 0 0 28px -8px rgba(75, 119, 172, .6); }
.gg-ico { width: 58px; height: 58px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(30, 56, 94, .92), rgba(7, 15, 28, .96)); border: 1px solid rgba(149, 187, 232, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 24px -8px rgba(75, 119, 172, .7); }
.gg-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(254, 204, 0, .4)); }
@media (max-width: 920px) { .gains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gains-grid { grid-template-columns: 1fr; } .gains-grid li { min-height: 0; } .gains-grid br { display: none; } }.gains-grid { width: 100%; }

/* Clientes: vídeo, case e logos dentro de uma única área */
.clients-panel { position: relative; overflow: hidden; padding: 40px; border-radius: var(--r-xl) 10px var(--r-xl) var(--r-xl); border: 1px solid rgba(110, 150, 205, .26); background: radial-gradient(600px 360px at 15% 0%, rgba(75, 119, 172, .22), transparent 70%), linear-gradient(165deg, rgba(24, 46, 78, .45), rgba(8, 17, 32, .75)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 70px -40px rgba(75, 119, 172, .6); }
.clients-panel .client-wall-row { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .clients-panel { padding: 24px 18px; } }
/* Suporte: só o formulário do Pipefy, centralizado e sem animação */
.support-only { grid-template-columns: minmax(0, 820px); justify-content: center; }
.support-form { border-radius: var(--r-xl); border: 1px solid rgba(254, 204, 0, .45); }
.support-form, .support-form * { animation: none !important; transition: none !important; transform: none !important; }.support-hero .hero-light { animation: none; }

/* Cabeçalho: menu centralizado no espaço entre o logo e os botões */
@media (min-width: 1261px) {
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
  .menu { justify-self: center; }
}

/* Bloco '+ a sua empresa' cabendo no quadrado */
.cw-grid .cw-you { padding: 8px 10px; }
.cw-you a { gap: 3px; line-height: 1.15; }
.client-wall-row .cw-you a b, .cw-you a b { font-size: 12.5px; white-space: nowrap; }
.client-wall-row .cw-you a small, .cw-you a small { font-size: 11px; white-space: nowrap; }

/* Clientes: outros cases de atendimento com IA */
.more-cases { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; gap: 20px; }
.mc-title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); text-align: center; }
.mc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mc-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: linear-gradient(165deg, rgba(24, 46, 78, .55), rgba(8, 17, 32, .8)); border: 1px solid rgba(110, 150, 205, .24); transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.mc-card:hover { border-color: rgba(149, 187, 232, .55); transform: translateY(-4px); box-shadow: 0 0 30px -8px rgba(75, 119, 172, .6); }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.mc-top img { height: 30px; width: auto; max-width: 140px; object-fit: contain; }
.mc-top .pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--brand-text); background: rgba(75, 119, 172, .2); border: 1px solid rgba(149, 187, 232, .35); white-space: nowrap; }
.mc-card h4 { font-size: 19px; line-height: 1.25; }
.mc-card h4 em { font-style: normal; color: var(--yellow); }
.mc-card > p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.mc-card blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--yellow); font-size: 14px; line-height: 1.55; color: var(--ink); font-style: italic; }
.mc-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 0; border-block: 1px solid var(--border); }
.mc-nums b { display: block; font: 700 30px / 1 var(--font); color: var(--yellow); }
.mc-nums span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.mc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink); }
.mc-checks svg { flex: none; width: 16px; height: 16px; margin-top: 2px; fill: none; stroke: var(--yellow); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1080px) { .mc-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }.mc-nums b span { font: inherit; color: inherit; line-height: inherit; }

/* ---------- Suporte: fundo animado de suporte técnico (circuitos, pulsos e ícones) ---------- */
.support-body main, .support-body .footer { position: relative; z-index: 1; }
.support-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sb-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(110px); opacity: .32; }
.sb-glow.g1 { left: -160px; top: 10%; background: #234975; animation: sb-drift 18s ease-in-out infinite alternate; }
.sb-glow.g2 { right: -180px; bottom: -10%; background: rgba(254, 204, 0, .35); opacity: .14; animation: sb-drift 22s ease-in-out infinite alternate-reverse; }
.sb-circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb-lines path { fill: none; stroke: rgba(149, 187, 232, .14); stroke-width: 1.5; }
.sb-pulses path { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 60 1400; stroke-dashoffset: 1460; filter: drop-shadow(0 0 6px rgba(254, 204, 0, .8)); animation: sb-pulse 7s linear infinite; opacity: .75; }
.sb-pulses path:nth-child(2) { animation-delay: -1.5s; stroke: var(--brand-text); filter: drop-shadow(0 0 6px rgba(149, 187, 232, .8)); }
.sb-pulses path:nth-child(3) { animation-delay: -3s; }
.sb-pulses path:nth-child(4) { animation-delay: -4.5s; stroke: var(--brand-text); filter: drop-shadow(0 0 6px rgba(149, 187, 232, .8)); }
.sb-pulses path:nth-child(5) { animation-delay: -2.2s; animation-duration: 5s; }
.sb-pulses path:nth-child(6) { animation-delay: -3.7s; animation-duration: 5s; stroke: var(--brand-text); }
.sb-pulses path:nth-child(7) { animation-delay: -1s; animation-duration: 4.5s; }
.sb-pulses path:nth-child(8) { animation-delay: -2.8s; animation-duration: 4.5s; stroke: var(--brand-text); }
.sb-nodes circle { fill: #0f1f35; stroke: rgba(254, 204, 0, .6); stroke-width: 2; animation: sb-node 3s ease-in-out infinite; }
.sb-nodes circle:nth-child(even) { stroke: rgba(149, 187, 232, .6); animation-delay: 1.5s; }
.sb-ico { position: absolute; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(30, 56, 94, .55), rgba(7, 15, 28, .6)); border: 1px solid rgba(149, 187, 232, .22); opacity: .55; animation: sb-float 9s ease-in-out infinite; }
.sb-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sb-ico.i1 { left: 6%; top: 22%; }
.sb-ico.i2 { right: 7%; top: 30%; animation-delay: -2s; }
.sb-ico.i3 { left: 9%; top: 68%; animation-delay: -4s; }
.sb-ico.i3 svg { animation: spin 14s linear infinite; }
.sb-ico.i4 { right: 10%; top: 72%; animation-delay: -6s; }
.sb-ico.i5 { left: 22%; top: 44%; animation-delay: -3s; opacity: .35; }
.sb-ico.i6 { right: 22%; top: 50%; animation-delay: -5s; opacity: .35; }
@keyframes sb-pulse { to { stroke-dashoffset: 0; } }
@keyframes sb-node { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sb-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(-4deg); } }
@keyframes sb-drift { from { transform: translate(0, 0); } to { transform: translate(80px, -60px); } }
@media (max-width: 900px) { .sb-ico.i5, .sb-ico.i6 { display: none; } .sb-ico { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .support-bg * { animation: none !important; } .sb-pulses { display: none; } }.sb-lines path { stroke: rgba(149, 187, 232, .2); }
.sb-ico { opacity: .75; }
.sb-ico.i5, .sb-ico.i6 { opacity: .45; }

/* Mural de clientes com mais logos */
.client-wall-row .cw-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.client-wall-row .cw-grid li { height: 68px; padding: 12px 14px; animation-duration: 27s; }
.client-wall-row .cw-grid img { max-height: 30px; }
.client-wall-row .cw-grid img.big { max-height: 40px; }
@keyframes wall-glow { 0%, 4%, 100% { border-color: var(--border); background: rgba(238, 244, 252, .04); transform: none; } 1.2%, 2.8% { border-color: rgba(254, 204, 0, .6); background: rgba(254, 204, 0, .08); transform: translateY(-3px); } }
.inc-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.inc-logos li { height: 84px; padding: 16px; }
.inc-logos img { max-height: 40px; }
@media (max-width: 1080px) { .client-wall-row .cw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .inc-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .client-wall-row .cw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .inc-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Case da Fidelix no formato do site da MAGIT: vídeo + texto aberto + ganhos em cards */
.case-row { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center; }
.case-row .cf-video { border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.case-story { padding: 0; border: 0; background: none; border-radius: 0; gap: 18px; }
.case-story .cf-id { gap: 18px; }
.case-story .cf-logo { height: 46px; padding-right: 0; border-right: 0; order: 2; margin-left: auto; }
.case-story .cf-id > div { gap: 3px; }
.case-story .case-tag { background: rgba(75, 119, 172, .22); color: var(--brand-text); border: 1px solid rgba(149, 187, 232, .4); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 5px 12px; border-radius: 999px; margin-bottom: 6px; }
.case-story .cf-id h3 { font-size: 18px; }
.case-story .cf-id p { color: var(--muted); font-size: 14px; }
.cs-question { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; max-width: 22ch; }
.cs-lead { color: var(--muted); font-size: 16px; line-height: 1.65; }
.cs-gains { width: 100%; gap: 12px; }
.cs-gains li { align-items: center; gap: 18px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(165deg, rgba(24, 46, 78, .45), rgba(8, 17, 32, .7)); border: 1px solid rgba(110, 150, 205, .24); }
.cs-gains .g-ico { width: 54px; height: 54px; margin: 0; border-radius: 14px; background: linear-gradient(160deg, rgba(30, 56, 94, .92), rgba(7, 15, 28, .96)); border: 1px solid rgba(149, 187, 232, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 22px -8px rgba(75, 119, 172, .7); }
.cs-gains .g-ico svg { width: 24px; height: 24px; }
.cs-gains b { font-size: 16px; margin-bottom: 4px; }
.cs-gains span:not(.g-ico) { font-size: 14px; }
@media (max-width: 900px) { .case-row { grid-template-columns: 1fr; } }.cs-question { max-width: 26ch; }

/* Mural de logos ocupando a largura toda da área (mesma largura do vídeo + case) */
.client-wall-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.client-wall-row .cw-top { flex-direction: row; align-items: center; justify-content: center; max-width: none; gap: 14px; }
.client-wall-row .cw-top span { max-width: 52ch; }
.client-wall-row .cw-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); }
@media (max-width: 1080px) { .client-wall-row .cw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 560px) { .client-wall-row .cw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }.client-wall-row .cw-you a b { font-size: 11.5px; white-space: normal; }
.client-wall-row .cw-you a small { font-size: 10.5px; white-space: normal; }

/* Mural: título à esquerda, +50 à direita */
.client-wall-row .cw-top { justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cw-heading { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.cw-stat { display: flex; align-items: center; gap: 14px; }
.cw-stat span { max-width: 34ch !important; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 700px) { .client-wall-row .cw-top { justify-content: flex-start; } }.client-wall-row .cw-top .cw-heading .hl { font: inherit; line-height: inherit; color: var(--yellow); max-width: none; }

/* '+ a sua empresa' centralizado */
.cw-grid .cw-you { place-items: center; text-align: center; }
.cw-you a { width: 100%; justify-items: center; text-align: center; }
.cw-you a b, .cw-you a small { display: block; text-align: center; }

/* Agentes de IA: etapas compactas em grid 2x2, com ícone */
.ia-left .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ia-left .steps-grid li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 16px; }
.ia-left .steps-grid li::before { content: none; }
.steps-grid .st-ico { grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(30, 56, 94, .92), rgba(7, 15, 28, .96)); border: 1px solid rgba(149, 187, 232, .4); transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease; }
.steps-grid .st-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps-grid b { font-size: 16px; line-height: 1.2; }
.steps-grid span { font-size: 12.5px; line-height: 1.35; }
.ia-left .steps-grid li.active { transform: translateY(-3px); }
.steps-grid li.active .st-ico { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(254, 204, 0, .14); }
.steps-grid li.active .st-ico svg { stroke: #000; }
@media (max-width: 420px) { .ia-left .steps-grid { grid-template-columns: 1fr; } }
/* Clientes: faixa de resultados */
.results-strip { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.results-strip li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: center; padding: 20px 20px; border-radius: 18px; background: linear-gradient(160deg, rgba(20, 40, 70, .7), rgba(10, 21, 36, .9)); border: 1px solid rgba(149, 187, 232, .22); transition: transform .3s ease, border-color .3s ease; }
.results-strip li:hover { transform: translateY(-3px); border-color: rgba(254, 204, 0, .5); }
.results-strip .rs-ico { grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(254, 204, 0, .1); border: 1px solid rgba(254, 204, 0, .35); }
.results-strip .rs-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.results-strip b { font-size: 30px; line-height: 1; color: var(--yellow); font-weight: 700; }
.results-strip b span { font: inherit; color: inherit; }
.results-strip li > span:last-child { font-size: 13px; line-height: 1.4; color: var(--brand-text); }
@media (max-width: 1000px) { .results-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .results-strip { grid-template-columns: 1fr; } }
/* Tags de seção numeradas (estilo MAGIT: 04 — PERGUNTAS FREQUENTES) */
.tag.tag-num { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; }
.tag.tag-num .tag-n { font-style: normal; color: var(--yellow); font-weight: 700; letter-spacing: .08em; }
.tag.tag-num .tag-n::after { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; margin-left: 10px; vertical-align: middle; background: var(--yellow); }
/* Números do topo: 3 itens (removido "parceira Blip desde 2021") */
.stats { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(3) { border-left: 1px solid var(--border); }
  .stats li:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stats li + li, .stats li:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
}
/* Home: link para os clientes da Solução Incorpora (mural de logos foi para a página da Incorpora) */
.cw-link { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; padding: 18px 24px; border-radius: 18px; border: 1px dashed rgba(254, 204, 0, .45); background: rgba(254, 204, 0, .04); color: var(--ink); text-align: center; font-size: 15px; transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.cw-link b { color: var(--yellow); }
.cw-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.cw-link:hover { background: rgba(254, 204, 0, .09); border-color: var(--yellow); }
.cw-link:hover svg { transform: translateX(4px); }
/* Case: logo da Incorpora no selo */
.case-tag.case-tag-logo { display: inline-flex; align-items: center; gap: 8px; }
.case-tag.case-tag-logo img { height: 22px; width: auto; display: block; }
/* IA (home): ícone do CV CRM nas etapas do exemplo de venda */
.ia-chat .sys.cv:not(.loading)::before { width: 14px; height: 14px; border-radius: 0; background: url("assets/marcas/cv-mark.png") center / contain no-repeat; }
/* Incorpora: bloco para quem usa outros sistemas (projeto sob medida) */
.other-sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px; border-radius: 28px; background: linear-gradient(160deg, rgba(31, 58, 95, .45), rgba(10, 21, 36, .85)); border: 1px solid rgba(149, 187, 232, .22); }
.os-copy { display: grid; gap: 18px; justify-items: start; }
.os-copy h2 { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.os-copy p { margin: 0; color: var(--brand-text); }
.os-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.os-chips li { padding: 6px 14px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(149, 187, 232, .3); background: rgba(10, 21, 36, .6); }
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.os-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: 18px; background: rgba(10, 21, 36, .6); border: 1px solid rgba(149, 187, 232, .18); transition: border-color .3s ease, transform .3s ease; }
.os-steps li:hover { border-color: rgba(254, 204, 0, .5); transform: translateX(4px); }
.os-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.os-steps span:not(.os-ico) { font-size: 13.5px; line-height: 1.45; color: var(--brand-text); }
.os-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(254, 204, 0, .1); border: 1px solid rgba(254, 204, 0, .35); }
.os-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 920px) { .other-sys { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; } }
/* Agente de CX: subgrupo Financeiro */
.agent-sub { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(149, 187, 232, .2); }
.agent-sub-title { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--yellow); }
.agent-sub-title svg { width: 18px; height: 18px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agent-sub .checks { margin: 0; }
.case-tag.case-tag-logo { gap: 8px; padding-top: 4px; padding-bottom: 4px; }
.case-tag.case-tag-logo img { height: 26px; }
/* Incorpora (Na prática): balão "Outros sistemas/API" ligado ao stack de integrações */
.eco-bubble { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px 14px 14px 4px; border: 1px dashed rgba(254, 204, 0, .7); background: rgba(254, 204, 0, .08); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.eco-bubble svg { width: 16px; height: 16px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Incorpora (topo): ícone do tópico "Outros sistemas/API" */
.mk.mk-api { display: inline-grid; place-items: center; width: 16px; height: 16px; }
.mk.mk-api svg { width: 16px; height: 16px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Incorpora: 4 números em uma única linha */
.stats.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats.stats-4 li:nth-child(n+2) { border-left: 1px solid var(--border); border-top: 0; }
@media (max-width: 920px) {
  .stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.stats-4 li:nth-child(3) { border-left: 0; }
  .stats.stats-4 li:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .stats.stats-4 { grid-template-columns: 1fr; }
  .stats.stats-4 li + li { border-left: 0; border-top: 1px solid var(--border); }
}
/* Home: carrossel de logos de clientes abaixo dos números (padrão do site da MAGIT) */
.logo-marquee { position: relative; z-index: 1; margin-top: 28px; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); background: linear-gradient(90deg, rgba(10, 21, 36, .35), rgba(10, 21, 36, .7), rgba(10, 21, 36, .35)); }
/* Full-bleed, MAGIT-style band (the .hero clips the overflow) */
.logo-marquee { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; border-left: 0; border-right: 0; }
.logo-marquee::before, .logo-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.logo-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.lm-label { margin: 0; padding-top: 18px; text-align: center; font-size: 13px; line-height: 18px; color: var(--muted); }
.lm-track { display: flex; align-items: center; width: max-content; gap: 64px; padding: 20px 64px 24px 0; animation: slide 300s linear infinite; }
.logo-marquee:hover .lm-track { animation-play-state: paused; }
.lm-logo { display: block; flex: none; opacity: .72; transition: opacity .25s ease, filter .25s ease; }
.lm-logo:hover { opacity: 1; filter: drop-shadow(0 0 10px rgba(149, 187, 232, .55)); }
@media (max-width: 640px) { .lm-track { gap: 44px; padding-right: 44px; } .logo-marquee::before, .logo-marquee::after { width: 48px; } }
@media (prefers-reduced-motion: reduce) { .lm-track { animation-duration: 900s; } }
/* Carrossel: logos em alta (SVG oficiais ficam brancos via filtro) */
.lm-logo { object-fit: contain; }
.lm-logo.lm-tint { filter: brightness(0) invert(1); }
.lm-logo.lm-tint:hover { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(149, 187, 232, .55)); }
.lm-track { animation-duration: 220s; }
/* Home: seção de depoimento (após os cases) */
.testimonial .wrap { display: grid; justify-items: center; gap: 28px; text-align: center; }
.testi-card {
  position: relative; max-width: 880px; width: 100%;
  display: grid; gap: 28px; justify-items: center;
  padding: 56px 64px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(254, 204, 0, .08), rgba(15, 31, 53, .75) 60%);
  border: 1px solid rgba(254, 204, 0, .35);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.testi-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(closest-side at 85% 0%, rgba(149, 187, 232, .18), transparent 70%); }
.testi-mark { width: 44px; height: 33px; fill: var(--yellow); opacity: .9; }
.testi-text {
  margin: 0; max-width: 56ch; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.55;
  color: var(--ink); font-style: normal;
}
.testi-text strong { color: var(--yellow); font-weight: 700; }
.testi-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; border-block: 1px solid rgba(149, 187, 232, .22); padding-block: 22px; }
.testi-stats div { display: grid; gap: 4px; padding-inline: 16px; }
.testi-stats div + div { border-left: 1px solid rgba(149, 187, 232, .22); }
.testi-stats b { font: 700 32px/1 var(--font); color: var(--yellow); display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.testi-stats b em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.testi-stats span { font-size: 13px; line-height: 1.4; color: var(--brand-text); }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: linear-gradient(160deg, var(--yellow), #b88900); color: #000;
  font: 700 16px/1 var(--font); letter-spacing: .02em;
}
.testi-author > div { display: grid; gap: 2px; text-align: left; }
.testi-author b { font-size: 15px; }
.testi-author > div span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .testi-card { padding: 40px 24px; }
  .testi-stats { grid-template-columns: 1fr; border-block: 0; gap: 16px; padding-block: 20px; }
  .testi-stats div { border-left: 0 !important; padding-inline: 0; border-top: 1px solid rgba(149, 187, 232, .22); padding-top: 16px; }
  .testi-stats div:first-child { border-top: 0; padding-top: 0; }
}