/* ═══════════════════════════════════════════════════════════════
   APTTE — verificador grátis (verificador-de-curriculo)
   Carrega depois de lp.css. Só tokens de blog/article.css, então o
   tema escuro (.dark) vem de graça.
   ═══════════════════════════════════════════════════════════════ */

.cvc-key {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite-mute);
}

.lp-hero .cvc-lede { margin-bottom: 14px; }

.cvc-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.cvc-perks li {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 8px 12px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cvc-updated {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--graphite-mute);
  margin: 0;
}

/* ── ferramenta ──────────────────────────────────── */

.cvc-tool {
  border: 2px solid var(--ink);
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
}

.cvc-tool-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-hair);
}

.cvc-tool-head strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--graphite);
}

.cvc-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 168px;
  margin: 16px;
  padding: 22px 16px;
  border: 1.5px dashed var(--rule-strong);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s, background 0.16s;
}

.cvc-drop:hover,
.cvc-drop.is-dragging { border-color: var(--ink); background: var(--paper); }

.cvc-drop:focus-within { outline: 2px solid var(--deviation); outline-offset: 2px; }

.cvc-drop.has-file { border-style: solid; border-color: var(--ink); }

.cvc-drop input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.cvc-drop-icon {
  width: 34px;
  height: 42px;
  color: var(--ink);
}

.cvc-drop-title {
  font-weight: 600;
  color: var(--graphite);
  font-size: 1.02rem;
}

.cvc-drop-hint {
  font-size: 1.0625rem;
  color: var(--graphite-mute);
}

.cvc-drop-file {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--ink);
  word-break: break-all;
}

.cvc-actions {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cvc-submit {
  justify-content: center;
  width: 100%;
  padding: 16px 20px;
  font-size: 0.74rem;
}

.cvc-submit[disabled] { opacity: 0.55; cursor: not-allowed; }
.cvc-submit[aria-busy="true"] { opacity: 1; cursor: progress; }

.cvc-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--graphite-mute);
  margin: 0;
}

.cvc-privacy svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--pass); }

.cvc-status {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--graphite);
}

.cvc-status:empty { display: none; }

.cvc-status.is-error {
  border: 1px solid var(--stamp);
  color: var(--stamp);
  padding: 8px 12px;
  background: var(--paper);
}

.cvc-scan {
  height: 3px;
  background: var(--rule-hair);
  overflow: hidden;
  display: none;
}

.cvc-tool.is-loading .cvc-scan { display: block; }

.cvc-scan::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--ink);
  animation: cvc-scan 1.1s var(--ease-draw) infinite;
}

@keyframes cvc-scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

/* ── resultado ───────────────────────────────────── */

.cvc-result {
  margin-top: clamp(28px, 4vw, 44px);
  border: 2px solid var(--ink);
  background: var(--paper-2);
}

.cvc-result[hidden] { display: none; }

.cvc-result:focus { outline: none; }

.cvc-result-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-bottom: 1px solid var(--rule-strong);
}

.cvc-score {
  padding: 22px 20px;
  border-right: 1px solid var(--rule-hair);
}

.cvc-score-num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 4px;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-feature-settings: "tnum" 1;
  color: var(--graphite);
}

.cvc-score-num b {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cvc-score-num span { font-size: 0.82rem; color: var(--graphite-mute); }

.cvc-band {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 6px 0 0;
}

.cvc-band[data-tone="low"] { color: var(--deviation); }
.cvc-band[data-tone="mid"] { color: var(--stamp); }
.cvc-band[data-tone="high"] { color: var(--pass); }

.cvc-band-note {
  font-size: 1.0625rem;
  color: var(--graphite-mute);
  line-height: 1.6;
  margin: 6px 0 0;
  max-width: 46ch;
}

/* régua 0–100: o trecho medido aqui vai até 65, o resto é a vaga */
.cvc-gauge { padding: 22px 20px; }

.cvc-scale {
  position: relative;
  height: 30px;
  margin: 26px 0 8px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
}

.cvc-scale-job {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 65%;
  right: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 5px,
    var(--rule-hair) 5px 7px
  );
  border-left: 1px dashed var(--rule-strong);
}

.cvc-scale-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--ink);
  transition: transform 0.9s var(--ease-draw);
}

.cvc-scale[data-tone="low"] .cvc-scale-fill { background: var(--deviation); }
.cvc-scale[data-tone="mid"] .cvc-scale-fill { background: var(--stamp); }
.cvc-scale[data-tone="high"] .cvc-scale-fill { background: var(--pass); }

.cvc-scale-mark {
  position: absolute;
  top: -22px;
  left: 65%;
  transform: translateX(-50%);
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  color: var(--graphite-mute);
  white-space: nowrap;
}

.cvc-ticks {
  display: flex;
  justify-content: space-between;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  color: var(--graphite-mute);
}

.cvc-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--graphite-mute);
}

.cvc-legend b { display: block; color: var(--graphite); font-weight: 600; }

.cvc-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  vertical-align: -1px;
  border: 1px solid var(--rule-strong);
}

.cvc-legend .sw-structure { background: var(--ink); border-color: var(--ink); }
.cvc-legend .sw-job {
  background: repeating-linear-gradient(135deg, transparent 0 2px, var(--rule-strong) 2px 3px);
}

.cvc-diagnosis {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 2px solid var(--deviation);
  background: var(--paper);
}

.cvc-diagnosis[hidden] { display: none; }
.cvc-diagnosis strong { display: block; color: var(--deviation); font-size: 1.02rem; margin-bottom: 4px; }
.cvc-diagnosis p { margin: 0; color: var(--graphite); font-size: 1.0625rem; line-height: 1.6; max-width: 70ch; }

.cvc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}

.cvc-checks { padding: 20px; border-right: 1px solid var(--rule-hair); }

.cvc-checks h3,
.cvc-facts h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--graphite);
  margin: 0 0 4px;
}

.cvc-checks-sum { font-size: 1.0625rem; color: var(--graphite-mute); margin: 0 0 12px; }

.cvc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.cvc-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-hair);
}

.cvc-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid currentColor;
}

.cvc-item[data-verdict="pass"] .cvc-mark { color: var(--pass); }
.cvc-item[data-verdict="fail"] .cvc-mark { color: var(--deviation); }
.cvc-item[data-verdict="unknown"] .cvc-mark { color: var(--graphite-mute); border-style: dashed; }

.cvc-item-label { font-size: 1.0625rem; color: var(--graphite); font-weight: 500; }
.cvc-item[data-verdict="fail"] .cvc-item-label { font-weight: 600; }
.cvc-item-why { display: block; font-size: 1.0625rem; color: var(--graphite-mute); line-height: 1.55; margin-top: 3px; }

.cvc-facts { padding: 20px; }

.cvc-facts dl { margin: 12px 0 0; border-top: 1px solid var(--ink); }

.cvc-facts dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-hair);
}

.cvc-facts dt { font-size: 1.0625rem; color: var(--graphite-mute); }
.cvc-facts dd {
  margin: 0;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--graphite);
  text-align: right;
}

.cvc-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  background: var(--ink);
  color: var(--on-ink);
}

.cvc-cta h3 {
  font-size: 1.35rem;
  font-variation-settings: "wdth" 112;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--on-ink);
}

.cvc-cta p { margin: 0; font-size: 1.0625rem; line-height: 1.6; opacity: 0.9; max-width: 60ch; }

.cvc-cta .btn {
  background: var(--on-ink);
  color: var(--ink);
  border-color: var(--on-ink);
  padding: 16px 22px;
  font-size: 0.74rem;
  justify-content: center;
  white-space: nowrap;
}

.cvc-cta .btn:hover { background: var(--paper); border-color: var(--paper); }
.cvc-cta .btn:focus-visible { outline-color: var(--on-ink); }

.cvc-again {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px;
  border-top: 1px solid var(--rule-hair);
}

.cvc-link-btn {
  background: none;
  border: none;
  padding: 6px 0;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ── seções de apoio ─────────────────────────────── */

.cvc-prose { max-width: 74ch; }
.cvc-prose p { color: var(--graphite-mute); line-height: 1.75; margin: 0 0 16px; }
.cvc-prose strong { color: var(--graphite); }
.cvc-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.cvc-bands { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); max-width: 74ch; }
.cvc-bands li { padding: 14px 0; border-bottom: 1px solid var(--rule-hair); color: var(--graphite-mute); line-height: 1.65; }
.cvc-bands b { color: var(--graphite); font-family: "Martian Mono", ui-monospace, monospace; font-size: 0.78rem; margin-right: 8px; }

.cvc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cvc-table-wrap .comparison-table { min-width: 560px; }
.comparison-table td.cvc-win { color: var(--pass); font-weight: 600; }

.cvc-source { font-size: 1.0625rem; color: var(--graphite-mute); margin: 0; }

@media (max-width: 860px) {
  .cvc-result-head,
  .cvc-body { grid-template-columns: minmax(0, 1fr); }
  .cvc-score,
  .cvc-checks { border-right: none; border-bottom: 1px solid var(--rule-hair); }
  .cvc-cta { grid-template-columns: minmax(0, 1fr); }
  .cvc-cta .btn { white-space: normal; }
}

@media (max-width: 620px) {
  .lp-hero:has(.cvc-tool) { padding-top: 28px; }
  .lp-hero .cvc-perks { display: none; }
  .lp-hero .cvc-updated { margin-bottom: 0; }
  .lp-hero-grid:has(.cvc-tool) { gap: 20px; }
  .cvc-drop { min-height: 0; margin: 12px; padding: 16px 12px; }
  .cvc-drop-icon { display: none; }
  .cvc-actions { padding: 0 12px 12px; }
  .cvc-legend { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cvc-scale-fill { transition: none; }
  .cvc-scan::after { animation-duration: 3s; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button.lp-faq-q {
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 500;
  text-align: left;
}

.comparison-table tbody th {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--graphite);
  background: none;
  border-bottom: 1px solid var(--rule-hair);
  vertical-align: top;
}

.cvc-result-wrap { background: var(--paper); }
.cvc-result-wrap:has(.cvc-result:not([hidden])) { padding-bottom: clamp(36px, 5vw, 56px); }
