/* ==========================================================================
   X SYSTEM — identidade visual
   Grafite + vermelho #FF1F35 (as mesmas cores do app), títulos em itálico,
   cortes diagonais e detalhes de "HUD".
   ========================================================================== */

:root {
  --bg: #060609;
  --bg-2: #0b0b10;
  --panel: #111117;
  --panel-2: #17171f;
  --line: #23232d;
  --line-2: #30303c;
  --text: #f2f2f6;
  --muted: #a0a0ae;
  --dim: #6f6f7d;
  --red: #ff1f35;
  --red-hi: #ff4d5e;
  --red-deep: #9e0016;
  --red-glow: rgba(255, 31, 53, .35);
  --cyan: #4fc3f7;
  --green: #5ef0a0;
  --amber: #ffc93c;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #ff5468;

  --font-display: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --cut: 12px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.red { color: var(--red); }
.mono { font-family: "Cascadia Code", Consolas, monospace; }
.center { text-align: center; }
.hide-sm { }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-style: italic; font-weight: 700; }
h2 { font-style: italic; font-weight: 700; font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-weight: 700; font-size: 21px; }
p { margin: 0 0 1em; }

/* "// RÓTULO" acima dos títulos */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-hi); margin-bottom: 18px;
}
.eyebrow::before { content: "//"; color: var(--red); font-weight: 700; letter-spacing: 0; }

/* ---------------------------------------------------------------- Botões */
.btn {
  --c: var(--panel-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--c);
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .15s ease, background .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-red { --c: var(--red); filter: drop-shadow(0 8px 24px var(--red-glow)); }
.btn-red:hover { --c: var(--red-hi); }
.btn-ghost { --c: #1d1d27; }
.btn-ghost:hover { --c: #262633; }
.btn-sm { padding: 10px 18px; font-size: 13px; --cut: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; }
.link { color: var(--muted); text-decoration: none; font-weight: 500; }
.link:hover { color: #fff; }
.link-red { color: var(--red-hi); text-decoration: none; font-weight: 600; }
.link-red:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 6, 9, .78); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 0 10px var(--red-glow)); }
.brand span { font: italic 700 21px/1 var(--font-display); letter-spacing: .06em; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: skewX(-20deg); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- Mensagens */
.flashes { position: fixed; top: 84px; right: 20px; z-index: 60; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 40px)); }
.flash {
  background: var(--panel-2); border: 1px solid var(--line-2); border-left: 4px solid var(--cyan);
  padding: 13px 40px 13px 16px; border-radius: 10px; font-size: 14.5px; position: relative;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); animation: flash-in .3s ease;
}
.flash-success { border-left-color: var(--ok); }
.flash-error { border-left-color: var(--bad); }
.flash-info { border-left-color: var(--cyan); }
.flash button { position: absolute; top: 8px; right: 8px; background: none; border: 0; color: var(--dim); font-size: 20px; cursor: pointer; line-height: 1; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(circle, rgba(255, 31, 53, .22), transparent 62%);
}
.hero-grid > *, .split > *, .checkout > *, .account > *, .themes > *, .features > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.8vw, 82px); text-transform: uppercase; line-height: .95; letter-spacing: -.02em; margin-bottom: 26px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.hero h1 em { font-style: italic; color: var(--red); text-shadow: 0 0 40px var(--red-glow); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero .lead b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats b { display: block; font: italic 700 34px/1 var(--font-display); color: #fff; }
.hero-stats span { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; align-items: center; }
.hero-x { position: absolute; width: 92%; max-width: 470px; opacity: .9; filter: drop-shadow(0 0 60px rgba(255, 31, 53, .55)); transform: rotate(-4deg); }
.hero-screen {
  position: relative; z-index: 2; width: min(330px, 78%);
  border-radius: 16px; padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1100px) rotateY(-14deg) rotateX(4deg);
  animation: float 7s ease-in-out infinite;
}
.hero-screen img { border-radius: 10px; width: 100%; }
@keyframes float { 50% { transform: perspective(1100px) rotateY(-14deg) rotateX(4deg) translateY(-12px); } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: baseline; gap: 8px;
  background: rgba(14, 14, 20, .88); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-left: 3px solid var(--c, var(--red));
  padding: 10px 14px; border-radius: 8px; box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  font: 600 12px/1 var(--font-display); letter-spacing: .12em; color: var(--muted); text-transform: uppercase;
}
.chip b { font: italic 700 24px/1 var(--font-display); color: #fff; letter-spacing: 0; }
.chip small { font-size: 11px; color: var(--dim); }
.chip-1 { --c: var(--green); top: 10%; left: 0; }
.chip-2 { --c: var(--amber); bottom: 22%; left: -2%; }
.chip-3 { --c: var(--red); top: 26%; right: -2%; }
.chip-4 { --c: var(--cyan); bottom: 8%; right: 4%; }

/* ---------------------------------------------------------------- Faixa que corre */
.ticker {
  position: relative; z-index: 3; background: var(--red); color: #fff; overflow: hidden;
  transform: skewY(-2deg); margin: -40px 0 0; box-shadow: 0 20px 60px var(--red-glow);
}
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; padding: 15px 0; }
.ticker span { font: italic 700 18px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; white-space: nowrap; }
.ticker span::after { content: "✕"; margin-left: 44px; font-style: normal; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Seções */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* Produto em destaque */
.product-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.product-head img { width: 150px; }
.product-tag { display: inline-block; font: 600 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 31, 53, .12); color: var(--red-hi); padding: 7px 12px; border: 1px solid rgba(255, 31, 53, .35); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--bg); padding: 30px 28px 32px; position: relative; transition: background .2s; }
.section-alt .feature { background: var(--bg-2); }
.feature:hover { background: var(--panel); }
.feature:hover .feature-icon { color: #fff; background: var(--red); }
.feature-icon {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 20px; color: var(--red-hi);
  background: rgba(255, 31, 53, .1); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: .2s;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature-fill { grid-column: span var(--span, 1); display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(120deg, rgba(255, 31, 53, .14), transparent 70%), var(--bg) !important; }
.feature-num { position: absolute; top: 26px; right: 26px; font: italic 700 13px/1 var(--font-display); color: var(--dim); }

/* Imagens reais do app em "moldura" */
.shot {
  position: relative; border-radius: 16px; padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .07);
}
.shot img { border-radius: 9px; width: 100%; }
.shot-label { position: absolute; top: -12px; left: 22px; background: var(--red); color: #fff;
  font: 700 11px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.themes .shot:nth-child(2) { margin-top: 60px; }

.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; background: var(--red);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check-list b { color: var(--text); font-weight: 600; }

/* Os 4 pilares */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; padding: 34px 26px 30px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--red); transform: skewX(-30deg); transform-origin: left; }
.pillar .big { font: italic 700 64px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--line-2); position: absolute; right: 16px; bottom: 6px; }
.pillar h3 { text-transform: uppercase; letter-spacing: .06em; font-style: italic; font-size: 22px; }
.pillar p { color: var(--muted); font-size: 15px; position: relative; }

/* ---------------------------------------------------------------- Planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 24px; justify-content: center; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 34px 30px 30px; display: flex; flex-direction: column; }
.plan.hl { border-color: rgba(255, 31, 53, .55); box-shadow: 0 0 0 1px rgba(255, 31, 53, .25), 0 30px 80px rgba(255, 31, 53, .14); }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--red); color: #fff; font: 700 11px/1 var(--font-display);
  letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; }
.plan-product { font: 600 12px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.plan h3 { font-size: 24px; font-style: italic; }
.plan .desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.price { margin: 18px 0 24px; }
.price .was { color: var(--dim); text-decoration: line-through; font-size: 15px; display: block; }
.price .now { font: italic 700 46px/1 var(--font-display); }
.price .now small { font-size: 20px; margin-right: 4px; font-style: normal; color: var(--muted); }
.price .promo { display: inline-block; margin-top: 8px; color: var(--green); font-size: 13px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--muted); padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 4px; background: var(--red); transform: skewX(-30deg); }

/* ---------------------------------------------------------------- Perguntas */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--font-display); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Chamada final */
.cta-final { position: relative; overflow: hidden; padding: 110px 0; text-align: center; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255, 31, 53, .35), transparent 70%); }
.cta-final img { width: 90px; margin: 0 auto 26px; filter: drop-shadow(0 0 30px var(--red-glow)); }
.cta-final h2 { font-size: clamp(36px, 5.5vw, 72px); text-transform: uppercase; }
.cta-final p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 36px; }

/* ---------------------------------------------------------------- Rodapé */
.footer { border-top: 1px solid var(--line); background: #040406; padding: 60px 0 34px; color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { font: 600 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; }
.footer a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer a.brand { display: flex; margin-bottom: 16px; color: #fff; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

/* ---------------------------------------------------------------- Página de produto */
.page-hero { padding: 70px 0 60px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(255, 31, 53, .18), transparent 62%); }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); }
.prose { color: var(--muted); font-size: 17px; }
.prose h2, .prose h3 { color: var(--text); font-size: 28px; margin-top: 1.6em; }
.prose h4 { color: var(--text); font-size: 20px; margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose a { color: var(--red-hi); }
.prose code { background: var(--panel-2); padding: 2px 6px; border-radius: 4px; color: var(--red-hi); }
.req { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req li { background: var(--panel); border: 1px solid var(--line); padding: 14px 18px; font-size: 15px; color: var(--muted); }
.changelog { display: grid; gap: 14px; }
.changelog article { background: var(--panel); border: 1px solid var(--line); padding: 22px 26px; }
.changelog h3 { display: flex; gap: 12px; align-items: baseline; }
.changelog h3 small { color: var(--dim); font: 500 13px var(--font-body); }

/* ---------------------------------------------------------------- Formulários */
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel],
.field input[type=number], .field input[type=datetime-local], .field select, .field textarea {
  width: 100%; background: #0c0c11; color: var(--text); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 12px 14px; font: 15px var(--font-body); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 31, 53, .18); }
.field .hint { font-size: 13px; color: var(--dim); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; margin-bottom: 14px; }
.check input { margin-top: 4px; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.check a { color: var(--red-hi); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Login / cadastro */
.auth { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { position: relative; overflow: hidden; background: var(--bg-2); border-right: 1px solid var(--line); padding: 60px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%); }
.auth-side .x { position: absolute; right: -80px; bottom: -60px; width: 380px; opacity: .14; z-index: -1; transform: rotate(-8deg); }
.auth-side h2 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; }
.auth-side p { color: var(--muted); max-width: 420px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 50px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 36px; margin-bottom: 8px; }
.auth-card .sub { color: var(--muted); margin-bottom: 30px; }
.auth-foot { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- Área do cliente */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 44px 0 90px; align-items: start; }
.side-nav { position: sticky; top: 94px; display: grid; gap: 4px; }
.side-nav .who { padding: 0 14px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-nav .who b { display: block; font-size: 16px; }
.side-nav .who span { font-size: 13px; color: var(--dim); word-break: break-all; }
.side-nav a, .side-nav button {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; color: var(--muted); text-decoration: none;
  font: 500 15px var(--font-body); border: 0; background: none; width: 100%; text-align: left; cursor: pointer; border-radius: 8px;
}
.side-nav a:hover, .side-nav button:hover { background: var(--panel); color: #fff; }
.side-nav a.on { background: var(--panel-2); color: #fff; box-shadow: inset 3px 0 0 var(--red); }
.side-nav svg { width: 19px; height: 19px; flex-shrink: 0; }
.side-nav .count { margin-left: auto; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; }

.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.page-title h1 { font-size: clamp(28px, 3.2vw, 38px); margin: 0; }
.page-title p { margin: 6px 0 0; color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { font-size: 20px; margin: 0; font-style: normal; }
.card.alert { border-color: rgba(255, 31, 53, .55); background: linear-gradient(135deg, rgba(255, 31, 53, .1), var(--panel) 60%); }
.card.empty { text-align: center; padding: 50px 26px; color: var(--muted); }
.card.empty h3 { color: var(--text); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat span { display: block; font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.stat b { font: italic 700 30px/1 var(--font-display); }

.license { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center; }
.license + .license { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.license-logo { width: 64px; height: 64px; border-radius: 12px; background: #0b0b10; border: 1px solid var(--line); display: grid; place-items: center; padding: 8px; }
.license-logo img { max-height: 100%; object-fit: contain; }
.license h3 { margin: 0 0 6px; font-size: 18px; }
.key {
  display: inline-flex; align-items: center; gap: 10px; background: #0b0b10; border: 1px dashed var(--line-2);
  padding: 8px 12px; border-radius: 8px; font: 600 16px/1 "Cascadia Code", Consolas, monospace; letter-spacing: .06em; color: var(--red-hi);
}
.key button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; display: grid; }
.key button:hover { color: #fff; }
.key button svg { width: 17px; height: 17px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.meta b { color: var(--text); font-weight: 600; }

.pc { display: flex; gap: 16px; align-items: center; background: #0b0b10; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.pc svg { width: 34px; height: 34px; color: var(--red-hi); flex-shrink: 0; }
.pc b { display: block; }
.pc span { font-size: 14px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); margin-right: 6px; vertical-align: 1px; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.meter { height: 8px; background: #0b0b10; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-hi)); }

/* Tabelas */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font: 600 12px/1 var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .02); }
.table a { color: var(--text); }
.num { text-align: right; white-space: nowrap; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-ok { background: rgba(74, 222, 128, .13); color: var(--ok); }
.badge-warn { background: rgba(251, 191, 36, .13); color: var(--warn); }
.badge-bad { background: rgba(255, 84, 104, .13); color: var(--bad); }
.badge-muted { background: rgba(255, 255, 255, .07); color: var(--muted); }

.summary { display: grid; gap: 10px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; font-weight: 700; font-size: 18px; }
.summary .total span:last-child { font: italic 700 30px/1 var(--font-display); color: #fff; }
.discount { color: var(--green); }

.pix { background: #0b0b10; border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 20px; }
.pix code { font-size: 17px; color: var(--red-hi); word-break: break-all; }

.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 44px 0 90px; align-items: start; }
.inline-form { display: flex; gap: 10px; }
.inline-form .input { flex: 1; }

/* Página de erro */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.error-page .code { font: italic 700 clamp(100px, 18vw, 200px)/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--red); }

/* ---------------------------------------------------------------- Pagamento */
.pay-options { display: grid; gap: 10px; }
.pay-option, .pay-tab { cursor: pointer; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; background: #0b0b10; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 14.5px; transition: border-color .15s, background .15s; }
.pay-option b { color: #fff; font-size: 16px; margin-right: 8px; }
.pay-option input, .pay-tab input { accent-color: var(--red); width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; }
.pay-option:has(input:checked) { border-color: var(--red); background: linear-gradient(135deg, rgba(255, 31, 53, .1), #0b0b10 60%); }
.pay-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 20px; }
.pay-tab { position: relative; }
.pay-tab input { position: absolute; opacity: 0; pointer-events: none; }
.pay-tab span { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 10px; border: 1px solid var(--line-2); border-radius: 12px; background: #0b0b10;
  font: 700 14px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: .15s; }
.pay-tab span svg { width: 19px; height: 19px; }
.pay-tab input:checked + span { border-color: var(--red); color: #fff; background: rgba(255, 31, 53, .1); box-shadow: 0 0 0 1px var(--red) inset; }
.pay-tab input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.pay-panel[hidden], .pay-tab[hidden], [hidden] { display: none !important; }
.card-visual { position: relative; aspect-ratio: 1.586; max-width: 340px; margin: 0 0 22px; padding: 22px 24px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(255, 31, 53, .55), transparent 45%), linear-gradient(135deg, #1d1d26, #0b0b10);
  border: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.card-visual::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; background: url(/assets/img/x-marca.png) center / contain no-repeat; opacity: .12; transform: rotate(-12deg); }
.cv-brand { font: italic 700 16px/1 var(--font-display); letter-spacing: .1em; align-self: flex-end; }
.cv-number { font: 600 21px/1 "Cascadia Code", Consolas, monospace; letter-spacing: .08em; }
.cv-row { display: flex; justify-content: space-between; gap: 10px; font: 600 12px/1 var(--font-display); letter-spacing: .12em; color: var(--muted); }
.pix-box { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; }
.pix-box img { width: 220px; height: 220px; background: #fff; border-radius: 12px; padding: 10px; }
.pix-code { width: 100%; background: #0b0b10; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--text); padding: 12px; font: 13px/1.45 "Cascadia Code", Consolas, monospace; resize: none; height: 96px; }
.waiting { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.waiting::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }
@media (max-width: 640px) { .pix-box { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Aviso do SmartScreen */
.ss-line { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #0b0b10; border: 1px solid var(--line); }
.ss-line b { color: var(--text); font-weight: 600; }
.ss-notice { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.ss-notice h3 { font-size: 19px; margin-bottom: 6px; }
.ss-notice ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.ss-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ss-win { background: #0063b1; color: #fff; border-radius: 6px; padding: 14px 14px 12px; font: 12px/1.35 "Segoe UI", system-ui, sans-serif; min-height: 170px; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.ss-title { font-size: 15px; line-height: 1.2; margin-bottom: 8px; }
.ss-body { opacity: .92; flex: 1; }
.ss-link { text-decoration: underline; align-self: flex-start; margin: 8px 0; }
.ss-btns { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.ss-btn { background: #fff; color: #000; padding: 5px 9px; font-weight: 600; font-size: 11px; }
.ss-hit { position: relative; outline: 3px solid var(--red); outline-offset: 2px; border-radius: 2px; }
.ss-hit i { position: absolute; top: -13px; right: -13px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font: 700 12px/22px var(--font-body); text-align: center; font-style: normal; box-shadow: 0 0 0 3px var(--panel); }
.ss-link.ss-hit i { right: -30px; top: -4px; }
@media (max-width: 860px) { .ss-notice { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ss-shots { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Animação ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Telas menores */
@media (max-width: 1240px) {
  .hero-stats div { padding-right: 18px; margin-right: 18px; }
}
@media (max-width: 1080px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { min-height: 460px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature-fill { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(8, 8, 12, .98); border-bottom: 1px solid var(--line); padding: 10px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-actions .link { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .account { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .side-nav .who { display: none; }
  .side-nav a, .side-nav button { white-space: nowrap; width: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 90px; }
  .hero-stats div { padding-right: 18px; margin-right: 18px; }
  .hero-stats b { font-size: 26px; }
  .hero-visual { min-height: 400px; }
  .chip { padding: 8px 10px; }
  .chip b { font-size: 19px; }
  .features, .pillars, .themes, .row-2 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 44px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .themes .shot:nth-child(2) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .license { grid-template-columns: 48px 1fr; }
  .license > :last-child { grid-column: 1 / -1; }
  .license-logo { width: 48px; height: 48px; }
  .card { padding: 20px; }
  .nav-actions .btn { padding: 9px 12px; }
}

/* ---------------------------------------------------------------- Suporte (chamados) */
.thread { display: grid; gap: 14px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.msg.mine { justify-self: end; background: #1c1116; border-color: rgba(255, 31, 53, .35); border-bottom-right-radius: 4px; }
.msg.theirs { justify-self: start; border-bottom-left-radius: 4px; }
.msg.staff.theirs { border-left: 3px solid var(--red); }
.msg-head { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; margin-bottom: 6px; }
.msg-body { font-size: 14.5px; line-height: 1.6; white-space: normal; word-break: break-word; }
.msg-img { display: block; margin-top: 10px; }
.msg-img img { max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }
.msg-file { display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--muted); text-decoration: none; font-size: 13.5px; }
.msg-file:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.ticket-reply-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ticket-reply-bar input[type=file] { font-size: 13px; color: var(--muted); max-width: 100%; }
tr.unread td { background: rgba(255, 31, 53, .05); }
@media (max-width: 700px) { .msg { max-width: 100%; } }

/* ---------------------------------------------------------------- Home da loja: categorias e vitrine de produtos */
a.hero-visual { text-decoration: none; color: inherit; }
.hero-badge { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); white-space: nowrap;
  background: var(--red); color: #fff; font: 600 12px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .2s; }
.hero-badge b { font-weight: 700; }
a.hero-visual:hover .hero-badge { background: var(--red-hi); }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat { background: var(--bg); padding: 30px 26px 32px; transition: background .2s; }
.cat:hover { background: var(--panel); }
.cat:hover .feature-icon { color: #fff; background: var(--red); }
.cat h3 { font-size: 19px; margin-bottom: 8px; }
.cat p { color: var(--muted); font-size: 15px; margin: 0; }

.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 370px)); gap: 24px; justify-content: center; }
.prod-card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); padding: 30px 28px 26px;
  color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.prod-card:hover { border-color: rgba(255, 31, 53, .55); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(255, 31, 53, .12); }
.prod-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40%; background: var(--red); transform: skewX(-30deg); transform-origin: left; }
.prod-flag { position: absolute; top: -12px; right: 24px; background: var(--red); color: #fff; font: 700 11px/1 var(--font-display);
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.prod-logo { height: 96px; display: flex; align-items: center; margin-bottom: 20px; }
.prod-logo img { max-height: 96px; max-width: 180px; object-fit: contain; }
.prod-card h3 { font-size: 22px; margin-bottom: 8px; }
.prod-card p { color: var(--muted); font-size: 15px; margin: 0 0 22px; flex: 1; }
.prod-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.prod-foot small { display: block; color: var(--dim); font-size: 12px; }
.prod-foot b { font: italic 700 26px/1.1 var(--font-display); }
.prod-go { display: inline-flex; align-items: center; gap: 6px; color: var(--red-hi); font: 600 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.prod-go svg { width: 16px; height: 16px; transition: transform .2s; }
a.prod-card:hover .prod-go svg, .prod-go:hover svg { transform: translateX(4px); }
.prod-trial { margin-top: 12px; font-size: 13px; color: var(--green); }
.prod-soon { border-style: dashed; border-color: var(--line-2); background: transparent; }
.prod-soon::before { background: var(--line-2); }
.prod-soon .prod-logo img { opacity: .35; max-height: 70px; filter: grayscale(1); }

@media (max-width: 1080px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cats { grid-template-columns: 1fr; } .hero-badge { font-size: 11px; } }

/* ---------------------------------------------------------------- Novidades do produto: linha do tempo compacta */
.timeline { background: var(--panel); border: 1px solid var(--line); padding: 24px 26px 8px; }
.tl-item { position: relative; padding: 0 0 20px 26px; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: -6px; width: 2px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-item::after { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); border: 2px solid var(--panel); box-sizing: content-box; margin-left: -2px; }
.tl-now::after { background: var(--red); box-shadow: 0 0 0 3px rgba(255, 31, 53, .25); }
.tl-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tl-head b { font: 700 16px/1.2 var(--font-display); }
.tl-head span { color: var(--dim); font-size: 12.5px; }
.tl-head em { font: 600 10.5px/1 var(--font-display); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi);
  background: rgba(255, 31, 53, .12); border: 1px solid rgba(255, 31, 53, .35); padding: 4px 7px; }
.tl-item p { margin: 0; color: var(--muted); font-size: 14px; }
.tl-small .tl-head b { font-size: 14px; color: var(--muted); }
.tl-notes { color: var(--muted); font-size: 14px; line-height: 1.55; }
.tl-notes ul { margin: 0; padding-left: 18px; }
.tl-notes li { margin-bottom: 5px; }
.tl-notes p { margin: 0 0 6px; }

/* Idioma */
.lang-pick { position: relative; }
.lang-pick summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { color: var(--text); background: var(--panel-2); }
.lang-pick summary svg, .footer-langs svg { width: 17px; height: 17px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; z-index: 60; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--muted); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--panel-2); color: var(--text); }
.lang-menu a[aria-current] { color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--red); }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer-langs a { color: var(--muted); text-decoration: none; }
.footer-langs a:hover, .footer-langs a.on { color: var(--text); }
.footer-langs a.on { font-weight: 600; }

/* ---------------------------------------------------------------- Certificado do Verificador de PC usado (/c/{código}) */
.cert-page { padding: 40px 0 70px; }
.cert-genuine, .cert-alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 15px; }
.cert-genuine { background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .35); color: #b7f5cd; }
.cert-genuine svg { width: 20px; height: 20px; flex: 0 0 20px; stroke: var(--ok); }
.cert-alert { background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .4); color: #fde68a; }
.cert-limits { background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .35); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.cert-limits h2 { font-size: 18px; margin: 0 0 12px; color: #fde68a; }
.cert-limits ul { margin: 0; padding-left: 20px; }
.cert-limits li { margin: 0 0 8px; line-height: 1.55; font-size: 15px; color: var(--text, #e8e8ee); }
.cert-limits li:last-child { margin-bottom: 0; }
.cert-limits li b { color: #fff; }
.cert-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 22px; align-items: start; margin-bottom: 22px; }
.cert-paper { background: #f4f2ee; color: #17171c; border-radius: 18px; padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.cert-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cert-head b { display: block; font: 700 15px var(--font-display); letter-spacing: .08em; }
.cert-head span { font-size: 12px; color: #55555f; }
.cert-verdict { font: italic 700 40px/1.05 var(--font-display); margin: 22px 0 4px; }
.cert-verdict.v0 { color: #0e7a4e; } .cert-verdict.v1 { color: #9a6400; } .cert-verdict.v2 { color: #c42032; }
.cert-count { margin: 0 0 18px; color: #3a3a44; }
.cert-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; padding-top: 16px; border-top: 1px solid #d9d5cd; }
.cert-specs dt { font-size: 12px; color: #55555f; }
.cert-specs dd { margin: 2px 0 0; font-weight: 600; }
.cert-ad { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #d9d5cd; font-size: 13px; color: #3a3a44; }
.cert-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cert-items li { display: flex; gap: 12px; align-items: flex-start; }
.cert-items .mark { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #0b0b0f; background: #3a3a44; }
.cert-items .l0 .mark { background: var(--ok); } .cert-items .l1 .mark { background: var(--warn); } .cert-items .l2 .mark { background: var(--bad); }
.cert-items b { display: block; color: var(--text); }
.cert-items span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 860px) { .cert-grid { grid-template-columns: 1fr; } .cert-verdict { font-size: 32px; } }
/* ===== Certificado do PC usado (versão 2: cartão em 3D, peças em destaque) ===== */
.cert2 { padding: 34px 24px 60px; }
.cert2-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.cert2-top h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); margin: 6px 0 0; line-height: 1.05; }
.cert2-top h1 span { color: var(--red-hi); letter-spacing: 2px; }
.cert2-status { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.cert2-status svg { width: 18px; height: 18px; }
.cert2-status.ok { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .4); color: #b7f5cd; }
.cert2-status.ok svg { stroke: var(--ok); }
.cert2-status.bad { background: rgba(255, 84, 104, .1); border: 1px solid rgba(255, 84, 104, .45); color: #ffc2ca; }

.cert2-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 30px;
  padding: 34px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(circle at 18% 30%, rgba(255, 31, 53, .16), transparent 55%), linear-gradient(135deg, #15141b, #0a0a0e); }
.cert2-stage { perspective: 1100px; display: flex; justify-content: center; padding: 10px 0 18px; position: relative; }
.cert2-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -6px; height: 34px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 31, 53, .45), transparent 70%); filter: blur(4px); }
.cert2-card { --sx: 50%; --sy: 50%; position: relative; width: min(100%, 440px); aspect-ratio: 1.42; border-radius: 22px; padding: 22px 24px;
  transform-style: preserve-3d; overflow: hidden; color: #17171c;
  background: linear-gradient(150deg, #fbfaf7 0%, #efece5 55%, #e4dfd4 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 40px rgba(255, 31, 53, .18);
  display: flex; flex-direction: column; }
.cert2-card.v0 { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 46px rgba(74, 222, 128, .22); }
.cert2-card.v1 { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 46px rgba(251, 191, 36, .22); }
.cert2-card.v2 { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 0 46px rgba(255, 84, 104, .28); }
.cert2-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--sx) var(--sy), rgba(255, 255, 255, .9), transparent 45%),
              linear-gradient(115deg, transparent 30%, rgba(255, 180, 200, .35) 45%, rgba(170, 220, 255, .35) 52%, transparent 66%); }
.cert2-grid { position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(23, 23, 28, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 28, .06) 1px, transparent 1px);
  background-size: 22px 22px; }
.cert2-card > *:not(.cert2-shine):not(.cert2-grid) { position: relative; transform: translateZ(30px); }
.cert2-card-head { display: flex; align-items: center; gap: 12px; }
.cert2-card-head b { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: .5px; }
.cert2-card-head span { font-size: 12px; color: #55555f; }
.cert2-card-head code { margin-left: auto; font-family: Consolas, monospace; font-weight: 700; font-size: 14px; background: rgba(23, 23, 28, .08); padding: 4px 8px; border-radius: 8px; }
.cert2-card .cert2-seal { position: relative; width: 92px; height: 92px; margin: 14px 0 8px; transform: translateZ(50px); }
.cert2-seal svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cert2-seal .ring-bg { fill: none; stroke: rgba(23, 23, 28, .1); stroke-width: 9; }
.cert2-seal .ring { fill: none; stroke-width: 9; stroke-linecap: round; }
.cert2-seal span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 38px; }
.cert2-card.v0 .ring { stroke: #0e7a4e; } .cert2-card.v0 .cert2-seal span, .cert2-card.v0 .cert2-verdict { color: #0e7a4e; }
.cert2-card.v1 .ring { stroke: #9a6400; } .cert2-card.v1 .cert2-seal span, .cert2-card.v1 .cert2-verdict { color: #9a6400; }
.cert2-card.v2 .ring { stroke: #c42032; } .cert2-card.v2 .cert2-seal span, .cert2-card.v2 .cert2-verdict { color: #c42032; }
.cert2-verdict { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.05; }
.cert2-count { font-size: 14px; color: #3a3a44; margin-top: 4px; }
.cert2-card-foot { margin-top: auto; display: flex; gap: 26px; border-top: 1px solid rgba(23, 23, 28, .12); padding-top: 12px; }
.cert2-card-foot small { display: block; font-size: 11px; color: #6a6a74; text-transform: uppercase; letter-spacing: .5px; }
.cert2-card-foot b { font-size: 14px; }

.cert2-summary h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; }
.cert2-summary h2.v0 { color: var(--ok); } .cert2-summary h2.v1 { color: var(--warn); } .cert2-summary h2.v2 { color: var(--bad); }
.cert2-summary .lead { font-size: 17px; color: var(--text); margin: 0 0 22px; line-height: 1.5; }
.cert2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.cert2-stats div { border-radius: 14px; padding: 14px 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cert2-stats b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.cert2-stats span { font-size: 13px; color: var(--muted); }
.cert2-stats .s-ok b { color: var(--ok); } .cert2-stats .s-warn b { color: var(--warn); } .cert2-stats .s-bad b { color: var(--bad); }
.cert2-note { font-size: 13px; margin: 0; }

.cert2-h { margin: 34px 0 16px; }
.cert2-h h2 { font-family: var(--font-display); font-size: 24px; margin: 0; }
.cert2-h p { color: var(--muted); margin: 4px 0 0; }
.cert2-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cert2-part { border-radius: 18px; padding: 20px; background: linear-gradient(160deg, #15151c, #0e0e13); border: 1px solid var(--line); border-top: 3px solid var(--line-2); }
.cert2-part.l0 { border-top-color: var(--ok); } .cert2-part.l1 { border-top-color: var(--warn); } .cert2-part.l2 { border-top-color: var(--bad); }
.cert2-part-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cert2-part .pi { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: grid; place-items: center; }
.cert2-part .pi svg { width: 28px; height: 28px; }
.cert2-part .pi.gpu { background: rgba(129, 199, 132, .14); color: #81c784; }
.cert2-part .pi.cpu { background: rgba(79, 195, 247, .14); color: #4fc3f7; }
.cert2-part .pi.ram { background: rgba(206, 147, 216, .14); color: #ce93d8; }
.cert2-part .pi.storage { background: rgba(255, 138, 101, .14); color: #ff8a65; }
.cert2-part .pt { flex: 1; min-width: 0; }
.cert2-part .pt small { display: block; font-size: 11.5px; letter-spacing: .6px; color: var(--muted); font-weight: 700; }
.cert2-part .pt b { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.cert2-part .pt span { font-size: 13px; color: var(--muted); }
.cert2-part .badge { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #0b0b10; }
.cert2-part .badge.l0 { background: var(--ok); } .cert2-part .badge.l1 { background: var(--warn); } .cert2-part .badge.l2 { background: var(--bad); }
.cert2-ad { font-size: 13px; padding: 7px 12px; border-radius: 10px; margin-bottom: 12px; }
.cert2-ad.ok { background: rgba(74, 222, 128, .08); color: #b7f5cd; } .cert2-ad.warn { background: rgba(251, 191, 36, .1); color: #fde68a; }
.cert2-part ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cert2-part li, .cert2-other { display: flex; gap: 12px; align-items: flex-start; }
.cert2-part li .mark, .cert2-other .mark { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0b0b10; background: #3a3a44; margin-top: 1px; }
.cert2-part li.l0 .mark, .cert2-other.l0 .mark { background: var(--ok); }
.cert2-part li.l1 .mark, .cert2-other.l1 .mark { background: var(--warn); }
.cert2-part li.l2 .mark, .cert2-other.l2 .mark { background: var(--bad); }
.cert2-part li b, .cert2-other b { display: block; font-size: 14.5px; }
.cert2-part li span, .cert2-other span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.cert2-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-bottom: 30px; }
.cert2-other { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.cert2 .cert-limits { margin: 0 0 6px; }
.cert2 .cert-how { margin-top: 10px; }
@media (max-width: 900px) {
  .cert2-hero { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 26px; }
  .cert2-parts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .cert2-card { padding: 16px 18px; }
  .cert2-card .cert2-seal { width: 70px; height: 70px; }
  .cert2-stats b { font-size: 26px; }
}
@media (max-width: 480px) { .cert2-stats div { padding: 12px; } .cert2-stats span { font-size: 12px; } .cert2-card-head code { display: none; } .cert-limits { padding: 16px; } }
@media (max-width: 600px) { .cert2 { padding-left: 16px; padding-right: 16px; } }
.cert2-part .pi.board { background: rgba(255, 183, 77, .14); color: #ffb74d; }
.cert2-part .pi.os { background: rgba(176, 190, 197, .14); color: #b0bec5; }
.cert2-part .pi.psu { background: rgba(255, 213, 79, .14); color: #ffd54f; }
.cert2-part .pt span { display: block; margin-top: 2px; }
.cert2-part.small .cert2-part-head { margin-bottom: 0; }
.cert2-part.small .pt b { font-size: 16.5px; }
