/* /conversa/ (2026-10-22): conversa de captura para os anúncios do Instagram. Só tokens de /styles.css. */
.cv-page { min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 50% -10%, rgba(27,157,224,.14), transparent 60%), var(--bg-0, #05070A); }
.cv-top { position: sticky; top: 0; z-index: 5; background: rgba(5,7,10,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-exec); }
.cv-top-in { display: flex; align-items: center; gap: 12px; max-width: 680px; margin: 0 auto; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); }
.cv-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px rgba(52,195,240,.55); }
.cv-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cv-who b { font: 700 16px var(--f-display); color: var(--white); }
.cv-who span { font-size: 12.5px; color: var(--on-dark-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-langs { display: flex; gap: 4px; flex: none; }
.cv-langs button { min-width: 40px; min-height: 32px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-exec); background: transparent; color: var(--on-dark-mut); font: 600 12px var(--f-mono); cursor: pointer; }
.cv-langs button[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }
.cv-prog { height: 3px; background: rgba(255,255,255,.06); }
.cv-prog i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s var(--ease, ease); }

.cv-main { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 18px 16px 12px; }
.cv-log { display: flex; flex-direction: column; gap: 10px; }
.cv-msg { display: flex; max-width: 86%; animation: cvIn .28s ease both; }
.cv-msg p { margin: 0; padding: 12px 15px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.cv-t { align-self: flex-start; }
.cv-t p { background: var(--bg-2); border: 1px solid var(--line-exec); color: var(--on-dark); border-top-left-radius: 6px; }
.cv-u { align-self: flex-end; }
.cv-u p { background: var(--grad); color: var(--navy-900); font-weight: 600; border-top-right-radius: 6px; }
.cv-typing p { display: flex; gap: 5px; padding: 15px 16px; }
.cv-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-mut); animation: cvDot 1s infinite ease-in-out; }
.cv-typing i:nth-child(2) { animation-delay: .15s; } .cv-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cvDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes cvIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cv-card { align-self: stretch; padding: 16px; border-radius: 18px; border: 1px solid rgba(52,195,240,.35); background: var(--bg-2); }
.cv-card .oi-book { margin: 0; }
.cv-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cv-acts .btn { flex: 1 1 220px; justify-content: center; text-align: center; }

.cv-dock { position: sticky; bottom: 0; z-index: 5; width: 100%; background: linear-gradient(180deg, rgba(5,7,10,0), rgba(5,7,10,.96) 22%); padding: 14px 0 max(10px, env(safe-area-inset-bottom)); }
.cv-dock > * { max-width: 680px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.cv-in { display: flex; flex-direction: column; gap: 6px; }
.cv-lbl { font: 600 12px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark-mut); }
.cv-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; border: 1px solid rgba(52,195,240,.4); background: var(--bg-2); }
.cv-row:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(52,195,240,.18); }
.cv-row input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--white); font: 400 16px var(--f-body); outline: none; }
.cv-row input::placeholder { color: var(--on-dark-mut); }
.cv-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: var(--navy-900); cursor: pointer; }
.cv-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cv-send:disabled { opacity: .55; cursor: wait; }
.cv-send:focus-visible, .cv-chip:focus-visible, .cv-langs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cv-err { margin: 0; font-size: 14px; color: #ffb4a8; }
.cv-chips { display: flex; flex-direction: column; gap: 8px; max-height: 56vh; overflow-y: auto; overscroll-behavior: contain; padding-top: 2px; padding-bottom: 2px; }
/* opções em lista (2026-10-22, modelo dos formulários de lead do Instagram): linha inteira tocável, círculo à direita;
   o toque marca o círculo e a conversa segue sozinha, sem botão "Continuar" */
.cv-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 12px 16px 12px 18px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: var(--bg-2); color: var(--white); font: 500 15.5px/1.35 var(--f-body); text-align: left; cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s, opacity .2s; animation: cvOp .32s ease both; }
.cv-chip::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45); box-sizing: border-box; transition: border .15s, background .15s; }
.cv-chip:hover { border-color: rgba(52,195,240,.7); background: rgba(52,195,240,.08); }
.cv-chip:active { transform: scale(.985); }
/* a opção recomendada na escolha do caminho (diagnóstico agora) vem destacada */
.cv-chip[data-v="diag"] { border-color: rgba(52,195,240,.75); background: linear-gradient(90deg, rgba(52,195,240,.16), rgba(52,195,240,.04)); font-weight: 600; }
.cv-chip.sel { background: rgba(52,195,240,.18); border-color: var(--cyan); }
.cv-chip.sel::after { border: 6px solid var(--cyan); background: var(--white); }
.cv-chips.escolhido .cv-chip:not(.sel) { opacity: .35; }
.cv-chip:nth-child(2) { animation-delay: .04s; } .cv-chip:nth-child(3) { animation-delay: .08s; } .cv-chip:nth-child(4) { animation-delay: .12s; }
.cv-chip:nth-child(5) { animation-delay: .16s; } .cv-chip:nth-child(6) { animation-delay: .2s; } .cv-chip:nth-child(7) { animation-delay: .24s; }
@keyframes cvOp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* topo: o iSol Expert, grande e centralizado, espia por baixo (sobe, olha para os lados, aproxima nos olhos, pisca e
   desce); a frase fica embaixo, e o cabeçalho com a foto do Tiago vem logo depois */
.cv-hero { position: relative; width: 100%; max-width: 680px; margin: 0 auto; padding: 18px 16px 6px; text-align: center;
  background: radial-gradient(60% 70% at 50% 62%, rgba(52,195,240,.26), transparent 70%); }
.cv-espia { position: relative; width: min(300px, 76vw); aspect-ratio: 660 / 400; margin: 0 auto; overflow: hidden;
  border-bottom: 2px solid rgba(52,195,240,.55); }
.cv-espia-h { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 660 / 380; transform-origin: 52% 64%; animation: cvEspia 7s cubic-bezier(.45,.05,.3,1) .4s infinite both; will-change: transform; }
.cv-espia-h img { display: block; width: 100%; height: 100%; }
.cv-pisca { position: absolute; top: 49%; width: 19%; height: 31%; border-radius: 50%; background: #1d2536; transform: scaleY(0); transform-origin: 50% 40%; animation: cvPisca 3.4s .9s infinite both; }
.cv-pisca.e { left: 27.8%; } .cv-pisca.d { left: 58.8%; }
.cv-pisca::after { content: ''; position: absolute; left: 14%; right: 14%; top: 46%; height: 3px; border-radius: 3px; background: #6fe6ff; box-shadow: 0 0 6px #34c3f0; }
.cv-hero-t { max-width: 360px; margin: 14px auto 4px; font-size: 16.5px; line-height: 1.45; color: var(--on-dark); }
.cv-hero-t b { display: block; font: 700 26px var(--f-display); color: var(--white); margin-bottom: 4px; }
@keyframes cvEspia {
  0% { transform: translateY(100%); }
  10% { transform: translateY(26%); }
  14% { transform: translateY(32%); }
  24% { transform: translateY(28%) translateX(-9px) rotate(-5deg); }
  36% { transform: translateY(28%) translateX(9px) rotate(5deg); }
  46% { transform: translateY(12%) scale(1.18); }
  70% { transform: translateY(12%) scale(1.18); }
  80% { transform: translateY(30%) scale(1.04); }
  90%, 100% { transform: translateY(100%); }
}
/* pisca sempre, num ritmo próprio (3,4 s): uma piscada simples e, no fim do ciclo, uma dupla */
@keyframes cvPisca { 0%, 24%, 29%, 78%, 82%, 86%, 90%, 100% { transform: scaleY(0); } 26.5%, 80%, 88% { transform: scaleY(1); } }
.cv-hero.quieto .cv-espia-h { animation: none; transform: translateY(8%); transition: transform .6s ease; }
.cv-priv { margin: 10px auto 0; font-size: 12px; text-align: center; color: var(--on-dark-mut); }
.cv-priv a { color: var(--on-dark-soft, #b9cbdd); }
.cv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cv-nojs { padding: 18px; border-radius: 18px; border: 1px solid var(--line-exec); background: var(--bg-2); }
.cv-nojs p + p { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 420px) {
  .cv-msg { max-width: 92%; }
  .cv-who span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cv-espia-h { animation: none; transform: translateY(8%); } .cv-pisca { animation: none; } .cv-chip { animation: none; } .cv-msg { animation: none; } .cv-typing i { animation: none; } .cv-prog i { transition: none; } }
.cv-in[hidden], .cv-chips[hidden], .cv-err[hidden] { display: none; }
.cv-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* fim da conversa (2026-10-22): cartão de resumo com o valor da conversa e botões que dizem o que a pessoa ganha */
.cv-res { padding: 18px 18px 14px; background: linear-gradient(180deg, rgba(52,195,240,.10), rgba(52,195,240,.02)), var(--bg-2); animation: cvIn .32s ease both; }
.cv-res-t { margin: 0 0 10px; font: 700 17px var(--f-display); color: var(--white); }
.cv-res dl { margin: 0; display: grid; gap: 10px; }
.cv-res dl div { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cv-res dt { font: 600 11.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--cyan); margin-bottom: 3px; }
.cv-res dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.cv-res-s { margin: 12px 0 6px; font: 600 11.5px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark-mut); }
.cv-res ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; font-size: 14.5px; line-height: 1.45; color: var(--on-dark); }
.cv-acts .cv-bt { flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 18px; min-height: 58px; line-height: 1.2; }
.cv-acts .cv-bt b { font-weight: 700; font-size: 16px; }
.cv-acts .cv-bt span { font-size: 12.5px; font-weight: 500; opacity: .8; }
.cv-link { flex: 1 1 100%; text-align: center; font-size: 14px; color: var(--on-dark-soft, #b9cbdd); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }

/* vaga na conversa: escolha múltipla (marca e desmarca, depois Continuar) e o crachá do fim */
.cv-chips.cv-multi .cv-chip::after { border-radius: 6px; }
.cv-chips.cv-multi .cv-chip.sel::after { border: 0; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%2305070A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cv-ok { width: 100%; min-height: 50px; margin-top: 4px; flex: none; }
.cv-ok:disabled { opacity: .5; cursor: not-allowed; }
.cv-cracha { padding: 18px; background: linear-gradient(160deg, rgba(52,195,240,.16), rgba(52,195,240,.03) 55%), var(--bg-2); animation: cvIn .32s ease both; }
.cv-cr-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed rgba(52,195,240,.4); }
.cv-cr-top img { flex: none; width: 72px; height: auto; filter: drop-shadow(0 6px 14px rgba(52,195,240,.3)); }
.cv-cr-k { margin: 0; font: 600 11px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.cv-cr-n { margin: 2px 0; font: 700 18px/1.25 var(--f-display); color: var(--white); }
.cv-cr-p { margin: 0; font-size: 14px; color: var(--on-dark-mut); }
.cv-cracha dl { margin: 0; display: grid; gap: 9px; }
.cv-cracha dt { font: 600 11px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.cv-cracha dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--on-dark); }
/* oferta do iSol Cases no fechamento (2026-10-23): o que entra, quanto custa e o compromisso, antes da decisão */
.cv-oferta { padding: 18px; border-color: var(--cyan); background: linear-gradient(165deg, rgba(52,195,240,.18), rgba(52,195,240,.03) 60%), var(--bg-2); animation: cvIn .32s ease both; }
.cv-of-k { margin: 0 0 4px; font: 600 11.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.cv-of-t { margin: 0 0 8px; font: 700 18px/1.25 var(--f-display); color: var(--white); }
.cv-of-p { margin: 0; color: var(--white); }
.cv-of-p b { font: 800 30px/1.1 var(--f-display); }
.cv-of-p span { margin-left: 4px; font-size: 15px; color: var(--on-dark-mut); }
.cv-of-ps { margin: 4px 0 12px; font-size: 13.5px; color: var(--on-dark-mut); }
.cv-oferta ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 7px; }
.cv-oferta li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--on-dark); }
.cv-oferta li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,195,240,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%2334C3F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.cv-of-n { margin: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12.5px; line-height: 1.5; color: var(--on-dark-mut); }
button.cv-bt { font: inherit; cursor: pointer; }
.cv-res > .cv-res-s:first-child { margin-top: 0; }
