/* Base comum do site e do painel: uma família (Host Grotesk), fundo branco,
   azul (#2e5bff) só nas ações e no ponto da IA, botões em pílula, cantos de 8px. */
/* Host Grotesk (variável, pesos 400 a 600), servida pelo próprio site.
   Licença SIL Open Font License 1.1: static/fontes/OFL.txt */
@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fontes/host-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fontes/host-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --fundo: #ffffff;
  --fundo-2: #f7f6f6;
  --texto: #201f20;
  --texto-2: #494949;
  --texto-3: #606060;
  --inverso: #141314;
  --inverso-texto: #fcfcfd;
  --acao: #2e5bff;
  --acao-forte: #2148d9;
  --acao-texto: #fcfcfd;
  --linha: #e0e0df;
  --raio: 8px;
  --pilula: 9999px;
  --largura: 1200px;
  --margem: 24px;
  --display: 48px;
  --fonte: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fundo); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--fonte);
       font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: #d9e2ff; color: var(--texto); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--acao); outline-offset: 3px; border-radius: 4px; }

.pular { position: absolute; left: -9999px; top: 8px; background: var(--inverso); color: var(--inverso-texto);
         padding: 8px 16px; border-radius: var(--pilula); z-index: 10; }
.pular:focus { left: 16px; }

.faixa { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto;
         padding-left: var(--margem); padding-right: var(--margem); }

/* ── botões ─────────────────────────────────────────────────────────── */
.botao { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px;
         border-radius: var(--pilula); background: var(--acao); color: var(--acao-texto); font-weight: 500;
         text-decoration: none; border: 1px solid var(--acao); transition: background .15s, border-color .15s; }
.botao:hover { background: var(--acao-forte); border-color: var(--acao-forte); }
.botao:active { transform: translateY(1px); }
.botao-secundario { background: var(--fundo); color: var(--texto); border-color: var(--linha); }
.botao-secundario:hover { background: var(--fundo-2); border-color: #c9c9c8; }
.botao-pequeno { height: 40px; padding: 0 18px; font-size: 15px; }


/* ── marca ─────────────────────────────────────────────────────────── */
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-simbolo { width: 32px; height: 32px; }
.marca-fundo { fill: var(--inverso); }
.marca-balao { fill: var(--inverso-texto); }
.marca-ponto { fill: var(--acao); stroke: var(--inverso); stroke-width: 1.4; }
.marca-nome { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }

/* ── balões de conversa ────────────────────────────────────────────── */
.msg { margin: 0; max-width: 84%; padding: 9px 13px 7px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.msg time { display: block; text-align: right; font-size: 11.5px; color: var(--texto-3); margin-top: 2px;
            font-variant-numeric: tabular-nums; }
.msg-cliente { align-self: flex-start; background: var(--fundo-2); border-top-left-radius: 4px; }
.msg-bot, .msg-equipe { align-self: flex-end; border-top-right-radius: 4px; }
.msg-bot { background: #eef2ff; }
.msg-equipe { background: var(--inverso); color: var(--inverso-texto); }
.msg-equipe time { color: #b9b8bb; }
.msg-autor { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
             color: var(--texto-2); margin-bottom: 2px; }
.msg-equipe .msg-autor { color: #d6d5d8; }
.ponto-ia { width: 7px; height: 7px; border-radius: 50%; background: var(--acao); display: inline-block; }
.msg-anexo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.msg-anexo time { flex-basis: 100%; }
.anexo { width: 26px; height: 32px; border-radius: 4px; background: #dcdcdb; position: relative; }
.anexo::after { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 2px; background: #b5b5b4;
                box-shadow: 0 5px 0 #b5b5b4, 0 10px 0 #b5b5b4; }
.chat-sistema { margin: 4px 0; align-self: center; font-size: 12.5px; color: var(--texto-2); background: var(--fundo-2);
                border-radius: var(--pilula); padding: 4px 12px; }
