/* Yggra — IA & Software sob medida */
:root {
  --bg: #04060b;
  --bg-2: #080c14;
  --card: #0c1220;
  --card-2: #101828;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef2f7;
  --muted: #9ba6b6;
  --brand: #007dc5;
  --accent: #2ba6ff;
  --accent-2: #8fd0ff;
  --ok: #34d399;
  --radius: 14px;
  --max: 1180px;
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; color: #fff; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 30px rgba(0, 125, 197, .35); }
.btn-primary:hover { background: #0a8fdd; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; } .hero-ctas .btn { width: 100%; } }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.solid { background: rgba(4, 6, 11, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; font-size: 1.15rem; color: #fff; }
.logo small { font-family: var(--font-body); font-weight: 500; letter-spacing: .12em; font-size: .68rem; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 10px; text-transform: uppercase; }
.logo b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .93rem; }
.nav-links a:not(.btn) { color: #c9d2de; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 1.2rem; }
@media (max-width: 880px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4, 6, 11, .98); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .logo small { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: 120px 0 64px; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 6, 11, .97) 0%, rgba(4, 6, 11, .85) 42%, rgba(4, 6, 11, .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.hero .wrap { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #c5cedb; margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.proof { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9rem; color: #b6c0ce; }
.proof li { list-style: none; display: flex; align-items: center; gap: 8px; }
.proof li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: #cfe7ff; background: rgba(0, 125, 197, .12); margin-bottom: 22px; }
@media (max-width: 880px) {
  .hero { min-height: auto; padding-top: 110px; }
  .hero-bg img { object-position: 78% center; opacity: .45; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 6, 11, .7) 0%, rgba(4, 6, 11, .92) 60%, var(--bg) 100%); }
}

/* Logos */
.logos { padding-block: 36px; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(43, 166, 255, .12); color: var(--accent); margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.card-link:hover { color: var(--accent-2); }
a.card:hover { transform: translateY(-3px); border-color: rgba(43, 166, 255, .45); }

.pain { position: relative; }
.pain .num { font-family: var(--font-display); font-size: .85rem; color: #ff8a8a; font-weight: 700; margin-bottom: 12px; display: block; }

.offer { display: flex; flex-direction: column; }
.offer.featured { border-color: rgba(43, 166, 255, .5); background: linear-gradient(180deg, rgba(0, 125, 197, .14), var(--card) 55%); }
.offer ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; font-size: .94rem; color: #c5cedb; }
.offer li { padding-left: 22px; position: relative; }
.offer li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.offer .card-link { margin-top: auto; padding-top: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #cdd6e2; border: 1px solid var(--line); }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare > div { padding: 32px; }
.compare > div:first-child { background: var(--card); }
.compare > div:last-child { background: linear-gradient(160deg, rgba(0, 125, 197, .22), var(--card-2)); }
.compare h3 { margin-bottom: 18px; font-size: 1.1rem; }
.compare ul { list-style: none; display: grid; gap: 12px; color: #c5cedb; }
.compare li { padding-left: 26px; position: relative; }
.compare .bad li::before { content: '✕'; position: absolute; left: 0; color: #ff7b7b; }
.compare .good li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.calc-form, .calc-result { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.calc-result { background: linear-gradient(160deg, rgba(0, 125, 197, .2), var(--card)); border-color: rgba(43, 166, 255, .35); display: flex; flex-direction: column; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .88rem; color: #c5cedb; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; background: #070b13; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; color: #fff; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: .78rem; color: var(--muted); }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type=range] { flex: 1; accent-color: var(--brand); padding: 0; border: 0; background: none; }
.range-row output { min-width: 74px; text-align: right; font-weight: 600; color: #fff; }
.big-number { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1; margin: 8px 0 6px; }
.result-rows { display: grid; gap: 10px; margin: 22px 0; padding-top: 20px; border-top: 1px solid var(--line-2); }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: #c5cedb; }
.result-rows strong { color: #fff; }
.calc-result .btn { margin-top: auto; }
.disclaimer { font-size: .76rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.step { position: relative; padding: 28px; border-left: 2px solid var(--line-2); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--accent); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }
.step .time { display: inline-block; margin-top: 12px; font-size: .78rem; color: var(--ok); font-weight: 600; letter-spacing: .04em; }

/* Vitrine de cases (slider) */
.showcase-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.showcase-head h2 { margin-bottom: 12px; }
.showcase-head p { color: var(--muted); font-size: 1.05rem; max-width: 600px; }
.slider { position: relative; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding: 6px 20px 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 clamp(240px, 23vw, 340px); aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); transition: opacity .35s, border-color .35s, transform .35s; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 6, 11, .7) 66%, rgba(4, 6, 11, .97) 100%); pointer-events: none; }
.slide-info { position: absolute; inset: auto 0 0; z-index: 1; padding: 22px; }
.slide-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #cfe7ff; background: rgba(0, 125, 197, .35); border: 1px solid rgba(43, 166, 255, .4); padding: 4px 10px; border-radius: 999px; }
.slide h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0; margin: 12px 0 6px; }
.slide p { color: #c5cedb; font-size: .9rem; line-height: 1.45; }
.slide-cta { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: .88rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.slide:hover .slide-cta, .slide:focus-visible .slide-cta { opacity: 1; transform: none; }
@media (hover: hover) {
  .slider-track:hover .slide { opacity: .5; }
  .slider-track .slide:hover { opacity: 1; border-color: rgba(43, 166, 255, .55); }
  .slide:hover img { transform: scale(1.04); }
}
@media (hover: none) { .slide-cta { opacity: 1; transform: none; } }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 6, 11, .75); border: 1px solid var(--line-2); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .25s, background .2s; }
.slider-btn:hover { background: var(--brand); }
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }
.slider-btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .slider-btn { display: none; } .slide { flex-basis: 74vw; } }

/* Founder */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.founder img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; }
.founder p { color: #c5cedb; margin-top: 16px; }
.founder .role { color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }
.stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 28px; }
.stats strong { display: block; font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1; }
.stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 32px; } .founder img { max-width: 360px; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Lead / CTA */
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: linear-gradient(140deg, rgba(0, 125, 197, .22), var(--card) 60%); border: 1px solid rgba(43, 166, 255, .3); border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.lead-box h2 { margin-bottom: 14px; }
.lead-box > div > p { color: #c5cedb; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 24px; color: #dbe3ee; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(52, 211, 153, .15); color: var(--ok); display: grid; place-items: center; font-size: .72rem; font-weight: 700; top: 3px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .field { margin-bottom: 14px; }
.lead-form .privacy { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.lead-form .privacy a { text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .lead-form .row { grid-template-columns: 1fr; gap: 0; } }

/* Posts list */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: rgba(43, 166, 255, .45); transform: translateY(-3px); }
.post-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.12rem; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: .93rem; }
.meta { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.meta .cat { color: var(--accent); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { background: transparent; border: 1px solid var(--line-2); color: #c9d2de; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .88rem; }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Page hero (internas) */
.page-hero { padding: 140px 0 56px; background: radial-gradient(ellipse at 80% 0%, rgba(0, 125, 197, .22), transparent 60%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 880px; margin-bottom: 18px; }
.page-hero p.lead { font-size: 1.18rem; color: #c5cedb; max-width: 720px; }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.prose { max-width: 740px; font-size: 1.08rem; line-height: 1.8; color: #cdd5e0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.65rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; scroll-margin-top: 96px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .88em; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: #e6ecf3; }
.prose pre { overflow-x: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; font-size: .86rem; white-space: pre; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; color: #e6ecf3; font-size: 1.12rem; }
.prose .tldr { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 20px 24px; font-size: 1rem; }
.prose .tldr strong:first-child { display: block; color: var(--accent); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; background: var(--card-2); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.inline-cta { background: linear-gradient(140deg, rgba(0, 125, 197, .25), var(--card)); border: 1px solid rgba(43, 166, 255, .35); border-radius: 14px; padding: 24px; margin: 2em 0; }
.inline-cta p { margin: 0 0 14px; color: #e6ecf3; font-weight: 500; }
.prose .inline-cta a.btn { color: #fff; text-decoration: none; }
.author-box { display: flex; gap: 18px; align-items: center; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author-box p { font-size: .92rem; color: var(--muted); }
.author-box strong { color: #fff; display: block; }
.toc { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; font-size: .9rem; }
.toc h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: var(--font-body); }
.toc ol { list-style: none; display: grid; gap: 8px; }
.toc a { color: #c5cedb; }
.toc a:hover { color: #fff; }
.toc .btn { margin-top: 18px; width: 100%; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

/* Legal */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.legal p { color: #c5cedb; margin-bottom: 1em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #030409; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: #c5cedb; }
.footer-grid a:hover { color: #fff; }
.footer-about p { color: var(--muted); margin: 14px 0 18px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; fill: #c5cedb; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(0, 0, 0, .85); padding: 20px; }
.modal.open { display: grid; }
.modal video { max-height: 85vh; width: min(1100px, 100%); border-radius: 12px; background: #000; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .6); cursor: pointer; font-size: 1.1rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Empresa com IA (mapa interativo de agentes) */
.aio { position: relative; border-block: 1px solid var(--line); background: radial-gradient(ellipse 60% 45% at 50% 58%, rgba(0, 125, 197, .12), transparent 70%), var(--bg); }
.aio .head { margin-bottom: 22px; }
.aio-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.aio-steps { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin-bottom: 30px; font-size: .9rem; color: #c3ccd8; counter-reset: aio; }
.aio-steps li { display: flex; align-items: center; gap: 9px; }
.aio-steps li::before { counter-increment: aio; content: '0' counter(aio); font-size: .7rem; font-weight: 600; color: var(--accent); border: 1px solid rgba(43, 166, 255, .35); border-radius: 999px; padding: 1px 7px; }

.aio-stage { --gap: 16px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "mkt ges fin" "hub hub hub" "ven ate ope"; gap: var(--gap); padding: var(--gap); border: 1px solid var(--line-2); border-radius: 22px; background-color: #070b13; background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px); background-size: 28px 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); isolation: isolate; }
.aio-rooms { display: contents; }
.aio-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.aio-link { fill: none; stroke: rgba(143, 208, 255, .16); stroke-width: 1.5; transition: stroke .3s, opacity .3s; }
.aio-link.sys { stroke: rgba(143, 208, 255, .12); stroke-dasharray: 3 5; }
.aio-link.is-hot { stroke: var(--hot, var(--accent)); stroke-opacity: .7; }
.aio-stage.is-dim .aio-link:not(.is-hot) { opacity: .35; }
.aio-dot { fill: var(--accent-2); }

/* Salas */
.aio-room { --c: #2ba6ff; position: relative; z-index: 2; display: flex; flex-direction: column; min-height: 252px; border: 1px solid var(--line-2); border-radius: 16px; background: #0a101c; cursor: pointer; transition: opacity .35s, border-color .25s, box-shadow .25s; }
.aio-room[data-dept="marketing"] { grid-area: mkt; --c: #a78bfa; }
.aio-room[data-dept="gestao"] { grid-area: ges; --c: #8fd0ff; }
.aio-room[data-dept="financeiro"] { grid-area: fin; --c: #f2c35b; }
.aio-room[data-dept="vendas"] { grid-area: ven; --c: #2ba6ff; }
.aio-room[data-dept="atendimento"] { grid-area: ate; --c: #34d399; }
.aio-room[data-dept="operacoes"] { grid-area: ope; --c: #f59e6b; }
.aio-room.is-hot, .aio-room.is-active { z-index: 6; border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent), 0 20px 50px rgba(0, 0, 0, .5); }
.aio-stage.is-dim .aio-room:not(.is-hot) { opacity: .42; }
.aio-stage.is-dim .aio-hub { opacity: .6; }
.aio-room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px 10px; border-bottom: 1px solid var(--line); }
.aio-room h3 { display: flex; align-items: center; gap: 9px; font-size: .95rem; letter-spacing: 0; }
.aio-room h3::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.aio-status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.aio-status i, .aio-p-agent i, .aio-feed i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; animation: aio-ping 2.4s ease-out infinite; }
.aio-room-btn { position: absolute; inset: 0; z-index: 3; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.aio-room-btn:focus-visible { outline-offset: 2px; border-radius: 16px; }

/* Cena da sala */
.aio-scene { position: relative; flex: 1; min-height: 150px; overflow: hidden; border-radius: 0 0 15px 15px; }
.aio-scene > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.aio-scene .wb { fill: #0e1829; stroke: rgba(255, 255, 255, .08); }
.aio-scene .d { fill: #152136; stroke: rgba(255, 255, 255, .07); }
.aio-scene .m { fill: #0a1424; stroke: color-mix(in srgb, var(--c) 40%, transparent); }
.aio-scene .ch { fill: #1a2740; }
.aio-scene .kc { fill: #17243a; }
.aio-scene .lb { fill: rgba(255, 255, 255, .16); }
.aio-scene .ln { fill: var(--c); opacity: .6; }
.aio-scene .acc { fill: var(--c); opacity: .85; }
.aio-scene .acc-soft { fill: var(--c); opacity: .28; }
.aio-scene .pot { fill: #1b332e; }
.aio-scene .lf { fill: #2b6e55; opacity: .9; }
.aio-scene .doc { fill: #1a2740; stroke: rgba(255, 255, 255, .1); }
.aio-scene .node { fill: #0a1424; stroke: var(--c); stroke-opacity: .55; stroke-width: 1.5; }
.aio-scene .grid-l { stroke: rgba(255, 255, 255, .07); fill: none; stroke-width: 2; }
.aio-scene .aio-wa { fill: #25d366; opacity: .7; }
.aio-scene .aio-me { fill: rgba(255, 255, 255, .14); }
.aio-scene .aio-line { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 190; animation: aio-draw 7s ease-in-out infinite; }
.aio-scene .aio-dial { stroke: var(--c); stroke-width: 2; stroke-linecap: round; animation: aio-spin 12s linear infinite; }
.aio-scene .aio-tk { fill: #0a1424; stroke: var(--c); stroke-width: 1.5; animation: aio-tick 6s ease-in-out infinite; }
.aio-scene .aio-tk:nth-of-type(2) { animation-delay: 2s; }
.aio-scene .aio-tk:nth-of-type(3) { animation-delay: 4s; }
.aio-scene .aio-m1, .aio-scene .aio-m2, .aio-scene .aio-m3 { animation: aio-msg 8s ease-in-out infinite; }
.aio-scene .aio-m2 { animation-delay: 1.2s; }
.aio-scene .aio-m3 { animation-delay: 2.4s; }
.aio-scene .aio-kb { animation: aio-kanban 14s ease-in-out infinite; }
.aio-scene .aio-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: aio-bar 5s ease-in-out infinite alternate; }
.aio-scene .aio-bar:nth-of-type(odd) { animation-delay: -2.5s; }
.aio-scene .aio-bar:nth-of-type(3n) { animation-duration: 6.5s; }
.aio-scene .aio-hl { stroke: var(--c); stroke-opacity: .6; animation: aio-blink 4s ease-in-out infinite; }
.aio-scene .aio-doc { animation: aio-doc 7s ease-in-out infinite; }
.aio-scene .aio-box { animation: aio-conveyor 9s linear infinite; }
.aio-scene .aio-box2 { animation-delay: -3s; }
.aio-scene .aio-box3 { animation-delay: -6s; }
.aio-scene .aio-led { fill: var(--ok); animation: aio-blink 1.8s steps(2) infinite; }
.aio-scene .aio-led.l2 { animation-delay: .6s; }
.aio-scene .aio-led.l3 { fill: var(--c); animation-duration: 2.6s; }
.aio-scene .aio-gear { animation: aio-spin 16s linear infinite; }
.aio-scene .aio-kpi { transform-box: fill-box; transform-origin: 0 50%; animation: aio-kpi 6s ease-in-out infinite alternate; }
.aio-scene .aio-kpi.k2 { animation-delay: -2s; }
.aio-scene .aio-kpi.k3 { animation-delay: -4s; }

/* Personagens */
.aio-person { position: absolute; width: 22px; height: 28px; }
.aio-walk { position: absolute; left: 0; bottom: var(--y, 34%); width: 100%; height: 0; animation: aio-walk-a 24s ease-in-out infinite; }
.aio-agent { position: absolute; left: var(--x, 18%); bottom: 0; display: flex; flex-direction: column; align-items: center; color: var(--c); }
.aio-agent svg { width: 28px; height: 35px; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 45%, transparent)); animation: aio-bob 2.6s ease-in-out infinite; }
.aio-agent em { margin-bottom: 3px; padding: 2px 7px; border-radius: 999px; background: rgba(4, 6, 11, .82); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); color: #e7edf5; font-style: normal; font-size: .64rem; font-weight: 600; white-space: nowrap; }
.aio-room[data-dept="atendimento"] .aio-walk { --y: 40%; animation-name: aio-walk-b; animation-duration: 28s; }
.aio-room[data-dept="atendimento"] .aio-agent { --x: 56%; }
.aio-room[data-dept="marketing"] .aio-walk { --y: 36%; animation-duration: 26s; animation-delay: -9s; }
.aio-room[data-dept="marketing"] .aio-agent { --x: 30%; }
.aio-room[data-dept="financeiro"] .aio-walk { --y: 36%; animation-name: aio-walk-b; animation-delay: -5s; }
.aio-room[data-dept="financeiro"] .aio-agent { --x: 44%; }
.aio-room[data-dept="operacoes"] .aio-walk { --y: 48%; animation-name: aio-walk-c; animation-duration: 20s; }
.aio-room[data-dept="operacoes"] .aio-agent { --x: 12%; }
.aio-room[data-dept="gestao"] .aio-walk { --y: 30%; animation-name: aio-walk-d; animation-duration: 30s; }
.aio-room[data-dept="gestao"] .aio-agent { --x: 30%; }

/* Microeventos */
.aio-toast { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 20px); padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(4, 6, 11, .9); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: #e6edf5; font-size: .72rem; font-weight: 500; white-space: nowrap; pointer-events: none; animation: aio-toast 3.6s ease forwards; }
.aio-toast::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); flex: none; }

/* Card de hover */
.aio-card { position: absolute; z-index: 8; width: 300px; padding: 18px; border-radius: 14px; background: rgba(10, 15, 27, .98); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line-2)); box-shadow: 0 26px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; display: none; }
.aio-room[data-dept="marketing"] .aio-card, .aio-room[data-dept="gestao"] .aio-card, .aio-room[data-dept="financeiro"] .aio-card { top: calc(100% - 30px); }
.aio-room[data-dept="vendas"] .aio-card, .aio-room[data-dept="atendimento"] .aio-card, .aio-room[data-dept="operacoes"] .aio-card { bottom: calc(100% - 30px); }
.aio-room[data-dept="marketing"] .aio-card, .aio-room[data-dept="vendas"] .aio-card { left: 14px; }
.aio-room[data-dept="financeiro"] .aio-card, .aio-room[data-dept="operacoes"] .aio-card { right: 14px; }
.aio-room[data-dept="gestao"] .aio-card, .aio-room[data-dept="atendimento"] .aio-card { left: 50%; translate: -50% 0; }
.aio-kicker { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c, var(--accent)); }
.aio-card h4 { margin: 5px 0 6px; font-size: 1.05rem; }
.aio-card h4 small, .aio-p-agent b { font-family: var(--font-body); font-size: .75rem; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.aio-card p { font-size: .87rem; line-height: 1.5; color: var(--muted); }
.aio-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 12px 0 14px; font-size: .82rem; color: #d3dbe6; }
.aio-checks li::before { content: '✓'; margin-right: 6px; color: var(--c); font-weight: 600; }
.aio-more { font-size: .85rem; font-weight: 600; color: var(--accent-2); }
.aio-detail { display: none; }

/* Hub central */
.aio-hub { grid-area: hub; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 176px 230px 176px minmax(0, 1fr); align-items: center; gap: 18px; min-height: 236px; padding: 34px 6px; transition: opacity .35s; }
.aio-sys { list-style: none; display: grid; gap: 8px; }
.aio-sys li { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 10px; background: #0b111d; font-size: .8rem; color: #d5dde8; white-space: nowrap; }
.aio-sys svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aio-core { display: grid; justify-items: center; text-align: center; }
.aio-core-orb { position: relative; width: 164px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px; background: radial-gradient(circle at 50% 38%, rgba(43, 166, 255, .3), rgba(0, 125, 197, .1) 58%, #080d17 74%); border: 1px solid rgba(43, 166, 255, .4); box-shadow: 0 0 70px rgba(0, 125, 197, .28), inset 0 0 34px rgba(43, 166, 255, .16); }
.aio-core-orb::before, .aio-core-orb::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.aio-core-orb::before { inset: -11px; border: 1px dashed rgba(143, 208, 255, .3); animation: aio-spin 50s linear infinite; }
.aio-core-orb::after { inset: -24px; border: 1px solid rgba(143, 208, 255, .08); }
.aio-core-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(43, 166, 255, .5); animation: aio-pulse 3.2s ease-out infinite; }
.aio-core-orb p { display: grid; line-height: 1.1; }
.aio-core-orb strong { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .16em; color: #fff; }
.aio-core-orb p span { margin-top: 4px; font-size: .66rem; font-weight: 600; letter-spacing: .32em; color: var(--accent-2); }
.aio-count { font-size: .66rem; color: var(--muted); }
.aio-count b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.aio-feed { display: none; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #0b111d; font-size: .78rem; color: #d5dde8; }
.aio-widget { align-self: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(9, 14, 24, .92); font-size: .78rem; color: #c5cedb; }
.aio-w-title { display: block; margin-bottom: 10px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aio-memory ul { list-style: none; display: grid; gap: 7px; }
.aio-memory li { display: grid; gap: 3px; }
.aio-memory i { order: 2; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent-2)) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, .06); }
.aio-w-item { line-height: 1.4; }
.aio-w-item b { display: block; color: #fff; font-weight: 600; }
.aio-w-actions { display: flex; gap: 6px; margin: 10px 0 8px; }
.aio-w-btn { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .72rem; }
.aio-w-btn.ok { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: #b9f3dc; }
.aio-approve small { font-size: .68rem; color: var(--muted); }

/* Painel de detalhes */
.aio-panel { --c: var(--accent); position: absolute; z-index: 20; top: var(--gap); right: var(--gap); bottom: var(--gap); width: min(410px, calc(100% - 2 * var(--gap))); overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px 24px; border-radius: 18px; background: rgba(8, 12, 21, .98); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--line-2)); box-shadow: -24px 0 70px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .25s, transform .25s, visibility .25s; }
.aio-stage.is-open .aio-panel { opacity: 1; visibility: visible; transform: none; }
.aio-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; font-size: .9rem; color: var(--muted); }
.aio-close:hover { color: #fff; border-color: var(--line-2); }
.aio-panel h3 { margin: 6px 40px 8px 0; font-size: 1.45rem; }
.aio-panel h3:focus { outline: none; }
.aio-p-agent { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #d5dde8; }
.aio-p-agent b { margin: 0; color: var(--muted); }
.aio-p-desc { margin: 12px 0 18px; font-size: .92rem; color: var(--muted); line-height: 1.55; }
.aio-p-label { display: block; margin-bottom: 12px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aio-flow { list-style: none; counter-reset: flow; margin-bottom: 16px; }
.aio-flow li { position: relative; padding: 2px 0 14px 36px; font-size: .9rem; color: #d7dfe9; counter-increment: flow; }
.aio-flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: #0a1120; font-size: .72rem; font-weight: 600; color: var(--c); animation: aio-step 6s infinite; animation-delay: calc(var(--i, 0) * 1s); }
.aio-flow li:not(:last-child)::after { content: ''; position: absolute; left: 11.5px; top: 27px; bottom: 2px; width: 1px; background: linear-gradient(var(--c), transparent); opacity: .45; }
.aio-flow li:nth-child(2) { --i: 1; } .aio-flow li:nth-child(3) { --i: 2; } .aio-flow li:nth-child(4) { --i: 3; } .aio-flow li:nth-child(5) { --i: 4; } .aio-flow li:nth-child(6) { --i: 5; }
.aio-stage.is-open .aio-flow li { animation: aio-in .4s both; animation-delay: calc(var(--i, 0) * 70ms); }
.aio-human { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(52, 211, 153, .22); background: rgba(52, 211, 153, .07); font-size: .85rem; line-height: 1.45; color: #ccefe0; }
.aio-human::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 1px; background: #34d399; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.3 8 9 4.6-.7 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.3 8 9 4.6-.7 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.aio-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.aio-tags li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .76rem; color: #cfd7e2; }

.aio-note { margin-top: 12px; text-align: right; font-size: .76rem; color: var(--muted); }
.aio-note-swipe { display: none; }

/* Mensagem comercial */
.aio-pitch { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 36px; padding: 30px 34px; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(115deg, rgba(0, 125, 197, .16), rgba(12, 18, 32, .5) 60%); }
.aio-pitch h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.aio-pitch p { margin-top: 10px; color: var(--muted); max-width: 640px; }

/* Keyframes */
@keyframes aio-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
@keyframes aio-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes aio-spin { to { transform: rotate(360deg); } }
@keyframes aio-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes aio-walk-a { 0%, 26% { transform: translateX(0); } 40%, 66% { transform: translateX(36%); } 80%, 100% { transform: translateX(0); } }
@keyframes aio-walk-b { 0%, 18% { transform: translateX(0); } 30%, 50% { transform: translateX(-30%); } 64%, 80% { transform: translateX(16%); } 92%, 100% { transform: translateX(0); } }
@keyframes aio-walk-c { 0%, 12% { transform: translateX(0); } 34%, 46% { transform: translateX(34%); } 68%, 80% { transform: translateX(66%); } 96%, 100% { transform: translateX(0); } }
@keyframes aio-walk-d { 0%, 30% { transform: translateX(0); } 42%, 72% { transform: translateX(42%); } 84%, 100% { transform: translateX(0); } }
@keyframes aio-toast { 0% { opacity: 0; transform: translateY(-6px); } 10%, 84% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes aio-draw { 0% { stroke-dashoffset: 190; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -190; } }
@keyframes aio-tick { 0%, 20% { fill: #0a1424; } 30%, 80% { fill: var(--c); } 100% { fill: #0a1424; } }
@keyframes aio-msg { 0%, 8% { opacity: 0; transform: translateY(4px); } 16%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes aio-kanban { 0% { transform: none; opacity: 0; } 4%, 22% { transform: none; opacity: 1; } 32%, 58% { transform: translate(48px, -16px); } 68%, 88% { transform: translate(96px, 0); opacity: 1; } 96%, 100% { transform: translate(96px, 0); opacity: 0; } }
@keyframes aio-bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes aio-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes aio-doc { 0%, 35% { transform: none; opacity: 1; } 55% { transform: translate(40px, -6px); opacity: 0; } 56% { transform: translateY(8px); opacity: 0; } 75%, 100% { transform: none; opacity: 1; } }
@keyframes aio-conveyor { 0% { transform: translateX(8px); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translateX(308px); opacity: 0; } }
@keyframes aio-kpi { from { transform: scaleX(.45); } to { transform: scaleX(1); } }
@keyframes aio-step { 0%, 15% { background: var(--c); color: #04060b; } 17%, 100% { background: #0a1120; color: var(--c); } }
@keyframes aio-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.aio-stage.is-paused *, .aio-stage.is-paused *::before, .aio-stage.is-paused *::after { animation-play-state: paused !important; }

/* Desktop: card de hover */
@media (min-width: 1000px) {
  .aio-card { display: block; }
  .aio-stage:not(.is-open) .aio-room.is-hot .aio-card { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1139px) { .aio-widget { visibility: hidden; } }

/* Tablet: mapa simplificado */
@media (max-width: 999px) {
  .aio-stage { --gap: 12px; }
  .aio-room { min-height: 206px; }
  .aio-room-head { padding: 10px 11px 9px; }
  .aio-room h3 { font-size: .86rem; }
  .aio-status { font-size: 0; gap: 0; }
  .aio-person, .aio-toast { display: none; }
  .aio-hub { grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr); gap: 16px; min-height: 210px; }
  .aio-sys-l { justify-self: end; }
  .aio-sys-r { justify-self: start; }
  .aio-widget { display: none; }
  .aio-core-orb { width: 142px; }
  .aio-panel { width: min(400px, calc(100% - 2 * var(--gap))); }
}

/* Mobile: core + áreas navegáveis */
@media (max-width: 699px) {
  .aio-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .84rem; }
  .aio-stage { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .aio-links { display: none; }
  .aio-hub { order: -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 0; padding: 18px 0 22px; }
  .aio-core { order: -1; width: 100%; margin-bottom: 10px; }
  .aio-core-orb { width: 136px; }
  .aio-feed { display: inline-flex; }
  .aio-sys { display: contents; }
  .aio-sys li { padding: 5px 9px; font-size: .74rem; }
  .aio-sys svg { width: 13px; height: 13px; }
  .aio-rooms { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .aio-rooms::-webkit-scrollbar { display: none; }
  .aio-room { flex: 0 0 min(76%, 300px); min-height: 190px; scroll-snap-align: center; }
  .aio-room h3 { font-size: .92rem; }
  .aio-status { font-size: .7rem; gap: 6px; }
  .aio-scene { min-height: 140px; }
  .aio-stage.is-dim .aio-room:not(.is-hot) { opacity: 1; }
  .aio-stage.is-dim .aio-hub { opacity: 1; }
  .aio-panel { position: static; width: auto; margin-top: 10px; padding: 22px 18px 20px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .aio-close { display: none; }
  .aio-panel h3 { margin-right: 0; font-size: 1.3rem; }
  .aio-note { text-align: center; }
  .aio-note-map { display: none; }
  .aio-note-swipe { display: inline; }
  .aio-pitch { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .aio-pitch .btn { width: 100%; }
}
.no-js .aio-panel { display: none; }

@media (prefers-reduced-motion: reduce) {
  .aio-stage *, .aio-stage *::before, .aio-stage *::after { animation: none !important; }
  .aio-panel, .aio-card, .aio-room { transition: none; }
}
