*, *::before, *::after { box-sizing: border-box; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: #F4F5EE; color: #1F261F; font-family: system-ui, sans-serif; line-height: 1.5; }
.cabecalho { display: flex; justify-content: space-between; gap: 1rem; padding: .5lh 1rem; background: #361611; color: #C08068; font-weight: 700; }
#cabecalho-nome { margin-left: auto; text-align: right; }
.rodape { margin-top: auto; padding: .5lh 1rem; background: #361611; color: #E8E9DE; font-size: .9rem; }
.topo { display: flex; flex: none; min-height: 12lh; }
.topo-esq, .topo-dir { width: 50%; padding: .5lh 1rem; }
.topo-dir { background: #FFFFFF; }
h1 { margin: 0; color: #C08068; font-size: 2rem; }
h2 { margin: 0; font-size: 1.1rem; }
a { color: #2F7A4A; }
.rodape a { color: #C08068; }
label { display: block; color: #525759; }
input, select { display: block; width: 50ch; max-width: 100%; margin-bottom: .25lh; padding: .15lh .5em; border: 1px solid #525759; border-radius: 4px; font: inherit; color: inherit; background: #FFFFFF; }
.botoes { display: flex; gap: .5rem; margin-top: .5lh; }
button { font: inherit; padding: .15lh 1rem; border-radius: 4px; cursor: pointer; }
.botao { padding: 0 .75rem; background: #6E392E; color: #FFFFFF; border: 1px solid #6E392E; }
.botao:hover { background: #925544; border-color: #925544; }
.botao:active { background: #46211A; border-color: #46211A; }
.botao-sair { background: transparent; color: #525759; border-color: #525759; }
.botao-sair:hover { background: #E8E9DE; border-color: #525759; }
.botao-sair:active { background: #525759; color: #FFFFFF; border-color: #525759; }
a.botao { display: inline-block; border-radius: 4px; text-decoration: none; }
[hidden] { display: none !important; }
.repres-titulo { margin-bottom: .5lh; padding: .15lh .5rem; background: #C08068; color: #1F261F; text-align: center; }
.erro { color: #C00000; white-space: pre-line; }
.aviso { color: #B45309; }
.linha { display: flex; gap: .5rem; align-items: center; }
.linha-email { gap: .5em; }
.linha-email p { margin: 0; }
.telefones { margin: 0; padding: 0; border: 0; }
.telefones legend { padding: 0; color: #525759; }
.telefones input { width: 12ch; }
#repres-m_uf { width: 8ch; }
#repres-whatsapp { width: 20ch; }
#repres-fin_nome, #repres-fin_email { width: 30ch; }
.dica { color: #525759; font-size: .8rem; }
#repres-ddd { width: 5ch; }
.colunas-erro { display: flex; gap: 1rem; align-items: flex-start; }
#repres-pass1, #repres-pass2 { width: 40ch; }
.colunas-erro .repres-erro { flex: 0 0 40ch; width: 40ch; margin: 0; text-align: left; overflow-wrap: anywhere; }
.colunas-erro .repres-erro[hidden] { display: block !important; visibility: hidden; }
input[type="checkbox"] { display: inline-block; width: auto; margin: 0 .25rem 0 0; }
.topo:has(.repres-amplo, #repres-form-email:not([hidden])) .topo-esq { display: none; }
.topo:has(.repres-amplo, #repres-form-email:not([hidden])) .topo-dir { width: 100%; }
.topo:has(.repres-amplo, #repres-form-email:not([hidden])) .repres-centro { width: fit-content; max-width: 100%; margin-inline: auto; }
