/* Telas no estilo de conversa (Vídeos do canal e Histórias dos criadores) */
.chat-pg main{padding:0}
.chat{max-width:760px;margin:0 auto;background:#efe7d6;min-height:70vh;display:flex;flex-direction:column;border-left:1px solid #e3d3ad;border-right:1px solid #e3d3ad}
.chat-topo{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:.7em;background:#2f5d3a;color:#fff;padding:.6em .9em}
.chat-topo img{width:44px;height:44px;border-radius:50%;background:#fbf7ec;object-fit:cover}
.chat-topo h1{font-size:1.05rem;margin:0;color:#fff;font-family:inherit;line-height:1.2}
.chat-topo span{display:block;font-size:.85rem;opacity:.85}
.chat-corpo{flex:1;padding:1em .8em 1.2em;display:flex;flex-direction:column;gap:.55em;
  background-image:radial-gradient(rgba(47,93,58,.06) 1.2px,transparent 1.2px);background-size:18px 18px}
.balao{max-width:88%;background:#fff;border-radius:4px 14px 14px 14px;padding:.6em .8em .4em;box-shadow:0 1px 1px rgba(0,0,0,.1);line-height:1.5;font-size:1.02rem;color:#2a2017;word-wrap:break-word}
.balao.meu{align-self:flex-end;background:#dcf2c8;border-radius:14px 4px 14px 14px}
.balao .quem{display:block;font-weight:700;color:#2f5d3a;font-size:.9rem;margin-bottom:.1em}
.balao .quem small{font-weight:400;color:#6b5a45}
.balao .hora{display:block;text-align:right;font-size:.75rem;color:#7a6a55;margin-top:.15em}
.balao p{margin:.2em 0}
.balao.dia{align-self:center;background:#fff6dc;border-radius:10px;font-size:.85rem;padding:.3em .8em;color:#5b3a1e}
.sugestoes{display:flex;flex-wrap:wrap;gap:.4em;margin-top:.4em}
.sugestoes button{border:1px solid #2f5d3a;background:#fff;color:#2f5d3a;border-radius:999px;padding:.45em .9em;font:inherit;font-size:.95rem;min-height:44px;cursor:pointer}
.sugestoes button:hover,.sugestoes button:focus-visible{background:#2f5d3a;color:#fff}
.vcard{display:flex;gap:.7em;margin:.5em 0;padding:.5em;border:1px solid #e9dfc6;border-radius:10px;background:#fffdf7}
.vcard .mini{flex:0 0 132px;position:relative;display:block}
.vcard .mini img{width:132px;aspect-ratio:16/9;object-fit:cover;border-radius:8px;display:block;background:#ddd}
.vcard.short .mini{flex-basis:84px}.vcard.short .mini img{width:84px;aspect-ratio:9/16}
.vcard .mini .dur{position:absolute;right:4px;bottom:4px;background:rgba(0,0,0,.8);color:#fff;font-size:.75rem;padding:1px 5px;border-radius:4px}
.vcard h3{font-size:1rem;margin:0 0 .25em;line-height:1.3}
.vcard h3 a{color:#2f5d3a;text-decoration:none}.vcard h3 a:hover{text-decoration:underline}
.vcard .tipo{font-size:.78rem;color:#7a6a55;display:block;margin-bottom:.15em}
.vcard p{font-size:.92rem;margin:0;color:#3d2f22}
.vcard .caps{margin:.4em 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.3em}
.vcard .caps a{display:inline-block;font-size:.85rem;background:#eef4ea;border:1px solid #cfe0c7;color:#2f5d3a;border-radius:999px;padding:.25em .65em;text-decoration:none;min-height:32px;line-height:1.6}
.vcard .caps a b{font-variant-numeric:tabular-nums}
@media (max-width:480px){.vcard{flex-direction:column}.vcard .mini{flex:none}.vcard .mini img{width:100%}.vcard.short .mini img{width:120px}}
.chat-barra{position:sticky;bottom:0;z-index:5;background:#efe7d6;padding:.5em .6em calc(.5em + env(safe-area-inset-bottom));display:flex;gap:.5em;align-items:flex-end;border-top:1px solid #e3d3ad}
/* Vídeos do canal: barra de busca no fluxo da página (logo após as sugestões), NÃO fixa na tela; resultados aparecem abaixo */
.chat-barra-inline{position:static;bottom:auto;border:2px solid #2f5d3a;border-radius:16px;background:#eef4ea;padding:.5em .55em;margin:.3em 0;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.chat-barra label.sr{position:absolute;left:-9999px}
.chat-barra input,.chat-barra textarea{flex:1;min-height:48px;border:0;border-radius:24px;padding:.7em 1em;font:inherit;font-size:1.05rem;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.08);resize:none;max-height:40vh}
.chat-barra button.enviar{flex:0 0 48px;width:48px;height:48px;border:0;border-radius:50%;background:#2f5d3a;color:#fff;font-size:1.3rem;cursor:pointer;display:grid;place-items:center}
.chat-barra button.enviar:disabled{opacity:.5}
.chat .zap{margin:.3em 0}
.chat-dica{font-size:.85rem;color:#5b3a1e;padding:0 .9em .3em}
.form-hist{display:grid;gap:.6em;background:#fff;border-radius:12px;padding:.9em;margin:.2em .6em .6em;border:1px solid #e3d3ad}
.form-hist label{font-weight:700;font-size:.95rem;display:block;margin-bottom:.2em}
.form-hist label small{font-weight:400;color:#6b5a45}
.form-hist input[type=text],.form-hist input[type=email],.form-hist input[type=tel],.form-hist select,.form-hist textarea{width:100%;box-sizing:border-box;min-height:48px;padding:.6em .8em;border:1px solid #c9b98f;border-radius:10px;font:inherit;font-size:1.02rem;background:#fff}
.form-hist textarea{min-height:120px;resize:vertical}
.form-hist .tel{display:flex;gap:.4em}.form-hist .tel select{flex:0 0 7.5em}
.form-hist .check{display:flex;gap:.6em;align-items:flex-start;font-weight:400}
.form-hist .check input{width:24px;height:24px;margin:.1em 0 0;flex:0 0 24px}
.form-hist .erro{color:#9b1c1c;font-weight:700;min-height:1.2em;margin:0}
.form-hist details{background:#faf6ea;border-radius:10px;padding:.5em .8em}
.form-hist details summary{cursor:pointer;font-weight:700;color:#2f5d3a}
.mic-dica{display:flex;gap:.6em;align-items:center;background:#eef4ea;border:1px solid #cfe0c7;border-radius:10px;padding:.6em .8em;font-size:.95rem}
.mic-dica .ic{font-size:1.4rem}
.news-destaque{background:#2f5d3a;color:#fff;border-radius:14px;padding:1em;margin:.6em}
.news-destaque h2{color:#e0b94f;font-size:1.2rem;margin:0 0 .3em}
.news-destaque .linha{display:flex;flex-wrap:wrap;gap:.5em}
.news-destaque input[name=nome]{flex:1 1 10em;min-height:48px;padding:.6em .8em;border-radius:10px;border:0;font:inherit;font-size:1rem}
.news-destaque input[type=email]{flex:1 1 14em;min-height:48px;padding:.6em .8em;border-radius:10px;border:0;font:inherit;font-size:1rem}
.news-destaque .news-msg{font-weight:700;min-height:1.2em;margin:.4em 0 0}
.news-destaque .pequeno{font-size:.85em;opacity:.9;margin:.4em 0 0}
.news-destaque a{color:#fff}
.vazio{font-size:.95rem;color:#5b3a1e}
@media (prefers-reduced-motion:no-preference){.balao.novo{animation:entra .25s ease-out}@keyframes entra{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}

.bt-zap{display:inline-flex;align-items:center;gap:.5em;background:#1E7B3C;color:#fff;font-weight:700;text-decoration:none;border-radius:999px;padding:.6em 1.2em;min-height:48px;font-size:1.05rem}
.bt-zap:hover,.bt-zap:focus-visible{background:#16602E;color:#fff}

.balao.balao-prof{background:#fff3c4;border:3px solid #e0b94f;box-shadow:0 4px 14px rgba(224,185,79,.45);max-width:94%}
.balao-prof .prof-tit{font-family:Bitter,Georgia,serif;font-weight:800;font-size:1.45rem;color:#8a4b12;letter-spacing:.5px;margin:.1em 0 .3em;line-height:1.2}
@media (prefers-reduced-motion:no-preference){.balao-prof{animation:pulsa 1.6s ease-in-out 2}@keyframes pulsa{50%{box-shadow:0 0 0 8px rgba(224,185,79,.35)}}}

/* blocos alinhados: todos os balões do Seu Zé com a mesma largura (13/10/2026) */
.chat-corpo .balao:not(.meu):not(.dia){align-self:stretch;max-width:none}
.chat-corpo .balao.meu{max-width:80%}
.balao.balao-prof{max-width:none}
#respostas,#mensagens{display:flex;flex-direction:column;gap:.55em}

.form-hist .dica{display:block;margin-top:.3em}.form-hist input[type=file]{display:block;width:100%;box-sizing:border-box;min-height:48px;padding:.5em;border:1px dashed #c9b98f;border-radius:10px;background:#faf6ea;font:inherit}.form-hist input[type=file]::file-selector-button{font:inherit;font-weight:700;min-height:40px;padding:0 14px;margin-right:10px;border:0;border-radius:999px;background:#2F5D3A;color:#fff;cursor:pointer}.lista-anexos{margin:.4em 0 0;padding-left:1.2em}.lista-anexos:empty{display:none}.ok-fc{background:#E6EEDF;border-left:6px solid #2F5D3A;border-radius:10px;padding:10px 14px;margin:0;font-weight:700;color:#1f3f27}.destaque-fc{background:#FBF3DC;border-left:6px solid #E0B94F;border-radius:10px;padding:12px 14px}
