/* ============================================================
   PrintControl 3D — site de vendas
   Cores, raios e fontes vêm de app/css/tokens.css (cópia do app: npm run sync). Tema claro da identidade
   (data-theme="light" no <html>): fundo claro, ação em azul-oceano; a impressora e o celular continuam escuros
   porque são aparelhos. Fundo liso, sem grade. Movimento: abertura, impressora e entrada das seções;
   com "reduzir movimento" (html.parado) tudo fica parado.
   ============================================================ */
:root {
  --largura: 1200px;
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 32px);
  --suave: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: clip;
  font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
/* só quatro arquivos de fonte: Inter 400 e 600, Space Grotesk 600 e 700 (negrito padrão vira 600) */
b, strong, th { font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pular-conteudo { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand); color: var(--on-brand); font-weight: 600; }
.pular-conteudo:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 14.5px/1 var(--font-body); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primario { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn-primario:hover { background: var(--azure); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(4, 138, 191, .32); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-hover); }
.btn-ghost:hover { border-color: rgba(1, 21, 38, .32); background: var(--surface-2); }
.btn-g { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-g .ic { width: 19px; height: 19px; }
.link { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, opacity .4s ease;
}
.nav.solida { background: rgba(242, 242, 242, .88); border-bottom-color: var(--border); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.nav-in { max-width: var(--largura); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 20px; }
.nav-marca { flex-shrink: 0; border-radius: 6px; }
.nav-marca img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--text-muted); font: 400 14.5px/1 var(--font-body); text-decoration: none; transition: color var(--t), background var(--t); }
.nav-links a:hover { color: var(--text); background: rgba(1, 21, 38, .05); }
.nav-acoes { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-acoes { margin-left: 0; }
.nav-menu { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border-hover); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); cursor: pointer; }
.nav-entrar-cel { display: none; }

@media (max-width: 1040px) {
  .nav-menu { display: grid; }
  .nav-entrar { display: none !important; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 18px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-links.aberto { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav-entrar-cel { display: block; }
  .nav-acoes { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav-marca img { height: 24px; }
  .nav-acoes .btn-primario { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .nav-menu { width: 38px; height: 38px; }
}

/* ============================================================
   TOPO
   ============================================================ */
.topo { position: relative; padding: calc(var(--nav-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 88px); }
/* uma luz azul bem suave do alto à direita, atrás da impressora (fundo liso, sem grade) */
.topo::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 620px at 80% 8%, rgba(4, 138, 191, .16), transparent 70%), radial-gradient(700px 420px at 0% 100%, rgba(5, 219, 242, .08), transparent 70%); }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.selo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 12px; border: 1px solid var(--accent-line); border-radius: var(--radius-pill); background: var(--accent-subtle); font: 600 13px/1.3 var(--font-body); }
.pulso { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--azure); }
.pulso::after { content: ''; position: absolute; inset: -4px; border: 1px solid var(--azure); border-radius: 50%; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { from { transform: scale(.5); opacity: .9; } to { transform: scale(2); opacity: 0; } }
.topo h1 { font: 700 clamp(36px, 5.3vw, 66px)/1.03 var(--font-display); letter-spacing: -.035em; }
.topo-sub { max-width: 600px; margin-top: 22px; color: var(--text-muted); font-size: clamp(16.5px, 1.4vw, 18.5px); }
.topo-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.topo-provas { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--text-muted); font-size: 14px; }
.topo-provas li { display: flex; align-items: center; gap: 8px; }
.topo-provas .ic { width: 16px; height: 16px; color: var(--ok); }

.topo-arte { position: relative; display: grid; justify-items: center; }
.imp { position: relative; width: min(410px, 100%); transform-origin: 50% 50%; }
/* sombra da impressora: um degradê parado, sem filtro (o desenho muda a cada quadro) */
.imp::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: -4%; height: 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 21, 38, .32), transparent); }
.imp-svg { width: 100%; height: auto; overflow: visible; }
.imp-pct { font: 700 13px var(--font-display); font-variant-numeric: tabular-nums; }
.imp-led { animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { opacity: .35; } }

/* cartão de preço da peça na mesa: logo abaixo da impressora, sem cobrir a mesa */
.cp {
  position: relative; z-index: 2; width: min(460px, 100%); margin-top: 26px; padding: 16px 18px 14px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto 1fr; column-gap: 20px;
  border: 1px solid var(--border-hover); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-elevated);
}
.cp-cab { grid-column: 1; display: flex; align-items: center; gap: 12px; }
.cp-status { grid-column: 1; }
.cp-nota { grid-column: 1; align-self: end; margin-top: 10px; }
.cp-linhas { grid-column: 2; grid-row: 1 / span 3; }
.cp-linhas div:first-child { border-top: 0; padding-top: 0; }
.cp-ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.cp-tit { min-width: 0; }
.cp-tit strong { display: block; font: 600 15.5px/1.25 var(--font-display); }
.cp-tit span { display: block; color: var(--text-muted); font-size: 12.5px; }
.cp-status { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.cp-status [data-cp="pct"] { min-width: 3.4ch; text-align: right; color: var(--text); font-weight: 600; }
.cp-barra { flex: 1; height: 4px; border-radius: 2px; background: rgba(1, 21, 38, .08); overflow: hidden; }
.cp-barra i { display: block; height: 100%; background: var(--azure); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.cp-linhas { margin: 0; }
.cp-linhas div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-top: 1px solid var(--border); }
.cp-linhas dt { color: var(--text-muted); font-size: 13.5px; }
.cp-linhas dd { margin: 0; font: 600 15px var(--font-display); font-variant-numeric: tabular-nums; }
.cp-custo dd { color: var(--text-muted); }
.cp-nota { color: var(--text-dim); font-size: 11.5px; line-height: 1.45; }
.cp .cp-tit, .cp .cp-linhas { transition: opacity .25s ease, transform .25s ease; }
.cp.trocando .cp-tit, .cp.trocando .cp-linhas { opacity: 0; transform: translateY(4px); }
.btn-replay { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--text-dim); font: 400 13px var(--font-body); cursor: pointer; }
.btn-replay:hover { color: var(--text); background: rgba(1, 21, 38, .05); }
.btn-replay .ic { width: 15px; height: 15px; }

@media (max-width: 960px) {
  .topo-in { grid-template-columns: 1fr; }
  .topo-arte { margin-top: 8px; }
  .imp { width: min(380px, 88vw); }
}
@media (max-width: 520px) {
  .cp { grid-template-columns: 1fr; }
  .cp-linhas { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .cp-linhas div:first-child { border-top: 1px solid var(--border); padding-top: 7px; }
  .cp-nota { grid-row: auto; }
  .topo h1 { font-size: clamp(32px, 9.4vw, 40px); }
  .topo-ctas .btn { flex: 1 1 100%; }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.secao { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
/* faixa meio transparente: o fio de filamento do fundo aparece por trás, bem de leve */
.secao-faixa { background: rgba(255, 255, 255, .5); border-block: 1px solid var(--border); }
.secao-curta { padding: clamp(48px, 6vw, 72px) 0; }
.secao-in { max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); }
.secao-cab { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.secao-cab-centro { margin-inline: auto; text-align: center; }
.secao-cab-centro .secao-sub { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--accent); font: 600 12px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ''; width: 14px; height: 2px; border-radius: 1px; background: currentColor; }
.secao h2 { font: 700 clamp(29px, 3.6vw, 46px)/1.08 var(--font-display); letter-spacing: -.03em; }
.secao-sub { max-width: 680px; margin-top: 16px; color: var(--text-muted); font-size: clamp(16px, 1.3vw, 18px); }

.grade { display: grid; gap: 16px; }
.grade-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .grade-4, .grade-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grade-4, .grade-3 { grid-template-columns: 1fr; } }

.cartao { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--t); }
.cartao:hover { border-color: var(--border-hover); }
.cartao h3 { margin: 16px 0 8px; font: 600 18.5px/1.25 var(--font-display); letter-spacing: -.01em; }
.cartao p { color: var(--text-muted); font-size: 15px; }
.dor-ic, .rec-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; }
.dor-ic { background: var(--warn-bg); color: var(--warn); }
.rec-ic { background: var(--accent-soft); color: var(--accent); }
.dor { display: flex; flex-direction: column; }
.cartao .dor-sol { display: flex; gap: 9px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text); font-size: 14.5px; }
.dor > p:not(.dor-sol) { margin-bottom: 16px; }
.dor-sol .ic { width: 17px; height: 17px; margin-top: 3px; color: var(--ok); }

/* ---------- como funciona: a pilha de custos ---------- */
.como { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
.pilha { margin: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--border-hover); border-radius: var(--radius-xl); background: radial-gradient(520px 260px at 100% 0%, rgba(4, 138, 191, .1), transparent 70%), var(--surface); }
.pilha figcaption strong { display: block; font: 600 19px/1.2 var(--font-display); }
.pilha figcaption span { color: var(--text-muted); font-size: 13.5px; }
.pilha-camadas { margin: 18px 0 0; padding: 0; list-style: none; }
.pilha-camadas li { display: grid; grid-template-columns: 172px minmax(0, 1fr) 74px; align-items: center; gap: 12px; padding: 7px 0; }
.pilha-camadas span { color: var(--text-muted); font-size: 14px; }
.pilha-camadas b { font: 600 15px var(--font-display); font-variant-numeric: tabular-nums; text-align: right; }
.pilha-camadas i { display: block; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--ocean), var(--azure)); transform-origin: 0 50%; }
.pilha-camadas li:nth-child(1) i { width: 100%; background: linear-gradient(90deg, var(--azure), var(--cyan)); }
.pilha-camadas li:nth-child(2) i { width: 4%; }
.pilha-camadas li:nth-child(3) i { width: 20%; }
.pilha-camadas li:nth-child(4) i { width: 40%; }
.pilha-camadas li:nth-child(5) i { width: 24%; }
.pilha-camadas li:nth-child(6) i { width: 9.5%; }
.pilha-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--border-hover); font: 700 20px var(--font-display); }
.pilha-total span { font-size: 16px; font-weight: 600; }
.pilha-seta { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; color: var(--text-muted); font-size: 13.5px; }
.pilha-seta .ic { width: 16px; height: 16px; color: var(--accent); }
.pilha-canais { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pilha-canais li { padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.pilha-canais li:first-child { border-color: var(--accent-line); background: var(--accent-subtle); }
.pilha-canais span { display: block; color: var(--text-muted); font-size: 12.5px; }
.pilha-canais b { font: 700 19px var(--font-display); font-variant-numeric: tabular-nums; }
.passos { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.passo { position: relative; padding-left: 80px; }
.passo h3 { margin-top: 0; }
.passo-n { position: absolute; left: 24px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 16px var(--font-display); }
@media (max-width: 900px) { .como { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .pilha-camadas li { grid-template-columns: minmax(0, 1fr) 70px; }
  .pilha-camadas i { grid-column: 1 / -1; grid-row: 2; height: 6px; }
  .passo { padding-left: 24px; padding-top: 74px; }
}

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-xl); border-color: var(--border-hover); }
.calc-form { display: grid; gap: 14px; align-content: start; }
.calc-res { min-width: 0; }
.campo { display: grid; gap: 6px; }
.campo-rot { font: 600 13.5px/1.3 var(--font-body); }
.campo-in { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--border-control); border-radius: var(--radius-sm); background: var(--surface); transition: border-color var(--t), box-shadow var(--t); }
.campo-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.campo-in.invalido { border-color: var(--danger); }
.campo input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 16px var(--font-display); font-variant-numeric: tabular-nums; }
.campo em { color: var(--text-dim); font-style: normal; font-size: 13.5px; }
.campo small { color: var(--text-dim); font-size: 12.5px; line-height: 1.4; }
.calc-erro { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--danger-line); border-radius: var(--radius-sm); background: var(--danger-bg); font-size: 14px; }
.calc-destaque { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.calc-destaque div { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.calc-destaque span { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: 12.5px; line-height: 1.35; }
.calc-destaque strong { font: 700 clamp(21px, 2.2vw, 27px)/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc-destaque .calc-preco { border-color: rgba(5, 219, 242, .35); background: linear-gradient(135deg, var(--navy), var(--ocean)); }
.calc-destaque .calc-preco span { color: #c7d6e4; }
.calc-destaque .calc-preco strong { color: #fff; }
.calc-destaque .negativo { color: var(--danger); }
.calc-partes { margin-top: 12px; }
.calc-partes summary { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font: 600 14px var(--font-body); cursor: pointer; list-style: none; }
.calc-partes summary::-webkit-details-marker { display: none; }
.calc-partes summary .ic { width: 16px; height: 16px; transition: transform var(--t); }
.calc-partes[open] summary .ic { transform: rotate(180deg); }
.calc-partes dl { margin: 10px 0 0; }
.calc-partes dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.calc-partes dt { color: var(--text-muted); }
.calc-partes dd { margin: 0; font-variant-numeric: tabular-nums; }
.calc-tabela { margin-top: 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.calc-tabela table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.calc-tabela caption { padding: 12px 16px; color: var(--text-muted); font: 600 13.5px var(--font-body); text-align: left; }
.calc-tabela th, .calc-tabela td { padding: 10px 16px; border-top: 1px solid var(--border); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-tabela thead th { color: var(--text-dim); font: 600 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.calc-tabela th:first-child { text-align: left; font-weight: 400; }
.calc-tabela thead th:first-child { font-weight: 600; }
.calc-tabela td:nth-child(2) { font: 600 15px var(--font-display); }
.calc-tabela td:nth-child(3) { color: var(--text-muted); }
.calc-tabela tbody tr:first-child { background: var(--accent-subtle); }
.calc-nota { margin-top: 14px; color: var(--text-dim); font-size: 12.5px; line-height: 1.5; }
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--accent-line); border-radius: 14px; background: var(--accent-subtle); }
.calc-cta p { font-weight: 600; }
.aviso-js { margin-top: 16px; color: var(--text-muted); }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .calc-form { grid-template-columns: 1fr; } .calc-destaque { grid-template-columns: 1fr; } .calc-cta .btn { flex: 1 1 100%; }
  /* no celular a coluna das taxas da calculadora sai: preço e lucro cabem sem rolar (as outras tabelas rolam de lado) */
  .calc-res .calc-tabela th:nth-child(3), .calc-res .calc-tabela td:nth-child(3) { display: none; }
  .calc-tabela th, .calc-tabela td { padding: 10px 12px; white-space: normal; }
}

/* ---------- portfólio ---------- */
.portfolio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lista-check { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.lista-check li { display: flex; align-items: flex-start; gap: 10px; }
.lista-check .ic { margin-top: 3px; color: var(--accent); }
.celular { width: min(310px, 82vw); aspect-ratio: 9 / 18.6; margin-inline: auto; padding: 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 44px; background: #1b1c27; box-shadow: var(--shadow-elevated), inset 0 0 0 2px #0a0a0f; }
.cel-tela { height: 100%; display: flex; flex-direction: column; gap: 11px; padding: 22px 13px 13px; overflow: hidden; border-radius: 34px; background: #f3f5f8; color: var(--navy); }
.cel-topo { display: flex; align-items: center; gap: 10px; }
.cel-avatar { width: 40px; height: 40px; flex-shrink: 0; padding: 6px; border-radius: 12px; background: var(--navy); }
.cel-avatar svg { width: 100%; height: 100%; }
.cel-topo b { display: block; font: 700 14px/1.2 var(--font-display); }
.cel-topo small { color: #5a6677; font-size: 11px; }
.cel-busca { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 11px; border: 1px solid rgba(1, 21, 38, .1); border-radius: 10px; background: #fff; color: #7a8494; font-size: 12px; }
.cel-busca .ic { width: 14px; height: 14px; }
.cel-chips { display: flex; gap: 6px; overflow: hidden; }
.cel-chips span { flex-shrink: 0; padding: 5px 10px; border: 1px solid rgba(1, 21, 38, .1); border-radius: 999px; background: #fff; font-size: 11px; font-weight: 600; }
.cel-chips .on { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.cel-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cel-item { padding: 7px; border: 1px solid rgba(1, 21, 38, .08); border-radius: 12px; background: #fff; }
.cel-foto { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(160deg, #eef2f7, #dde4ee); }
.cel-foto svg { width: 80%; height: 80%; }
.cel-item b { display: block; margin-top: 6px; font-size: 11px; line-height: 1.2; }
.cel-item > span { font: 700 12px var(--font-display); color: var(--ocean); }
.cel-item i { display: block; margin-top: 5px; padding: 5px; border-radius: 7px; background: rgba(2, 72, 115, .08); color: var(--ocean); font: 600 10.5px/1.2 var(--font-body); font-style: normal; text-align: center; }
.cel-item i.on { background: var(--ocean); color: #fff; }
.cel-pedido { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; margin-top: auto; border-radius: 12px; background: var(--ocean); color: #fff; font: 600 13px var(--font-body); }
.cel-pedido .ic { width: 16px; height: 16px; }
@media (max-width: 860px) { .portfolio { grid-template-columns: 1fr; } }

/* ---------- para quem, segurança ---------- */
.para-quem-tit { margin-bottom: 20px; text-align: center; font: 600 clamp(20px, 2vw, 24px)/1.3 var(--font-display) !important; letter-spacing: -.01em !important; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-size: 14.5px; font-weight: 400; }
.chips .ic { width: 16px; height: 16px; color: var(--accent); }
.seg .ic { width: 26px; height: 26px; color: var(--accent); }
.seg h3 { margin: 12px 0 6px; font: 600 17px/1.3 var(--font-display); }
.seg p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- planos ---------- */
.plano { max-width: 660px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border-color: var(--accent-line); border-radius: var(--radius-xl); background: radial-gradient(620px 320px at 100% 0%, rgba(4, 138, 191, .1), transparent 70%), var(--surface); box-shadow: var(--shadow-card), 0 0 0 4px var(--accent-subtle); }
.plano:hover { border-color: var(--accent-line); }
.plano-cab { display: flex; align-items: center; gap: 14px; }
.plano-cab img { border-radius: 12px; }
.plano-cab h3 { margin: 0; font: 700 22px/1.2 var(--font-display); }
.plano-cab p { font-size: 14px; }
.plano-preco { margin: 26px 0 6px; font: 600 16px/1.2 var(--font-display); }
.plano-valor { font: 700 clamp(42px, 5vw, 58px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plano-moeda { margin-right: 6px; font: 600 20px var(--font-display); color: var(--text-muted); vertical-align: 18px; }
.plano-periodo { color: var(--text-muted); font-size: 17px; }
.plano-consulta { font: 600 22px/1.3 var(--font-display); }
.plano-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 15px; }
.plano-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.plano .plano-nota { margin-top: 14px; color: var(--text-dim); font-size: 13px; }
@media (max-width: 560px) { .plano-lista { grid-template-columns: 1fr; } .plano-ctas .btn { flex: 1 1 100%; } }

/* ---------- dúvidas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq .secao-cab { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-lista { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color var(--t); }
.faq-item[open] { border-color: var(--border-hover); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font: 600 16.5px/1.35 var(--font-body); }
.faq-item summary .ic { color: var(--text-muted); transition: transform var(--t), color var(--t); }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--accent); }
.faq-item p { padding: 0 20px 18px; color: var(--text-muted); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .secao-cab { position: static; } }

/* ---------- chamada final e rodapé ---------- */
.cta-final { position: relative; padding: clamp(80px, 11vw, 136px) 0; text-align: center; background: radial-gradient(820px 420px at 50% 100%, rgba(4, 138, 191, .14), transparent 70%); }
.cta-marca { width: 64px; height: 64px; margin: 0 auto 22px; }
.cta-final h2 { max-width: 760px; margin: 0 auto; font: 700 clamp(30px, 4vw, 50px)/1.07 var(--font-display); letter-spacing: -.03em; }
.cta-final p { max-width: 560px; margin: 16px auto 0; color: var(--text-muted); font-size: 17px; }
.cta-final .topo-ctas { justify-content: center; }
.rodape { padding: 48px 0 24px; border-top: 1px solid var(--border); background: var(--surface); }
.rodape-in { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.rodape-marca img { height: 28px; width: auto; }
.rodape-marca p { margin-top: 12px; color: var(--text-muted); font-size: 14px; }
.rodape nav h2 { margin-bottom: 12px; color: var(--text-dim); font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.rodape nav a, .rodape nav .link { display: block; padding: 4px 0; color: var(--text-muted); font-size: 14.5px; text-decoration: none; }
.rodape nav a:hover, .rodape nav .link:hover { color: var(--text); }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.rodape-base a { color: var(--text-muted); }
@media (max-width: 820px) { .rodape-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape-marca { grid-column: 1 / -1; } }

/* ---------- entrada das seções ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--suave), transform .7s var(--suave); }
.js [data-reveal].visto { opacity: 1; transform: none; }
.grade > :nth-child(2), .passos > :nth-child(2) { transition-delay: .07s; }
.grade > :nth-child(3), .passos > :nth-child(3) { transition-delay: .14s; }
.grade > :nth-child(4) { transition-delay: .21s; }
.grade > :nth-child(5) { transition-delay: .07s; }
.grade > :nth-child(6) { transition-delay: .14s; }
.grade > :nth-child(7) { transition-delay: .21s; }
.grade > :nth-child(8) { transition-delay: .28s; }
.js .pilha-camadas i { transform: scaleX(0); transition: transform .9s .25s var(--suave); }
.js .pilha.visto .pilha-camadas i { transform: scaleX(1); }
.pilha-camadas li:nth-child(2) i { transition-delay: .33s; } .pilha-camadas li:nth-child(3) i { transition-delay: .41s; }
.pilha-camadas li:nth-child(4) i { transition-delay: .49s; } .pilha-camadas li:nth-child(5) i { transition-delay: .57s; }
.pilha-camadas li:nth-child(6) i { transition-delay: .65s; }
.sem-reveal [data-reveal], .parado [data-reveal], .sem-reveal .pilha-camadas i, .parado .pilha-camadas i { opacity: 1 !important; transform: none !important; transition: none !important; }
.parado *, .parado *::before, .parado *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fundo { display: none; } }

/* ---------- fundo: rolos de filamento soltando o fio por trás da página (index.html, .fundo) ----------
   Fica preso à tela, atrás de tudo. No computador fica mais apagado no meio, onde está o texto. Os cartões são
   opacos e cobrem o fio; as faixas são meio transparentes e o deixam aparecer de leve. */
.fundo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, .5) 70%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, .5) 70%, #000 100%);
}
.fundo > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fundo-alto { display: none; }
@media (max-aspect-ratio: 1 / 1) { .fundo-largo { display: none; } .fundo-alto { display: block; } }
@media (max-width: 860px) { .fundo { opacity: .42; -webkit-mask-image: none; mask-image: none; } }   /* no celular o texto ocupa a largura toda */
.fundo .fio { fill: none; stroke: var(--azure); stroke-width: 2.6; stroke-linecap: round; stroke-opacity: .6; }
.fundo .fio-luz { fill: none; stroke: var(--cyan); stroke-width: 8; stroke-linecap: round; }
.parado .fundo, .intro-tocando .fundo { visibility: hidden; }

/* ============================================================
   ABERTURA (intro.js): a impressora do topo vai para o centro e imprime a logo
   ============================================================ */
.intro, .intro-logo { display: none; }
.intro-tocando .intro {
  display: block; position: fixed; inset: 0; z-index: 60; overflow: hidden;
  background: radial-gradient(900px 640px at 50% 40%, #ffffff 0%, #eef3f8 55%, #e3eaf1 100%);
}
.intro-hud { position: absolute; left: 50%; top: var(--hud-top, 84%); display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--text-muted); font: 400 14px var(--font-body); white-space: nowrap; transform: translateX(-50%); }
.intro-hud b { min-width: 4.5ch; color: var(--accent); font: 700 15px var(--font-display); font-variant-numeric: tabular-nums; }
.intro-lema { position: absolute; left: var(--lema-left, 50%); top: var(--lema-top, 60%); margin: 0; color: var(--text-muted); font: 400 clamp(15px, 1.7vw, 20px)/1.3 var(--font-body); white-space: nowrap; opacity: 0; transform: translateX(-50%); }
.intro-pular {
  position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border: 1px solid var(--border-hover); border-radius: var(--radius-pill); background: var(--surface);
  color: var(--text); font: 400 13.5px var(--font-body); cursor: pointer; transition: background var(--t);
}
.intro-pular:hover { background: var(--surface-2); }
.intro-pular .ic { width: 15px; height: 15px; }
.intro-progresso { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--azure); opacity: .75; transform: scaleX(0); transform-origin: 0 50%; }
.intro-tocando .intro-logo { display: flex; position: fixed; left: 0; top: 0; z-index: 80; height: var(--h, 80px); transform-origin: 0 0; pointer-events: none; }
.il-marca { position: relative; width: var(--h, 80px); height: var(--h, 80px); flex: none; overflow: hidden; }
/* o símbolo sai da câmara escura com as cores para fundo escuro e vira a versão clara enquanto vai para o centro */
.il-marca .il-claro { position: absolute; left: 0; top: 0; opacity: 0; }
.il-nome { position: relative; width: calc(var(--h, 80px) * 308 / 64); height: var(--h, 80px); flex: none; overflow: hidden; clip-path: inset(0 100% 0 0); }
.il-marca img, .il-nome img { width: calc(var(--h, 80px) * 372 / 64); height: var(--h, 80px); max-width: none; }
.il-nome img { margin-left: calc(var(--h, 80px) * -1); }
.il-scan { position: absolute; left: var(--h, 80px); top: 14%; width: 3px; height: 72%; border-radius: 2px; background: var(--azure); box-shadow: 0 0 10px 2px rgba(4, 138, 191, .55), 0 0 26px 6px rgba(5, 219, 242, .3); opacity: 0; }
/* enquanto toca: a barra, o texto e o cartão esperam; a impressora sobe acima do véu */
.intro-tocando .nav { opacity: 0; pointer-events: none; }
.intro-tocando .topo-texto > *, .intro-tocando .cp, .intro-tocando .btn-replay { opacity: 0; }
.intro-tocando .imp { opacity: 0; }
.intro-tocando .imp.no-palco { z-index: 70; }
.gravando .intro-pular, .gravando .intro-progresso, .gravando .btn-replay { display: none !important; }

/* ---------- aviso de cookies (só aparece com medição configurada) ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 440px; padding: 18px; border: 1px solid var(--border-hover); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-elevated); }
.cookies h2 { margin-bottom: 6px; font: 600 16px var(--font-display); }
.cookies p { color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
.cookies-opcoes { display: grid; gap: 10px; margin-top: 12px; }
.cookies-opcoes label { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.cookies-opcoes input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.cookies-opcoes small { display: block; color: var(--text-dim); font-size: 12.5px; }
.cookies-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookies-botoes .btn { flex: 1 1 auto; height: 38px; padding: 0 12px; font-size: 13.5px; }

/* ---------- páginas simples (privacidade, 404) ---------- */
.legal { max-width: 800px; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 80px; }
.legal h1 { font: 700 clamp(30px, 4vw, 44px)/1.1 var(--font-display); letter-spacing: -.03em; }
.legal h2 { margin: 36px 0 10px; font: 600 21px/1.3 var(--font-display); }
.legal p, .legal li { color: var(--text-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--text); }
.legal-data { margin-top: 10px; color: var(--text-dim) !important; font-size: 14px; }
.legal-tabela { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 14.5px; }
.legal-tabela th, .legal-tabela td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; color: var(--text-muted); }
.legal-tabela th { color: var(--text-dim); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.legal code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); font-size: 13px; }
.nao-achou { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.nao-achou-marca { width: 72px; height: 72px; margin-bottom: 8px; }
.nao-achou h1 { font: 700 clamp(30px, 5vw, 48px)/1.1 var(--font-display); letter-spacing: -.03em; }
.nao-achou p:not(.kicker) { color: var(--text-muted); }
.nao-achou .btn { margin-top: 10px; }

/* ============================================================
   PÁGINAS INTERNAS (fontes/paginas → calculadora, planilha): topo menor, trilha, texto de guia
   ============================================================ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pagina-topo { position: relative; padding: calc(var(--nav-h) + clamp(28px, 5vw, 56px)) 0 clamp(28px, 4vw, 44px); }
.pagina-topo::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(800px 480px at 85% 0%, rgba(4, 138, 191, .14), transparent 70%); }
.pagina-topo h1 { max-width: 820px; font: 700 clamp(32px, 4.6vw, 54px)/1.06 var(--font-display); letter-spacing: -.03em; }
.pagina-lead { max-width: 720px; margin-top: 18px; color: var(--text-muted); font-size: clamp(16.5px, 1.4vw, 18.5px); }
.pagina-nota { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-dim); font-size: 14px; }
.pagina-nota .ic { width: 16px; height: 16px; color: var(--ok); }
.trilha { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--text-dim); font-size: 13.5px; }
.trilha a { color: var(--text-muted); text-decoration: none; }
.trilha a:hover { color: var(--accent); text-decoration: underline; }
.trilha [aria-current] { color: var(--text); }
.pagina-topo-duas { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.pagina-topo-duas .lista-check { margin-top: 22px; }
@media (max-width: 860px) { .pagina-topo-duas { grid-template-columns: 1fr; } }
.secao-calc-pagina { padding-top: 8px; }
.calc-mais { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; }
.calc-mais a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.calc-mais a:hover { text-decoration: underline; }
.calc-mais .ic { width: 16px; height: 16px; }

/* calculadora de taxas dos marketplaces */
.taxas { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-xl); border-color: var(--border-hover); }
.taxas-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.taxas-tabela th, .taxas-tabela td { padding: 10px 12px; white-space: nowrap; font-size: 14px; }
.taxas-tabela td:nth-child(2) { text-align: left; color: var(--text-muted); }
.calc-tabela td.negativo { color: var(--danger); font-weight: 600; }
@media (max-width: 720px) { .taxas-form { grid-template-columns: 1fr; } }
.faixas-ref { margin-bottom: 14px; color: var(--text-muted); font-size: 14px; }
.faixas-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faixas h3 { margin: 0 0 12px; font: 600 18px/1.3 var(--font-display); }
.faixas .calc-tabela { margin-top: 0; }
.faixas p { margin-top: 12px; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 900px) { .faixas-lista { grid-template-columns: 1fr; } }

/* em quanto tempo a impressora se paga */
.retorno { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-xl); border-color: var(--border-hover); }
.retorno-form { display: grid; gap: 14px; align-content: start; }
.retorno-res { min-width: 0; align-self: center; }
.retorno-frase { margin-top: 14px; padding: 12px 16px; border: 1px solid var(--accent-line); border-radius: 12px; background: var(--accent-subtle); font-weight: 600; }
@media (max-width: 900px) { .retorno { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .retorno .calc-destaque { grid-template-columns: 1fr; } }

/* guia: índice ao lado do texto */
.secao-guia { padding-top: 8px; }
.guia { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.guia-indice { position: sticky; top: calc(var(--nav-h) + 20px); padding: 18px 20px; }
.guia-indice h2 { margin-bottom: 10px; color: var(--text-dim); font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.guia-indice ol { display: grid; gap: 8px; margin: 0; padding-left: 18px; font-size: 14.5px; }
.guia-indice a { color: var(--text-muted); text-decoration: none; }
.guia-indice a:hover { color: var(--accent); }
.guia-texto h2 { margin-top: 40px; font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display); letter-spacing: -.02em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.guia-texto h2:first-child { margin-top: 0; }
.guia-texto .calc-tabela { margin-top: 18px; }
.guia-texto .lista-check li { color: var(--text); }
@media (max-width: 900px) { .guia { grid-template-columns: minmax(0, 1fr); } .guia-indice { position: static; } }

/* cartão de download da planilha */
.download { display: grid; gap: 10px; justify-items: start; padding: clamp(20px, 3vw, 28px); border-color: var(--accent-line); border-radius: var(--radius-xl); box-shadow: var(--shadow-card), 0 0 0 4px var(--accent-subtle); }
.download-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.download-ic .ic { width: 24px; height: 24px; }
.download h2 { font: 700 20px/1.25 var(--font-display); }
.download p { color: var(--text-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.download .btn { width: 100%; margin-top: 4px; }
.download small { color: var(--text-dim); font-size: 12.5px; }
.previa { margin-top: 20px; background: var(--surface); }

/* custos da oficina (calculadora completa) */
.calc-oficina { grid-column: 1 / -1; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
.calc-oficina summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; font: 600 14px var(--font-body); cursor: pointer; list-style: none; }
.calc-oficina summary::-webkit-details-marker { display: none; }
.calc-oficina summary .ic { width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--t); }
.calc-oficina[open] summary .ic { transform: rotate(180deg); }
.calc-oficina > p, .calc-oficina > small { display: block; padding: 0 14px; color: var(--text-muted); font-size: 13px; }
.calc-oficina > small { padding-bottom: 14px; color: var(--text-dim); font-size: 12.5px; }
.calc-oficina-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 14px; }
.calc-oficina .campo-in { height: 44px; }
@media (max-width: 400px) { .calc-oficina-campos { grid-template-columns: 1fr; } }
.calc-compartilhar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.calc-compartilhar .btn { flex: 1 1 200px; }

/* texto de guia: passo a passo com a conta */
.artigo { max-width: 820px; }
.artigo > p, .artigo li { max-width: 70ch; }
.artigo > p { margin-top: 14px; color: var(--text-muted); font-size: 16.5px; }
.artigo > p strong, .artigo > p b { color: var(--text); }
.artigo h3 { margin: 32px 0 0; font: 600 21px/1.3 var(--font-display); }
.conta { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.conta li { position: relative; padding: 14px 16px 14px 56px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); counter-increment: passo; }
.conta li::before { content: counter(passo); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 14px var(--font-display); }
.conta li span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.conta li b { color: var(--text); }
.conta-total { margin-top: 14px !important; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-subtle); border: 1px solid var(--accent-line); color: var(--text) !important; font: 600 17px var(--font-display) !important; }

/* tabelas dos guias (geradas): sem a primeira linha em destaque; o nome da peça leva o detalhe embaixo */
.calc-tabela.simples tbody tr:first-child { background: none; }
.calc-tabela.simples tbody tr:hover { background: var(--accent-subtle); }
.calc-tabela th small { display: block; margin-top: 2px; color: var(--text-dim); font-size: 12.5px; }
.tabela-nota { margin-top: 10px !important; color: var(--text-dim) !important; font-size: 13px !important; line-height: 1.5; }
@media (max-width: 560px) { .calc-tabela.simples th, .calc-tabela.simples td { white-space: nowrap; } .calc-tabela.simples th:first-child { white-space: normal; min-width: 150px; } }

/* chamada para a calculadora no meio de um guia */
.chamada { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; margin: 28px 0 4px; padding: 18px 20px; border: 1px solid var(--accent-line); border-radius: var(--radius-lg); background: var(--accent-subtle); }
.chamada-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.chamada-ic .ic { width: 22px; height: 22px; }
.chamada-tit { font: 600 16.5px/1.3 var(--font-display); }
.chamada p:not(.chamada-tit) { margin-top: 2px; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 640px) { .chamada { grid-template-columns: auto minmax(0, 1fr); } .chamada .btn { grid-column: 1 / -1; } }

/* aviso destacado dentro de um guia (ex.: confira com o contador) */
.aviso { margin-top: 22px; padding: 14px 18px; border: 1px solid var(--border-hover); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-muted); font-size: 15px; }
.aviso strong { color: var(--text); }

/* cartões que levam a outra página (Continue lendo, lista de guias) */
.cartao-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.cartao-link:hover { border-color: var(--accent-line); }
.cartao-link .kicker { margin-bottom: 0; }
.cartao-link h3 { margin-top: 12px; }
.cartao-link:hover h3 { color: var(--accent); }
.relacionados { padding-top: 0; }
.relacionados h2 { margin-bottom: 20px; font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display); letter-spacing: -.02em; }
.lista-secao + .lista-secao { margin-top: clamp(40px, 6vw, 64px); }
.lista-secao h2 { margin-bottom: 20px; font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display); letter-spacing: -.02em; }

/* cadastro antes do download da planilha */
.cadastro { display: grid; gap: 12px; width: 100%; margin-top: 6px; }
.cadastro .campo-in { height: 46px; }
.cadastro input:not([type="checkbox"]) { font: 400 16px var(--font-body); }
.cadastro-aceite { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 13px; line-height: 1.45; cursor: pointer; }
.cadastro-aceite input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.cadastro-aceite input[aria-invalid] { outline: 2px solid var(--danger); outline-offset: 2px; }
.cadastro-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cadastro-erro { padding: 9px 12px; border: 1px solid var(--danger-line); border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--text); font-size: 13.5px; }
.cadastro .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.cadastro-pronto { display: grid; gap: 10px; width: 100%; padding: 14px 16px; border: 1px solid var(--ok-line); border-radius: var(--radius-sm); background: var(--ok-bg); }
.cadastro-pronto[hidden], .cadastro[hidden] { display: none; }
.cadastro-pronto:focus { outline: none; }
.cadastro-pronto-tit { display: flex; align-items: center; gap: 8px; color: var(--text) !important; font: 600 16px/1.35 var(--font-display) !important; }
.cadastro-pronto-tit .ic { color: var(--ok); }
.cadastro-pronto .link { justify-self: start; font-size: 13.5px; }
.download .cadastro .btn { margin-top: 2px; }
/* cabeçalhos longos das tabelas dos guias quebram linha em vez de alargar a tabela */
.calc-tabela.simples thead th { white-space: normal; min-width: 84px; vertical-align: bottom; line-height: 1.35; }
