/* =========================================================================
   IDX · página da IDX.IA (/idx-ia/)
   Base: site.css (violeta #4E26DE, Urbanist, botão pílula, cartão 16px).
   Por cima: a sub-marca do manual IDX.IA v1.0 (13/10/2026), símbolo Nuvem.
   - Roxo #7A2CBF marca autoria, menção e trabalho em andamento. CTA continua no
     violeta do site; dentro das réplicas do produto, ação é o azul #3073F1.
   - Telas do produto em Inter; marca e títulos em Urbanist.
   - Movimento: a nuvem anima quando trabalha e para quando espera. Curva
     cubic-bezier(.22,1,.36,1); passo 180 ms, check 150 ms, recolher 200 ms,
     pronta 560 ms uma vez. Troca de aba sem fade. Movimento reduzido: só cor e texto.
   ========================================================================= */

.ia-page {
  --idxia: #7A2CBF;
  --idxia-2: #B57BE0;          /* a mesma marca sobre fundo escuro */
  --idxia-tint: #F3ECFA;
  --idxia-line: #E2D2F3;
  --p-bg: #FAF9FC;             /* neutros do produto, do manual */
  --p-surface: #FFFFFF;
  --p-fg: #1A1622;
  --p-muted: #6C6677;
  --p-line: #E8E4EE;
  --p-soft: #F4F1F8;
  --p-blue: #3073F1;
  --ia-ease: cubic-bezier(.22, 1, .36, 1);
  --f-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ia-page ::selection { background: var(--idxia); color: #fff; }
.ia-page .h2 em, .ia-page .pt { color: var(--idxia); }
.ia-page :focus-visible { outline-color: var(--idxia); }

/* =========================================================
   Símbolo (Nuvem) e seus quatro estados
   ========================================================= */
.mk { display: block; width: 100%; height: 100%; overflow: visible; transition: color 200ms ease; }
.mk .c-corpo, .mk .c-b { transform-box: fill-box; transform-origin: 50% 100%; }
.mk .c-faisca, .mk .c-olho { transform-box: fill-box; transform-origin: 50% 50%; }
.mk .c-olhos { transition: transform 260ms var(--ia-ease); }
.mk-trabalhando .c-b1 { animation: ia-bolha 1.4s ease-in-out infinite; }
.mk-trabalhando .c-b2 { animation: ia-bolha 1.4s ease-in-out .18s infinite; }
.mk-trabalhando .c-b3 { animation: ia-bolha 1.4s ease-in-out .36s infinite; }
.mk-trabalhando .c-olhos { animation: ia-olha 1.4s ease-in-out infinite; }
.mk-pronto .c-corpo { animation: ia-nuvem-pula 560ms var(--ia-ease) both; }
.mk-pronto .c-olhos { opacity: 0; }
.mk-pronto .c-arcos { opacity: 1; }
.mk-pronto .c-faisca { animation: ia-faisca 500ms 160ms var(--ia-ease) both; }
.mk-erro { color: var(--danger) !important; }
.mk-erro .c-olho-e { transform: rotate(-18deg); }
.mk-erro .c-olho-d { transform: rotate(18deg); }
.mk-erro .c-corpo { animation: ia-treme 320ms ease-in-out both; }
@keyframes ia-bolha { 0%, 60%, 100% { transform: scale(1); } 25% { transform: scale(1.09); } }
@keyframes ia-olha { 0%, 100% { transform: translate(0, 0); } 30%, 70% { transform: translate(.7px, -1.3px); } }
@keyframes ia-nuvem-pula { 0% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-1.8px) scale(.96, 1.05); } 62% { transform: translateY(0) scale(1.05, .95); } 100% { transform: none; } }
@keyframes ia-faisca { 0% { opacity: 0; transform: scale(.3) rotate(-60deg); } 55% { opacity: 1; transform: scale(1.25) rotate(0deg); } 100% { opacity: 1; transform: none; } }
@keyframes ia-treme { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-.8px); } 75% { transform: translateX(.8px); } }
@keyframes ia-entra { 0% { opacity: 0; transform: scale(.4) translateY(30%); } 55% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mk, .mk * { animation: none !important; transition: none !important; }
  .mk-pronto .c-faisca { opacity: 1; }
}

/* =========================================================
   Topo
   ========================================================= */
.ia-hero .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; }
.ia-hero::before { background: radial-gradient(closest-side, rgba(122,44,191,.13), rgba(122,44,191,0)); }
.ia-hero h1 { font-size: clamp(46px, 5.6vw, 80px); letter-spacing: -0.04em; line-height: .98; margin: 22px 0 22px; }

/* assinatura: nuvem + nome + pronúncia, no lugar do selo das outras páginas */
.ia-lockup { display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.ia-lockup-s { width: 40px; height: 40px; color: var(--idxia); flex: none; }
.ia-lockup-n { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.ia-lockup-p { font-size: 15px; color: var(--ink-4); padding-left: 12px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.ia-lockup-p b { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .js .ia-lockup-s .mk { animation: ia-entra 700ms var(--ia-ease) 200ms both; transform-origin: 50% 100%; }
}

/* ---------- Demonstração: a tela da IDX.IA num palco lilás ---------- */
.ia-demo { position: relative; padding: 18px 18px 16px; border-radius: 28px; background: linear-gradient(160deg, #F3ECFA, #ECE2F8 70%); box-shadow: 0 0 0 1px rgba(122,44,191,.08); }
.ia-win {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); height: 520px;
  border-radius: 18px; overflow: hidden; background: var(--p-bg);
  box-shadow: 0 0 0 1px rgba(26,22,34,.07), 0 30px 60px -28px rgba(70,24,120,.35), 0 12px 24px -16px rgba(26,22,34,.18);
  font-family: var(--f-ui); font-size: 13.5px; line-height: 1.5; color: var(--p-fg);
}
.ia-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--p-surface); border-right: 1px solid var(--p-line); }
.ia-rail span { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--p-muted); }
.ia-rail .i { width: 18px; height: 18px; }
.ia-rail .on { background: var(--idxia-tint); color: var(--idxia); }
.ia-rail .on .mk { width: 20px; height: 20px; }
.ia-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; }
.ia-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--p-surface); border-bottom: 1px solid var(--p-line); }
.ia-top-s { width: 18px; height: 18px; color: var(--idxia); }
.ia-top b { font-weight: 600; font-size: 14px; }
.ia-top-r { margin-left: auto; font-size: 12px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.ia-msgs { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--p-line) transparent; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 14px; }
.ia-vazio { margin: auto; display: grid; justify-items: center; gap: 12px; text-align: center; }
.ia-vazio-s { width: 44px; height: 44px; color: var(--idxia); }
.ia-vazio p { font-size: 16px; font-weight: 600; }

.ia-comp { margin: 0 14px 14px; padding: 11px 10px 10px 14px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-surface); display: grid; gap: 8px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.ia-comp.foco { border-color: var(--idxia-line); box-shadow: 0 0 0 3px rgba(122,44,191,.08); }
.ia-comp-t { color: var(--p-muted); min-height: 21px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ia-comp-t.tem { color: var(--p-fg); }
.ia-comp-t.tem::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--idxia); }
.ia-comp-b { display: flex; align-items: center; gap: 12px; color: var(--p-muted); }
.ia-comp-b .i { width: 17px; height: 17px; }
.ia-send { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--p-soft); color: var(--p-muted); transition: background-color 150ms ease, color 150ms ease, transform 150ms var(--ia-ease); }
.ia-send .i { width: 15px; height: 15px; }
.ia-send.ok { background: var(--p-fg); color: #fff; }
.ia-send.aperta { transform: scale(.88); }

/* mensagens */
.m-user { align-self: flex-end; max-width: 86%; padding: 9px 13px; background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 14px 14px 4px 14px; }
.m-ia { display: grid; gap: 10px; justify-items: start; max-width: 100%; }
.m-in { animation: ia-passo 200ms var(--ia-ease) both; }
.m-autor { display: flex; align-items: center; gap: 8px; }
.m-autor b { color: var(--idxia); font-weight: 600; }
.m-autor .pd { font-size: 12px; color: var(--p-muted); }
.ia-av { width: 24px; height: 24px; border-radius: 28%; background: var(--idxia-tint); color: var(--idxia); display: grid; place-items: center; flex: none; }
.ia-av .mk { width: 62%; height: 62%; }
.m-txt { font-size: 14px; line-height: 1.6; max-width: 46ch; }
.m-txt b { font-weight: 600; }

/* linha do tempo do trabalho */
.tl { width: 100%; max-width: 400px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-surface); padding: 11px 14px; }
.tl-head { display: flex; align-items: center; gap: 8px; min-height: 22px; font-weight: 500; }
.tl-head .s { width: 16px; height: 16px; color: var(--idxia); flex: none; }
.tl-head .tempo { margin-left: auto; color: var(--p-muted); font-weight: 400; font-size: 12px; font-variant-numeric: tabular-nums; }
.tl-head .res { color: var(--p-muted); font-weight: 400; }
.tl-tg { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 2px 4px; border-radius: 6px; font: inherit; font-size: 12px; color: var(--p-muted); cursor: pointer; }
.tl-tg .i { width: 13px; height: 13px; transition: transform 200ms var(--ia-ease); }
.tl-tg[aria-expanded="true"] .i { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .tl-tg:hover { color: var(--p-fg); background: var(--p-soft); } }
.tl-corpo { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 200ms var(--ia-ease); }
.tl-corpo.fechado { grid-template-rows: 0fr; }
.tl-corpo > ol { min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: 0; }
.tl-passo { display: flex; align-items: center; gap: 10px; min-height: 26px; font-size: 13px; color: var(--p-muted); animation: ia-passo 180ms var(--ia-ease) both; }
.tl-passo:first-child { margin-top: 8px; }
.tl-passo.ativo { color: var(--p-fg); }
.tl-passo .dur { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.tl-ico { width: 16px; height: 16px; display: grid; place-items: center; flex: none; color: var(--idxia); }
.tl-ico .mk { width: 14px; height: 14px; }
.tl-ico .chk { width: 16px; height: 16px; color: var(--success); animation: ia-chk 150ms var(--ia-ease) both; }
@keyframes ia-passo { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes ia-chk { from { transform: scale(.6); } to { transform: scale(1); } }

/* objetos criados e confirmação */
.objs { display: flex; flex-wrap: wrap; gap: 6px; }
.obj { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 8px; border: 1px solid var(--p-line); border-radius: 999px; background: var(--p-surface); font-size: 12.5px; animation: ia-obj 180ms var(--ia-ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
.obj .i { width: 14px; height: 14px; color: var(--p-muted); }
.obj .ext { color: var(--p-blue); font-weight: 500; }
@keyframes ia-obj { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.conf { width: 100%; max-width: 400px; border: 1px solid var(--p-line); border-radius: 14px; background: var(--p-surface); padding: 13px 14px; display: grid; gap: 12px; }
.conf-t { font-weight: 600; font-size: 14px; }
.conf-a { display: flex; justify-content: flex-end; gap: 6px; }
.conf-a button { border: 1px solid transparent; border-radius: 9px; padding: 6px 13px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; background: none; color: var(--p-muted); transition: transform 150ms var(--ia-ease), background-color 150ms ease; }
.conf-a button:active, .conf-a button.aperta { transform: scale(.96); }
.conf-a .sim { background: var(--p-blue); color: #fff; }
@media (hover: hover) and (pointer: fine) { .conf-a .nao:hover { background: var(--p-soft); color: var(--p-fg); } .conf-a .sim:hover { background: #1F5FDB; } }
.conf.feito { gap: 8px; }
.conf-feito { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--p-muted); }
.conf-feito .i { width: 15px; height: 15px; color: var(--success); }

/* pedidos para escolher, embaixo da tela */
.ia-pedidos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.ia-pedidos button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 12px;
  border: 0; border-radius: 100px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(122,44,191,.14);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.ia-pedidos button .i { width: 16px; height: 16px; color: var(--idxia); transition: color 200ms ease; }
.ia-pedidos button:active { transform: scale(.97); }
.ia-pedidos button[aria-pressed="true"] { background: var(--idxia); color: #fff; box-shadow: 0 8px 18px -10px rgba(122,44,191,.8); }
.ia-pedidos button[aria-pressed="true"] .i { color: #fff; }
@media (hover: hover) and (pointer: fine) { .ia-pedidos button[aria-pressed="false"]:hover { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(122,44,191,.3); } }

@media (max-width: 980px) { .ia-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 560px) {
  .ia-demo { padding: 10px 10px 12px; border-radius: 22px; margin-inline: -6px; }
  .ia-win { grid-template-columns: minmax(0, 1fr); height: 480px; }
  .ia-rail { display: none; }
  .ia-lockup-n { font-size: 21px; }
  .ia-pedidos button { font-size: 13.5px; padding: 0 13px 0 10px; }
}

/* =========================================================
   Personalidade: palco da nuvem + traços
   ========================================================= */
.ia-perso-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: stretch; }
.ia-palco { position: relative; min-height: 440px; border-radius: 28px; background: radial-gradient(120% 90% at 50% 38%, #FBF8FE 0%, #F3ECFA 55%, #EADDF7 100%); box-shadow: 0 0 0 1px rgba(122,44,191,.08); display: grid; place-items: center; overflow: hidden; }
.ia-palco-s { width: clamp(150px, 20vw, 230px); aspect-ratio: 1; color: var(--idxia); margin-bottom: 40px; display: grid; place-items: center; }
.ia-palco-s > .mk { width: 100%; height: 100%; }
.ia-palco-s .mk, .ia-palco-s .idx-raiz { filter: drop-shadow(0 22px 22px rgba(90,30,150,.16)); }
.ia-palco-fala { position: absolute; left: 0; right: 0; bottom: 30px; margin-inline: auto; width: max-content; max-width: calc(100% - 40px); padding: 11px 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(26,22,34,.06), 0 14px 30px -16px rgba(70,24,120,.35); font-family: var(--f-ui); font-size: 14px; line-height: 1.5; color: var(--p-fg); text-align: center; text-wrap: balance; }
.ia-palco-fala.troca { animation: ia-passo 180ms var(--ia-ease) both; }
.ia-palco-fala .tempo { color: var(--p-muted); font-variant-numeric: tabular-nums; }

.ia-tracos { display: grid; gap: 10px; align-content: center; }
.ia-traco { position: relative; overflow: hidden; display: grid; gap: 4px; text-align: left; padding: 18px 22px 19px; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 250ms ease, transform 160ms var(--ease-out); }
.ia-traco b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); transition: color 200ms ease; }
.ia-traco span { font-size: 15.5px; color: var(--ink-3); line-height: 1.45; }
.ia-traco:active { transform: scale(.985); }
.ia-traco[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--idxia), var(--shadow-md); }
.ia-traco[aria-pressed="true"] b { color: var(--idxia); }
/* tempo até o próximo traço, só enquanto o palco roda sozinho */
.ia-traco::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--idxia); opacity: .5; transform: scaleX(0); transform-origin: 0 50%; }
.ia-traco.corre::after { animation: ia-corre var(--ms, 3400ms) linear both; }
@keyframes ia-corre { to { transform: scaleX(1); } }
@media (hover: hover) and (pointer: fine) { .ia-traco[aria-pressed="false"]:hover { box-shadow: 0 0 0 1px var(--idxia-line), var(--shadow-sm); } }
@media (max-width: 980px) { .ia-perso-grid { grid-template-columns: minmax(0, 1fr); } .ia-palco { min-height: 340px; } }
@media (max-width: 560px) { .ia-palco { min-height: 300px; } .ia-palco-s { margin-bottom: 56px; } .ia-palco-fala { bottom: 20px; font-size: 13.5px; } }

/* =========================================================
   Sete estados do mascote, lado a lado
   ========================================================= */
.ia-est { list-style: none; margin: 0; padding: 28px 12px 30px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-radius: 28px; background: linear-gradient(180deg, #FBF8FE, #F3ECFA); box-shadow: 0 0 0 1px rgba(122,44,191,.08); }
.ia-est li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 0 10px; text-align: center; }
.ia-est li + li { border-left: 1px solid rgba(122,44,191,.12); }
.ia-est-m { width: 96px; height: 96px; margin-bottom: 10px; }
.ia-est b { font-size: 18px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.ia-est span { font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.ia-est em { margin-top: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--idxia); }
@media (max-width: 1180px) {
  .ia-est { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 168px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--idxia-line) transparent; }
  .ia-est li { scroll-snap-align: start; }
}

/* =========================================================
   Nos módulos: bento com uma cena por módulo
   ========================================================= */
.ia-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ia-c-funil { grid-column: span 4; }
.ia-c-docs { grid-column: span 2; grid-row: span 2; }
.ia-c-work, .ia-c-iodai { grid-column: span 2; }
.ia-c-prop, .ia-c-jorn { grid-column: span 3; }
.ia-cel { display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; color: inherit; transition: transform 500ms var(--spring), box-shadow 300ms ease; }
.js .ia-cel.reveal.in { transition: opacity 800ms var(--ease-out), filter 800ms var(--ease-out), transform 500ms var(--spring), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .js a.ia-cel.reveal.in:hover, a.ia-cel:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--idxia-line), var(--shadow-md); }
  a.ia-cel:hover .go .i { transform: translateX(4px); }
}
.ia-cena { position: relative; height: 210px; padding: 18px; display: grid; place-items: center; font-family: var(--f-ui); font-size: 12.5px; line-height: 1.45; color: var(--p-fg); background: var(--p-bg); border-bottom: 1px solid var(--line); }
.ia-cel-t { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ia-cel-t h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ia-cel-t p { font-size: 15.5px; color: var(--ink-3); line-height: 1.5; }
.ia-cel .go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--accent-deep); }
.ia-cel .go .i { width: 16px; height: 16px; transition: transform 250ms var(--ease-out); }
.cn-mk { width: 14px; height: 14px; color: var(--idxia); flex: none; display: inline-block; }
.ia-cena .i { width: 14px; height: 14px; }

/* Funil: o cartão do lead troca de coluna */
.ia-c-funil .ia-cena { height: 240px; padding: 54px 22px 18px; place-items: stretch; }
.cn-faixa { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: grid; align-items: center; padding: 6px 12px 6px 9px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--p-line), 0 6px 14px -10px rgba(26,22,34,.3); font-weight: 500; white-space: nowrap; }
.cn-faixa > * { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; }
.cn-faixa-a::before { content: ""; width: 14px; height: 14px; flex: none; }
.cn-faixa .cn-mk { position: absolute; left: 9px; top: 50%; margin-top: -7px; display: block; }
.cn-faixa-b { opacity: 0; color: var(--p-fg); }
.cn-faixa-b .i { color: var(--success); }
.cn-kanban { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cn-col { background: var(--p-soft); border-radius: 12px; padding: 10px; }
.cn-col-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.cn-col-h i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cn-n { margin-left: auto; display: grid; color: var(--p-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.cn-n > span { grid-area: 1 / 1; }
.cn-n .b { opacity: 0; }
.cn-lead { position: relative; height: 52px; margin-top: 8px; padding: 8px 11px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--p-line); }
.cn-lead b { display: block; font-size: 12.5px; font-weight: 600; }
.cn-lead span { font-size: 11.5px; color: var(--p-muted); }
.cn-vaga { background: transparent; box-shadow: none; border: 1.5px dashed var(--p-line); }
.cn-move { z-index: 2; }
.play .cn-move { animation: cn-mover 1500ms var(--ia-ease) 500ms both; }
.play .cn-vaga { animation: cn-some 200ms ease 1700ms both; }
/* o lead que ficou na coluna sobe para a vaga aberta */
.play .cn-col:first-child .cn-lead:last-child { animation: cn-fecha 450ms var(--ia-ease) 1750ms both; }
@keyframes cn-fecha { to { transform: translateY(-60px); } }
.play .cn-col:first-child .cn-n .a, .play .cn-col:last-child .cn-n .a { animation: cn-some 150ms ease 1750ms both; }
.play .cn-n .b { animation: cn-surge 150ms ease 1750ms both; }
.play .cn-faixa-a { animation: cn-some 150ms ease 1900ms both; }
.play .cn-faixa .cn-mk { animation: cn-some 150ms ease 1900ms both; }
.play .cn-faixa-b { animation: cn-surge 180ms var(--ia-ease) 1950ms both; }
@keyframes cn-mover {
  0% { transform: none; box-shadow: 0 0 0 1px var(--p-line); }
  22% { transform: translateY(-4px) rotate(-2.5deg) scale(1.04); box-shadow: 0 0 0 1px var(--idxia-line), 0 16px 26px -14px rgba(70,24,120,.45); }
  80% { transform: translateX(calc(100% + 32px)) translateY(-4px) rotate(1.5deg) scale(1.04); box-shadow: 0 0 0 1px var(--idxia-line), 0 16px 26px -14px rgba(70,24,120,.45); }
  100% { transform: translateX(calc(100% + 32px)); box-shadow: 0 0 0 1px var(--p-line); }
}
@keyframes cn-some { to { opacity: 0; } }
@keyframes cn-surge { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* Documentos: os arquivos caem, a pergunta e a resposta com fonte */
.ia-c-docs { background: var(--idxia-tint); box-shadow: 0 0 0 1px var(--idxia-line); }
.ia-c-docs .ia-cena { flex: 1; height: auto; min-height: 300px; background: transparent; border-bottom-color: var(--idxia-line); place-items: stretch; align-content: center; gap: 12px; padding: 22px 20px; }
.cn-arqs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cn-arqs span { padding: 5px 9px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--idxia-line); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--idxia); }
.cn-q { justify-self: end; max-width: 88%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: #fff; box-shadow: 0 0 0 1px var(--idxia-line); }
.cn-r { display: flex; gap: 8px; align-items: flex-start; }
.cn-av { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 28%; background: #fff; color: var(--idxia); }
.cn-r p { font-size: 13px; }
.cn-fonte { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-left: 32px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--idxia-line); font-size: 11.5px; color: var(--p-muted); }
.cn-fonte .i { color: var(--idxia); }
.js [data-cena]:not(.play) .cn-arqs span, .js [data-cena]:not(.play) .cn-q, .js [data-cena]:not(.play) .cn-r, .js [data-cena]:not(.play) .cn-fonte { opacity: 0; }
.play .cn-arqs span { animation: cn-cai 600ms var(--spring) both; animation-delay: calc(var(--k) * 90ms); }
.play .cn-q { animation: ia-passo 200ms var(--ia-ease) 700ms both; }
.play .cn-r { animation: ia-passo 200ms var(--ia-ease) 1250ms both; }
.play .cn-fonte { animation: ia-obj 180ms var(--ia-ease) 1550ms both; }
@keyframes cn-cai { from { opacity: 0; transform: translateY(-16px) rotate(-8deg); } to { opacity: 1; transform: none; } }

/* Workspace: as tarefas entram e marcam */
.ia-c-work .ia-cena { background: var(--paper-soft); place-items: stretch; align-content: center; gap: 10px; }
.cn-tarefas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cn-tarefas li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--p-line); font-weight: 500; white-space: nowrap; overflow: hidden; }
.cn-tarefas em { margin-left: auto; font-size: 11.5px; color: var(--p-muted); }
.cn-chk { width: 16px; height: 16px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--p-line); transition: background-color 150ms ease, box-shadow 150ms ease; }
.cn-chk .i { width: 10px; height: 10px; stroke-width: 3; color: #fff; opacity: 0; }
.cn-autor { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--p-muted); }
.js [data-cena]:not(.play) .cn-tarefas li, .js [data-cena]:not(.play) .cn-autor { opacity: 0; }
.play .cn-tarefas li { animation: ia-passo 180ms var(--ia-ease) both; animation-delay: calc(var(--k) * 380ms + 200ms); }
.play .cn-chk { animation: cn-marca 150ms var(--ia-ease) both; animation-delay: calc(var(--k) * 380ms + 520ms); }
.play .cn-chk .i { animation: cn-surge 150ms var(--ia-ease) both; animation-delay: calc(var(--k) * 380ms + 520ms); }
.play .cn-autor { animation: ia-passo 180ms var(--ia-ease) 1500ms both; }
@keyframes cn-marca { from { transform: scale(.6); } to { transform: none; background: var(--success); box-shadow: none; } }

/* IODAI: a conversa ganha etiqueta e responsável (célula escura, como a seção do IODAI na home) */
.ia-c-iodai { background: var(--night); box-shadow: none; }
.ia-c-iodai .ia-cena { background: transparent; border-bottom-color: rgba(255,255,255,.1); color: #fff; place-items: stretch; align-content: center; gap: 10px; }
.ia-c-iodai h3 { color: #fff; }
.ia-c-iodai .ia-cel-t p { color: rgba(255,255,255,.7); }
.ia-c-iodai .go { color: var(--idxia-2); }
@media (hover: hover) and (pointer: fine) { .js a.ia-c-iodai.reveal.in:hover, a.ia-c-iodai:hover { box-shadow: 0 0 0 1px rgba(181,123,224,.4), 0 24px 40px -20px rgba(18,10,46,.6); } }
.cn-conv { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.cn-conv-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #2B2440; color: var(--idxia-2); font-size: 11px; font-weight: 600; }
.cn-conv > div { min-width: 0; }
.cn-conv b { display: block; font-size: 13px; font-weight: 600; }
.cn-conv p { font-size: 12px; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-conv-h { margin-left: auto; align-self: flex-start; font-size: 11px; color: #F5C84B; font-variant-numeric: tabular-nums; }
.cn-conv-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.cn-tag { padding: 3px 10px; border-radius: 999px; background: rgba(226,169,7,.16); color: #F5C84B; font-size: 11.5px; font-weight: 600; }
.cn-resp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11.5px; color: rgba(255,255,255,.85); }
.cn-resp i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #DCE7FD; color: #1D4FB5; font-style: normal; font-size: 8.5px; font-weight: 600; }
.js [data-cena]:not(.play) .cn-tag, .js [data-cena]:not(.play) .cn-resp { opacity: 0; }
.play .cn-tag { animation: cn-pop 500ms var(--spring) 600ms both; }
.play .cn-resp { animation: cn-desliza 500ms var(--ia-ease) 1100ms both; }
@keyframes cn-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes cn-desliza { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Propostas: a cópia sai de trás da original */
.ia-c-prop .ia-cena { background: var(--p-soft); }
.cn-props { position: relative; width: 240px; height: 120px; }
.cn-prop { position: absolute; left: 0; top: 0; width: 210px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--p-line), 0 10px 20px -16px rgba(26,22,34,.4); display: grid; gap: 1px; }
.cn-prop-n { font-size: 11px; font-weight: 600; color: var(--p-muted); }
.cn-prop b { font-size: 14px; font-weight: 600; }
.cn-prop span:last-child { font-size: 12px; color: var(--p-muted); }
.cn-prop-a { z-index: 2; }
.cn-prop-b { transform: translate(30px, 30px) rotate(2deg); }
.cn-prop-b .cn-prop-n { color: var(--idxia); }
.js [data-cena]:not(.play) .cn-prop-b { opacity: 0; transform: none; }
.play .cn-prop-b { animation: cn-copia 700ms var(--spring) 450ms both; }
.play .cn-prop-a { animation: cn-pisca 400ms var(--ia-ease) 300ms both; }
@keyframes cn-copia { from { opacity: 0; transform: none; } to { opacity: 1; transform: translate(30px, 30px) rotate(2deg); } }
@keyframes cn-pisca { 50% { box-shadow: 0 0 0 1.5px var(--idxia), 0 10px 20px -16px rgba(26,22,34,.4); } }

/* Jornada: as barras sobem e o PDF sai pronto */
.cn-barras { display: flex; align-items: flex-end; gap: 10px; height: 104px; }
.cn-barras i { width: 26px; height: 100%; border-radius: 6px 6px 3px 3px; background: #D9C1F1; transform: scaleY(var(--h)); transform-origin: 50% 100%; }
.cn-barras i:nth-child(2) { background: var(--idxia); }
.ia-c-jorn .ia-cena { gap: 14px; align-content: center; }
.cn-pdf { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--p-line), 0 8px 16px -12px rgba(26,22,34,.35); font-weight: 500; }
.cn-pdf .i { color: var(--idxia); }
.js [data-cena]:not(.play) .cn-barras i { transform: scaleY(.04); }
.js [data-cena]:not(.play) .cn-pdf { opacity: 0; }
.play .cn-barras i { animation: cn-sobe 700ms var(--ia-ease) both; animation-delay: calc(var(--k) * 80ms + 150ms); }
.play .cn-pdf { animation: cn-pop 500ms var(--spring) 1000ms both; }
@keyframes cn-sobe { from { transform: scaleY(.04); } to { transform: scaleY(var(--h)); } }

@media (prefers-reduced-motion: reduce) {
  .ia-cena *, .ia-cena *::before { animation: none !important; }
  .js [data-cena] .ia-cena * { opacity: 1 !important; }
  .js [data-cena] .cn-barras i { transform: scaleY(var(--h)) !important; }
  .js [data-cena] .ia-cena .cn-faixa-a, .js [data-cena] .ia-cena .cn-faixa .cn-mk, .js [data-cena] .ia-cena .cn-n .a, .js [data-cena] .ia-cena .cn-vaga { opacity: 0 !important; }
  .cn-move { transform: translateX(calc(100% + 32px)); }
  .cn-col:first-child .cn-lead:last-child { transform: translateY(-60px); }
}
@media (max-width: 980px) {
  .ia-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ia-c-funil { grid-column: span 2; }
  .ia-c-docs, .ia-c-work, .ia-c-iodai, .ia-c-prop, .ia-c-jorn { grid-column: span 1; grid-row: auto; }
  .ia-c-docs .ia-cena { min-height: 0; }
}
@media (max-width: 640px) {
  .ia-bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ia-c-funil, .ia-c-docs, .ia-c-work, .ia-c-iodai, .ia-c-prop, .ia-c-jorn { grid-column: auto; }
  .ia-c-funil .ia-cena { padding-inline: 14px; }
  .cn-faixa { font-size: 11.5px; }
}

/* =========================================================
   Permissões: a mesma pergunta, duas pessoas
   ========================================================= */
.ia-perm-box { max-width: 680px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.ia-quem { position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 100px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.ia-quem-pill { position: absolute; left: 0; top: 5px; bottom: 5px; width: var(--w, 0); transform: translateX(var(--x, 5px)); border-radius: 100px; background: var(--idxia-tint); box-shadow: inset 0 0 0 1px var(--idxia-line); transition: transform 420ms var(--spring), width 420ms var(--spring); }
.ia-quem button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 7px; border: 0; border-radius: 100px; background: none; font-size: 15px; font-weight: 600; color: var(--ink-3); transition: color 200ms ease, transform 160ms var(--ease-out); }
.ia-quem button:active { transform: scale(.97); }
.ia-quem button[aria-checked="true"] { color: var(--ink); }
.ia-page .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #DCE7FD; color: #1D4FB5; font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.ia-page .av-b { background: #DDF3E5; color: #11703A; }
.ia-page .av-c { background: #FFF0D2; color: #8A5B00; }
.ia-perm-card { width: 100%; padding: 22px 24px 24px; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); font-family: var(--f-ui); color: var(--p-fg); font-size: 14px; line-height: 1.6; }
.pm-user { display: flex; justify-content: flex-end; align-items: flex-end; gap: 10px; }
.pm-user p { padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--p-soft); }
.pm-user .av { order: 2; }
.pm-ia { margin-top: 18px; display: grid; gap: 10px; min-height: 124px; align-content: start; }
.pm-autor { display: flex; align-items: center; gap: 8px; }
.pm-autor b { color: var(--idxia); font-weight: 600; }
.pm-pedido { font-size: 12px; color: var(--p-muted); }
.pm-txt { font-size: 15px; }
.pm-txt.entra, .pm-trava.entra { animation: ia-passo 200ms var(--ia-ease) both; }
.pm-trava[hidden] { display: none; }
.pm-trava { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--p-muted); }
.pm-trava .i { width: 15px; height: 15px; color: var(--idxia); }
.pm-trab { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--p-fg); animation: ia-passo 180ms var(--ia-ease) both; }
.pm-trab .s { width: 16px; height: 16px; color: var(--idxia); }
.pm-trab .tempo { color: var(--p-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .ia-quem button { font-size: 14px; padding-right: 13px; } .ia-perm-card { padding: 18px; } }

/* =========================================================
   Voz: como ela escreve e como não escreve
   ========================================================= */
.ia-voz-box { max-width: none; }
.ia-voz-tabs { position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 5px; border-radius: 100px; background: var(--paper-soft); box-shadow: inset 0 0 0 1px var(--line); }
.ia-voz-ind { position: absolute; left: 0; top: 5px; height: 40px; width: var(--w, 0); transform: translate(var(--x, 5px), var(--y, 0)); border-radius: 100px; background: var(--ink); transition: transform 380ms var(--spring), width 380ms var(--spring); }
.ia-voz-tabs button { position: relative; z-index: 1; height: 40px; padding: 0 18px; border: 0; border-radius: 100px; background: none; font-size: 15px; font-weight: 600; color: var(--ink-3); transition: color 200ms ease, transform 160ms var(--ease-out); }
.ia-voz-tabs button:active { transform: scale(.97); }
.ia-voz-tabs button[aria-selected="true"] { color: #fff; }
.ia-voz-par { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.vz-sim, .vz-nao { padding: 26px 28px 30px; border-radius: var(--r-xl); display: grid; gap: 14px; align-content: start; }
.vz-sim { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.vz-nao { box-shadow: inset 0 0 0 1px var(--line-2); }
.vz-rot { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.vz-sim .vz-rot { color: var(--idxia); }
.vz-nao .vz-rot { color: var(--ink-4); }
.vz-nao .vz-rot .i { width: 16px; height: 16px; color: var(--danger); }
.vz-mk { width: 22px; height: 22px; color: var(--idxia); }
.vz-txt { font-family: var(--f-ui); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--p-fg); letter-spacing: -.01em; }
.vz-nao .vz-txt { color: var(--ink-4); }
.vz-nao .vz-txt span { background: linear-gradient(rgba(230,53,53,.55), rgba(230,53,53,.55)) no-repeat 0 58% / 100% 1.5px; }
@media (prefers-reduced-motion: no-preference) {
  .vz-nao .vz-txt.risca span { animation: vz-risca 420ms var(--ia-ease) 120ms both; }
}
@keyframes vz-risca { from { background-size: 0% 1.5px; } to { background-size: 100% 1.5px; } }
@media (max-width: 760px) { .ia-voz-par { grid-template-columns: minmax(0, 1fr); } .vz-sim, .vz-nao { padding: 22px; } .ia-voz-tabs button { padding: 0 14px; font-size: 14px; } }

/* =========================================================
   Controle: instruções e limite por usuário
   ========================================================= */
.ia-ctrl .checks li .i { color: var(--idxia); }
.ia-cfg { padding: 24px; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); font-family: var(--f-ui); color: var(--p-fg); font-size: 14px; }
.cfg-h { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.cfg-mk { width: 20px; height: 20px; color: var(--idxia); }
.cfg-campo { margin-top: 20px; display: grid; gap: 8px; }
.cfg-rot { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--p-muted); }
.cfg-rot b { margin-left: auto; color: var(--p-fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.cfg-txt { min-height: 104px; padding: 12px 14px; border-radius: 12px; background: var(--p-bg); box-shadow: inset 0 0 0 1px var(--p-line); line-height: 1.65; }
.cfg-caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--idxia); }
.cfg-txt.feito .cfg-caret { opacity: 0; }
.cfg-users { display: grid; gap: 10px; }
.cfg-u { display: grid; grid-template-columns: 28px 64px minmax(0, 1fr) 36px; align-items: center; gap: 10px; }
.cfg-n { font-weight: 500; }
.cfg-bar { height: 6px; border-radius: 99px; background: var(--p-soft); overflow: hidden; }
.cfg-bar i { display: block; height: 100%; border-radius: inherit; background: var(--idxia); transform: scaleX(var(--v)); transform-origin: 0 50%; }
.cfg-p { text-align: right; font-size: 12.5px; color: var(--p-muted); font-variant-numeric: tabular-nums; }
.js .ia-cfg:not(.play) .cfg-bar i { transform: scaleX(0); }
@media (prefers-reduced-motion: no-preference) {
  .ia-cfg.play .cfg-bar i { animation: cfg-enche 900ms var(--ia-ease) both; }
  .ia-cfg.play .cfg-u:nth-child(2) .cfg-bar i { animation-delay: 90ms; }
  .ia-cfg.play .cfg-u:nth-child(3) .cfg-bar i { animation-delay: 180ms; }
}
@keyframes cfg-enche { from { transform: scaleX(0); } to { transform: scaleX(var(--v)); } }

/* =========================================================
   CTA: a nuvem assina a faixa
   ========================================================= */
.ia-cta { gap: 24px 32px; }
.ia-cta > div:nth-child(2) { flex: 1 1 340px; }
.ia-cta-mk { width: 64px; height: 64px; color: var(--idxia-2); flex: none; position: relative; }
.ia-cta::before { background: radial-gradient(closest-side, rgba(181,123,224,.32), rgba(181,123,224,0)); }
.ia-cta .ia-cta-sec { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
@media (hover: hover) and (pointer: fine) { .ia-cta .ia-cta-sec:hover { border-color: rgba(255,255,255,.6); } }
@media (max-width: 640px) { .ia-cta-mk { width: 48px; height: 48px; } }

/* =========================================================
   Uma cor só na página: o violeta do site (#4E26DE) dá lugar ao roxo da IDX.IA
   no destaque do título, no sublinhado e no botão principal. Antes os três
   conviviam com o laranja do gradiente e o roxo da nuvem, e brigavam no topo.
   ========================================================= */
.ia-page .page-hero h1 .hl { color: var(--idxia); }
.ia-page .page-hero h1 .hl::after { background: var(--idxia-2); opacity: .55; height: .1em; bottom: .04em; }
.ia-page .btn-primary { background: var(--idxia); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -10px rgba(122,44,191,.7); }
@media (hover: hover) and (pointer: fine) { .ia-page .btn-primary:hover { background: #64239E; } }
.ia-page .crumbs a:hover { color: var(--idxia); }
.ia-lockup-p b { color: var(--idxia); }
