/* ==========================================================================
   Pathwise Lab — sistema visual do funil PC Repair
   Direcao: manual de servico tecnico. Neutros frios (papel de projeto),
   um unico acento quente (cobre de dissipador / trilha de PCB).
   Tema claro fixo, de proposito: pagina de venda deve ser igual pra todos.
   ========================================================================== */

/* ---- fontes (self-hosted, sem terceiro bloqueando o render) -------------- */
@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/ibm-plex-sans-var.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Cond';
  src: url('fonts/ibm-plex-sans-condensed-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Cond';
  src: url('fonts/ibm-plex-sans-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('fonts/ibm-plex-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* ---- tokens ------------------------------------------------------------- */
:root {
  --ink:      #10151c;
  --ink-2:    #2b3644;
  --muted:    #5c6b7a;
  --paper:    #ffffff;
  --surface:  #f2f5f8;
  --surface-2:#e9eef3;
  --line:     #d8dfe7;
  --line-2:   #c3cdd8;
  --copper:   #b5491b;
  --copper-d: #93390f;
  --copper-w: #fdf3ee;
  --good:     #1f7a4d;
  --alert:    #a3341f;

  --f-cond: 'Plex Cond', 'Arial Narrow', system-ui, sans-serif;
  --f-sans: 'Plex Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1120px;
  --measure: 68ch;
  --r-sm: 3px;
  --r-md: 6px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---- layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.band { padding-block: 88px; }
.band--tight { padding-block: 64px; }
.band--surface { background: var(--surface); }
.band--edge { border-top: 1px solid var(--line); }

.measure { max-width: var(--measure); }

.stack { display: flex; flex-direction: column; }
.stack--8  { gap: 8px; }
.stack--12 { gap: 12px; }
.stack--16 { gap: 16px; }
.stack--24 { gap: 24px; }
.stack--32 { gap: 32px; }
.stack--48 { gap: 48px; }

/* ---- tipografia --------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--copper);
  flex: none;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow--muted::before { background: var(--line-2); }

.d1 {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: clamp(2.9rem, 6.4vw, 4.6rem);
  line-height: 0.97;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.d2 {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: clamp(2.05rem, 4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.d3 {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.body { color: var(--ink-2); }
.small { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.accent { color: var(--copper); }

/* ---- botao -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--copper);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  padding: 17px 30px;
  border: 1px solid var(--copper);
  border-radius: var(--r-sm);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--copper-d); border-color: var(--copper-d); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn--block { width: 100%; }

.btn-ghost {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.btn-ghost:hover { color: var(--ink-2); border-bottom-color: var(--line-2); }

/* ---- painel de ordem de servico ----------------------------------------- */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.panel--surface { background: var(--surface); }

.panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel__body { padding: 26px 22px; }
.panel__foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0 0 var(--r-md) var(--r-md);
}

/* linhas de especificacao — leitura de nota fiscal */
.spec { display: flex; flex-direction: column; }
.spec__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec__row:last-child { border-bottom: 0; }
.spec__name { display: flex; align-items: center; gap: 10px; font-size: 0.9688rem; }
.spec__name .ico { width: 17px; height: 17px; color: var(--muted); flex: none; }
.spec__dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-3px); }
.spec__val {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  color: var(--muted);
}
.spec__row--total { border-bottom: 0; padding-top: 16px; }
.spec__row--total .spec__name { font-weight: 600; }
.spec__row--total .spec__val { color: var(--ink); font-size: 1.0625rem; }

/* preco */
.price { display: flex; align-items: baseline; gap: 10px; }
.price__num {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price__cur { font-family: var(--f-cond); font-weight: 600; font-size: 1.6rem; color: var(--muted); }
.price__note { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); }
.price__was {
  font-family: var(--f-mono);
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: line-through;
}

/* ---- listas ------------------------------------------------------------- */
.list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.list li:last-child { border-bottom: 0; }
.list .ico { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.list--check .ico { color: var(--good); }
.list--gap .ico { color: var(--alert); }

/* ---- grade de modulos --------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cell {
  background: var(--paper);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.band--surface .cell { background: var(--paper); }
.cell__ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--copper);
  margin-bottom: 6px;
}
.cell__ico .ico { width: 19px; height: 19px; }

/* ---- etapas numeradas (so onde a ordem e real) -------------------------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step__n {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--copper);
  padding-top: 3px;
  letter-spacing: 0.08em;
}

/* ---- barra de progresso do pedido (upsells) ----------------------------- */
.flow {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow__step { display: flex; align-items: center; gap: 7px; padding: 7px 0; }
.flow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-2); flex: none;
}
.flow__step--done { color: var(--ink-2); }
.flow__step--done .flow__dot { background: var(--good); }
.flow__step--now { color: var(--copper); }
.flow__step--now .flow__dot { background: var(--copper); box-shadow: 0 0 0 3px var(--copper-w); }
.flow__bar { width: 26px; height: 1px; background: var(--line-2); margin-inline: 11px; flex: none; }

/* ---- aviso de oferta unica (upsells) ------------------------------------ */
.notice {
  background: var(--copper-w);
  border-bottom: 1px solid #f0dbd0;
}
.notice__in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 11px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-d);
}
.notice .ico { width: 15px; height: 15px; flex: none; }

/* ---- selo de garantia --------------------------------------------------- */
.seal {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}
.seal__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
}
.seal__ico .ico { width: 25px; height: 25px; }

/* ---- trilho de confianca ------------------------------------------------ */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.trust span { display: flex; align-items: center; gap: 8px; }
.trust .ico { width: 15px; height: 15px; }

/* ---- etiquetas de servico (hero da pagina de vendas) -------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  white-space: nowrap;
}
.chip--more { color: var(--copper); border-color: #ecd4c8; background: var(--copper-w); }

/* ---- perguntas frequentes ----------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: '';
  width: 11px; height: 11px;
  flex: none;
  margin-top: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.faq__item[open] > summary::after { transform: rotate(-135deg); }
.faq__item[open] > summary { color: var(--copper); }
.faq__a { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 62ch; }

/* ---- citacao de script (pagina 3) --------------------------------------- */
.quote {
  border-left: 2px solid var(--copper);
  padding: 4px 0 4px 20px;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.quote__ctx {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---- destaque numerico -------------------------------------------------- */
.figure {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figure__n {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.figure__t { color: var(--muted); font-size: 0.9688rem; max-width: 46ch; }

/* ---- topo e rodape ------------------------------------------------------ */
.masthead {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}
.masthead__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.wordmark .ico { width: 19px; height: 19px; color: var(--copper); }

.foot {
  border-top: 1px solid var(--line);
  padding-block: 30px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.foot__in { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }

/* ---- hero --------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 64px; align-items: start; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
}

/* align-items:center e de proposito: nestas secoes a coluna da direita
   (painel ou lista) e sempre bem mais alta que o titulo da esquerda. Alinhar
   pelo topo deixava um vazio grande embaixo do texto. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---- ajustes de tela pequena -------------------------------------------- */
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .band { padding-block: 56px; }
  .band--tight { padding-block: 44px; }
  .wrap { padding-inline: 18px; }
  .price__num { font-size: 3rem; }
  .cell { padding: 22px 20px; }
  .panel__body { padding: 22px 18px; }
  .panel__head, .panel__foot { padding-inline: 18px; }
  .btn { width: 100%; padding: 16px 22px; font-size: 1rem; }
  .step { grid-template-columns: 34px 1fr; gap: 14px; }

  /* o texto auxiliar do topo espremia o wordmark em duas linhas.
     A barra de progresso logo abaixo ja diz em que etapa o visitante esta. */
  .masthead__in > .mono { display: none; }
}
.wordmark { white-space: nowrap; }

.ico { width: 20px; height: 20px; stroke-width: 1.5; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
