/* Página pública de verificação de certificados Humanii. */
:root {
  --bg: #FFFFFF; --ink: #404040; --muted: #595959; --line: #E2D8E9; --roxo: #6D3E91; --roxo-escuro: #5E347C; --roxo-claro: #8762A7;
  --roxo-20: #E2D8E9; --laranja: #EC671A; --laranja-escuro: #C85914; --laranja-20: #FBE1D1; --verde: #C8D400; --verde-claro: #D6DB4B; --verde-20: #F4F6CC;
  --campo-bg: #FFFFFF;
  font-family: Carlito, Calibri, 'Segoe UI', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #17111F; --ink: #F2ECF7; --muted: #B7ABC4; --line: #3A2E47; --roxo: #CBA6F0; --roxo-20: #2F2340; --laranja-20: #3A2A1E; --verde-20: #2A2E14; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #17111F; --ink: #F2ECF7; --muted: #B7ABC4; --line: #3A2E47; --roxo: #CBA6F0; --roxo-20: #2F2340; --laranja-20: #3A2A1E; --verde-20: #2A2E14; color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Carlito, Calibri, 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.45; }
a { color: var(--roxo); }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; }
.dentro { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
@media (max-width: 560px) { .dentro { padding-inline: 16px; } }
.logo { display: block; background: #FFFFFF url("logo.png") no-repeat center / contain; }
.cabecalho { border-bottom: 1px solid var(--line); }
.cabecalho .dentro { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.cabecalho .logo { width: 132px; height: 70px; }
.cabecalho a { margin-left: auto; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.faixa { position: relative; overflow: hidden; background: #6D3E91; color: #FFFFFF; }
.faixa .forma { position: absolute; border-radius: 50%; pointer-events: none; }
.faixa .f1 { width: 560px; height: 560px; background: #8762A7; right: -140px; top: -300px; }
.faixa .f2 { width: 300px; height: 300px; background: #C8D400; right: 260px; bottom: -220px; }
.faixa .arco { width: 900px; height: 420px; border: 2px solid #EC671A; right: -260px; top: -60px; }
.faixa .dentro { position: relative; padding-block: 44px 52px; }
.faixa h1 { margin: 0; line-height: 1; }
.faixa h1 .leve { display: block; font-size: 38px; font-style: italic; font-weight: 400; }
.faixa h1 .forte { display: block; font-size: 46px; font-weight: 700; color: #C8D400; letter-spacing: .02em; }
.faixa p { margin: 14px 0 22px; font-size: 20px; max-width: 600px; }
.faixa label { display: block; font-weight: 700; margin-bottom: 8px; }
.busca { display: flex; gap: 8px; flex-wrap: wrap; max-width: 640px; }
.busca input { font: inherit; font-family: Consolas, 'Cascadia Mono', monospace; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 0 16px; border: 0; background: #FFFFFF; color: #404040; }
.busca input:focus { outline: none; box-shadow: 0 0 0 3px #EC671A; }
.busca button { font: inherit; font-size: 18px; font-weight: 700; min-height: 52px; padding: 0 28px; border: 0; background: #C8D400; color: #5E347C; cursor: pointer; }
.busca button:hover { background: #D6DB4B; }
.busca button:disabled { opacity: .7; cursor: progress; }
@media (max-width: 560px) { .faixa h1 .leve { font-size: 30px; } .faixa h1 .forte { font-size: 36px; } .busca button { flex: 1 1 100%; } }

main.dentro { padding-block: 40px 64px; }
.aviso { padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; max-width: 780px; }
.aviso svg { flex: none; width: 26px; height: 26px; }
.aviso.erro { background: var(--laranja-20); }
.aviso.info { background: var(--verde-20); }
.selo { display: inline-flex; align-items: center; gap: 10px; background: #F4F6CC; color: #5E347C; padding: 10px 18px; font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.resultado { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.resultado .esq { flex: 1.5 1 520px; min-width: 0; }
.resultado .dir { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.nota { font-size: 15px; color: var(--muted); margin: 10px 0 0; }
.quem span { display: block; color: var(--muted); }
.quem b { display: block; font-size: 36px; line-height: 1.05; color: var(--laranja); overflow-wrap: anywhere; }
dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
dd.treino { font-weight: 700; color: var(--roxo); }
dd.cod { font-family: Consolas, 'Cascadia Mono', monospace; font-size: 15px; }
.acoes { display: flex; flex-direction: column; gap: 10px; }
.btn { font: inherit; font-size: 17px; font-weight: 700; min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid var(--roxo); background: transparent; color: var(--roxo); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--roxo-20); }
.btn.cheio { background: #6D3E91; border-color: #6D3E91; color: #FFFFFF; }
.btn.cheio:hover { background: #5E347C; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* Botão no padrão do LinkedIn: azul da marca, formato pílula e o selo "in" */
.acoes .btn { border-radius: 999px; }
.btn.linkedin { background: #0A66C2; border-color: #0A66C2; color: #FFFFFF; border-radius: 999px; }
.btn.linkedin:hover { background: #004182; border-color: #004182; }
/* Convite para publicar o certificado, logo abaixo do botão do LinkedIn */
.convite { margin: 0 0 6px; padding: 10px 14px; font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--roxo-20); border-left: 3px solid #0A66C2; }
.convite b { color: var(--roxo); }
.btn.linkedin .in { display: inline-block; background: #FFFFFF; color: #0A66C2; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 15px; line-height: 20px; padding: 0 5px; border-radius: 4px; }

/* Resumo do certificado no layout Formas Humanii, proporcional à largura (A4 paisagem) */
.cert { container-type: inline-size; position: relative; overflow: hidden; width: 100%; aspect-ratio: 842 / 595; background: #FFFFFF; color: #404040; border: 1px solid var(--line); }
.cert .forma { position: absolute; border-radius: 50%; }
.cert .faixa-lat { position: absolute; left: 0; top: 0; bottom: 0; width: 1.78cqw; background: #6D3E91; }
.cert .c1 { left: 68.9cqw; top: 44.9cqw; width: 46.3cqw; height: 46.3cqw; background: #6D3E91; }
.cert .c2 { left: 60.9cqw; top: 60.9cqw; width: 26.7cqw; height: 26.7cqw; background: #8762A7; }
.cert .c3 { left: 84.9cqw; top: 22.3cqw; width: 20.4cqw; height: 20.4cqw; background: #C8D400; }
.cert .c4 { left: 65.9cqw; top: 11.9cqw; width: 87.9cqw; height: 47.5cqw; border: .18cqw solid #EC671A; }
.cert .conteudo { position: absolute; left: 8.2cqw; top: 5cqw; width: 55.8cqw; }
.cert .logo { width: 15cqw; height: 7.8cqw; background-position: left center; }
.cert .t1 { display: block; margin-top: 4.3cqw; font-size: 3.56cqw; font-style: italic; line-height: 1.05; color: #6D3E91; }
.cert .t2 { display: block; font-size: 4.28cqw; font-weight: 700; line-height: 1.05; color: #6D3E91; }
.cert .cham { margin: 2.6cqw 0 .6cqw; font-size: 1.78cqw; color: #595959; }
.cert .nome { margin: 0; font-size: 5.2cqw; font-weight: 700; line-height: 1.05; color: #EC671A; overflow-wrap: anywhere; }
.cert .desc { margin: 2.1cqw 0 0; font-size: 1.84cqw; line-height: 1.45; }
.cert .rod { position: absolute; left: 8.2cqw; top: 59.4cqw; font-size: 1.3cqw; line-height: 1.45; color: #595959; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.rodape { border-top: 1px solid var(--line); }
.rodape .dentro { padding-block: 20px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.rodape b { color: var(--roxo); }
