/* 30 · Inteligência & WhatsApp (celular que "digita" + copiloto) */
.ia-cab { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.ia-dupla { align-items: center; }
.ia-celular-col { position: relative; }
.ia-3d { position: absolute; width: clamp(110px, 12vw, 170px); height: auto; right: 0; top: -40px; z-index: 2; pointer-events: none; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
@media (max-width: 900px) { .ia-3d { width: 110px; right: 4px; top: -36px; } }
@media (max-width: 480px) { .ia-3d { display: none; } }

.ia-secao .celular-tela { min-height: 640px; }
.ia-conversa { position: relative; }
.ia-dia { justify-self: center; margin-bottom: 4px; }
.ia-dia span { display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--texto-2); font-size: 11.5px; }
.ia-bolha strong { font-weight: 600; color: var(--texto); }
.ia-bolha .selo { margin-top: 4px; }
.ia-bolha .hora { display: inline-flex; align-items: center; gap: 3px; }
.ia-check { width: 15px; height: 15px; fill: none; stroke: var(--info); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ia-entra { animation: ia-entra .32s var(--ease) both; }
@keyframes ia-entra { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* cartão do mês com barra */
.ia-bolha-cartao { width: 92%; }
.ia-barra { position: relative; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin: 8px 0 6px; overflow: hidden; }
.ia-barra span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); border-radius: 999px; transform-origin: left; }
.ia-barra-feito { background: var(--acento); z-index: 2; }
.ia-barra-proj { background: rgba(var(--acento-rgb), .3); }
.ia-entra .ia-barra span { animation: ia-cresce .9s var(--ease) both .2s; }
@keyframes ia-cresce { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ia-barra-leg { font-size: 12.5px; color: var(--texto-2); }
.ia-ok { color: var(--verde); font-weight: 600; }

/* bolha de áudio */
.ia-bolha-audio { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px 10px; width: 88%; padding-bottom: 22px; }
.ia-play { width: 34px; height: 34px; border-radius: 50%; background: var(--marca); display: grid; place-items: center; }
.ia-play svg { width: 14px; height: 14px; fill: var(--texto); stroke: none; margin-left: 2px; }
.ia-onda { width: 100%; height: 24px; fill: none; stroke: var(--acento-2); stroke-width: 2; stroke-linecap: round; }
.ia-audio-dur { font-size: 12px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.ia-audio-leg { grid-column: 1 / -1; font-size: 12px; color: var(--texto-3); margin: 0; }

/* indicador "digitando" */
.ia-digitando { display: inline-flex; gap: 4px; padding: 12px 12px; justify-self: start; }
.ia-digitando span { width: 7px; height: 7px; border-radius: 50%; background: var(--texto-3); animation: ia-ponto 1s infinite; }
.ia-digitando span:nth-child(2) { animation-delay: .15s; }
.ia-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes ia-ponto { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.ia-h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.ia-texto .lista-check { margin-top: 26px; }

/* copiloto */
.ia-copiloto { margin-top: clamp(64px, 8vw, 110px); padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 18px; }
.ia-copiloto-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ia-copiloto-titulo { display: flex; gap: 14px; align-items: flex-start; }
.ia-copiloto-titulo h3 { font-size: clamp(22px, 2vw, 28px); }
.ia-copiloto-titulo p { color: var(--texto-2); font-size: 15px; margin-top: 4px; }
.ia-ic { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 12px; background: rgba(var(--acento-rgb), .14); fill: none; stroke: var(--acento-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ia-chat { display: grid; gap: 12px; align-content: start; min-height: 220px; max-height: 420px; overflow-y: auto; padding: 18px; border-radius: var(--raio-md); background: var(--fundo); border: 1px solid var(--linha); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { .ia-chat { scroll-behavior: auto; } }
.ia-msg { max-width: 72ch; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.ia-msg p + p { margin-top: 8px; }
.ia-msg-bot { background: var(--superficie-2); color: var(--texto); justify-self: start; border-top-left-radius: 6px; }
.ia-msg-eu { background: rgba(var(--marca-rgb), .22); border: 1px solid rgba(var(--acento-rgb), .3); color: var(--texto); justify-self: end; border-top-right-radius: 6px; }
.ia-msg strong { color: var(--texto); font-weight: 600; }
.ia-acao { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(var(--acento-rgb), .12); color: var(--acento-suave); font-weight: 500; }
.ia-acao svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--acento-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ia-cursor::after { content: '▍'; color: var(--acento); animation: ia-pisca .8s steps(1) infinite; }
@keyframes ia-pisca { 50% { opacity: 0; } }
.ia-msg .ia-digitando { padding: 2px 0; }

.ia-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ia-chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--linha-forte); background: rgba(255, 255, 255, .03); color: var(--texto); font-size: 14.5px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .15s var(--ease); }
.ia-chip:hover { border-color: rgba(var(--acento-rgb), .6); background: rgba(var(--acento-rgb), .1); }
.ia-chip:active { transform: translateY(1px); }
.ia-chip[disabled] { opacity: .5; cursor: progress; }
.ia-chip.usado { border-color: rgba(var(--acento-rgb), .35); color: var(--texto-2); }

.ia-grade { margin-top: 56px; }

@media (max-width: 900px) {
  .ia-celular-col { order: 2; }
  .ia-texto { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ia-entra, .ia-entra .ia-barra span, .ia-digitando span, .ia-cursor::after { animation: none; }
  .ia-barra span { transform: none; }
}
