/* Painel de inscrições · mesmo design system da landing WS Trends
   preto #191A19 · laranja #FE5001 · cinza escuro #52565A · cinza #989998 · cinza claro #E5E6E5 · papel #F4F4F3
   Inter Tight (modernidade) + Nanum Myeongjo (autoridade). Vidro claro e toroide em arame no fundo. */
:root {
  --ws-black: #191A19;
  --ws-orange: #FE5001;
  --ws-orange-dark: #C93E00;
  --ws-slate: #52565A;
  --ws-gray: #989998;
  --ws-light: #E5E6E5;
  --paper: #F4F4F3;
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-blur: blur(22px) saturate(1.1);
  --glass-shadow: 0 14px 44px rgba(25, 26, 25, 0.08);
  --grad: linear-gradient(100deg, #FE5001 6%, #FF7A1F 52%, #FFA24D 100%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-fast: 160ms;
  --ok: #1d7a46; --ok-bg: rgba(29, 122, 70, .12);
  --warn: #9a5800; --warn-bg: rgba(255, 162, 77, .22);
  --bad: #b3261e; --bad-bg: rgba(179, 38, 30, .1);
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; font-synthesis: none; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter Tight', Arial, Helvetica, sans-serif; font-weight: 400; line-height: 1.5; background: var(--paper); color: var(--ws-black); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ws-orange); color: #fff; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, tr:focus-visible { outline: 2px solid var(--ws-orange); outline-offset: 3px; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ws-slate); }
.gradient { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.serif { font-family: 'Nanum Myeongjo', Georgia, serif; }

/* fundo fixo com toroide em arame */
.bg-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 100% 0, rgba(254, 80, 1, 0.18), transparent 46%), radial-gradient(ellipse at 0 100%, rgba(82, 86, 90, 0.16), transparent 52%), linear-gradient(180deg, #F8F8F7, #EDEDEC); }
.studio-sculpture { position: absolute; top: 50%; right: -8vw; width: min(860px, 68vw); aspect-ratio: 600 / 560; translate: 0 -50%; }
.studio-sculpture-scroll { width: 100%; height: 100%; will-change: transform; }
.studio-sculpture-turn { width: 100%; height: 100%; animation: studio-breathe 12s cubic-bezier(0.77, 0, 0.175, 1) infinite alternate; }
.studio-sculpture svg { width: 100%; height: 100%; overflow: visible; }
.studio-wire path { fill: none; stroke: rgba(254, 80, 1, 0.42); stroke-width: 0.65px; }
.studio-wire .studio-ring { stroke: rgba(82, 86, 90, 0.5); stroke-width: 0.75px; }
.studio-satellite circle:first-child { fill: #FE5001; opacity: 0.16; }
.studio-satellite circle:last-child { fill: #FE5001; }
.studio-satellite { transform-origin: 300px 280px; animation: studio-satellite 24s linear infinite; }
@keyframes studio-breathe { 0% { transform: rotate(-4deg) translateY(-6px); } 100% { transform: rotate(5deg) translateY(6px); } }
@keyframes studio-satellite { 100% { transform: rotate(360deg); } }
@media (max-width: 760px) { .studio-sculpture { right: -38vw; top: 34%; width: 150vw; opacity: 0.8; } }

/* vidro claro, borda branca */
.glass, .card { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .glass, .card { background: rgba(255, 255, 255, 0.92); } }
.card { border-radius: 28px; padding: clamp(20px, 2.6vw, 30px); }

/* botões: preto da marca, laranja ao passar o mouse */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 28px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition-property: color, background-color, border-color, scale; transition-duration: var(--dur-fast); transition-timing-function: var(--ease-out); }
.btn:active { scale: 0.97; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-dark { background: var(--ws-black); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.55); color: var(--ws-black); border-color: var(--ws-black); }
.btn-sm { min-height: 36px; padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) { .btn-dark:hover { background: var(--ws-orange); } .btn-ghost:hover { background: var(--ws-black); color: #fff; } }

/* navegação em pílula */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding-inline: 16px; pointer-events: none; }
.nav-in { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; max-width: 100%; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 8px 30px rgba(25, 26, 25, 0.08); }
.brand { display: inline-flex; align-items: center; margin-right: 8px; }
.brand img { height: clamp(18px, 2.6vw, 24px); width: auto; }
.nav-title { font-size: 13px; font-weight: 600; color: var(--ws-slate); padding: 0 10px 0 14px; border-left: 1px solid var(--ws-light); white-space: nowrap; }
.nav-stamp { font-size: 12px; color: var(--ws-gray); padding: 0 8px; white-space: nowrap; }
@media (max-width: 860px) { .nav-title, .nav-stamp { display: none; } }
@media (max-width: 520px) { .nav-in .btn-ghost.csv { display: none; } }

/* login */
.login { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 100px 16px 40px; }
.login-card { width: min(460px, 100%); border-radius: 28px; padding: clamp(26px, 4vw, 40px); }
.login-logo { height: 26px; width: auto; margin-bottom: 26px; }
.login-card h1 { margin-top: 14px; font-size: clamp(40px, 7vw, 56px); letter-spacing: -0.05em; line-height: .98; font-weight: 800; }
.login-card .lead { margin-top: 16px; color: var(--ws-slate); font-size: 16px; line-height: 1.6; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 24px 0 18px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ws-slate); }
.field input { height: 50px; border: 1px solid var(--ws-light); border-radius: 14px; padding: 0 16px; background: rgba(255, 255, 255, .85); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input:focus { border-color: var(--ws-orange); box-shadow: 0 0 0 3px rgba(254, 80, 1, .15); }
.msg { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--bad); }

/* topo da página */
main { padding-block: 112px 72px; }
h1.page { margin-top: 14px; font-size: clamp(46px, 8vw, 104px); letter-spacing: -0.05em; line-height: .96; font-weight: 800; padding-bottom: .06em; }
.sub { margin-top: 20px; max-width: 60ch; font-size: 17px; line-height: 1.65; color: var(--ws-slate); }

/* indicadores */
.kpis { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.kpi { border-radius: 24px; padding: 22px 24px; }
.kpi small { display: block; font-size: 13px; font-weight: 600; color: var(--ws-slate); }
.kpi strong { display: block; margin-top: 12px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.05em; line-height: 1; font-weight: 800; }
.kpi em { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ws-slate); }
.kpi.main { background: var(--ws-black); border-color: var(--ws-black); color: #fff; box-shadow: var(--glass-shadow); }
.kpi.main small, .kpi.main em { color: #c9cac9; }
.kpi.main strong { background-image: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-size: clamp(34px, 4vw, 54px); }

.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.panel h3 { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ws-slate); margin-bottom: 18px; }
.row { margin-bottom: 14px; } .row:last-child { margin-bottom: 0; }
.row-h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 6px; }
.row-h b { font-weight: 700; } .row-h span { color: var(--ws-slate); text-align: right; }
.bar { height: 8px; border-radius: 99px; background: rgba(25, 26, 25, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width .6s var(--ease-out); }
.bar.dark i { background: var(--ws-black); }
.empty-s { color: var(--ws-gray); font-size: 14px; }

/* filtros */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 40px; }
.filters input[type=search], .filters select { height: 44px; border: 1px solid var(--ws-light); border-radius: 999px; padding: 0 16px; background: rgba(255, 255, 255, .8); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.filters input[type=search] { flex: 1 1 260px; min-width: 200px; }
.filters input:focus, .filters select:focus { border-color: var(--ws-orange); box-shadow: 0 0 0 3px rgba(254, 80, 1, .15); }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ws-slate); cursor: pointer; user-select: none; }
.chk input { accent-color: var(--ws-orange); width: 16px; height: 16px; }
.count { margin-left: auto; color: var(--ws-slate); font-size: 14px; font-weight: 600; }

/* tabela */
.table-box { margin-top: 14px; border-radius: 28px; overflow: auto; padding: 6px; }
table { border-collapse: collapse; width: 100%; min-width: 1120px; }
th { text-align: left; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.6px; color: var(--ws-slate); padding: 16px 14px; border-bottom: 1px solid var(--ws-light); white-space: nowrap; }
td { padding: 14px; border-bottom: 1px solid rgba(25, 26, 25, .06); vertical-align: top; font-size: 14px; }
tbody tr { cursor: pointer; transition: background-color var(--dur-fast); }
tbody tr:hover { background: rgba(254, 80, 1, .05); }
tbody tr:last-child td { border-bottom: 0; }
.nm { font-weight: 700; letter-spacing: -0.01em; } .mut { color: var(--ws-slate); font-size: 13px; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.tag { display: inline-block; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; background: #fff; border: 1px solid var(--ws-light); color: var(--ws-slate); }
.tag.pago { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.tag.aguardando { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.tag.divergente { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
.tag.pix { color: var(--ws-black); } .tag.card { color: var(--ws-black); }
.tag.landing { border-color: rgba(254, 80, 1, .45); color: var(--ws-orange-dark); background: rgba(254, 80, 1, .08); }
.tag.wstrends { background: var(--ws-black); border-color: var(--ws-black); color: #fff; }
.tag.test { margin-left: 6px; background: var(--ws-light); border-color: transparent; color: var(--ws-slate); }
.state { padding: 56px 20px; text-align: center; color: var(--ws-slate); }

/* detalhe */
dialog { border: 0; border-radius: 28px; padding: 0; width: min(660px, calc(100% - 24px)); max-height: calc(100vh - 32px); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .4); color: var(--ws-black); }
dialog::backdrop { background: rgba(25, 26, 25, .5); backdrop-filter: blur(3px); }
.dlg-h { display: flex; align-items: flex-start; gap: 12px; padding: 26px 28px 6px; }
.dlg-h h4 { font-size: 30px; letter-spacing: -0.045em; line-height: 1.05; font-weight: 800; }
.dlg-x { margin-left: auto; flex: none; border: 1px solid var(--ws-light); background: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 15px; transition: background-color var(--dur-fast), color var(--dur-fast); }
.dlg-x:hover { background: var(--ws-black); color: #fff; }
.dlg-b { padding: 8px 28px 28px; }
dl { display: grid; grid-template-columns: 170px 1fr; margin: 0; }
dt, dd { margin: 0; padding: 11px 0; border-bottom: 1px solid rgba(25, 26, 25, .06); font-size: 14px; }
dt { color: var(--ws-slate); font-weight: 600; } dd { word-break: break-word; }
dd a { color: var(--ws-orange-dark); font-weight: 600; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpi.main { grid-column: 1 / -1; } .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { dl { grid-template-columns: 1fr; } dt { border-bottom: 0; padding-bottom: 0; } .kpis { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .studio-sculpture-turn, .studio-satellite { animation: none; } }

/* ficha do cadastro */
.ficha-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ficha-nav { display: flex; align-items: center; gap: 8px; }
.ficha-nav .mut { margin-right: 6px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.ficha-head { margin-top: 36px; }
h1.ficha-title { font-size: clamp(38px, 6.4vw, 84px); overflow-wrap: anywhere; }
.ficha-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ficha-resumo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.mini { border-radius: 24px; padding: 20px 24px; }
.mini small { display: block; font-size: 13px; font-weight: 600; color: var(--ws-slate); }
.mini strong { display: block; margin-top: 10px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 800; }
.mini em { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--ws-slate); }
.mini.ok { background: var(--ws-black); border-color: var(--ws-black); color: #fff; }
.mini.ok small, .mini.ok em { color: #c9cac9; }
.aviso { margin-top: 14px; border-radius: 20px; padding: 16px 22px; font-weight: 600; background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.ficha-acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ficha-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.ficha-wide { grid-column: 1 / -1; }
.ficha-card h3 { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ws-slate); margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; }
.kv .k, .kv .v { padding: 11px 0; border-bottom: 1px solid rgba(25, 26, 25, .07); font-size: 14.5px; }
.kv .k { color: var(--ws-slate); font-weight: 600; padding-right: 14px; }
.kv .v { word-break: break-word; font-weight: 500; }
.kv .v a { color: var(--ws-orange-dark); font-weight: 600; }
.kv > :nth-last-child(-n+2) { border-bottom: 0; }
.tl { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--ws-light); }
.tl li { position: relative; display: flex; flex-direction: column; padding: 8px 0 14px; }
.tl li::before { content: ""; position: absolute; left: -26px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--ws-gray); }
.tl li.feito::before { background: var(--ws-orange); border-color: var(--ws-orange); box-shadow: 0 0 0 5px rgba(254, 80, 1, .18); }
.tl li b { font-size: 15px; }
.outros { display: grid; gap: 8px; }
.outro { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; text-align: left; border: 1px solid var(--ws-light); background: rgba(255, 255, 255, .7); border-radius: 18px; padding: 12px 16px; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.outro:hover { border-color: var(--ws-orange); background: #fff; }
.outro span { color: var(--ws-slate); font-size: 14px; flex: 1; }
@media (max-width: 900px) { .ficha-resumo, .ficha-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv .k { border-bottom: 0; padding-bottom: 0; } }
