/* fontes auto-hospedadas */

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jbmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jbmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jbmono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ============================================================
   RANQUEIA.APP · landing de auditoria SEO + GEO para SaaS
   Tema: dark-tech instrumento · travado (uma página, um tema)
   Acento único: âmbar do feixe (#e4e4e7)
   Cores semânticas de nota/severidade são codificação de dado,
   não decoração: verde = ok, âmbar = atenção, vermelho = crítico.
   Raio documentado: controles = pílula (999px) · painéis = 20/16px
   Tipografia: Satoshi (display/texto) + JetBrains Mono (dados/código)
   ============================================================ */

:root {
  --bg: #0c111b;
  --raised: #131a29;
  --raised-2: #182136;
  --border: rgba(214, 226, 208, 0.13);
  --border-strong: rgba(214, 226, 208, 0.24);
  --text: #edf1e8;
  --muted: #97a3b6;
  --dim: #78849c;

  --accent: #c8f542;
  --accent-strong: #dcff70;
  --accent-ink: #0c130a;

  --ok: #c8f542;
  --ok-text: #c8f542;
  --low: #ff6b57;
  --low-text: #ff6b57;
  --high-text: #8fa0b8;

  --font-sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --nav-h: 68px;
  --banner-h: 42px;
  --header-stack: calc(var(--banner-h) + var(--nav-h));
  --radius-panel: 20px;
  --radius-panel: 20px;
  --radius-card: 16px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(214, 226, 208, 0.85));
  color: var(--accent-ink);
}

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- fundo ---------- */

.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg-glow {
  background:
    radial-gradient(900px 520px at 82% -6%, rgba(200, 245, 66, 0.08), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(255, 107, 87, 0.05), transparent 55%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, black 30%, transparent 78%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- layout base ---------- */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

section {
  padding-block: clamp(84px, 10vw, 138px);
  scroll-margin-top: calc(var(--header-stack) + 24px);
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 2.6vw + 0.6rem, 2.9rem);
  font-weight: 900;
}

.section-sub {
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 58ch;
  margin-top: 18px;
}

.mono,
.mono-accent,
.mono-dim {
  font-family: var(--font-mono);
}

.mono-accent {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.mono-dim {
  color: var(--dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ---------- botões e chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.9rem 1.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-solid:hover {
  background: var(--accent-strong);
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

.btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(214, 226, 208, 0.35);
  background: rgba(214, 226, 208, 0.05);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.87rem;
}

.btn-xs {
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
}

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(214, 226, 208, 0.35));
  background: rgba(214, 226, 208, 0.06));
  border-radius: 999px;
  padding: 6px 14px;
}

.ic {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* tons semânticos */

.tone-ok { stroke: var(--ok); }
.tone-low { stroke: var(--low); }
.tone-ok-text { color: var(--ok-text) !important; }
.tone-low-text { color: var(--low-text) !important; }
.tone-high-text { color: var(--high-text) !important; }

/* severidade */

.sev-crit,
.sev-high,
.sev-mid {
  color: #8fa0b8;
  background: transparent;
  border: 1px dashed rgba(143, 160, 184, 0.45);
}

.sev-crit {
  color: #0c130a;
  background: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 700;
}

.sev-high {
  color: #edf1e8;
  background: rgba(237, 241, 232, 0.08);
  border: 1px solid rgba(237, 241, 232, 0.3);
}

.sev-mid {
  color: var(--muted);
  background: rgba(214, 226, 208, 0.05);
  border: 1px solid var(--border-strong);
}

/* ---------- faixa do teste aberto ---------- */

.open-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 0;
  padding: 0 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.35;
}

.open-banner strong {
  font-weight: 700;
}

.open-banner a {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 2px;
}

/* ---------- navegação ---------- */

.nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(5, 8, 14, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wordmark {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-dot {
  color: var(--accent);
}

.preview-chip {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav.open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav.open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: max(660px, 100svh);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-stack) + clamp(40px, 7vh, 76px));
  padding-bottom: clamp(56px, 8vh, 104px);
  overflow: hidden;
}

.hero-beam {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(214, 226, 208, 0.045)) 49%,
    rgba(214, 226, 208, 0.085)) 51%,
    transparent 61%
  );
  animation: beam-sweep 15s ease-in-out infinite alternate;
}

@keyframes beam-sweep {
  from { transform: translateX(-14%); }
  to { transform: translateX(8%); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 5.5vw, 84px);
  align-items: center;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.45rem, 2.2vw + 1.05rem, 3.5rem);
  font-weight: 900;
  line-height: 1.04;
  margin-top: 22px;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.1vw + 0.6rem, 1.18rem);
  max-width: 46ch;
  margin-top: 20px;
}

.audit-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  max-width: 520px;
}

.audit-form input {
  flex: 1;
  min-width: 0;
  background: var(--raised);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.audit-form input::placeholder {
  color: var(--dim);
}

.audit-form input:focus {
  outline: none;
  border-color: rgba(214, 226, 208, 0.6));
}

.form-error {
  display: none;
  color: var(--low-text);
  font-size: 0.85rem;
  margin-top: 10px;
}

.form-error.show {
  display: block;
}

.hero-secondary {
  margin-top: 18px;
}

/* painel relatório */

.report-panel {
  position: relative;
  background: linear-gradient(180deg, #151d2e 0%, #101726 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: 22px 22px 20px;
  box-shadow:
    0 30px 80px rgba(214, 226, 208, 0.10),
    inset 0 1px 0 rgba(214, 226, 208, 0.08);
  max-width: 520px;
  justify-self: end;
  width: 100%;
}

.report-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(214, 226, 208, 0.35)), transparent 38%);
  mask: linear-gradient(black, black) content-box exclude, linear-gradient(black, black);
  -webkit-mask: linear-gradient(black, black) content-box exclude, linear-gradient(black, black);
  pointer-events: none;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.panel-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-block: 22px;
}

.ring-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ring {
  position: relative;
  width: 128px;
  height: 128px;
}

.ring svg {
  width: 100%;
  height: 100%;
}

.ring-track {
  fill: none;
  stroke: rgba(214, 226, 208, 0.10);
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ring-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  column-gap: 2px;
  font-family: var(--font-mono);
}

.ring-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ring-denom {
  font-size: 0.72rem;
  color: var(--dim);
}

.ring-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ring-label {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ---------- faixa de motores ---------- */

.engines {
  padding-block: 8px 0;
}

.engines-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 30px;
}

.engines-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
}

.engines-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.engines-row li:hover {
  color: var(--text);
}

.engines-row svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  flex: none;
}

/* ---------- problema / manifesto ---------- */

.problem h2,
.how h2,
.scores h2,
.findings h2,
.pricing h2,
.faq h2 {
  max-width: 22ch;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 76px);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  border-left: 1px solid var(--border-strong);
  padding-left: 26px;
}

.stat-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 30ch;
}

.stat-src {
  display: block;
  color: var(--dim);
  font-size: 0.8rem;
  margin-top: 4px;
  font-family: var(--font-mono);
}

/* ---------- como funciona ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 76px);
}

.step {
  border-top: 1px solid var(--border-strong);
  padding-top: 24px;
}

.step-num {
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------- notas ---------- */

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: clamp(44px, 5vw, 68px);
}

.score-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 2.6vw, 34px);
}

.score-card > header,
.score-card > p,
.score-card > ul {
  width: 100%;
}

.score-card-gap {
  border-color: rgba(214, 226, 208, 0.4);
}

.gap-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 245, 66, 0.07);
  border: 1px solid rgba(200, 245, 66, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.score-head h3 {
  font-size: 1.55rem;
  font-weight: 900;
}

.score-count {
  padding-bottom: 18px;
  margin-top: 10px;
  border-bottom: 1px solid var(--border);
}

.check-list {
  list-style: none;
  margin-top: 6px;
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 32px;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 17px;
  height: 17px;
  background: var(--ok-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- diagnóstico / board ---------- */

.board {
  background: linear-gradient(180deg, #121217 0%, #0e0e11 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  margin-top: clamp(44px, 5vw, 64px);
  overflow: hidden;
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--border);
}

.board-date {
  font-size: 0.74rem;
}

.issues {
  list-style: none;
}

.issue {
  display: grid;
  grid-template-columns: 92px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--border);
  transition: background 0.15s ease;
}

.issue:first-child {
  border-top: none;
}

.issue:hover {
  background: rgba(214, 226, 208, 0.03);
}

.issue-body strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
}

.issue-body p {
  color: var(--dim);
  font-size: 0.85rem;
  margin-top: 3px;
}

.impact {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  justify-self: end;
  min-width: 76px;
  text-align: right;
}

.board-cta {
  display: flex;
  justify-content: center;
  padding: 8px 24px 20px;
}

.board-foot {
  padding: 14px clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--border);
}

/* ---------- prompts ---------- */

.prompts-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.prompts-copy .sticky,
.prompts-copy {
  position: sticky;
  top: calc(var(--header-stack) + 48px);
}

.tick-list {
  list-style: none;
  margin-top: 26px;
}

.tick-list li {
  position: relative;
  padding: 9px 0 9px 32px;
  color: var(--muted);
  font-size: 0.98rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 17px;
  height: 17px;
  background: var(--ok-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.terminal {
  background: #0d0d10;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.term-head {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.term-tab {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.term-tab:hover {
  color: var(--text);
}

.term-tab[aria-selected="true"] {
  color: var(--text);
  background: rgba(214, 226, 208, 0.10);
  border-color: var(--border-strong);
}

.term-body {
  padding: 24px clamp(18px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: #c9cbd3;
  white-space: pre-wrap;
  overflow-x: auto;
  min-height: 380px;
}

.term-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}

/* ---------- MCP ---------- */

.mcp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.code-card {
  background: #0d0d10;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
}

.code-card pre {
  padding: 24px 22px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.8;
  overflow-x: auto;
}

.tk-p { color: var(--dim); }
.tk-k { color: var(--accent); }
.tk-s { color: #a1a1aa; font-style: italic; }

.tools {
  margin-top: 30px;
}

.tool {
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr;
  gap: 6px 20px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.tool:last-child {
  border-bottom: none;
}

.tool dt {
  font-size: 0.82rem;
}

.tool dd {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- preços ---------- */

.tiers {
  display: grid;
  grid-template-columns: 1fr 1.14fr 1fr;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  align-items: stretch;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: 30px 28px;
}

.tier-hot {
  background: linear-gradient(180deg, #1a2413 0%, #121a0d 100%);
  border-color: rgba(214, 226, 208, 0.5));
}

.hot-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 5px 13px;
  white-space: nowrap;
}

.tier-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.tier-price {
  margin-top: 14px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-cur {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-val {
  font-size: 2.6rem;
  line-height: 1;
}

.price-per {
  font-size: 0.9rem;
  color: var(--dim);
  font-weight: 400;
  letter-spacing: 0;
}

.tier-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.tick-sm li {
  font-size: 0.92rem;
  padding: 7px 0 7px 30px;
}

.tick-sm li::before {
  width: 15px;
  height: 15px;
}

.tier-btn {
  margin-top: auto;
  width: 100%;
  margin-top: 26px;
}

/* ---------- FAQ ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.accordion {
  border-top: 1px solid var(--border-strong);
}

.qa {
  border-bottom: 1px solid var(--border);
}

.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding-block: 21px;
  font-weight: 700;
  font-size: 1.03rem;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.ic-plus {
  width: 18px;
  height: 18px;
  color: var(--dim);
  transition: transform 0.25s ease, color 0.25s ease;
}

.qa[open] .ic-plus {
  transform: rotate(45deg);
  color: var(--accent);
}

.qa-body {
  padding: 0 40px 24px 0;
}

.qa-body p {
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- CTA final ---------- */

.cta-final {
  text-align: center;
  padding-block: clamp(100px, 13vw, 180px);
}

.cta-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
}

.cta-hl {
  color: var(--accent);
}

.audit-form-center {
  margin-inline: auto;
  margin-top: 40px;
}

.cta-micro {
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
}

/* ---------- rodapé ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: clamp(32px, 4vw, 56px);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 34ch;
  margin-top: 14px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  padding-block: 5px;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- revelação no scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsivo ---------- */

@media (max-width: 1080px) {
  .hero {
    min-height: 0;
    padding-top: calc(var(--header-stack) + 56px);
    padding-bottom: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .report-panel {
    justify-self: start;
    max-width: 540px;
  }

  .prompts-grid,
  .mcp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .prompts-copy {
    position: static;
  }

  .code-side { order: 2; }
  .mcp-copy { order: 1; }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tiers {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(10, 10, 12, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 14px clamp(20px, 4vw, 48px) 24px;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 1.02rem;
    padding-block: 11px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }
}

@media (max-width: 760px) {
  h1 br {
    display: none;
  }

  .scores-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .audit-form {
    flex-direction: column;
  }

  .audit-form .btn {
    width: 100%;
  }

  .issue {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto auto;
    row-gap: 10px;
  }

  .issue .sev {
    grid-column: 1;
    grid-row: 1;
  }

  .issue .impact {
    grid-column: 3;
    grid-row: 1;
  }

  .issue-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .issue .btn {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .term-body {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .panel-scores {
    gap: 10px;
  }

  .ring {
    width: 108px;
    height: 108px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ring-fill {
    transition: none;
  }
}

/* ---------- auditoria ao vivo ---------- */

.input-query {
  flex-basis: 100%;
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}

.input-query::placeholder {
  color: var(--dim);
}

.input-query:focus {
  outline: none;
  border-color: rgba(214, 226, 208, 0.5));
}

.board.live {
  border-color: rgba(214, 226, 208, 0.4);
}

.live-scores {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 22px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--border);
}

.ring--sm .ring {
  width: 92px;
  height: 92px;
}

.ring--sm .ring-num {
  font-size: 1.35rem;
}

.tone-mid {
  stroke: var(--high-text);
}

.live-summary {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: auto;
}

.live-summary li {
  font-size: 0.9rem;
  color: var(--muted);
}

.live-summary strong {
  color: var(--text);
  font-family: var(--font-mono);
}

.ai-tests {
  display: grid;
  gap: 14px;
  padding: 18px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--border);
}

.ai-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ai-test p.ai-q {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 0.93rem;
  font-weight: 700;
}

.badge-cited,
.badge-miss {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid;
  white-space: nowrap;
}

.badge-cited {
  color: var(--ok-text);
  border-color: rgba(214, 226, 208, 0.4);
  background: rgba(214, 226, 208, 0.08));
}

.badge-miss {
  color: #8b8b93;
  border-color: rgba(214, 226, 208, 0.34));
  background: rgba(214, 226, 208, 0.08));
}

.excerpt {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  border-left: 2px solid var(--border-strong);
  padding-left: 12px;
}

.ai-note {
  padding: 16px clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--border);
}

.btn.copied {
  border-color: var(--ok) !important;
  color: var(--ok-text) !important;
}

/* ---------- formulário v2 ---------- */

.audit-form {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.audit-form input {
  flex: none;
  width: 100%;
}

.audit-row {
  display: flex;
  gap: 10px;
}

.input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ic-link {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
}

.input-wrap input {
  padding-left: 45px;
  padding-block: 0.95rem;
}

.input-wrap input:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.audit-query-block {
  min-width: 0;
}

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.field-label .opt {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.06em;
}

@media (max-width: 760px) {
  .audit-row {
    flex-direction: column;
  }

  .audit-row .btn {
    width: 100%;
  }
}

/* ---------- paywall / teaser ---------- */

.teaser-wrap {
  position: relative;
  overflow: hidden;
}

.locked {
  filter: blur(7px) saturate(0.75);
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}

.unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(5, 8, 14, 0.22), rgba(5, 8, 14, 0.94) 52%);
}

.unlock-panel {
  max-width: 460px;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(214, 226, 208, 0.45));
  border-radius: var(--radius-card);
  padding: 28px 26px 24px;
  box-shadow: 0 24px 70px rgba(214, 226, 208, 0.12);
}

.unlock-panel h3 {
  font-size: 1.35rem;
  font-weight: 900;
}

.unlock-panel p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 40ch;
}

.price-line strong {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price-line span {
  display: block;
  color: var(--dim);
  font-size: 0.85rem;
  margin-top: 2px;
}

.unlock-note {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---------- páginas auxiliares (checkout / relatório) ---------- */

.subnav {
  height: var(--nav-h);
  margin-top: var(--banner-h);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 8, 14, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: var(--banner-h);
  z-index: 50;
}

.subnav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-wrap {
  max-width: 620px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(36px, 6vw, 64px) 20px 90px;
  display: grid;
  gap: 20px;
}

.rep-wrap {
  max-width: 920px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(36px, 6vw, 64px) 20px 90px;
  display: grid;
  gap: 34px;
}

.stepper {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.stepper .done { color: var(--ok-text); }
.stepper .now { color: var(--accent); }

.pay-card {
  background: linear-gradient(180deg, #151d2e 0%, #101726 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 18px;
}

.pay-price strong {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pay-price span { display: block; margin-top: 4px; }

.pay-h2 { font-size: 1.15rem; font-weight: 900; }

.soft-rule {
  border: none;
  border-top: 1px solid var(--border);
}

.qr-card {
  background: #141b2c;
  border-radius: 14px;
  padding: 12px;
  width: fit-content;
  margin-inline: auto;
}

.qr-card img {
  display: block;
  width: 196px;
  height: 196px;
}

#pix-code {
  width: 100%;
  resize: none;
  background: #0d0d10;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: #c9cbd3;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.55;
  padding: 13px 15px;
}

.steps-mini {
  list-style: none;
  counter-reset: passo;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps-mini li {
  counter-increment: passo;
  display: flex;
  gap: 10px;
}

.steps-mini li::before {
  content: counter(passo, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  padding-top: 2px;
}

.status-line {
  font-size: 0.78rem;
  line-height: 1.6;
}

.back-link {
  color: var(--dim);
  font-size: 0.88rem;
  text-decoration: none;
}

.back-link:hover { color: var(--text); }

/* relatório */

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.metrics-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.metric {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.metric:last-child { border-bottom: none; }

.st {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid;
  white-space: nowrap;
  margin-top: 2px;
}

.st-pass { color: var(--ok-text); border-color: rgba(200, 245, 66, 0.4); background: rgba(200, 245, 66, 0.07); }
.st-partial { color: #ffb1a4; border-color: rgba(255, 107, 87, 0.4); background: rgba(255, 107, 87, 0.07); }
.st-fail { color: #0c130a; border-color: #ff6b57; background: #ff6b57; font-weight: 700; }

.metric-main strong { font-size: 0.94rem; }

.measured {
  display: block;
  font-size: 0.72rem;
  margin-top: 3px;
}

.metric-main p {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 5px;
}

.plan-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.plan-card {
  background: var(--raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 20px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-num { font-size: 0.78rem; }

.plan-card > p {
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-prompt {
  width: 100%;
  background: #0d0d10;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.65;
  color: #c9cbd3;
  white-space: pre-wrap;
  overflow-x: auto;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 8, 14, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gate.show { display: flex; }

.gate-panel {
  max-width: 420px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  background: var(--raised);
  border: 1px solid rgba(214, 226, 208, 0.45));
  border-radius: var(--radius-panel);
  padding: 34px 30px;
}

.gate-panel h2 { font-size: 1.4rem; font-weight: 900; }
.gate-panel p { color: var(--muted); font-size: 0.93rem; }

@media (max-width: 760px) {
  .metrics-grid { grid-template-columns: 1fr; }
}

/* assinatura */

.price-line .per {
  font-size: 0.95rem;
  color: var(--dim);
  letter-spacing: 0;
  font-weight: 400;
}

.proj-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted) !important;
}

.proj-line strong {
  color: var(--text);
}

.proj-line strong + strong,
.proj-line em {
  color: var(--accent);
  font-style: normal;
}

/* oferta em dois cartões */

.tiers-duo {
  grid-template-columns: minmax(0, 420px) minmax(0, 480px);
  justify-content: center;
}

.tiers-one {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.pricing-after {
  margin-top: 22px;
  text-align: center;
}

@media (max-width: 860px) {
  .tiers-duo,
  .tiers-one {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  :root { --banner-h: 52px; }
  .open-banner { font-size: 0.64rem; padding: 8px 12px; }
}

/* correções de overflow mobile */

.hero {
  overflow: hidden;
}

.code-side,
.mcp-copy {
  min-width: 0;
}

.code-card {
  min-width: 0;
}

.code-card pre {
  overflow-x: auto;
}

.code-head span {
  word-break: break-word;
}

/* ---------- carrossel infinito dos motores ---------- */

.marquee {
  overflow: hidden;
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee .engines-row {
  flex: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 18px 48px;
  padding-right: 48px;
  margin-block: 0;
  animation: ranqueia-ticker 38s linear infinite;
}

.marquee .engines-row li {
  white-space: nowrap;
}

@keyframes ranqueia-ticker {
  to { transform: translateX(-100%); }
}

.marquee:hover .engines-row {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee .engines-row { animation: none; }
}

/* ---------- painel do hero como recorte de relatório ---------- */

.ring--sm .ring {
  width: 92px;
  height: 92px;
}

.ring--sm .ring-num {
  font-size: 1.5rem;
}

.panel-scores {
  grid-template-columns: auto auto;
  gap: 14px 26px;
  padding-block: 20px 18px;
  align-items: center;
}

.panel-verdict {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--border-strong);
  padding-top: 16px;
  display: grid;
  gap: 6px;
}

.panel-verdict strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.panel-verdict p {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: none;
}

.panel-verdict .mono-dim,
.panel-foot .mono-dim {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.panel-issues {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: grid;
  gap: 10px;
}

.panel-issues li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #d6d7dc;
}

.pi-title {
  flex: 1;
  min-width: 0;
}

.panel-issues .impact {
  font-size: 0.7rem;
  white-space: nowrap;
}


/* ---------- ajustes finos do tema papel ---------- */

.ring-fill.tone-low { stroke: var(--accent); }
.ring-fill.tone-mid { stroke: rgba(25, 24, 19, 0.55); }

.chip {
  color: var(--accent-strong);
  border-color: rgba(200, 245, 66, 0.45);
}

.mono-accent { color: var(--accent-strong); }

.hot-tag {
  background: var(--accent);
  color: var(--accent-ink);
}

.gap-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 245, 66, 0.07);
  border: 1px solid rgba(200, 245, 66, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.qr-card {
  border: 1px solid var(--border-strong);
}

main a:not([class]),
.qa-body a,
.section-sub a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

main a:not([class]):hover,
.qa-body a:hover {
  color: var(--accent);
}

/* terminais e código permanecem escuros: peça de contraste intencional */
.terminal,
.code-card pre,
.term-body,
.plan-prompt,
#pix-code {
  border-color: #191813;
}

/* botão sólido: lima com tinta, contraste máximo */
.btn-solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-solid:hover {
  background: var(--accent-strong);
}

.hot-tag {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ---------- seleção e foco na paleta ---------- */

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.ring-fill.tone-low { stroke: var(--low); }
.ring-fill.tone-mid { stroke: rgba(200, 245, 66, 0.6); }

/* terminais: moldura lima, cara de instrumento */
.terminal,
.code-card pre,
.term-body,
.plan-prompt,
#pix-code {
  border-color: rgba(200, 245, 66, 0.28);
}

.qr-card {
  border: none;
}
