/* BlackShield — site (tema preto e vermelho, estilo "glow" escuro) */
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
    --bg: #060607;
    --bg2: #0b0b0d;
    --card: #0f0f12;
    --card2: #141418;
    --line: #23232a;
    --line2: #2e2e36;
    --fg: #f2f2f4;
    --muted: #a1a1aa;
    --dim: #6b6b75;
    --red: #e3141d;
    --red2: #ff3a42;
    --red-dark: #8f0c12;
    --red-soft: rgba(227, 20, 29, .14);
    --glow: 0 0 0 1px rgba(227, 20, 29, .35), 0 10px 40px rgba(227, 20, 29, .18);
    --green: #22c55e;
    --yellow: #eab308;
    --blue: #3b82f6;
    --radius: 14px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Archivo', 'Inter', system-ui, sans-serif;
    --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .88em; background: var(--card2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: #ffd0d2; }
:focus-visible { outline: 2px solid var(--red2); outline-offset: 2px; border-radius: 6px; }
.icon { flex: none; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }

.container { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 32px); }

/* fundo: grelha discreta + brilho vermelho */
.bg-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 10px; border: 1px solid transparent; font: 600 .95rem var(--font); cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; color: #fff; }
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--red2), var(--red) 55%, var(--red-dark)); box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,58,66,.6), 0 12px 46px rgba(227,20,29,.35); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--red); }
.btn-dark { background: var(--card2); border-color: var(--line2); color: var(--fg); }
.btn-dark:hover { border-color: #4a4a55; }
.btn-white { background: #fff; color: #0a0a0c; }
.btn-white:hover { color: #0a0a0c; box-shadow: 0 10px 34px rgba(255,255,255,.18); }
.btn-discord { background: #5865f2; }
.btn-sm { padding: .5em .9em; font-size: .85rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* barra de navegação flutuante */
.nav-wrap { position: sticky; top: 12px; z-index: 50; padding: 0 16px; margin-top: 12px; }
.nav { width: min(980px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 20px; padding: 8px 10px 8px 16px; border-radius: 16px;
    background: rgba(12, 12, 15, .78); border: 1px solid var(--line2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.nav-brand { display: flex; align-items: center; gap: 9px; color: #fff; font: 800 1.05rem var(--display); letter-spacing: -.01em; }
.nav-brand:hover { color: #fff; }
.nav-brand img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(227,20,29,.5)); }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { color: var(--muted); font-size: .9rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-lang { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.nav-lang:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-login { color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line2); border-radius: 10px; background: var(--card2); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }

/* avisos */
.flash-zone { padding-top: 12px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; margin: 0 0 12px; font-size: .92rem; border: 1px solid; }
.flash-ok { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.35); color: #bbf7d0; }
.flash-err { background: rgba(227,20,29,.08); border-color: rgba(227,20,29,.4); color: #fecaca; }

/* hero */
.hero { padding: 72px 0 40px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 620px; pointer-events: none;
    background: radial-gradient(600px 300px at 50% 40%, rgba(227,20,29,.16), transparent 70%); }
.hero-inner { text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: #ffc6c9; padding: 6px 12px; border-radius: 999px; background: var(--red-soft); border: 1px solid rgba(227,20,29,.35); margin-bottom: 22px; }
.hero-title { font: 800 clamp(2rem, 5.2vw, 3.6rem)/1.08 var(--display); max-width: 900px; margin-bottom: 18px; }
.grad { background: linear-gradient(90deg, #ff5a60, var(--red) 55%, #ff8a8f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 640px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 8px 0 14px; }
.hero-note { color: var(--dim); font-size: .85rem; }

.showcase { margin-top: 44px; position: relative; }
.showcase::before { content: ""; position: absolute; inset: 8% 6% -6%; background: radial-gradient(closest-side, rgba(227,20,29,.38), transparent); filter: blur(40px); z-index: -1; }
.showcase-frame { border-radius: 18px; padding: 8px; background: linear-gradient(180deg, rgba(255,58,66,.6), rgba(143,12,18,.35) 45%, rgba(20,20,24,.9)); box-shadow: 0 0 60px rgba(227,20,29,.35), 0 30px 80px rgba(0,0,0,.6); }
.showcase-frame img { border-radius: 12px; width: 100%; background: #0a0a0c; }

/* secções */
.section { padding: 90px 0; position: relative; }
.section-tight { padding: 36px 0 80px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font: 800 clamp(1.7rem, 3.4vw, 2.5rem)/1.12 var(--display); }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffb3b7; background: var(--red-soft); border: 1px solid rgba(227,20,29,.35); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.page-hero { padding: 56px 0 8px; text-align: center; }
.page-hero h1 { font: 800 clamp(1.9rem, 4vw, 2.8rem)/1.1 var(--display); }
.page-hero p { color: var(--muted); max-width: 680px; margin-inline: auto; }

/* funcionalidades */
#features { background: radial-gradient(800px 380px at 50% 60%, rgba(227,20,29,.10), transparent 70%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20,20,24,.92), rgba(12,12,15,.92)); border: 1px solid rgba(227,20,29,.28); transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature-card:hover { border-color: rgba(255,58,66,.7); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(227,20,29,.14); }
.feature-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.feature-head h3 { font-size: 1.02rem; margin: 0; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.feature-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.fi-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.fi-red { background: linear-gradient(135deg, #ff3a42, #9f1219); }
.fi-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.fi-orange { background: linear-gradient(135deg, #f97316, #c2410c); }
.fi-cyan { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.fi-purple { background: linear-gradient(135deg, #a855f7, #6d28d9); }

/* galeria do painel */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }

/* preços */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; gap: 18px; align-items: start; }
.price-card { position: relative; padding: 26px; border-radius: 16px; background: linear-gradient(180deg, #111114, #0b0b0d); border: 1px solid var(--line); }
.price-card.featured { border-color: rgba(255,255,255,.85); background: radial-gradient(400px 220px at 50% 0%, rgba(227,20,29,.22), transparent 70%), linear-gradient(180deg, #131317, #0c0c0f); box-shadow: 0 0 50px rgba(227,20,29,.22); }
.price-card.soon { opacity: .75; }
.price-pop { position: absolute; top: 16px; right: 16px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--red2), var(--red)); color: #fff; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.price-desc { color: var(--muted); font-size: .86rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 16px; }
.price b { font: 800 2.2rem var(--display); }
.price span { color: var(--muted); font-size: .9rem; }
.price-form { display: grid; gap: 12px; margin-bottom: 16px; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; color: #d6d6dc; }
.price-list li { display: flex; gap: 9px; align-items: flex-start; }
.price-list .icon { color: var(--red2); margin-top: 3px; }
.pricing-note { text-align: center; color: var(--dim); font-size: .85rem; margin-top: 26px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: .82rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--red); flex: none; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 4px; font-weight: 600; font-size: .96rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--red2); }
.faq-item p { color: var(--muted); padding: 0 4px 18px; margin: 0; font-size: .93rem; }
.faq-more { text-align: center; color: var(--muted); margin-top: 28px; font-size: .92rem; }

/* faixa final */
.join { padding: 90px 0 100px; text-align: center; background: radial-gradient(700px 320px at 50% 50%, rgba(227,20,29,.12), transparent 70%); border-top: 1px solid var(--line); }
.join-title { font: 900 clamp(2rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; display: flex; flex-direction: column; align-items: center; }
.join-title .dim { background: linear-gradient(180deg, #a1a1aa, #52525b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.join-stats { display: flex; justify-content: center; gap: clamp(28px, 7vw, 80px); margin: 34px 0 30px; flex-wrap: wrap; }
.join-stats div { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; max-width: 200px; }
.join-stats b { font: 700 2.4rem var(--mono); }
.join-stats .plus { font: 700 1.6rem var(--mono); color: var(--red2); margin-left: 2px; }
.join-stats small { flex-basis: 100%; color: var(--muted); font-size: .72rem; letter-spacing: .12em; margin-top: 4px; }
.join-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* rodapé */
.footer { border-top: 1px solid var(--line); padding: 50px 0 26px; position: relative; z-index: 1; background: rgba(6,6,7,.9); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.footer-about p { color: var(--muted); font-size: .88rem; margin: 14px 0; max-width: 290px; }
.footer h4 { font-size: .9rem; margin-bottom: 14px; }
.footer-grid > div:not(.footer-about) a { display: block; color: var(--muted); font-size: .88rem; padding: 3px 0; }
.footer-grid > div:not(.footer-about) a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-bottom: 14px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line2); color: var(--muted); }
.footer-social a:hover { color: #fff; border-color: var(--red); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; color: #86efac; border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.07); padding: 4px 10px; border-radius: 999px; }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }
.heart { color: var(--red2); }

/* deteções (/features) */
.det-tools { display: grid; gap: 14px; margin-bottom: 22px; }
.input { width: 100%; background: var(--card); border: 1px solid var(--line2); color: var(--fg); border-radius: 10px; padding: 11px 13px; font: inherit; font-size: .94rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,20,29,.18); }
textarea.input { resize: vertical; min-height: 110px; }
select.input { cursor: pointer; }
.input-sm { padding: 6px 8px; font-size: .82rem; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--muted); font: 500 .84rem var(--font); cursor: pointer; }
.chip small { color: var(--dim); }
.chip:hover { color: #fff; }
.chip.on { background: var(--red-soft); border-color: rgba(227,20,29,.6); color: #fff; }
.det-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.det-card { padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.det-card:hover { border-color: rgba(227,20,29,.5); }
.det-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.det-card h3 { font-size: .95rem; margin-bottom: 6px; }
.det-card p { color: var(--muted); font-size: .85rem; margin-bottom: 10px; flex: 1; }
.det-group { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.side { font: 700 .68rem var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid; flex: none; }
.side-S { color: #86efac; border-color: rgba(34,197,94,.4); }
.side-C { color: #93c5fd; border-color: rgba(59,130,246,.4); }
.side-SC { color: #fcd34d; border-color: rgba(234,179,8,.4); }
.det-empty { text-align: center; color: var(--muted); padding: 30px; }

/* parceiros */
.partner-hero { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: center; padding: 34px; border-radius: 18px; background: linear-gradient(180deg, #111114, #0b0b0d); border: 1px solid rgba(227,20,29,.3); box-shadow: 0 0 60px rgba(227,20,29,.10); }
.partner-logo { display: grid; place-items: center; padding: 24px; border-radius: 14px; background: radial-gradient(circle, rgba(227,20,29,.14), transparent 70%); }
.partner-body h2 { font: 800 1.6rem var(--display); }
.partner-body p { color: var(--muted); }
.partner-body .price-list { margin: 18px 0 24px; }

/* conteúdo em texto (docs e legal) */
.prose { color: #d6d6dc; }
.prose h1 { font: 800 2rem var(--display); color: #fff; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; color: #fff; padding-top: .3em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; color: #fff; }
.prose .lead { font-size: 1.08rem; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .9rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line2); padding: 8px 10px; text-align: left; }
.prose th { background: var(--card2); }
.prose pre { background: #0a0a0c; border: 1px solid var(--line2); border-radius: 10px; padding: 14px; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: #e5e5ea; }
.prose blockquote { border-left: 3px solid var(--red); margin: 1em 0; padding: .4em 1em; color: var(--muted); background: var(--card); border-radius: 0 8px 8px 0; }
.prose kbd, .prose .kbd { font-family: var(--mono); font-size: .8em; padding: 2px 6px; border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; background: var(--card2); }

/* docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr) 200px; gap: 34px; align-items: start; }
.docs-side, .docs-toc { position: sticky; top: 96px; }
.docs-side h4, .docs-toc h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.docs-side nav, .docs-toc { display: flex; flex-direction: column; gap: 2px; }
.docs-side a, .docs-toc a { color: var(--muted); font-size: .88rem; padding: 6px 10px; border-radius: 8px; }
.docs-side a.on { background: var(--red-soft); color: #fff; }
.docs-side a:hover, .docs-toc a:hover { color: #fff; }
.docs-toc .lvl-3 { padding-left: 22px; font-size: .82rem; }
.docs-help { margin-top: 40px; font-size: .9rem; }
.docs-body, .docs-side { min-width: 0; }
.prose code { overflow-wrap: anywhere; }
.doc-code { position: relative; }
.doc-code .doc-copy { position: absolute; top: 8px; right: 8px; font-size: .75rem; background: var(--card2); color: var(--muted); border: 1px solid var(--line2); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.doc-callout { border: 1px solid var(--line2); border-left-width: 3px; border-radius: 10px; padding: 12px 14px; margin: 1em 0; background: var(--card); }
.doc-callout p:last-child { margin-bottom: 0; }
.doc-callout-note { border-left-color: var(--blue); } .doc-callout-tip { border-left-color: var(--green); }
.doc-callout-warning { border-left-color: var(--yellow); } .doc-callout-danger { border-left-color: var(--red); }
.doc-callout-title { font-weight: 700; margin: 0 0 .3em; color: #fff; }
.doc-code-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); background: var(--card2); border: 1px solid var(--line2); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 6px 12px; }
.doc-code-head + pre { border-radius: 0 0 10px 10px; margin-top: 0; }
.doc-code-head .doc-copy { position: static; }
.doc-anchor { color: var(--dim); margin-left: .3em; opacity: 0; }
.doc-h:hover .doc-anchor { opacity: 1; }

/* autenticação */
.page-auth { justify-content: center; }
.auth-wrap { width: min(440px, 100% - 32px); margin: 0 auto; padding: 40px 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; position: relative; z-index: 1; }
.auth-logo img { width: 280px; filter: drop-shadow(0 0 22px rgba(227,20,29,.3)); }
.auth-card { width: 100%; padding: 28px; border-radius: 16px; background: rgba(15,15,18,.92); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; margin-top: 16px; color: var(--muted); }
.auth-back { color: var(--dim); font-size: .85rem; }
.form { display: grid; gap: 14px; margin-top: 16px; }
.form label > span { display: block; font-size: .82rem; font-weight: 600; color: #d6d6dc; margin-bottom: 6px; }
.form label small { display: block; margin-top: 5px; font-size: .78rem; }
.form-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }

/* painel */
.page-dash { background: var(--bg); }
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.dash-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 14px; background: #09090b; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.dash-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.dash-user div:last-child { min-width: 0; }
.dash-user b { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user small { display: block; color: var(--dim); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--red2), var(--red-dark)); flex: none; }
.dash-nav { display: flex; flex-direction: column; gap: 3px; }
.dash-nav a, .dash-logout button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font: 500 .9rem var(--font); background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.dash-nav a:hover, .dash-logout button:hover { color: #fff; background: rgba(255,255,255,.04); }
.dash-nav a.on { color: #fff; background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(227,20,29,.4); }
.dash-logout { margin-top: auto; }
.dash-main { padding: 22px clamp(16px, 3vw, 38px) 60px; min-width: 0; }
.dash-top { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 8px; }
.dash-toggle { display: none; margin-right: auto; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h1 { font: 800 1.6rem var(--display); margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.card-title { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; margin-bottom: 14px; }
.card-title .icon { color: var(--red2); }
.empty { text-align: center; padding: 44px 22px; }
.empty-icon { width: 60px; height: 60px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--red-soft); color: var(--red2); margin-bottom: 14px; }
.empty-icon.ok { background: rgba(34,197,94,.12); color: var(--green); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.license { border-color: rgba(227,20,29,.3); background: radial-gradient(500px 200px at 0% 0%, rgba(227,20,29,.08), transparent 70%), var(--card); }
.license-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.license-top h2 { font-size: 1.3rem; margin: 2px 0 0; }
.key-box { margin: 16px 0; padding: 14px; border-radius: 12px; background: #0a0a0c; border: 1px dashed var(--line2); }
.key-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.key { font: 700 1.05rem var(--mono); letter-spacing: .06em; background: none; border: 0; color: #fff; padding: 0; margin-right: auto; word-break: break-all; }
.license-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.license-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.license-grid b { font-size: .95rem; overflow-wrap: anywhere; }
.license-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.license-actions:empty { display: none; }
.state { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.state-active { color: #86efac; border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.08); }
.state-cancelled { color: #fcd34d; border-color: rgba(234,179,8,.4); background: rgba(234,179,8,.08); }
.state-expired, .state-revoked { color: #fca5a5; border-color: rgba(227,20,29,.4); background: rgba(227,20,29,.08); }
.steps { padding-left: 1.2em; color: #d6d6dc; display: grid; gap: 8px; margin: 0 0 16px; font-size: .92rem; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: .92rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.inline-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; color: var(--dim); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line2); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list { display: flex; flex-direction: column; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--fg); flex-wrap: wrap; }
.list-row:last-child { border-bottom: 0; }
a.list-row:hover { background: rgba(255,255,255,.02); color: #fff; }
.list-meta { display: flex; align-items: center; gap: 10px; }
.tstate { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); }
.t-open { color: #fcd34d; border-color: rgba(234,179,8,.4); }
.t-answered { color: #86efac; border-color: rgba(34,197,94,.4); }
.t-closed { color: var(--dim); }
.thread { display: grid; gap: 12px; margin-bottom: 16px; }
.msg { padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.msg-staff { border-color: rgba(227,20,29,.4); background: radial-gradient(400px 120px at 0% 0%, rgba(227,20,29,.08), transparent 70%), var(--card); }
.msg-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: .9rem; }
.msg-body { color: #d6d6dc; font-size: .93rem; overflow-wrap: anywhere; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.row-gap.center { justify-content: center; }
.close-form { margin-top: 12px; }
.checkout-card { padding: 44px 26px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 12px; padding: 14px 16px; }
.stat small { color: var(--muted); font-size: .78rem; }
.stat b { display: block; font: 800 1.5rem var(--display); margin-top: 4px; }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .88rem; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist .ok .icon { color: var(--green); } .checklist .bad .icon { color: var(--red2); }
.mini-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mini-form .input-sm[type=number] { width: 64px; }
.error-page { padding: 110px 0; }
.error-code { font: 900 6rem/1 var(--display); background: linear-gradient(180deg, var(--red2), var(--red-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }

/* entrar ao fazer scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .btn, .feature-card, .gallery-item img { transition: none; }
}

/* responsivo */
@media (max-width: 1000px) {
    .docs { grid-template-columns: 200px minmax(0, 1fr); }
    .docs-toc { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 14px; background: rgba(12,12,15,.97); border: 1px solid var(--line2); display: none; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 10px 12px; }
    .nav { position: relative; }
    .nav-toggle { display: flex; }
    .nav-login { display: none; }
    .feature-grid, .det-grid, .gallery { grid-template-columns: 1fr 1fr; }
    .partner-hero { grid-template-columns: 1fr; text-align: center; }
    .partner-body .price-list { text-align: left; }
    .grid-2 { grid-template-columns: 1fr; }
    .docs { grid-template-columns: minmax(0, 1fr); }
    .docs-side { position: static; }
    .docs-side nav { flex-direction: row; flex-wrap: wrap; }
    .dash { grid-template-columns: 1fr; }
    .dash-side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
    .dash-side.open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.7); }
    .dash-toggle { display: flex; }
    .license-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .feature-grid, .det-grid, .gallery { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding-top: 46px; }
    .section { padding: 64px 0; }
    .nav { gap: 10px; }
    .nav-actions .btn { padding: .5em .75em; }
    .key-row .key { flex-basis: 100%; }
}

/* demo */
.demo-frame { padding: 6px; }
.demo-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; border: 0; border-radius: 10px; background: #050506; }
.demo-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 18px 0; }
.page-hero .badge-pill { margin-bottom: 14px; }
@media (max-width: 860px) { .demo-frame iframe { aspect-ratio: auto; height: 70vh; } }

/* preço de tabela riscado (promoção do Tebex) e nota do IVA */
.price s { color: var(--dim); font: 600 1.2rem var(--display); margin-right: 4px; }
.price-vat { margin: -10px 0 14px; font-size: .78rem; color: var(--muted); }
.price-off { color: #86efac; font-weight: 700; }
