/* EVGL Foto IA — identidade EVGL Studio: navy profundo, azul elétrico, ciano neon */
:root {
  --bg: #060a13;
  --bg-2: #080e1b;
  --surface: #0c1322;
  --surface-2: #111a2e;
  --surface-3: #17223a;
  --line: rgba(110, 145, 230, .14);
  --line-2: rgba(110, 145, 230, .26);
  --text: #e8eefa;
  --muted: #8a97b4;
  --faint: #5d6a87;
  --blue: #1e5bff;
  --blue-2: #3b74ff;
  --cyan: #29c8ff;
  --glow: 0 0 0 1px rgba(41, 200, 255, .35), 0 0 24px rgba(30, 91, 255, .35);
  --ok: #2fd39a;
  --err: #ff5c7a;
  --warn: #ffb547;
  --r: 14px;
  --r-sm: 9px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tit: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(30, 91, 255, .13), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(41, 200, 255, .07), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7fdcff; }
h1, h2, h3, h4 { font-family: var(--font-tit); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 26px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
img { max-width: 100%; display: block; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .88em; background: var(--surface-3);
  padding: 2px 6px; border-radius: 6px; color: #b9c9f0; }
.svg-ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout */
.layout { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.lateral {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(12, 19, 34, .92), rgba(8, 14, 27, .96));
  border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 6px;
}
.marca { display: block; padding: 4px 8px 6px; }
.marca img { width: 168px; }
.marca small { display: block; margin-top: 8px; font: 600 10.5px/1 var(--font-tit); letter-spacing: .26em;
  text-transform: uppercase; color: var(--cyan); }
.nav-tit { font: 600 10.5px/1 var(--font-tit); letter-spacing: .18em; text-transform: uppercase; color: var(--faint);
  padding: 20px 10px 8px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--r-sm);
  color: var(--muted); font-weight: 500; position: relative; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a.ativo { background: linear-gradient(90deg, rgba(30, 91, 255, .2), rgba(30, 91, 255, .04)); color: #fff; }
.nav a.ativo::before { content: ""; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.lateral-rodape { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.quem { display: flex; align-items: center; gap: 10px; padding: 6px 8px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font: 600 13px var(--font-tit); }
.quem div { min-width: 0; }
.quem b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quem span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.principal { min-width: 0; padding: 30px 38px 60px; }
.topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.topo p { margin: 6px 0 0; color: var(--muted); }
.topo .acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.barra-mobile { display: none; }

.faixa-como {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(255, 181, 71, .14), rgba(255, 181, 71, .04));
  border: 1px solid rgba(255, 181, 71, .35); color: #ffd99a; padding: 10px 14px; border-radius: var(--r-sm);
  margin-bottom: 22px; font-size: 14px;
}
.faixa-demo {
  display: flex; gap: 10px; align-items: center; background: rgba(41, 200, 255, .07);
  border: 1px dashed rgba(41, 200, 255, .4); color: #a8e6ff; padding: 10px 14px; border-radius: var(--r-sm);
  margin-bottom: 22px; font-size: 14px;
}

/* ---------- componentes */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card + .card { margin-top: 18px; }
.card-tit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-tit p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.grade { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lado { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text);
  font: 600 14px var(--font); cursor: pointer; transition: transform .1s, background .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); border-color: rgba(110, 145, 230, .4); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-pri { background: linear-gradient(135deg, var(--blue), #2f6bff 55%, #2a8dff); border-color: transparent;
  box-shadow: 0 6px 20px -6px rgba(30, 91, 255, .7); }
.btn-pri:hover { background: linear-gradient(135deg, var(--blue-2), #4a80ff 55%, #3aa0ff); box-shadow: var(--glow); }
.btn-perigo { color: #ffb1c0; border-color: rgba(255, 92, 122, .35); background: rgba(255, 92, 122, .07); }
.btn-perigo:hover { background: rgba(255, 92, 122, .16); border-color: var(--err); }
.btn-sm { height: 32px; padding: 0 11px; font-size: 13px; }
.btn-ico { width: 34px; height: 34px; padding: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-link { background: none; border: 0; color: var(--cyan); cursor: pointer; padding: 0; font: inherit; }

label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.campo { margin-bottom: 16px; }
.campo small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--r-sm);
  padding: 10px 12px; font: 14.5px var(--font); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 84px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41, 200, 255, .16); }
input[type=range] { width: 100%; accent-color: var(--blue); }
input[type=file] { color: var(--muted); font-size: 13.5px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; margin: 0; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.linha-form { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.linha-form.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--font); padding: 5px 9px;
  border-radius: 999px; background: var(--surface-3); color: var(--muted); border: 1px solid var(--line); }
.tag-ok { color: var(--ok); background: rgba(47, 211, 154, .1); border-color: rgba(47, 211, 154, .3); }
.tag-erro { color: var(--err); background: rgba(255, 92, 122, .1); border-color: rgba(255, 92, 122, .3); }
.tag-azul { color: #9ec0ff; background: rgba(30, 91, 255, .14); border-color: rgba(30, 91, 255, .35); }
.tag-ciano { color: var(--cyan); background: rgba(41, 200, 255, .1); border-color: rgba(41, 200, 255, .3); }
.tag-aviso { color: var(--warn); background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .3); }
.muted { color: var(--muted); }
.pequeno { font-size: 13px; }

/* tabelas */
.tabela-wrap { overflow-x: auto; margin: 0 -22px; padding: 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 600 11.5px var(--font-tit); letter-spacing: .08em; text-transform: uppercase;
  color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(110, 145, 230, .04); }
td .acoes { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.mini-thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-3); }

/* métricas */
.metrica { position: relative; overflow: hidden; }
.metrica > span { color: var(--muted); font-size: 13px; font-weight: 500; }
.metrica b { display: block; font: 600 30px/1.15 var(--font-tit); margin-top: 8px; letter-spacing: -.02em; }
.metrica small { color: var(--faint); font-size: 12.5px; }
.metrica::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 91, 255, .22), transparent 70%); }
.barra { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.barra.cheia i { background: linear-gradient(90deg, #ff8a5c, var(--err)); }

/* alertas */
.alertas { display: grid; gap: 10px; margin-bottom: 20px; }
.alerta { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface-2); font-size: 14px; }
.alerta-ok { border-color: rgba(47, 211, 154, .35); background: rgba(47, 211, 154, .07); }
.alerta-erro { border-color: rgba(255, 92, 122, .4); background: rgba(255, 92, 122, .08); }
.alerta-senha { border-color: rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .08); }
.alerta-senha b { font-family: ui-monospace, Menlo, monospace; color: #ffd99a; }

/* ---------- gerador */
.passo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.passo i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--font-tit);
  font-style: normal; background: rgba(30, 91, 255, .18); color: #9ec0ff; border: 1px solid rgba(30, 91, 255, .4); }
.padroes-esc { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.padrao-op { position: relative; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--surface-2); transition: border-color .15s, box-shadow .15s, transform .15s; }
.padrao-op:hover { border-color: var(--line-2); transform: translateY(-2px); }
.padrao-op input { position: absolute; opacity: 0; pointer-events: none; }
.padrao-op .prev { aspect-ratio: 4/3; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.padrao-op .prev img { width: 100%; height: 100%; object-fit: cover; }
.padrao-op .prev .forma { border: 1.5px dashed var(--line-2); border-radius: 6px; color: var(--faint);
  display: grid; place-items: center; font: 600 12px var(--font-tit); }
.padrao-op .info { padding: 10px 12px 12px; }
.padrao-op .info b { display: block; font-size: 13.5px; line-height: 1.3; }
.padrao-op .info span { font-size: 12px; color: var(--muted); }
.padrao-op:has(input:checked) { border-color: var(--cyan); box-shadow: var(--glow); }
.padrao-op:has(input:checked)::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--cyan); color: #04111d; display: grid; place-items: center; font-weight: 700; font-size: 13px; }

.dropzone { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 34px 20px; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, rgba(30, 91, 255, .05), transparent); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.sobre { border-color: var(--cyan); background: rgba(41, 200, 255, .07); }
.dropzone .svg-ico { width: 34px; height: 34px; color: var(--cyan); margin: 0 auto 10px; }
.dropzone b { display: block; font-size: 15.5px; }
.dropzone span { color: var(--muted); font-size: 13px; }
.fila { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); margin-top: 14px; }
.fila-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-3);
  border: 1px solid var(--line); }
.fila-item img { width: 100%; height: 100%; object-fit: cover; }
.fila-item button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(6, 10, 19, .8); color: #fff; cursor: pointer; font-size: 14px; line-height: 1; }

.resultados { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.res { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.res .img { position: relative; aspect-ratio: 1; background:
  repeating-conic-gradient(#0f1729 0% 25%, #0c1322 0% 50%) 50% / 20px 20px; display: grid; place-items: center; }
.res .img img { width: 100%; height: 100%; object-fit: contain; }
.res .img .orig { position: absolute; left: 8px; bottom: 8px; width: 52px; height: 52px; border-radius: 8px;
  object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.res .rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.res .rodape small { color: var(--muted); font-size: 12.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res.carregando .img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(41, 200, 255, .13) 50%, transparent 70%);
  background-size: 250% 100%; animation: brilho 1.4s infinite linear; }
.res .estado { position: absolute; inset: auto 0 0 0; padding: 10px 12px; font-size: 13px; color: #cfe6ff;
  background: linear-gradient(0deg, rgba(6, 10, 19, .9), transparent); }
.res.falhou .img { background: rgba(255, 92, 122, .06); }
.res.falhou .estado { color: #ffb1c0; position: static; background: none; text-align: center; padding: 16px; }
@keyframes brilho { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.giro { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(41, 200, 255, .2); border-top-color: var(--cyan);
  animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

/* galeria */
.filtros { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filtros input, .filtros select { width: auto; min-width: 200px; }
.galeria { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.foto { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.foto .img { aspect-ratio: 1; background: var(--bg-2); cursor: zoom-in; }
.foto .img img { width: 100%; height: 100%; object-fit: contain; }
.foto .sel { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; accent-color: var(--blue); cursor: pointer; z-index: 2; }
.foto .meta { padding: 10px 12px; }
.foto .meta b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foto .meta span { font-size: 12px; color: var(--muted); }
.foto .acoes { display: flex; gap: 6px; padding: 0 12px 12px; }
.foto:has(.sel:checked) { border-color: var(--cyan); box-shadow: var(--glow); }
.barra-selecao { position: sticky; bottom: 18px; margin-top: 18px; display: none; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px; border-radius: var(--r); background: rgba(17, 26, 46, .95); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.barra-selecao.ativa { display: flex; }
.paginacao { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.paginacao a, .paginacao span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid var(--line); color: var(--muted); padding: 0 10px; }
.paginacao .atual { background: var(--blue); border-color: var(--blue); color: #fff; }

.vazio { text-align: center; padding: 50px 20px; color: var(--muted); }
.vazio .svg-ico { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--faint); }
.vazio b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(3, 6, 12, .86); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 30px; }
.modal.aberto { display: flex; }
.modal .caixa { max-width: min(1100px, 100%); max-height: 100%; display: grid; gap: 14px; }
.modal .comp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal figure { margin: 0; }
.modal figure img { max-height: 72vh; width: 100%; object-fit: contain; border-radius: 10px; background: var(--bg-2); }
.modal figcaption { font: 600 11.5px var(--font-tit); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; text-align: center; }
.modal .fechar { position: absolute; top: 16px; right: 18px; }

/* padrões */
.padrao-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.padrao-card .prev { aspect-ratio: 16/9; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.padrao-card .prev img { width: 100%; height: 100%; object-fit: cover; }
.padrao-card .corpo { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.padrao-card .corpo p { margin: 0; color: var(--muted); font-size: 13.5px; }
.padrao-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.padrao-card .pe { display: flex; gap: 8px; padding: 0 18px 16px; flex-wrap: wrap; }
.forma-prev { border: 1.5px dashed var(--line-2); border-radius: 6px; display: grid; place-items: center; color: var(--faint);
  font: 600 12px var(--font-tit); }

.previa-padrao { position: sticky; top: 24px; }
.moldura { margin: 0 auto; background: linear-gradient(160deg, var(--surface-3), var(--bg-2)); border: 1px solid var(--line-2);
  border-radius: 10px; position: relative; overflow: hidden; display: grid; place-items: center; max-height: 380px; transition: aspect-ratio .2s; }
.moldura .produto-fake { width: 34%; aspect-ratio: .6; border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #2a3a60, #1a2644); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7); }
.moldura .logo-fake { position: absolute; background: #fff; border-radius: 4px; opacity: .85; height: 6%; min-height: 8px; }
.prompt-prev { white-space: pre-wrap; font: 12.5px/1.55 ui-monospace, Menlo, monospace; color: #a9b8da; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; max-height: 260px; overflow: auto; margin: 0; }

.logo-cliente { background: repeating-conic-gradient(#1a2440 0% 25%, #131c33 0% 50%) 50% / 18px 18px; border-radius: 10px;
  border: 1px solid var(--line); padding: 26px; display: grid; place-items: center; min-height: 160px; }
.logo-cliente img { max-height: 120px; }

/* gráfico simples */
.colunas { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 8px; }
.colunas div { flex: 1; min-width: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .85; position: relative; }
.colunas div:hover { opacity: 1; }
.colunas div:hover::after { content: attr(data-r); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  margin-bottom: 6px; background: var(--surface-3); border: 1px solid var(--line-2); padding: 3px 7px; border-radius: 6px;
  font-size: 11.5px; white-space: nowrap; color: var(--text); }

/* ---------- login */
.tela-login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-arte { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 48px; border-right: 1px solid var(--line);
  background: radial-gradient(600px 400px at 30% 40%, rgba(30, 91, 255, .25), transparent 65%),
              radial-gradient(400px 300px at 80% 80%, rgba(41, 200, 255, .14), transparent 70%), var(--bg-2); }
.login-arte::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(110, 145, 230, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 145, 230, .08) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 40% 50%, #000 30%, transparent 75%); }
.login-arte > * { position: relative; }
.login-arte img.logo { width: 260px; }
.login-arte h2 { font-size: 38px; line-height: 1.12; max-width: 460px; letter-spacing: -.03em; }
.login-arte h2 em { font-style: normal; background: linear-gradient(90deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-arte p { color: var(--muted); max-width: 420px; margin: 14px 0 0; }
.login-passos { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.login-passos span { display: flex; align-items: center; gap: 8px; }
.login-passos i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(41, 200, 255, .45); color: var(--cyan); font: 600 12px var(--font-tit); }
.login-form { display: grid; place-items: center; padding: 40px 24px; }
.login-form form { width: 100%; max-width: 380px; }
.login-form h1 { margin-bottom: 6px; }
.login-form p { color: var(--muted); margin: 0 0 26px; }
.login-form .btn { width: 100%; height: 46px; margin-top: 6px; }

.erro-pag { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.erro-pag b { font: 600 72px/1 var(--font-tit); background: linear-gradient(90deg, var(--blue-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- responsivo */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lado { grid-template-columns: 1fr; }
  .previa-padrao { position: static; }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .lateral { position: fixed; inset: 0 auto 0 0; width: 268px; z-index: 40; transform: translateX(-100%); transition: transform .2s; }
  .lateral.aberta { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  .barra-mobile { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    border-bottom: 1px solid var(--line); background: rgba(8, 14, 27, .92); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(8px); }
  .barra-mobile img { height: 26px; }
  .principal { padding: 22px 16px 50px; }
  .g2, .g3, .linha-form, .linha-form.tres { grid-template-columns: 1fr; }
  .tela-login { grid-template-columns: 1fr; }
  .login-arte { padding: 28px 24px; gap: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .login-arte h2 { font-size: 28px; }
  .login-arte img.logo { width: 190px; }
  .modal .comp { grid-template-columns: 1fr; }
  .filtros input, .filtros select { min-width: 0; flex: 1; }
  h1 { font-size: 22px; }
}
@media (max-width: 520px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .metrica b { font-size: 24px; }
  .card { padding: 18px; }
  .tabela-wrap { margin: 0 -18px; padding: 0 18px; }
}
@media (max-width: 520px) {
  .padroes-esc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .padrao-op .info { padding: 8px 10px 10px; }
}
