/* Portal de Ativação COMPOZISOM — preto e branco, títulos em Bebas Neue (como o tema da loja),
   corpo em fonte do sistema. Sem dependências. */
:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #6e6e73;
  --line: #e5e5e5;
  --card: #ffffff;
  --black: #121212;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.top { background: var(--black); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(16px, 4vw, 40px); height: 60px; position: sticky; top: 0; z-index: 10; }
.brand { font-family: var(--display); font-size: 28px; letter-spacing: .08em; text-decoration: none; color: #fff; }
.nav { display: flex; gap: 4px; }
.nav-link { color: #c9c9c9; text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav-link.active, .nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
body.embed .top, body.embed .foot { display: none; }

.wrap { max-width: 720px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) 16px 48px; }
.tab { display: none; }
.tab.active { display: block; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 8vw, 64px); letter-spacing: .03em; line-height: 1; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 28px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 4vw, 28px); margin-bottom: 20px; }
.form .field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
input, textarea { width: 100%; font: inherit; color: var(--fg); background: #fff; border: 1px solid #cfcfcf; border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { font-family: var(--mono); font-size: 14px; resize: vertical; text-transform: uppercase; }
textarea::placeholder { text-transform: none; font-family: var(--font); }
input:focus, textarea:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 980px; border: 1px solid var(--black); background: #fff; color: var(--black); cursor: pointer; text-decoration: none; transition: transform .08s, opacity .15s; }
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--black); color: #fff; }
.btn.link { border: 0; background: none; padding: 8px 0; color: var(--muted); font-weight: 500; text-decoration: underline; }
.btn[disabled] { opacity: .5; cursor: progress; }
#f-submit { width: 100%; padding: 14px; font-size: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }

.error { background: #fff2f0; color: #a4190c; border: 1px solid #ffd3cc; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: .92em; word-break: break-all; }

.result-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.result h2 { margin: 0; font-family: var(--display); font-size: 34px; letter-spacing: .03em; font-weight: 400; line-height: 1; }
.result h3 { font-size: 15px; margin: 22px 0 4px; }
.check { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.code-box { background: var(--black); color: #fff; border-radius: 12px; padding: 14px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.5; word-break: break-all; user-select: all; max-height: 180px; overflow: auto; }
.paths { padding-left: 18px; margin: 6px 0 12px; font-size: 13px; }
.paths li { margin-bottom: 4px; }

.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl { text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: box-shadow .15s; }
.dl:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.dl.unavailable { opacity: .55; pointer-events: none; }
.dl.unavailable .dl-btn { background: #999; border-color: #999; }
.dl-os { font-family: var(--display); font-size: 36px; letter-spacing: .03em; line-height: 1; }
.dl-sub { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.dl-btn { margin-top: auto; }
.dl-soon { font-size: 12px; color: var(--muted); }
.bullets { padding-left: 18px; margin: 8px 0 12px; }
.bullets li { margin-bottom: 6px; }
.inline-link { text-decoration: underline; }

.faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq details:last-of-type { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; margin-left: 12px; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 8px 0 2px; color: #333; font-size: 15px; }
.products { width: 100%; border-collapse: collapse; font-size: 14px; }
.products th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.products td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.products tr:last-child td { border-bottom: 0; }

.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 16px 36px; }
.foot a { color: var(--muted); }

@media (max-width: 600px) {
  .downloads { grid-template-columns: 1fr; }
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .brand { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.step { font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.step.active { background: var(--black); color: #fff; border-color: var(--black); }
.step.done { color: var(--black); }
.sent-note { margin: 0 0 14px; font-size: 14px; color: #333; }
.code-input { font-family: var(--mono); font-size: 24px; letter-spacing: .3em; text-align: center; max-width: 240px; }
