:root {
  /* Design system do minhaplaquinha.com.br (o mesmo do Gravador NFC): azul da marca
     manda, verde marca conversão, cinzas slate e as quatro cores só no nome e em detalhes. */
  --fundo: #f8fafc; --superficie: #ffffff; --superficie-2: #f1f5f9; --borda: #e2e8f0;
  --texto: #0f172a; --texto-2: #475569; --texto-3: #64748b;
  --acento: #0062d8; --acento-forte: #004eb6; --acento-suave: #ebf7ff; --sobre-acento: #ffffff;
  --verde: #34a853;
  --serie: #0062d8; --grade: #e2e8f0;
  --ok: #1e7e34; --ok-suave: #e6f4ea; --alerta: #a15c00; --alerta-suave: #fef7e0; --perigo: #c5221f; --perigo-suave: #fce8e6;
  --g-azul: #4285f4; --g-vermelho: #ea4335; --g-amarelo: #fbbc05; --g-verde: #34a853;
  --sombra: 0 1px 2px rgb(15 23 42 / 5%), 0 1px 3px rgb(15 23 42 / 6%);
  --raio: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fundo: #0b1120; --superficie: #111a2e; --superficie-2: #1a2540; --borda: #27324a;
    --texto: #f1f5f9; --texto-2: #94a3b8; --texto-3: #8190a8;
    --acento: #5aa2f3; --acento-forte: #cfebff; --acento-suave: #1c2b55; --sobre-acento: #0b1020;
    --serie: #4a92e8; --grade: #27324a;
    --ok: #4ade80; --ok-suave: #12301f; --alerta: #fbbf24; --alerta-suave: #372a0c; --perigo: #f87171; --perigo-suave: #3a1519;
    --sombra: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fundo: #0b1120; --superficie: #111a2e; --superficie-2: #1a2540; --borda: #27324a;
  --texto: #f1f5f9; --texto-2: #94a3b8; --texto-3: #8190a8;
  --acento: #5aa2f3; --acento-forte: #cfebff; --acento-suave: #1c2b55; --sobre-acento: #0b1020;
  --serie: #4a92e8; --grade: #27324a;
  --ok: #4ade80; --ok-suave: #12301f; --alerta: #fbbf24; --alerta-suave: #372a0c; --perigo: #f87171; --perigo-suave: #3a1519;
  --sombra: 0 1px 2px rgb(0 0 0 / 30%), 0 6px 20px rgb(0 0 0 / 25%); color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); -webkit-font-smoothing: antialiased; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif; min-height: 100vh; }
a { color: var(--acento); }
h1 { font-size: 24px; line-height: 1.2; margin: 0 0 4px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 18px; margin: 0 0 12px; letter-spacing: -.02em; }
h3 { font-size: 15px; margin: 0 0 10px; color: var(--texto-2); font-weight: 600; }
p { margin: 0 0 12px; }
.sub { color: var(--texto-2); margin-bottom: 20px; }
.mudo { color: var(--texto-3); font-size: 14px; }
.topo { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); background: color-mix(in srgb, var(--superficie) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borda); }
.marca { display: flex; align-items: center; gap: 8px; color: var(--texto); text-decoration: none; font-weight: 700; font-size: 17px; }
.menu { display: none; gap: 4px; align-items: center; }
.menu a, .menu .botao-texto { padding: 8px 12px; border-radius: 10px; color: var(--texto-2); text-decoration: none; font-weight: 500; }
.menu a[aria-current="page"] { background: var(--acento-suave); color: var(--acento-forte); }
.conteudo { max-width: 1080px; margin: 0 auto; padding: 20px 16px 110px; }
.menu-baixo { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--superficie); border-top: 1px solid var(--borda); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.menu-baixo a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--texto-3); text-decoration: none; padding: 4px; }
.menu-baixo svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-baixo a[aria-current="page"] { color: var(--acento); }
@media (min-width: 760px) {
  .menu { display: flex; }
  .menu[hidden] { display: none; }
  .menu-baixo { display: none !important; }
  .conteudo { padding: 32px 24px 60px; }
  h1 { font-size: 28px; }
}
.cartao { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); margin-bottom: 16px; min-width: 0; }
.grade-kpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
@media (min-width: 760px) { .grade-kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px; box-shadow: var(--sombra); }
.kpi .rotulo { font-size: 13px; color: var(--texto-2); }
.kpi .valor { font-size: 28px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi .nota { font-size: 12px; color: var(--texto-3); }
.duas { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .duas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.linha-titulo { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.botao { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; background: var(--acento); color: var(--sobre-acento); font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgb(15 23 42 / 12%); transition: transform .18s cubic-bezier(.2, .8, .3, 1), box-shadow .18s ease, background .15s ease; }
.botao:not(.secundario):not(.perigo)::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / .28) 50%, transparent 75%); transform: translateX(-120%); transition: transform .65s ease; }
@media (hover: hover) {
  .botao:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgb(0 0 0 / .45); }
  .botao:not(.secundario):not(.perigo):hover::after { transform: translateX(120%); }
}
.botao:active { transform: translateY(0) scale(.985); }
.botao.pilula { border-radius: 999px; }
.botao.verde { background: var(--verde); color: #fff; }
@keyframes mp-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgb(66 133 244 / .45); } 50% { box-shadow: 0 0 0 12px rgb(66 133 244 / 0); } }
.botao.pulso { animation: mp-pulso 2.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .botao.pulso { animation: none; } }
.botao.secundario { background: var(--superficie); color: var(--texto); border-color: var(--borda); box-shadow: none; }
.botao.secundario:hover { background: var(--superficie-2); }
.botao.perigo { background: var(--superficie); color: var(--perigo); border-color: var(--borda); }
.botao.pequeno { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.botao:disabled { opacity: .55; cursor: default; }
.botao-texto { background: none; border: 0; font: inherit; cursor: pointer; color: var(--acento); padding: 4px; }
.acoes { display: flex; flex-wrap: wrap; gap: 8px; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.campo { margin-bottom: 14px; }
.campo small { display: block; color: var(--texto-3); font-size: 13px; margin-top: 4px; }
input, select { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); min-height: 44px; }
input:focus, select:focus, .botao:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--acento) 40%, transparent); outline-offset: 1px; }
input[type="color"] { padding: 4px; height: 44px; }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; accent-color: var(--acento); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.erro-campo { color: var(--perigo); font-size: 13px; margin-top: 4px; }
input[aria-invalid="true"] { border-color: var(--perigo); }
.prefixo { display: flex; align-items: stretch; border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; background: var(--superficie); }
.prefixo span { padding: 11px 0 11px 12px; color: var(--texto-3); white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.prefixo input { border: 0; border-radius: 0; padding-left: 2px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { border: 1px solid var(--borda); background: var(--superficie-2); color: var(--texto-2); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.selo { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 9px; background: var(--superficie-2); color: var(--texto-2); white-space: nowrap; }
.selo.ok { background: var(--ok-suave); color: var(--ok); }
.selo.alerta { background: var(--alerta-suave); color: var(--alerta); }
.selo.perigo { background: var(--perigo-suave); color: var(--perigo); }
.lista-links { display: grid; gap: 12px; }
.link-item { display: grid; gap: 10px; }
.link-cabeca { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.link-titulo { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.endereco { display: flex; align-items: center; gap: 8px; min-width: 0; }
.endereco a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.destino { color: var(--texto-3); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.numeros { display: flex; gap: 16px; font-size: 14px; color: var(--texto-2); }
.numeros strong { color: var(--texto); font-variant-numeric: tabular-nums; }
.vazio { text-align: center; padding: 32px 16px; color: var(--texto-2); }
.vazio svg { width: 56px; height: 56px; stroke: var(--texto-3); fill: none; stroke-width: 1.5; margin-bottom: 8px; }
.filtros { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filtros button { border: 1px solid var(--borda); background: var(--superficie); color: var(--texto-2); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 36px; }
.filtros button[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); }
/* gráficos */
.caixa-grafico { width: 100%; min-height: 180px; }
.grafico { display: block; overflow: visible; }
.grafico .grade-linha { stroke: var(--grade); stroke-width: 1; }
.grafico .barra { fill: var(--serie); }
.grafico .barra:hover, .grafico .alvo:hover + .barra { opacity: .8; }
.grafico .alvo { fill: transparent; cursor: default; }
.grafico text { fill: var(--texto-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.barras-h { display: grid; gap: 10px; }
.barra-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 14px; }
.barra-h .trilho { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--superficie-2); overflow: hidden; }
.barra-h .trilho i { display: block; height: 100%; width: var(--p, 0%); background: var(--serie); border-radius: 4px; }
.barra-h span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barra-h b { font-variant-numeric: tabular-nums; }
.dividido { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; background: var(--superficie); margin: 8px 0; }
.dividido i { display: block; width: var(--p); background: var(--serie); }
.dividido i + i { background: var(--texto-3); }
.legenda { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--texto-2); }
.legenda span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--serie); margin-right: 6px; vertical-align: -1px; }
.legenda span + span::before { background: var(--texto-3); }
.tabela { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabela th, .tabela td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--borda); vertical-align: top; }
.tabela th { color: var(--texto-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.tabela td.n { text-align: right; font-variant-numeric: tabular-nums; }
.rolagem { overflow-x: auto; }
.dica { position: fixed; z-index: 50; pointer-events: none; background: var(--texto); color: var(--fundo); padding: 6px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
/* domínios */
.vagas { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .vagas { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.vaga { border: 1px dashed var(--borda); border-radius: 12px; padding: 10px 12px; min-width: 0; display: grid; gap: 2px; }
.vaga.ocupada { border-style: solid; background: var(--superficie-2); }
.vaga .caminho { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vaga .destino { font-size: 13px; }
.vaga button { justify-self: start; }
.registro { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--borda); font-size: 14px; }
.registro:last-child { border-bottom: 0; }
.registro .tipo { font-weight: 700; justify-self: start; background: var(--acento-suave); color: var(--acento-forte); border-radius: 6px; padding: 1px 8px; font-size: 13px; }
.registro code { font-size: 13px; background: var(--superficie-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.registro .copiar-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
.registro .copiar-linha .mudo { grid-column: 1 / -1; font-size: 12px; }
.caixa-erro { background: var(--perigo-suave); color: var(--perigo); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.caixa-info { background: var(--acento-suave); color: var(--texto); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
/* diálogo */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); background: var(--superficie); color: var(--texto); box-shadow: 0 20px 60px rgb(0 0 0 / 30%); }
dialog::backdrop { background: rgb(10 12 20 / 55%); }
.dialogo-corpo { padding: 20px 16px; overflow-y: auto; }
.dialogo-cabeca { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.dialogo-cabeca h2 { margin: 0; }
.fechar { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--texto-3); width: 40px; height: 40px; }
.qr-previa { display: grid; place-items: center; background: var(--superficie-2); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.qr-previa canvas { width: min(240px, 70vw); height: auto; image-rendering: pixelated; border-radius: 6px; }
.grade-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* entrar */
.entrada { max-width: 420px; margin: 24px auto; }
.entrada .cartao { padding: 20px; }
.abas { display: grid; grid-template-columns: 1fr 1fr; background: var(--superficie-2); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.abas button { border: 0; background: none; font: inherit; font-weight: 600; padding: 9px; border-radius: 9px; color: var(--texto-2); cursor: pointer; }
.abas button[aria-selected="true"] { background: var(--superficie); color: var(--texto); box-shadow: var(--sombra); }
.destaques { display: grid; gap: 10px; margin: 20px 0; }
.destaques div { display: flex; gap: 10px; align-items: flex-start; color: var(--texto-2); font-size: 15px; }
.destaques b { color: var(--texto); }
.destaques svg { flex: none; width: 22px; height: 22px; stroke: var(--acento); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.aviso { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--texto); color: var(--fundo); padding: 10px 16px; border-radius: 12px; z-index: 60; font-size: 15px; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgb(0 0 0 / 25%); }
@media (min-width: 760px) { .aviso { bottom: 24px; } }
.carregando { color: var(--texto-3); padding: 24px 0; }
.voltar { display: inline-block; margin-bottom: 10px; text-decoration: none; font-size: 15px; }
.interruptor { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--texto-2); cursor: pointer; }
/* ---------- página inicial ---------- */
.botao.grande { min-height: 52px; padding: 14px 22px; font-size: 17px; border-radius: 14px; }
.heroi { text-align: center; padding: 16px 0 28px; max-width: 760px; margin: 0 auto; }
.sobretitulo { color: var(--acento-forte); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.heroi h1 { font-size: clamp(30px, 8vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 14px; }
.heroi-sub { font-size: 18px; color: var(--texto-2); max-width: 620px; margin: 0 auto 22px; }
.heroi-acoes { justify-content: center; }
.profissoes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.profissoes li { border: 1px solid var(--borda); background: var(--superficie); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--texto-2); }
.bloco-anim { display: grid; gap: 18px; align-items: center; margin: 28px 0 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .bloco-anim { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; margin: 56px 0; }
  .bloco-anim.invertido .bloco-texto { order: 2; }
}
.bloco-texto h2 { font-size: clamp(22px, 5vw, 30px); line-height: 1.2; margin: 8px 0 10px; }
.bloco-texto p { color: var(--texto-2); font-size: 17px; }
.passo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--acento); color: var(--sobre-acento); font-weight: 800; }
.anim { margin: 0; background: var(--superficie); border: 1px solid var(--borda); border-radius: 20px; padding: 20px 14px; box-shadow: var(--sombra); overflow: hidden; min-width: 0; }
.extras h2, .chamada-final h2 { font-size: 22px; }
.grade-extras { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grade-extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grade-extras h3 { color: var(--texto); font-size: 16px; margin-bottom: 4px; }
.grade-extras p { color: var(--texto-2); margin: 0; }
.chamada-final { text-align: center; padding: 28px 0 8px; }

/* animação 1: o QR fica, o destino troca (ciclo de 9 s, 3 s por destino) */
.anim-troca .cena { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cartao-visita { width: 46%; max-width: 190px; aspect-ratio: 0.62; background: linear-gradient(160deg, var(--acento-suave), var(--superficie)); border: 1px solid var(--borda); border-radius: 12px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cv-nome { font-weight: 800; font-size: 14px; }
.cv-prof { font-size: 11px; color: var(--texto-3); margin-bottom: 8px; }
.cv-qr { position: relative; width: 82%; aspect-ratio: 1; background: #fff; border-radius: 8px; padding: 6%; overflow: hidden; }
.qr-slot svg { display: block; width: 100%; height: 100%; }
.varredura { position: absolute; left: 0; right: 0; height: 3px; background: var(--acento); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--acento) 60%, transparent); top: 0; opacity: 0; animation: varre 3s ease-in-out infinite; }
@keyframes varre { 0% { top: 4%; opacity: 0; } 8% { opacity: 1; } 32% { top: 94%; opacity: 1; } 38%, 100% { top: 94%; opacity: 0; } }
.cv-selo { margin-top: auto; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--ok); }
.cv-selo svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.feixe { width: 34px; flex: none; fill: none; stroke: var(--acento); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 5; animation: feixe 1s linear infinite; }
@keyframes feixe { to { stroke-dashoffset: -11; } }
.celular { position: relative; width: 40%; max-width: 170px; aspect-ratio: 0.5; background: #14172a; border-radius: 22px; padding: 18px 7px 10px; }
.entalhe { position: absolute; top: 7px; left: 50%; width: 34%; height: 5px; border-radius: 3px; background: #2f333e; transform: translateX(-50%); }
.tela { position: absolute; inset: 18px 7px 10px; border-radius: 12px; background: #fff; color: #14172a; padding: 0 0 8px; overflow: hidden; opacity: 0; animation: troca 9s ease infinite both; display: flex; flex-direction: column; gap: 6px; font-size: 10px; }
.tela.d2 { animation-delay: 3s; }
.tela.d3 { animation-delay: 6s; }
@keyframes troca { 0% { opacity: 0; transform: translateY(8px); } 3%, 33.3% { opacity: 1; transform: none; } 36.3%, 100% { opacity: 0; transform: translateY(-6px); } }
.barra-app { color: #fff; font-weight: 700; padding: 7px 8px; font-size: 11px; }
.barra-app.zap { background: #128c4a; }
.barra-app.agenda { background: #0062d8; }
.barra-app.site { background: #6b4bd6; }
.bolha { margin: 0 8px; padding: 6px 8px; border-radius: 8px; background: #eef1f7; max-width: 85%; line-height: 1.3; }
.bolha.eu { align-self: flex-end; background: #d8f5dc; }
.cal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px 8px; }
.cal i { height: 16px; border-radius: 4px; background: #eef1f7; }
.cal i.livre { background: #cfe2f8; }
.cal i.sel { background: #0062d8; }
.botao-fake { margin: auto 8px 0; background: #0062d8; color: #fff; border-radius: 6px; text-align: center; padding: 6px; font-weight: 700; }
.bloco-img { height: 38%; margin: 0 8px; border-radius: 8px; background: linear-gradient(135deg, #b9a8f0, #6b4bd6); }
.linha { height: 7px; margin: 0 8px; border-radius: 4px; background: #e2e5ee; }
.linha.curta { width: 50%; }
.trocas { position: relative; height: 24px; margin-top: 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--acento-forte); }
.trocas span { position: absolute; inset: 0; opacity: 0; animation: troca-texto 9s ease infinite both; }
@keyframes troca-texto { 0% { opacity: 0; } 5%, 29% { opacity: 1; } 32%, 100% { opacity: 0; } }
.trocas .t2 { animation-delay: 3s; }
.trocas .t3 { animation-delay: 6s; }

/* animação 2: domínio próprio e as 5 vagas (ciclo de 10 s, 2 s por vaga) */
.navegador { display: flex; align-items: center; gap: 6px; background: var(--superficie-2); border: 1px solid var(--borda); border-radius: 999px; padding: 10px 14px; font-size: clamp(14px, 4.2vw, 18px); font-weight: 600; overflow: hidden; }
.navegador svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.4; }
.dom { color: var(--texto-2); white-space: nowrap; }
.roleta { display: inline-block; height: 1.5em; line-height: 1.5em; overflow: hidden; vertical-align: bottom; }
.rolo { display: flex; flex-direction: column; animation: rola 10s cubic-bezier(.7, 0, .3, 1) infinite; }
.rolo b { color: var(--acento-forte); height: 1.5em; }
@keyframes rola {
  0%, 17% { transform: translateY(0); }
  20%, 37% { transform: translateY(-16.6667%); }
  40%, 57% { transform: translateY(-33.3333%); }
  60%, 77% { transform: translateY(-50%); }
  80%, 97% { transform: translateY(-66.6667%); }
  100% { transform: translateY(-83.3333%); }
}
.vagas-anim { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.vagas-anim li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--borda); background: var(--superficie); font-size: 14px; animation: acende 10s ease infinite both; }
.vagas-anim li span { color: var(--texto-3); font-size: 13px; text-align: right; }
.vagas-anim .v2 { animation-delay: 2s; }
.vagas-anim .v3 { animation-delay: 4s; }
.vagas-anim .v4 { animation-delay: 6s; }
.vagas-anim .v5 { animation-delay: 8s; }
@keyframes acende { 0%, 1% { background: var(--superficie); border-color: var(--borda); transform: none; } 3%, 18% { background: var(--acento-suave); border-color: var(--acento); transform: translateX(4px); } 21%, 100% { background: var(--superficie); border-color: var(--borda); transform: none; } }

/* animação 3: contagem (ciclo de 8 s) */
@property --n { syntax: '<integer>'; inherits: false; initial-value: 248; }
.mini-painel { display: grid; gap: 10px; }
.mp-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--texto-2); font-size: 14px; }
.contador { font-size: 34px; color: var(--texto); font-variant-numeric: tabular-nums; counter-reset: n var(--n); animation: conta 8s ease-out infinite; }
.contador::after { content: counter(n); }
@keyframes conta { 0% { --n: 0; } 30%, 100% { --n: 248; } }
.mp-barras { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 110px; border-bottom: 1px solid var(--grade); }
.mp-barras i { background: var(--serie); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: cresce 8s cubic-bezier(.2, .8, .2, 1) infinite both; }
.mp-barras .b1 { height: 38%; } .mp-barras .b2 { height: 55%; animation-delay: .1s; } .mp-barras .b3 { height: 47%; animation-delay: .2s; }
.mp-barras .b4 { height: 72%; animation-delay: .3s; } .mp-barras .b5 { height: 100%; animation-delay: .4s; } .mp-barras .b6 { height: 64%; animation-delay: .5s; } .mp-barras .b7 { height: 30%; animation-delay: .6s; }
@keyframes cresce { 0% { transform: scaleY(0); } 22%, 90% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
.mp-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; font-size: 11px; color: var(--texto-3); }
.mp-divide { height: 10px; border-radius: 5px; background: var(--texto-3); overflow: hidden; }
.mp-qr { display: block; height: 100%; width: 62%; background: var(--serie); border-right: 2px solid var(--superficie); animation: divide 8s ease infinite both; }
@keyframes divide { 0%, 10% { width: 0; } 35%, 90% { width: 62%; } 100% { width: 0; } }
.mp-leg { display: flex; justify-content: space-between; font-size: 13px; color: var(--texto-2); }
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-chips span { border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; background: var(--acento-suave); color: var(--acento-forte); animation: surge 8s ease infinite both; }
.mp-chips .c1 { animation-delay: 1.2s; } .mp-chips .c2 { animation-delay: 1.6s; } .mp-chips .c3 { animation-delay: 2s; }
@keyframes surge { 0% { opacity: 0; transform: translateY(6px); } 8%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .anim *, .anim *::after { animation: none !important; }
  .tela.d1, .trocas .t1 { opacity: 1; }
  .varredura { display: none; }
}

/* ---------- placas, ativação, estúdio ---------- */
.termometro { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.termometro div { background: var(--superficie); border: 1px solid var(--borda); border-radius: 12px; padding: 10px; text-align: center; }
.termometro b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.termometro span { font-size: 12px; color: var(--texto-3); }
.tabela-placas td, .tabela-placas th { white-space: nowrap; }
.tabela-placas code { font-size: 14px; font-weight: 700; }
.estudio-previa { display: grid; place-items: center; background: var(--superficie-2); border-radius: 14px; padding: 12px; margin-bottom: 14px; }
.estudio-previa canvas { max-width: 100%; max-height: 46vh; width: auto; height: auto; box-shadow: 0 4px 18px rgb(0 0 0 / 18%); border-radius: 4px; }
.notas-barras .barra-h .trilho i { background: #f2b200; }
.ativar { max-width: 480px; margin: 0 auto; }
.dividido.tres i { width: var(--p); }
:root { --origem-nfc: #2a78d6; --origem-qr: #eb6834; --origem-link: #1baf7a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --origem-nfc: #3987e5; --origem-qr: #d95926; --origem-link: #199e70; } }
:root[data-theme="dark"] { --origem-nfc: #3987e5; --origem-qr: #d95926; --origem-link: #199e70; }
.dividido.tres i.o0, .legenda.tres .o0::before { background: var(--origem-nfc); }
.dividido.tres i.o1, .legenda.tres .o1::before { background: var(--origem-qr); }
.dividido.tres i.o2, .legenda.tres .o2::before { background: var(--origem-link); }
.lista-botoes { display: grid; gap: 4px; margin-bottom: 8px; }
.linha-botao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0 8px; align-items: end; border-top: 1px solid var(--borda); padding-top: 10px; }
.linha-botao .botao-texto { grid-column: 1 / -1; justify-self: start; color: var(--perigo); margin: -6px 0 6px; }
.previa-imagem { height: 72px; border-radius: 12px; background: var(--superficie-2) center/cover no-repeat; border: 1px dashed var(--borda); margin-bottom: 6px; }
.previa-imagem.logo { width: 72px; border-radius: 50%; }
.escolhe-imagem input[type=file] { font-size: 13px; padding: 6px; min-height: 0; }

/* ---------- página inicial com foco em placas NFC ---------- */
.heroi-nota { margin: 12px 0 0; }
.destaque-placas { margin: 28px 0 36px; }
.destaque-placas h2 { font-size: clamp(22px, 5vw, 28px); margin: 10px 0 16px; }
/* placa de acrílico com QR e NFC */
.placa-nfc { position: relative; width: 44%; max-width: 190px; background: linear-gradient(160deg, #ffffff, #e9eef7); border: 1px solid var(--borda); border-radius: 14px; padding: 12px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgb(20 23 42 / 12%); color: #14172a; }
.pn-topo { font-weight: 800; font-size: 13px; }
.pn-nfc { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 12px; color: #1f5fae; }
.pn-nfc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pn-base { position: absolute; bottom: -8px; left: 18%; right: 18%; height: 8px; border-radius: 0 0 8px 8px; background: #c9d2e3; }
.ondas { position: relative; width: 26px; height: 60px; flex: none; }
.ondas i { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2.5px solid var(--acento); border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; opacity: 0; animation: onda 3s ease-out infinite; }
.ondas i:nth-child(2) { animation-delay: .15s; }
.ondas i:nth-child(3) { animation-delay: .3s; }
@keyframes onda { 0%, 6% { opacity: 0; transform: scale(.6); } 14% { opacity: 1; } 32%, 100% { opacity: 0; transform: scale(2.6); } }
.celular.encosta { animation: encosta 3s ease-in-out infinite; }
@keyframes encosta { 0%, 100% { transform: none; } 10%, 22% { transform: translateX(-12px) rotate(-4deg); } }

/* página de links montando na tela (ciclo de 9 s) */
.cena-pagina { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mini-placa { width: 54px; flex: none; aspect-ratio: .7; border-radius: 8px; background: linear-gradient(160deg, #fff, #e9eef7); border: 1px solid var(--borda); display: grid; place-items: center; align-content: center; gap: 2px; color: #1f5fae; font-weight: 800; font-size: 11px; }
.mini-placa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.celular.grande { width: 52%; max-width: 210px; aspect-ratio: .5; }
.tela-pagina { position: absolute; inset: 18px 7px 10px; border-radius: 12px; background: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center; color: #14172a; }
.pg-capa { position: relative; width: 100%; height: 30%; flex: none; background: linear-gradient(180deg, #ffd9a8, #f6a86b); overflow: hidden; transform-origin: top; animation: pg-capa 9s ease infinite both; }
.pg-capa .sol { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; top: 14%; right: 14%; }
.pg-capa .morro { position: absolute; bottom: -30%; border-radius: 50%; }
.pg-capa .m1 { left: -10%; width: 70%; height: 80%; background: #7a4a2b; }
.pg-capa .m2 { right: -15%; width: 75%; height: 70%; background: #5b3620; }
.pg-capa .xicara { position: absolute; left: 12%; bottom: 20%; width: 20%; height: 26%; background: #fff; border-radius: 0 0 40% 40%; box-shadow: 6px 2px 0 -3px #fff; }
.pg-logo { width: 25%; aspect-ratio: 1; flex: none; margin-top: -12%; border-radius: 50%; background: #6b3f22; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 3px 8px rgb(0 0 0 / 20%); animation: pg-logo 9s cubic-bezier(.3, 1.6, .5, 1) infinite both; }
.pg-nome { font-weight: 800; font-size: 13px; margin-top: 6px; animation: pg-texto 9s ease infinite both; }
.pg-desc { font-size: 9px; color: #5b6178; margin-bottom: 8px; animation: pg-texto 9s ease infinite both; }
.pg-botoes { width: 100%; display: grid; gap: 6px; padding: 0 10px; }
.pg-botoes span { display: block; text-align: center; padding: 7px 4px; border-radius: 8px; background: #6b3f22; color: #fff; font-weight: 700; font-size: 10px; animation: pg-botao 9s ease infinite both; }
.pg-botoes .pb2 { animation: pg-botao 9s ease .35s infinite both, pg-toque 9s ease infinite; }
.pg-botoes .pb3 { animation-delay: .7s; }
.pg-botoes .pb4 { animation-delay: 1.05s; }
.dedo { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgb(20 23 42 / 22%); border: 2px solid rgb(255 255 255 / 85%); left: 58%; top: 62%; opacity: 0; animation: pg-dedo 9s ease infinite; }
.rotulos-pagina { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: var(--acento-forte); }
.rotulos-pagina li { opacity: 0; animation: pg-texto 9s ease infinite both; }
.rotulos-pagina .r1 { animation-name: pg-rotulo1; } .rotulos-pagina .r2 { animation-name: pg-rotulo2; } .rotulos-pagina .r3 { animation-name: pg-rotulo3; }
@keyframes pg-capa { 0%, 3% { transform: scaleY(0); opacity: 0; } 11%, 90% { transform: none; opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pg-logo { 0%, 12% { transform: scale(0); } 19%, 90% { transform: none; opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pg-texto { 0%, 19% { opacity: 0; transform: translateY(4px); } 25%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes pg-botao { 0%, 27% { opacity: 0; transform: translateY(8px); } 33%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes pg-toque { 0%, 63% { filter: none; scale: 1; } 66%, 70% { filter: brightness(1.35); scale: .96; } 74%, 100% { filter: none; scale: 1; } }
@keyframes pg-dedo { 0%, 50% { opacity: 0; transform: translate(30px, 40px); } 58% { opacity: 1; transform: translate(0, 0); } 66% { transform: scale(.8); } 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; } }
@keyframes pg-rotulo1 { 0%, 5% { opacity: 0; } 11%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pg-rotulo2 { 0%, 14% { opacity: 0; } 20%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes pg-rotulo3 { 0%, 29% { opacity: 0; } 35%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@media (max-width: 420px) { .rotulos-pagina { display: none; } }

/* contagem em três origens: NFC, QR e link */
.mp-divide.tres { display: flex; gap: 2px; background: var(--superficie); }
.mp-divide.tres i { height: 100%; animation: divide3 8s ease infinite both; }
.mp-divide.tres .o0 { flex: 54 0 0; background: var(--origem-nfc); }
.mp-divide.tres .o1 { flex: 32 0 0; background: var(--origem-qr); animation-delay: .15s; }
.mp-divide.tres .o2 { flex: 14 0 0; background: var(--origem-link); animation-delay: .3s; }
@keyframes divide3 { 0%, 10% { transform: scaleX(0); } 35%, 90% { transform: none; } 100% { transform: scaleX(0); } }
.mp-divide.tres i { transform-origin: left; }
.mp-leg.tres span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.mp-leg.tres .o0::before { background: var(--origem-nfc); }
.mp-leg.tres .o1::before { background: var(--origem-qr); }
.mp-leg.tres .o2::before { background: var(--origem-link); }
@media (prefers-reduced-motion: reduce) {
  .ondas i { opacity: .6; }
  .dedo { display: none; }
  .rotulos-pagina li { opacity: 1; }
}
/* escolha de subdomínio */
.opcoes-dominio:not(:empty) { margin-top: 18px; border-top: 1px solid var(--borda); padding-top: 16px; }
.lista-opcoes { display: grid; gap: 8px; }
.opcao { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--borda); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 400; margin: 0; }
.opcao input[type=radio] { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--acento); flex: none; }
.opcao.marcada { border-color: var(--acento); background: var(--acento-suave); }
.opcao.bloqueada { opacity: .6; cursor: default; }
.opcao.com-aviso .mudo { color: var(--perigo); }
.opcao-corpo { display: grid; gap: 4px; min-width: 0; flex: 1; }
.opcao-topo { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.opcao-topo strong { overflow-wrap: anywhere; }
.opcao .prefixo { margin-top: 4px; }
.opcao .prefixo span { max-width: none; flex: none; padding: 11px 12px 11px 0; }
.opcao .prefixo input { padding-left: 12px; flex: 1 1 70px; width: 70px; }
.previa-endereco { font-weight: 600; color: var(--acento-forte); margin: 14px 0 10px; overflow-wrap: anywhere; }
/* passo a passo de DNS */
.tutorial-dns { border: 1px solid var(--borda); border-radius: 12px; padding: 0 14px; margin: 12px 0 14px; background: var(--superficie); }
.tutorial-dns > summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--acento-forte); }
.tutorial-dns[open] > summary { border-bottom: 1px solid var(--borda); margin-bottom: 12px; }
.dica-dns { background: var(--acento-suave); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.abas-dns { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: thin; }
.abas-dns button { flex: none; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 38px; }
.abas-dns button[aria-selected="true"] { background: var(--acento); border-color: var(--acento); color: var(--sobre-acento); font-weight: 600; }
.passos-dns { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 12px; }
.passos-dns li { padding-left: 4px; }
.passos-dns li > * { display: block; margin-top: 6px; }
.passos-dns li > span:first-child, .passos-dns li > strong:first-child { margin-top: 0; }
.valor-dns { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 14px; }
.valor-dns code { background: var(--superficie-2); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; font-size: 13px; }
.registros-painel { display: grid; gap: 10px; margin: 4px 0 12px; }
.registros-painel > div { border: 1px solid var(--borda); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.caixa-alerta { background: var(--alerta-suave); color: var(--alerta); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 8px 0; }
.imagem-passo { display: block; width: 100%; max-width: 560px; padding: 0; border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; background: var(--superficie-2); cursor: zoom-in; }
.imagem-passo img { display: block; width: 100%; height: auto; }
.imagem-ampliada { display: block; width: 100%; height: auto; border-radius: 8px; }
.rodape-dns { display: grid; gap: 8px; padding: 4px 0 14px; }
.checklist-dns { background: var(--perigo-suave); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.checklist-dns ul { margin: 6px 0 0; padding-left: 20px; }
/* criar, código do QR e cadastro */
.lista-criar { display: grid; gap: 10px; }
.opcao-criar { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; border: 1px solid var(--borda); border-radius: 14px; background: var(--superficie); color: var(--texto); padding: 14px; font: inherit; cursor: pointer; }
.opcao-criar:hover { border-color: var(--acento); background: var(--acento-suave); }
.opcao-criar strong { display: block; font-size: 17px; margin-bottom: 4px; }
.opcao-criar .mudo { display: block; }
.opcao-criar-icone { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acento); color: var(--sobre-acento); font-weight: 800; font-size: 20px; }
.codigo-qr { font-family: "Courier New", "Liberation Mono", monospace; font-weight: 700; letter-spacing: .12em; background: var(--superficie-2); border-radius: 6px; padding: 2px 8px; font-size: 14px; }
.linha-codigo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; font-size: 14px; }
.linha-codigo .mudo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.busca { display: flex; gap: 8px; margin-bottom: 14px; }
.busca input { flex: 1; min-width: 0; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cadastro-na-criacao { border: 1px solid var(--borda); border-radius: 12px; padding: 0 12px; margin-bottom: 14px; }
.cadastro-na-criacao > summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--acento-forte); }
.cadastro-na-criacao[open] > summary { margin-bottom: 8px; }
.escolha-tipo { display: flex; gap: 16px; flex-wrap: wrap; }
.rotulo-campo { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.dados-cadastro { display: grid; gap: 8px; margin: 12px 0 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .dados-cadastro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dados-cadastro dt { font-size: 12px; color: var(--texto-3); }
.dados-cadastro dd { margin: 0; overflow-wrap: anywhere; }
.celula-cadastro { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- marca no padrão Minha Plaquinha ---------- */
.marca-icone { width: 32px; height: 32px; flex: none; }
.marca-icone rect { fill: var(--acento); }
.marca-icone path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.marca-icone circle { fill: #fff; }
.marca-nome { font-weight: 800; letter-spacing: -.01em; font-size: 17px; }
.c-azul { color: var(--g-azul); } .c-vermelho { color: var(--g-vermelho); } .c-amarelo { color: var(--g-amarelo); } .c-verde { color: var(--g-verde); }
.selo-cores { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--borda); background: color-mix(in srgb, var(--superficie) 85%, transparent); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--texto-2); box-shadow: var(--sombra); margin-bottom: 18px; }
.selo-cores i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.selo-cores i:nth-child(1) { background: var(--g-azul); } .selo-cores i:nth-child(2) { background: var(--g-vermelho); } .selo-cores i:nth-child(3) { background: var(--g-amarelo); } .selo-cores i:nth-child(4) { background: var(--g-verde); }
.degrade { background: linear-gradient(90deg, #0062d8, #0f9d7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* fundo com manchas coloridas que passeiam devagar, como no site */
.heroi { position: relative; isolation: isolate; }
.manchas { position: absolute; inset: -40px -16px 0; z-index: -1; overflow: hidden; pointer-events: none; }
.manchas i { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .35; animation: mp-flutua 21s ease-in-out infinite alternate; }
.manchas i:nth-child(1) { width: 60%; height: 55%; left: -10%; top: 0; background: var(--g-azul); }
.manchas i:nth-child(2) { width: 55%; height: 50%; right: -12%; top: 5%; background: var(--g-vermelho); animation-duration: 23s; }
.manchas i:nth-child(3) { width: 50%; height: 45%; left: 10%; bottom: -10%; background: var(--g-amarelo); animation-duration: 27s; opacity: .25; }
.manchas i:nth-child(4) { width: 50%; height: 45%; right: 0; bottom: -5%; background: var(--g-verde); animation-duration: 19s; opacity: .28; }
@keyframes mp-flutua { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6%, 8%, 0) scale(1.12); } 100% { transform: translate3d(-4%, 4%, 0) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .manchas i { animation: none; } }
.botao.pequeno.pilula { border-radius: 999px; padding: 6px 16px; }
/* estúdio com 50 modelos */
dialog.dialogo-largo { width: min(1040px, calc(100vw - 24px)); }
.estudio { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .estudio { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } .estudio .estudio-previa { position: sticky; top: 0; } }
.estudio-controles h3 { margin: 14px 0 8px; color: var(--texto); }
.estudio-controles h3:first-child { margin-top: 0; }
.galeria-modelos { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; }
.miniatura { display: grid; gap: 4px; justify-items: center; border: 2px solid transparent; border-radius: 10px; background: var(--superficie-2); padding: 6px 4px; cursor: pointer; font: inherit; font-size: 11px; color: var(--texto-2); }
.miniatura canvas { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 4px rgb(0 0 0 / 15%); background: var(--superficie); aspect-ratio: 2 / 3; }
.miniatura[aria-selected="true"] { border-color: var(--acento); background: var(--acento-suave); color: var(--acento-forte); font-weight: 700; }
.miniatura span { line-height: 1.2; text-align: center; }
.filtros-modelo { margin-bottom: 10px; }
.paletas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.paleta { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--borda); padding: 3px; background: var(--superficie); cursor: pointer; }
.paleta i { display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 50%, var(--c2) 50%); }
.paleta[aria-checked="true"] { border-color: var(--acento); box-shadow: 0 0 0 2px var(--acento-suave); }
.grade-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
/* estúdio: sua arte */
.origem-arte { max-width: 420px; }
.lista-artes { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-bottom: 10px; }
.item-arte { display: grid; gap: 2px; border: 2px solid transparent; border-radius: 10px; background: var(--superficie-2); padding: 6px; }
.item-arte[aria-selected="true"] { border-color: var(--acento); background: var(--acento-suave); }
.item-arte-botao { display: grid; gap: 4px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 12px; color: var(--texto-2); text-align: center; }
.item-arte-botao img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: var(--superficie); }
.item-arte .botao-texto { font-size: 12px; color: var(--perigo); justify-self: center; }
.controles-arte input[type=range] { width: 100%; min-height: 0; padding: 0; accent-color: var(--acento); }
canvas.arrastavel { cursor: move; touch-action: none; }
/* cadastro no critério do Gravador NFC */
.campo-foto .linha-foto { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.foto-previa { width: 64px; height: 64px; border-radius: 50%; background: var(--superficie-2) center/cover no-repeat; border: 2px solid var(--borda); flex: none; }
.foto-ok { color: var(--ok); font-weight: 600; font-size: 14px; }
.foto-perfil { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid var(--borda); display: block; margin-bottom: 10px; }
.foto-perfil.grande { width: 100%; height: auto; max-width: 420px; border-radius: 12px; }
.faixa-foto { max-width: 1080px; margin: 12px auto 0; padding: 10px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--alerta-suave); color: var(--alerta); border-radius: 12px; font-size: 14px; width: calc(100% - 32px); }
.faixa-foto.vencida { background: var(--perigo-suave); color: var(--perigo); }
