/* publico-rodada2.css — estilos compartilhados das páginas públicas da rodada 2:
   PIX (pix.html), envio de material (envio.html) e textos legais (privacidade.html, termos.html).
   Por quê separado de vendas.css: estas páginas são curtas e de tarefa (pagar, mandar arquivos, ler),
   então usam só a identidade (topo escuro com o logo, fundo claro quente, cartões brancos) sem as animações.
   Variáveis --po-* de marca.css (carregado antes). CSP: nenhum style="" no HTML. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--po-claro); color: #141414;
  font-family: var(--po-fonte); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--po-laranja-texto); }
a:hover { color: var(--po-laranja-escuro); }
:focus-visible { outline: 3px solid var(--po-laranja-texto); outline-offset: 3px; border-radius: 6px; }
.topo :focus-visible { outline-color: var(--po-laranja); }
[hidden] { display: none !important; }
.so-leitor {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Topo escuro com o logo ---------- */
.topo { background: var(--po-preto); color: var(--po-branco); }
.topo__miolo {
  max-width: 880px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.topo__logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.topo__nota { font-size: 14px; color: #A8A29E; }
.logo { font-family: var(--po-fonte-logo); display: inline-flex; align-items: center; color: var(--po-branco); font-size: 22px; line-height: 1; }
.logo__proposta { font-weight: 700; letter-spacing: -0.025em; }
.logo__ok { display: inline-flex; align-items: center; margin-left: 0.25em; font-weight: 800; color: var(--po-laranja); }
.logo__o { width: 1em; height: 1em; flex: 0 0 1em; }

/* ---------- Corpo ---------- */
.pagina { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; display: flex; flex-direction: column; gap: 20px; }
.coluna { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pagina__cabeca { display: flex; flex-direction: column; gap: 10px; }
.rotulo-mono { font-family: var(--po-fonte-mono); font-size: 12.5px; letter-spacing: 0.18em; color: var(--po-laranja-texto); }
.titulo { margin: 0; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.titulo em { font-family: var(--po-fonte-serif); font-style: italic; font-weight: 400; color: var(--po-laranja-texto); letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 17px; color: #46423D; }
.cartao {
  background: var(--po-branco); border-radius: 22px; padding: 24px; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.cartao__titulo { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.cartao__sub { margin: 0; font-size: 14.5px; color: #57534E; }
.cartao--aviso { background: #FFEDE3; box-shadow: none; }
.cartao--escuro { background: var(--po-preto); color: var(--po-branco); }
.cartao--escuro .cartao__sub { color: #A8A29E; }
.linha-valor { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.valor-grande { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.dados { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 15px; }
.dados dt { color: #57534E; }
.dados dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Botões e campos ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; text-align: center;
}
.botao--grande { min-height: 58px; font-size: 17px; width: 100%; }
.botao--primario { background: var(--po-laranja-texto); color: var(--po-branco); }
.botao--primario:hover { background: var(--po-laranja-escuro); color: var(--po-branco); }
.botao--escuro { background: #141414; color: var(--po-branco); }
.botao--escuro:hover { background: #2A2826; color: var(--po-branco); }
.botao--contorno { background: var(--po-branco); color: #141414; border-color: #141414; }
.botao--contorno:hover { background: #F7F5F2; color: #141414; }
.botao--whats { background: #25D366; color: var(--po-preto); }
.botao--whats:hover { color: var(--po-preto); filter: brightness(0.96); }
.botao--perigo { background: var(--po-branco); color: var(--po-erro); border-color: #E7C3C3; min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.botao:disabled { opacity: 0.55; cursor: not-allowed; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.link-secundario { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo > label, .campo__rotulo { font-size: 14px; font-weight: 600; }
.campo textarea, .campo input[type="text"] {
  width: 100%; min-width: 0; border: 1px solid #D2CCC4; border-radius: 12px; padding: 12px; font: inherit; font-size: 16px;
  background: var(--po-branco); color: #141414;
}
.campo textarea { min-height: 140px; resize: vertical; }
.copia-cola { font-family: var(--po-fonte-mono); font-size: 13.5px; line-height: 1.45; min-height: 110px; word-break: break-all; }
.contador { font-size: 13px; color: #57534E; align-self: flex-end; }
.marcar { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; line-height: 1.45; cursor: pointer; padding: 10px 0; }
.marcar input { width: 22px; height: 22px; margin: 0; flex: 0 0 22px; accent-color: var(--po-laranja-texto); }
.escolher-arquivo {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px;
  border: 2px dashed #BFB8AE; border-radius: 14px; background: #FBFAF8; font-weight: 700; cursor: pointer; text-align: center;
}
.escolher-arquivo:hover { border-color: var(--po-laranja-texto); }
.escolher-arquivo:focus-within { outline: 3px solid var(--po-laranja-texto); outline-offset: 3px; }
.arquivo-escondido { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.dica { margin: 0; font-size: 13.5px; color: #57534E; }

/* ---------- Mensagens ---------- */
.mensagem { margin: 0; font-size: 15px; line-height: 1.5; border-radius: 12px; }
.mensagem:empty { display: none; }
.mensagem--erro { background: #FEF2F2; color: var(--po-erro); padding: 12px 14px; font-weight: 500; }
.mensagem--ok { background: #F0FDF4; color: var(--po-sucesso); padding: 12px 14px; font-weight: 600; }
.mensagem--info { color: #46423D; }
.carregando { color: #57534E; }

/* ---------- PIX ---------- */
.qr { width: 240px; max-width: 100%; aspect-ratio: 1; align-self: center; background: var(--po-branco); border: 1px solid #E8E5E0; border-radius: 14px; padding: 8px; }
.qr svg { width: 100%; height: 100%; }
.prazo-caixa { border: 2px solid var(--po-laranja-texto); border-radius: 14px; padding: 4px 14px; background: #FFF7F2; }

/* ---------- Envio de material ---------- */
.passo-num { font-family: var(--po-fonte-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--po-laranja-texto); }
.lista-arquivos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.arquivo {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--po-claro); border-radius: 12px; flex-wrap: wrap;
}
.arquivo__info { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.arquivo__nome { font-weight: 600; overflow-wrap: anywhere; }
.arquivo__meta { font-size: 13px; color: #57534E; }
.arquivo progress { width: 100%; height: 8px; accent-color: var(--po-laranja-texto); }
.arquivo--erro { background: #FEF2F2; }
.gravador { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: var(--po-claro); }
.gravador__tempo { font-family: var(--po-fonte-mono); font-size: 28px; font-weight: 500; letter-spacing: 0.02em; }
.gravador__ponto { display: inline-block; width: 12px; height: 12px; border-radius: 999px; background: var(--po-erro); margin-right: 8px; vertical-align: middle; animation: piscar 1s ease-in-out infinite; }
.gravador audio { width: 100%; min-height: 44px; }
.estado-prazo { display: flex; gap: 12px; align-items: flex-start; }
.estado-prazo__icone { width: 28px; height: 28px; flex: 0 0 28px; }
.sucesso { text-align: center; align-items: center; }
.sucesso svg { width: 72px; height: 72px; }
@keyframes piscar { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- Textos legais ---------- */
.aviso-modelo {
  position: sticky; top: 0; z-index: 5; background: #7C2D12; color: var(--po-branco); text-align: center;
  font-weight: 800; letter-spacing: 0.02em; padding: 12px 16px; font-size: 15px;
}
.legal { max-width: 760px; margin: 0 auto; padding: 32px 20px 72px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(30px, 6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.legal h2 { margin: 36px 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.legal h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 700; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #2B2825; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .atualizado { color: #57534E; font-size: 14.5px; }
.legal .revisar { background: #FFEDE3; border-left: 4px solid var(--po-laranja-texto); padding: 10px 14px; border-radius: 8px; }
.tabela-rolagem { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #DED9D2; }
.legal th { font-weight: 700; }
.rodape-simples { border-top: 1px solid #DED9D2; }
.rodape-simples__miolo { max-width: 880px; margin: 0 auto; padding: 16px 20px 28px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.rodape-simples a { display: inline-flex; align-items: center; min-height: 44px; color: #46423D; }

@media (max-width: 480px) {
  .cartao { padding: 18px; border-radius: 18px; }
  .valor-grande { font-size: 38px; }
  .dados { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dados dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 12/11/2026 (rodada 3) — página de envio: as 3 fontes que bastam (cada uma num cartão) e o "ideal" logo abaixo. */
.opcoes-fonte { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opcao-fonte {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #E7E2DB; border-radius: 14px;
  background: #FAF8F5; font-size: 15px; line-height: 1.4; min-width: 0;
}
.opcao-fonte__letra {
  width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--po-preto); color: var(--po-branco); font-weight: 700; font-size: 14px;
}
.ideal { margin: 0; padding: 12px 14px; border-left: 3px solid var(--po-laranja-texto); background: #FFF7F2; border-radius: 0 12px 12px 0; font-size: 14.5px; line-height: 1.5; color: #2E2B28; }
@media (max-width: 560px) {
  .opcoes-fonte { grid-template-columns: minmax(0, 1fr); }
  .opcao-fonte { flex-direction: row; align-items: center; }
  .opcao-fonte__letra { flex: 0 0 32px; }
}
