/* Chat do Pedro (Claude 2026-11-03) */
.pedro-abrir{position:fixed;right:20px;bottom:20px;z-index:98;display:inline-flex;align-items:center;gap:10px;height:56px;padding:0 22px 0 18px;border-radius:999px;background:var(--coral);color:#fff;font-weight:700;font-size:15px;box-shadow:0 14px 30px -10px rgba(255,91,53,.75);transition:background .2s,transform .2s}
.pedro-abrir:hover{background:var(--coral-escuro);transform:translateY(-2px)}
.pedro-abrir svg,.pedro-fechar svg,.pedro-enviar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;flex:none}
.pedro--aberto .pedro-abrir{display:none}
.pedro-painel{position:fixed;right:20px;bottom:20px;z-index:99;width:380px;height:min(600px,calc(100vh - 40px));display:flex;flex-direction:column;background:var(--papel);color:var(--tinta);border-radius:18px;overflow:hidden;box-shadow:0 30px 80px -20px rgba(0,0,0,.7)}
.pedro-painel[hidden]{display:none}
.pedro-topo{display:flex;align-items:center;gap:10px;padding:14px 12px 14px 16px;background:var(--tinta);color:#fff}
.pedro-av{width:38px;height:38px;border-radius:50%;background:var(--coral);display:grid;place-items:center;font-weight:800;flex:none}
.pedro-quem{flex:1;min-width:0;line-height:1.2}.pedro-quem strong{display:block;font-size:15px}.pedro-quem small{color:var(--folha);font-size:12.5px}
.pedro-zap-mini{font-size:12.5px;font-weight:700;color:#fff;text-decoration:none;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.25)}
.pedro-zap-mini:hover{background:rgba(255,255,255,.1)}
.pedro-fechar{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff}
.pedro-fechar:hover{background:rgba(255,255,255,.1)}
.pedro-msgs{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.pedro-b{max-width:85%;padding:10px 13px;border-radius:14px;font-size:15px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}
.pedro-b--ele{align-self:flex-start;background:#fff;border:1px solid var(--linha);border-bottom-left-radius:4px}
.pedro-b--eu{align-self:flex-end;background:var(--tinta);color:#fff;border-bottom-right-radius:4px}
.pedro-b--digitando{color:var(--tinta-3);font-style:italic}
.pedro-zap{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;margin-top:2px;padding:11px 16px;border-radius:12px;background:#1f9d55;color:#fff;font-weight:700;font-size:15px;text-decoration:none}
.pedro-zap:hover{background:#178246}.pedro-zap svg{width:20px;height:20px}
.pedro-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid var(--linha);background:#fff}
.pedro-form textarea{flex:1;resize:none;border:1px solid var(--linha);border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;color:var(--tinta);background:var(--papel);max-height:120px}
.pedro-form textarea:focus{outline:2px solid var(--coral);outline-offset:0;border-color:transparent}
.pedro-enviar{width:44px;height:44px;border-radius:12px;background:var(--coral);color:#fff;display:grid;place-items:center;flex:none}
.pedro-enviar:hover{background:var(--coral-escuro)}
.pedro-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* 2026-11-19: no celular vira so o icone e some no topo da pagina (cobria os selos e o print do gestor) */
@media (max-width:640px){.pedro-abrir{width:56px;padding:0;justify-content:center;transition:opacity .25s,transform .25s}.pedro-abrir span{display:none}
  .pedro--topo .pedro-abrir{opacity:0;pointer-events:none;transform:translateY(16px)}}
@media (max-width:640px){.pedro-abrir{right:16px;bottom:16px}.pedro-painel{inset:0;width:auto;height:100%;height:100dvh;border-radius:0}}
@media print{.pedro{display:none}}
