/* eConnect - estilos do site (extraídos do index.html para serem compartilhados com os artigos) */
/* ---------- Tokens ---------- */
:root {
    --ink: #0f172a; --ink-2: #1e293b; --muted: #475569; --muted-2: #64748b;
    --line: #e2e8f0; --bg: #f8fafc; --card: #ffffff;
    --violet: #7c3aed; --violet-600: #6d28d9; --violet-soft: #ede9fe; --violet-light: #a78bfa;
    --blue: #2563eb; --blue-soft: #dbeafe;
    --emerald: #059669; --emerald-soft: #d1fae5;
    --indigo: #4f46e5; --indigo-soft: #e0e7ff;
    --teal: #0d9488; --teal-soft: #ccfbf1;
    --rose: #e11d48; --rose-soft: #ffe4e6;
    --radius: 16px;
    --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 12px 32px -16px rgb(15 23 42 / .25);
    --header-h: 72px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink-2); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
/* Marcador visual de conteúdo a preencher. Remova a classe "todo" ao inserir o dado real. */
.todo { background: #fef9c3; color: #854d0e; outline: 1px dashed #ca8a04; border-radius: 4px; padding: 0 4px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 28px -12px rgb(124 58 237 / .8); }
.btn-primary:hover { background: var(--violet-600); }
.btn-ghost { color: #fff; background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .25); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--violet); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); background: rgb(255 255 255 / .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgb(15 23 42 / .35); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.logo span { color: var(--violet); }
.nav { display: none; gap: 2rem; }
.nav a { font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--violet); }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgb(15 23 42 / .35); padding: 8px 20px 20px; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
@media (min-width: 920px) {
    .nav { display: flex; }
    .header-cta { display: inline-flex; }
    .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero em carrossel ---------- */
.hero { --interval: 7s; position: relative; overflow: hidden; background: var(--ink); color: #fff; display: grid; min-height: max(640px, 92vh); min-height: max(640px, 92svh); }
@media (min-width: 768px) { .hero { min-height: max(680px, 100vh); min-height: max(680px, 100svh); } }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 48px) 0 120px; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
svg.slide-bg { top: var(--header-h); height: calc(100% - var(--header-h)); }
.slide-overlay { position: absolute; inset: 0; }
.slide[data-color="violet"] .slide-overlay { background: radial-gradient(60% 55% at 50% 45%, rgb(124 58 237 / .28), transparent 75%), linear-gradient(180deg, rgb(15 23 42 / .82), rgb(15 23 42 / .78) 55%, rgb(15 23 42 / .94)); }
.slide[data-color="blue"] .slide-overlay { background: radial-gradient(60% 55% at 50% 45%, rgb(37 99 235 / .28), transparent 75%), linear-gradient(180deg, rgb(15 23 42 / .86), rgb(15 23 42 / .8) 55%, rgb(15 23 42 / .95)); }
.slide[data-color="emerald"] .slide-overlay { background: radial-gradient(55% 50% at 50% 48%, rgb(15 23 42 / .55), transparent 80%), linear-gradient(180deg, rgb(15 23 42 / .74), rgb(15 23 42 / .66) 55%, rgb(15 23 42 / .9)); }
.slide-content { position: relative; z-index: 1; text-align: center; max-width: 920px; opacity: 0; transform: translateY(28px); transition: opacity .8s ease .3s, transform .8s cubic-bezier(.2, .7, .2, 1) .3s; }
.slide.is-active .slide-content { opacity: 1; transform: none; }
.slide-badge { display: inline-block; padding: .4rem 1rem; border-radius: 999px; font-size: .84rem; font-weight: 600; letter-spacing: .03em; color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.slide[data-color="blue"] .slide-badge { background: rgb(59 130 246 / .2); border-color: rgb(96 165 250 / .35); }
.slide[data-color="emerald"] .slide-badge { background: rgb(16 185 129 / .2); border-color: rgb(52 211 153 / .35); }
.slide-title { font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 800; margin: 24px 0 0; text-shadow: 0 6px 30px rgb(0 0 0 / .35); }
.grad-violet { background: linear-gradient(90deg, #c084fc, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-blue { background: linear-gradient(90deg, #60a5fa, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-emerald { background: linear-gradient(90deg, #34d399, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-lead { max-width: 42rem; margin: 22px auto 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #e2e8f0; font-weight: 500; text-shadow: 0 2px 16px rgb(0 0 0 / .4); }
.slide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 520px) { .slide-actions .btn { flex: 1 1 100%; } }
.btn-violet { background: #7c3aed; color: #fff; box-shadow: 0 12px 30px -12px rgb(124 58 237 / .9); }
.btn-violet:hover { background: #8b5cf6; }
.btn-blue { background: #2563eb; color: #fff; box-shadow: 0 12px 30px -12px rgb(37 99 235 / .9); }
.btn-blue:hover { background: #3b82f6; }
.btn-emerald { background: #059669; color: #fff; box-shadow: 0 12px 30px -12px rgb(5 150 105 / .9); }
.btn-emerald:hover { background: #10b981; }
.btn-ghost { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.carousel-controls { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 14px; }
.dots { display: flex; gap: 10px; }
.dot { position: relative; width: 52px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::before, .dot::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 3px; }
.dot::before { background: rgb(255 255 255 / .28); transition: background-color .2s; }
.dot:hover::before { background: rgb(255 255 255 / .55); }
.dot::after { background: var(--dot, #a78bfa); transform-origin: left; transform: scaleX(0); }
.dot[aria-current="true"]::after { transform: scaleX(1); }
.hero.is-playing .dot[aria-current="true"]::after { animation: progress var(--interval) linear forwards; }
.hero.is-paused .dot::after { animation-play-state: paused !important; }
.hero:focus-within .dot::after { animation-play-state: paused; }
@media (hover: hover) { .hero:hover .dot::after { animation-play-state: paused; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer; transition: background-color .2s; }
.carousel-toggle:hover { background: rgb(255 255 255 / .18); }
.carousel-toggle svg { width: 14px; height: 14px; }
.carousel-toggle .i-play { display: none; }
.hero.is-paused .carousel-toggle .i-play { display: block; }
.hero.is-paused .carousel-toggle .i-pause { display: none; }

/* ---------- Demo de chat ---------- */
.demo { color: #fff; background: rgb(15 23 42 / .75); border: 1px solid rgb(255 255 255 / .12); border-radius: 20px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(124 58 237 / .15); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgb(255 255 255 / .08); background: rgb(255 255 255 / .03); }
.demo-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.demo-sub { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: #94a3b8; font-weight: 400; }
.demo-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--blue)); display: grid; place-items: center; font-weight: 800; flex: none; }
.demo-badge { font-size: .7rem; font-weight: 600; color: #fcd34d; background: rgb(252 211 77 / .1); border: 1px solid rgb(252 211 77 / .25); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.demo-body { height: 340px; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
@media (min-width: 640px) { .demo-body { height: 380px; } }
.demo-body > * { flex-shrink: 0; }
.demo-body::-webkit-scrollbar { width: 6px; }
.demo-body::-webkit-scrollbar-thumb { background: rgb(255 255 255 / .15); border-radius: 3px; }
.msg, .msg-step, .code-chip { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.msg.in, .msg-step.in, .code-chip.in, .msg.static { opacity: 1; transform: none; }
.msg { max-width: 90%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.55; }
.msg-user { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .09); color: #e2e8f0; border-bottom-left-radius: 4px; }
.msg-bot b { color: #fff; }
.msg-step { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: .76rem; color: #94a3b8; font-family: var(--mono); }
.msg-step .ok { color: #34d399; font-weight: 700; }
.spinner { width: 12px; height: 12px; border: 2px solid rgb(148 163 184 / .35); border-top-color: var(--violet-light); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
.code-chip { align-self: stretch; margin: 0; font-family: var(--mono); font-size: .72rem; line-height: 1.55; background: #0b1020; border: 1px solid rgb(255 255 255 / .08); border-radius: 10px; padding: 10px 12px; color: #a5b4fc; white-space: pre; overflow-x: auto; }
.msg table { width: 100%; border-collapse: collapse; margin: 8px 0 6px; font-size: .8rem; }
.msg th, .msg td { text-align: left; padding: 6px 6px 6px 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.msg th { color: #94a3b8; font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.msg .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.msg .warn { color: #fcd34d; }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; }
.msg-actions button { font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 8px; cursor: pointer; border: 1px solid rgb(255 255 255 / .2); background: transparent; color: #e2e8f0; }
.msg-actions button.confirm { background: #10b981; border-color: #10b981; color: #052e16; }
.msg-actions button:disabled { opacity: .45; cursor: default; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
.demo-foot { padding: 12px 16px 16px; border-top: 1px solid rgb(255 255 255 / .08); }
.demo-foot p { font-size: .74rem; color: #94a3b8; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .8rem; font-weight: 500; color: #e2e8f0; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background-color .2s, border-color .2s; text-align: left; }
.chip:hover { background: rgb(124 58 237 / .25); border-color: rgb(167 139 250 / .5); }
.chip[aria-pressed="true"] { background: rgb(124 58 237 / .35); border-color: var(--violet-light); color: #fff; }
.avatar-api { background: linear-gradient(135deg, var(--blue), #0891b2); font-family: var(--mono); font-size: .78rem; letter-spacing: -.05em; }
.msg-step .fail { color: #fb7185; font-weight: 700; }
.api-label { color: #cbd5e1; font-weight: 600; letter-spacing: .02em; margin-top: 4px; }
.api-label.is-ok { color: #34d399; }
.api-label.is-err { color: #fb7185; }
.code-chip.is-ok { color: #a7f3d0; border-color: rgb(52 211 153 / .3); }
.code-chip.is-err { color: #fecdd3; border-color: rgb(251 113 133 / .35); }

/* Palco escuro que envolve as demonstrações */
.demo-stage { position: relative; border-radius: 24px; padding: 14px; background: var(--ink); overflow: hidden; box-shadow: 0 30px 70px -35px rgb(15 23 42 / .6); }
@media (min-width: 640px) { .demo-stage { padding: 28px; } }
.demo-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.demo-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 40px 40px; }
.stage-violet::before { background: radial-gradient(70% 60% at 0% 0%, rgb(124 58 237 / .5), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgb(37 99 235 / .25), transparent 70%); }
.stage-blue::before { background: radial-gradient(70% 60% at 100% 0%, rgb(37 99 235 / .5), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgb(8 145 178 / .3), transparent 70%); }
.stage-emerald::before { background: radial-gradient(70% 60% at 0% 0%, rgb(5 150 105 / .45), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgb(13 148 136 / .3), transparent 70%); }
.demo-stage > * { position: relative; z-index: 1; }

/* ---------- Tema âmbar (ERP 360º) ---------- */
.slide[data-color="amber"] .slide-overlay { background: radial-gradient(60% 55% at 50% 45%, rgb(245 158 11 / .24), transparent 75%), linear-gradient(180deg, rgb(15 23 42 / .84), rgb(15 23 42 / .78) 55%, rgb(15 23 42 / .94)); }
.slide[data-color="amber"] .slide-badge { background: rgb(245 158 11 / .2); border-color: rgb(251 191 36 / .4); }
.grad-amber { background: linear-gradient(90deg, #fbbf24, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-amber { background: #b45309; color: #fff; box-shadow: 0 12px 30px -12px rgb(217 119 6 / .9); }
.btn-amber:hover { background: #d97706; }
.tag-amber { background: #fef3c7; color: #92400e; }
.stage-amber::before { background: radial-gradient(70% 60% at 100% 0%, rgb(245 158 11 / .42), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgb(234 88 12 / .28), transparent 70%); }

/* ---------- Demo do ERP 360º ---------- */
.avatar-360 { background: linear-gradient(135deg, #f59e0b, #ea580c); font-size: .66rem; letter-spacing: -.02em; }
.e360 { padding: 16px; display: grid; gap: 14px; }
.e360-channels { display: flex; gap: 4px; padding: 4px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: 10px; }
.e360-channels button { flex: 1; font: inherit; font-size: .8rem; font-weight: 600; color: #cbd5e1; background: none; border: 0; padding: 7px 6px; border-radius: 7px; cursor: pointer; transition: background-color .2s, color .2s; }
.e360-channels button:hover { color: #fff; }
.e360-channels button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.e360-where { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; color: #94a3b8; background: #0b1020; border: 1px solid rgb(255 255 255 / .08); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.e360-where span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.e360-where svg { width: 14px; height: 14px; flex: none; color: #fbbf24; }
.e360-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: .8rem; min-height: 24px; }
.e360-crumbs button { font: inherit; color: #fbbf24; background: none; border: 0; padding: 2px 4px; border-radius: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.e360-crumbs .cur { color: #fff; font-weight: 600; padding: 2px 4px; }
.e360-crumbs .sep { color: #64748b; }
.e360-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.kpi small { display: block; font-size: .66rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .05em; }
.kpi strong { display: block; font-size: 1.02rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 420px) { .kpi { padding: 8px; } .kpi small { font-size: .6rem; } .kpi strong { font-size: .86rem; white-space: normal; overflow: visible; } }
.e360-chart-title { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: #e2e8f0; font-weight: 600; margin-bottom: 8px; }
.e360-chart-title em { font-style: normal; font-weight: 400; color: #94a3b8; text-align: right; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 164px; align-content: start; }
.bar { width: 100%; display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr 5.6rem; align-items: center; gap: 10px; font: inherit; font-size: .8rem; color: #e2e8f0; background: none; border: 0; padding: 7px 6px; border-radius: 8px; text-align: left; }
@media (max-width: 480px) { .bar { grid-template-columns: minmax(0, 6.8rem) 1fr 4.9rem; gap: 8px; font-size: .74rem; } }
button.bar { cursor: pointer; transition: background-color .2s; }
button.bar:hover { background: rgb(255 255 255 / .07); }
button.bar:hover .bar-fill { filter: brightness(1.15); }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 12px; background: rgb(255 255 255 / .06); border-radius: 6px; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #fbbf24); transition: width .7s cubic-bezier(.2, .7, .2, 1); }
.bar-val { font-variant-numeric: tabular-nums; color: #cbd5e1; font-size: .76rem; text-align: right; white-space: nowrap; }
.e360-foot { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; color: #94a3b8; padding-top: 10px; border-top: 1px solid rgb(255 255 255 / .08); }

/* Linhas de solução */
.features { display: grid; gap: 80px; }
@media (min-width: 1000px) { .features { gap: 112px; } }
.feature { display: grid; gap: 32px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 1000px) {
    .feature { grid-template-columns: .9fr 1.1fr; gap: 64px; }
    .feature:nth-child(even) { grid-template-columns: 1.1fr .9fr; }
    .feature:nth-child(even) .feature-demo { order: -1; }
}
.feature-demo { min-width: 0; }
.feature-tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.tag-violet { background: var(--violet-soft); color: var(--violet-600); }
.tag-blue { background: var(--blue-soft); color: #1d4ed8; }
.tag-emerald { background: var(--emerald-soft); color: #047857; }
.feature-text h3 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; color: var(--ink); margin: 16px 0 14px; }
.feature-text > p { color: var(--muted); font-size: 1.06rem; }
.feature-text .ticks { margin: 22px 0 0; padding: 0; gap: 10px; font-size: .97rem; }
.feature-text .card-link { margin-top: 26px; padding-top: 0; }

.agents-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; margin-bottom: 14px; }
.agents { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .agents { grid-template-columns: 1fr 1fr; } }
.agent { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; padding: 18px; color: #cbd5e1; font-size: .92rem; line-height: 1.5; transition: background-color .25s, border-color .25s, transform .25s; }
.agent:hover { background: rgb(255 255 255 / .1); border-color: rgb(52 211 153 / .45); transform: translateY(-2px); }
.agent strong { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1rem; margin-bottom: 6px; }
.agent-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgb(52 211 153 / .15); color: #6ee7b7; flex: none; }
.agent-ico svg { width: 18px; height: 18px; }
.agent-status { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .78rem; color: #94a3b8; }
.agent-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgb(52 211 153 / .18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(52 211 153 / 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* ---------- Faixa de tecnologias ---------- */
.stack { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.stack .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; }
.stack p { font-size: .76rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
.stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.stack li { font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-white { background: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; color: var(--ink); }
.section-head p { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { border-color: #c4b5fd; box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); }
.card .lead { color: var(--ink-2); font-weight: 600; margin-bottom: 10px; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 24px; height: 24px; }
.i-violet { background: var(--violet-soft); color: var(--violet); }
.i-blue { background: var(--blue-soft); color: var(--blue); }
.i-emerald { background: var(--emerald-soft); color: var(--emerald); }
.i-indigo { background: var(--indigo-soft); color: var(--indigo); }
.i-teal { background: var(--teal-soft); color: var(--teal); }
.i-rose { background: var(--rose-soft); color: var(--rose); }
.ticks { list-style: none; padding: 18px 0 0; margin: auto 0 0; display: grid; gap: 9px; font-size: .92rem; color: var(--ink-2); }
.card > p + .ticks { margin-top: 18px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 10px; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--emerald-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }

.card-link { align-self: flex-start; display: inline-flex; gap: 6px; margin-top: auto; padding-top: 20px; font-weight: 600; font-size: .95rem; color: var(--violet-600); }
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translateX(3px); }

/* ---------- API de automação ---------- */
.api .container { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .api .container { grid-template-columns: 1fr 1fr; gap: 64px; } }
.api-text > p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.use-cases { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.use-case { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.use-case:hover { border-color: #c4b5fd; box-shadow: var(--shadow); }
.use-case .icon { margin: 0; width: 42px; height: 42px; flex: none; }
.use-case .icon svg { width: 22px; height: 22px; }
.use-case strong { display: block; color: var(--ink); }
.use-case .desc { display: block; color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
.api-text > .btn { margin-top: 28px; }
.flow { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .flow { padding: 32px; } }
.flow-title { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-node { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.flow-node.is-core { background: linear-gradient(135deg, #f5f3ff, #eff6ff); border-color: #c4b5fd; }
.flow-node .icon { margin: 0; width: 42px; height: 42px; flex: none; }
.flow-node .icon svg { width: 22px; height: 22px; }
.flow-node strong { display: block; color: var(--ink); }
.flow-node p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
.flow-node .ticks { padding-top: 10px; gap: 6px; font-size: .88rem; }
.flow-arrow { display: flex; height: 40px; color: var(--violet-light); padding-left: 16px; }
.flow-arrow svg { width: 42px; height: 40px; }
.flow-dash { stroke-dasharray: 4 5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -9; } }
.flow-try { margin-top: 20px; width: 100%; background: var(--violet-soft); color: var(--violet-600); }
.flow-try:hover { background: #ddd6fe; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 18px; position: relative; z-index: 1; }
@media (min-width: 1000px) {
    .step:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: 66px; right: -24px; height: 2px; background: linear-gradient(90deg, var(--violet-light), var(--line)); }
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.step-out { align-self: flex-start; margin-top: auto; padding-top: 16px; font-size: .78rem; font-weight: 600; color: var(--violet-600); }
.step-out span { display: inline-block; background: var(--violet-soft); padding: 4px 10px; border-radius: 999px; }

/* ---------- Sobre ---------- */
.about { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 100% 0%, rgb(124 58 237 / .22), transparent 70%); }
.about .container { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .about .container { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.about .kicker { color: var(--violet-light); }
.about .h2 { color: #fff; }
.about-text p { color: #a3b1c6; font-size: 1.06rem; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.stat { border-top: 1px solid rgb(255 255 255 / .14); padding-top: 16px; }
.stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.stat > span { display: block; font-size: .84rem; color: #94a3b8; margin-top: 4px; line-height: 1.4; }
.terminal { background: #0d1117; border: 1px solid #30363d; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8); min-width: 0; }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #161b22; border-bottom: 1px solid #30363d; }
.terminal-bar i { width: 12px; height: 12px; border-radius: 50%; }
.terminal-bar i:nth-child(1) { background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 8px; font-family: var(--mono); font-size: .78rem; color: #8b949e; }
.terminal-bar em { margin-left: auto; font-style: normal; font-size: .7rem; color: #8b949e; border: 1px solid #30363d; padding: 2px 8px; border-radius: 999px; }
.terminal pre { margin: 0; padding: 20px; overflow-x: auto; font-family: var(--mono); font-size: .8rem; line-height: 1.75; color: #e6edf3; }
.terminal .line { display: block; min-height: 1.75em; transition: opacity .35s ease, transform .35s ease; }
.js .terminal:not(.is-typed) .line { opacity: 0; transform: translateX(-6px); }
.tk { color: #ff7b72; } .ts { color: #a5d6ff; } .tc { color: #8b949e; } .tf { color: #d2a8ff; } .tn { color: #79c0ff; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c4b5fd; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Contato ---------- */
.contact .container { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact .container { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.contact-aside p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
a.contact-item:hover { border-color: #c4b5fd; box-shadow: var(--shadow); }
.contact-item .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-item strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-item small { display: block; color: var(--muted); font-size: .88rem; word-break: break-word; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px -32px rgb(15 23 42 / .35); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted-2); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.input::placeholder { color: #94a3b8; }
.input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(124 58 237 / .15); }
.input[aria-invalid="true"] { border-color: var(--rose); box-shadow: 0 0 0 4px rgb(225 29 72 / .1); }
select.input { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
select.input:invalid { color: #94a3b8; }
textarea.input { resize: vertical; min-height: 120px; }
.error { display: none; font-size: .8rem; color: #be123c; margin-top: 6px; }
.field.has-error .error { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 8px 16px; border: 1px solid #cbd5e1; border-radius: 999px; font-size: .9rem; cursor: pointer; transition: all .2s; }
.pill input:checked + span { background: var(--violet-soft); border-color: var(--violet); color: var(--violet-600); font-weight: 600; }
.pill input:focus-visible + span { outline: 3px solid var(--violet-light); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.consent a { color: var(--violet-600); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; }
.form-status.is-ok { display: block; background: var(--emerald-soft); color: #065f46; }
.form-status.is-err { display: block; background: var(--rose-soft); color: #9f1239; }
.form-status a { text-decoration: underline; font-weight: 600; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #94a3b8; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer .logo { color: #fff; }
.footer-about p { margin-top: 12px; max-width: 26rem; }
.footer h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }

/* ---------- Janela da Política de Privacidade ---------- */
.privacy { width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink-2); box-shadow: 0 40px 100px -30px rgb(15 23 42 / .6); overflow: hidden; }
.privacy[open] { display: flex; flex-direction: column; animation: privacy-in .28s cubic-bezier(.2, .7, .2, 1); }
.privacy::backdrop { background: rgb(15 23 42 / .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: privacy-fade .28s ease; }
@keyframes privacy-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes privacy-fade { from { opacity: 0; } to { opacity: 1; } }
.privacy-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.privacy-head h2 { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.privacy-head p { font-size: .82rem; color: var(--muted-2); margin-top: 2px; }
.privacy-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background-color .2s; }
.privacy-close:hover { background: var(--bg); }
.privacy-close svg { width: 20px; height: 20px; }
.privacy-body { padding: 8px 24px 24px; overflow-y: auto; overscroll-behavior: contain; font-size: .95rem; line-height: 1.7; }
.privacy-body h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 24px 0 6px; }
.privacy-body p { color: var(--muted); margin: 0 0 10px; }
.privacy-body ul { margin: 0 0 10px; padding-left: 20px; color: var(--muted); }
.privacy-body li { margin-bottom: 4px; }
.privacy-body a { color: var(--violet-600); text-decoration: underline; }
.privacy-foot { display: flex; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--bg); }
html.privacy-open { overflow: hidden; }
@media (max-width: 560px) {
    .privacy { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
    .privacy-head, .privacy-body, .privacy-foot { padding-left: 18px; padding-right: 18px; }
    .privacy-foot .btn { width: 100%; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #16a34a; color: #fff; font-weight: 600; padding: 14px; border-radius: 999px; box-shadow: 0 14px 32px -12px rgb(22 163 74 / .8); transition: transform .25s, opacity .3s, visibility .3s, background-color .2s; }
.wa:hover { background: #15803d; transform: translateY(-2px); }
.wa svg { width: 24px; height: 24px; }
.wa span { display: none; }
@media (min-width: 640px) { .wa { padding: 12px 20px 12px 16px; } .wa span { display: inline; } }
.wa.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal, .js .terminal .line { opacity: 1 !important; transform: none !important; }
}
