/* Hallmark · shape: Narrative Workflow (vendas), lead page (/, obrigado), Long Document (privacidade, termos) · genre: editorial · theme: brand · redesign: full
 * paper: oklch(98.8% 0.005 235) · accent: oklch(73% 0.19 150) · display: Poppins · body: Inter · hero: Stage (vendas, 6 e 6 colunas), Counter (/), Corridor (obrigado), Banner (privacidade, termos) · nav: none (as páginas não têm destinos; mantido) · footer: mast · signature: as mãos na máquina de costura sangrando a borda do hero azul-marinho enquanto o título diz "sem costurar nada"; na captura, a planilha de custo construída na página · swap: um Split em "Quem ensina" (texto em 6, foto em 6) após a revisão final, apesar do draw
 * axes: light/geometric-sans/chromatic-green · posture: Committed (campo azul-marinho em --color-field) · draw: ebb24e (Photographic trocado por Narrative Workflow: sem foto real do dono e os módulos são etapas) · imagery: photographs, library 3, natural · product sample in planilha · job: buy (vendas), subscribe (/) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, o hero poderia ser de qualquer curso de confecção; a assinatura é a facção costurando sob o título "sem costurar nada" */
/* Hallmark · waive 1 · Poppins em --font-display e Inter em --font-body · o brief do curso de jalecos (prompt v2) fixa as duas faces como identidade */
/* Hallmark · waive 81 · data-slot="prints" vazio em vendas.html · os prints dos painéis de vendas só podem ser os da confecção do dono; a regra do domínio proíbe print de terceiro */
/* Hallmark · waive 77 · index.html e obrigado.html com 3 seções, termos.html e privacidade.html com 2 · o redesign mantém o conteúdo; as páginas legais são só prosa */
/* Hallmark · dropped mockup-planilha.svg, oficina.svg, embalagens.svg, print-vendas-1.svg, print-vendas-2.svg, print-vendas-3.svg, jalecos-estoque.svg · caixas tracejadas de placeholder (80, 81); a planilha é construída na página e as fotos de banco ficam nos slots até as do dono chegarem */
/* Hallmark · dropped details.acc dos módulos, .seal · os módulos viraram etapas numeradas (Narrative Workflow); o selo "7 dias" repetia o h2 da garantia (69) */
/* Hallmark · waive 49b · frase real, duas linhas em 320 px · "Conhecer o curso Confecção Sem Máquina" leva o nome do curso e não encurta */
/* Hallmark · waive 80 · img/avatar-marcelo.png em "Quem ensina" (vendas.html) · ilustração do dono pedida no brief v4 no lugar de foto de rosto; arte da marca, não placeholder */
/* Hallmark · waive 78 · h2 a 38px sob h1 de 48px em 1440 · o dono pediu a escala de tipo menor em 2026-11-06 (css/tokens.css); a hierarquia display > section > title segue */
/* Hallmark · reworded "Você quer vender roupa, mas trava na mesma pergunta" to "Você compra de fornecedor, e todo mês ele aumenta o preço" · brief v3 do dono (docs/brief-original.md), texto de identificação novo */
/* Hallmark · reworded "Sua Marca de Jalecos Sem Costurar" to "Confecção Sem Máquina" · brief v3 do dono: o curso mudou de nome */
/* Hallmark · waive 44c · privacidade.html e termos.html com postura Banner, carimbada por rota · páginas de texto legal: a prosa é o conteúdo e começa na dobra */
/* Hallmark · waive 79 · privacidade.html e termos.html com postura Banner, carimbada por rota · o banner é só o título e a data, a prosa de 65ch preenche o resto da tela */
/* Hallmark · hero-review: fix · 5 findings · 1 resolved (h1 em 3 linhas), 2 unresolved (foto de banco no lugar da facção do dono; sangramento perde em 1920), 2 ship */
/* Hallmark · finish-review: subagent · 5 findings · 3 resolved (foto ao lado de "Quem ensina", h1 do obrigado em display-s, numeral 7 removido), 1 partial (slot prints vazio até o material do dono), 1 owner (títulos de seção genéricos) · gap: a seção "A operação de verdade" só se prova com os prints do dono */
/* Hallmark · dropped consentimento-erro · a caixa de marketing virou opcional (LGPD, consentimento separado), então não tem mensagem de erro; a obrigatória agora é termos, com termos-erro */
/* Hallmark · reworded "Cookies" to "Cookies e consentimento" · a seção passou a explicar o banner de aceite dos pixels */
/* Hallmark · reworded "Você compra de fornecedor, e todo mês ele aumenta o preço" to "Muito revendedor compra de fornecedor e vê o preço subir todo mês" · brief v3 rev 57: falar do mercado em terceira pessoa, nunca da situação do visitante */
/* Hallmark · reworded "Módulo 0: Começando do zero com R$ 2 a 3 mil" to "Módulo 0: Começando do zero com um lote pequeno" · brief v3 rev 57: nenhum valor em dinheiro fora da caixa de oferta */
/* Hallmark · reworded "Prints das vendas e fotos do estoque. Sem depoimento inventado: o curso é novo, a confecção não." to "Resultado da loja do Marcelo. Não é promessa de ganho; o resultado varia para cada pessoa." · brief v3 rev 57: legenda obrigatória nos prints */
/* Hallmark · dropped $2 · brief v3 rev 57: o valor "R$ 2 mil" do hero saiu, nenhum valor em dinheiro fora da caixa de oferta */
/* Hallmark · dismissed 44b · privacidade.html e termos.html são texto legal sem ação; os links levam ao início e um ao outro */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- base da página ---------- */
body { font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { color: var(--color-ink-2); }
.h1--s { font-size: var(--text-display-s); max-width: 24ch; }
.lead { color: var(--color-muted); }
.muted { color: var(--color-muted); }
.small { font-size: var(--text-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a:hover { text-decoration-thickness: 2px; }
a[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
ul, ol { margin: 0; padding: 0; }

/* ---------- seções e campos de cor ---------- */
.sec { padding-block: var(--section-gap); }
.sec--s { padding-block: var(--section-gap-s); }
.sec--l { padding-block: var(--section-gap-l); }
.band--field { background: var(--color-field); color: var(--color-on-field); }
.band--field h1, .band--field h2, .band--field h3 { color: inherit; }
.band--field .muted, .band--field .lead { color: var(--color-on-field-muted); }
.band--field :focus-visible { outline-color: var(--color-focus-on-field); }
.band--field a:not(.btn) { color: var(--color-teal-light); }
.band--well { background: var(--color-paper-2); }

/* ---------- grade de 12 colunas ---------- */
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.c-1-4 { grid-column: 1 / 5; } .c-1-5 { grid-column: 1 / 6; } .c-1-6 { grid-column: 1 / 7; } .c-1-7 { grid-column: 1 / 8; } .c-1-8 { grid-column: 1 / 9; } .c-1-12 { grid-column: 1 / -1; }
.c-5-12 { grid-column: 5 / -1; } .c-7-12 { grid-column: 7 / -1; } .c-8-12 { grid-column: 8 / -1; } .c-9-12 { grid-column: 9 / -1; }
.head { display: grid; gap: var(--space-md); align-content: start; }
.head > p { max-width: 52ch; }

/* ---------- botões, todos os estados ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-accent); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; touch-action: manipulation; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-2); border-color: var(--color-accent-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.band--field .btn:focus-visible { outline-color: var(--color-on-field); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--lg { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } .btn:active { transform: none; } }

/* ---------- hero Stage (vendas) ---------- */
.hero-stage { min-height: 100dvh; display: grid; align-items: center; padding-block: var(--space-2xl); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--space-2xl); align-items: center; }
.hero-stage h1 { font-size: var(--text-display-s); max-width: 15ch; }
.intro { display: grid; gap: var(--space-lg); justify-items: start; }
.intro .lead { max-width: 40ch; }
.hero-photo { height: min(72dvh, 660px); width: calc(100% + var(--gutter)); border-radius: var(--radius-card) 0 0 var(--radius-card); }

/* ---------- hero Counter (captura): o formulário é o visual ---------- */
.hero-counter { min-height: 100dvh; display: grid; align-items: center; padding-block: var(--space-2xl); }
.counter-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--space-3xl); align-items: center; }

/* ---------- hero Corridor (obrigado) ---------- */
.hero-corridor { min-height: 72dvh; display: grid; align-content: center; justify-items: center; text-align: center; gap: var(--space-lg); max-width: 44ch; margin-inline: auto; padding-block: var(--space-2xl); }
.hero-corridor h1 { font-size: var(--text-display-s); max-width: 20ch; }

/* ---------- hero Banner (privacidade) e prosa ---------- */
.hero-banner { padding-block: var(--space-3xl) var(--space-2xl); display: grid; gap: var(--space-md); }
.prose { max-width: 65ch; line-height: 1.7; display: grid; gap: var(--space-md); padding-bottom: var(--section-gap-s); }
.prose h2 { font-size: var(--text-title); margin-top: var(--space-lg); }
.prose ul { padding-left: 1.25em; display: grid; gap: var(--space-xs); }

/* ---------- card do formulário (forma mantida) ---------- */
.card { background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-xl); display: grid; gap: var(--space-lg); }
.card h2 { color: var(--color-ink-2); font-size: var(--text-title); }
.card :focus-visible, .card .btn:focus-visible { outline-color: var(--color-focus); }
.card a:not(.btn) { color: var(--color-ink); }
.card .muted { color: var(--color-muted); }
.form { display: grid; gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.field input:not([type="checkbox"]) { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); outline: 2px solid transparent; outline-offset: -3px; }
.field input:not([type="checkbox"]):hover { background: var(--color-paper-2); }
.field input:not([type="checkbox"]):focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink-2); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.field input::placeholder { color: var(--color-muted); }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.field-error { min-height: 1lh; font-size: var(--text-sm); color: var(--color-error); }
.field .check { display: flex; gap: var(--space-sm); align-items: flex-start; font-weight: 400; font-size: var(--text-sm); color: var(--color-ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: var(--space-3xs) 0 0; flex-shrink: 0; accent-color: var(--color-field); cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form-msg { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.form-msg.is-error { color: var(--color-error); font-weight: 600; }
.form-msg.is-warn { color: var(--color-warn); }
.form .small { text-align: center; }

/* ---------- a planilha construída (amostra do produto) ---------- */
.sheet { min-height: 560px; background: var(--color-paper); border-radius: var(--radius-card); outline: 1px solid var(--color-rule); outline-offset: -1px; padding: var(--space-xl); margin: 0; display: grid; align-content: start; gap: var(--space-md); }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet caption { text-align: left; caption-side: top; font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); color: var(--color-ink-2); padding-bottom: var(--space-md); }
.sheet th { text-align: left; font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); padding: var(--space-xs) 0; border-bottom: 1px solid var(--color-ink-2); white-space: nowrap; }
.sheet td { padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--color-muted); width: 9rem; }
.sheet tr.total td { font-weight: 600; color: var(--color-ink-2); }
.sheet tbody .num::after { content: ""; display: inline-block; width: 5rem; margin-left: var(--space-xs); border-bottom: 1px dotted var(--color-muted); vertical-align: baseline; }

/* ---------- fatos em pilha e listas com marca ---------- */
.facts { list-style: none; display: grid; }
.facts > li { padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.3; color: var(--color-ink-2); }
.facts > li:last-child { border-bottom: 1px solid var(--color-rule); }
.check-list { list-style: none; display: grid; gap: var(--space-sm); }
.check-list li { position: relative; padding-left: 1.75em; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--color-teal-ink); font-weight: 700; }
.x-list li::before { content: "✕"; color: var(--color-muted); }
.band--field .check-list li::before { color: var(--color-teal-light); }

/* ---------- linhas (rows) e etapas ---------- */
.rows { list-style: none; border-top: 1px solid var(--color-rule); }
.rows > li { display: grid; grid-template-columns: 5fr 7fr; column-gap: var(--gap-columns); row-gap: var(--space-xs); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); align-items: start; }
.rows h3 { font-size: var(--text-title); }
.rows--plain > li { grid-template-columns: minmax(0, 1fr); font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.3; color: var(--color-ink-2); }
.rows ul { list-style: none; display: grid; gap: var(--space-xs); color: var(--color-muted); }
.rows ul li { position: relative; padding-left: 1.25em; }
.rows ul li::before { content: "–"; position: absolute; left: 0; color: var(--color-teal-ink); }
.stages > li { padding-block: var(--space-xl); }
.bonus li h3 { display: inline; font: inherit; font-weight: 600; letter-spacing: normal; color: var(--color-ink-2); }

/* ---------- poços (para quem é) ---------- */
.wells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.well { background: var(--color-paper-2); border-radius: var(--radius-card); padding: var(--space-xl); display: grid; gap: var(--space-lg); align-content: start; }

/* ---------- fotos em slot ---------- */
.photo { margin: 0; border-radius: var(--radius-card); }
.photo > img { outline: 1px solid var(--color-photo-edge); outline-offset: -1px; }
.photo--wide { aspect-ratio: 21 / 9; min-height: 420px; }
.photo--mid { aspect-ratio: 16 / 10; min-height: 400px; }
.photo--side { aspect-ratio: 4 / 3; min-height: 440px; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- oferta e garantia ---------- */
.offer { align-items: center; }
.guarantee { display: grid; gap: var(--space-md); }
.price-box { font-variant-numeric: tabular-nums; background: var(--color-paper); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-xl); display: grid; gap: var(--space-md); justify-items: start; }
.price-box h3 { font-size: var(--text-title); font-variant-numeric: tabular-nums; }
.price-old { color: var(--color-muted); text-decoration: line-through; }
.price-new { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 700; font-size: var(--text-section); line-height: 1.05; color: var(--color-ink-2); overflow-wrap: break-word; min-width: 0; }
.price-parc { color: var(--color-muted); }
.price-cond { background: var(--color-paper-2); border-radius: var(--radius-input); padding: var(--space-sm) var(--space-md); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- FAQ (details nativo) ---------- */
.acc { border-bottom: 1px solid var(--color-rule); }
.acc:first-of-type { border-top: 1px solid var(--color-rule); }
.acc summary { cursor: pointer; touch-action: manipulation; padding: var(--space-lg) var(--space-2xl) var(--space-lg) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-title); color: var(--color-ink-2); list-style: none; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: var(--space-lg); font-size: var(--text-xl); line-height: 1; color: var(--color-teal-ink); }
.acc[open] summary::after { content: "–"; }
.acc summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.acc .acc-body { padding: 0 var(--space-2xl) var(--space-lg) 0; color: var(--color-muted); max-width: 65ch; }
.acc:not([open]) .acc-body { display: none; }

/* ---------- banner de cookies (só com pixel configurado) ---------- */
.consent { position: fixed; inset-inline: var(--space-md); bottom: var(--space-md); margin-inline: auto; max-width: 560px; background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-lg); display: grid; gap: var(--space-sm); z-index: var(--z-toast); }
.consent__titulo { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); color: var(--color-ink-2); }
.consent p { font-size: var(--text-sm); }
.consent__acoes { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-muted); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-muted); }

/* ---------- rodapé mast e flutuante ---------- */
.footer { background: var(--color-paper-3); padding-block: var(--section-gap-s) var(--space-2xl); }
.footer .container { display: grid; gap: var(--space-lg); }
.footer-meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); color: var(--color-muted); }
.footer-meta a { color: var(--color-ink); }
.footer--float { padding-bottom: var(--space-3xl); }
.credits { font-size: var(--text-xs); color: var(--color-muted); }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--color-accent); display: grid; place-items: center; box-shadow: var(--shadow-card); z-index: var(--z-sticky); transition: background-color var(--dur-short) var(--ease-out); }
.wa-float:hover { background: var(--color-accent-2); }
.wa-float:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; fill: var(--color-accent-ink); }

/* ---------- 7 passos e comparativo (brief rev 57) ---------- */
.steps { list-style: none; counter-reset: passo; margin-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.steps > li { counter-increment: passo; display: flex; gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); line-height: 1.3; color: var(--color-ink-2); overflow-wrap: break-word; min-width: 0; }
.steps > li::before { content: counter(passo); font-size: var(--text-section); line-height: 1; color: var(--color-teal-ink); font-variant-numeric: tabular-nums; min-width: 1.4ch; }
.steps .muted { font-weight: 400; }
.compare { width: 100%; border-collapse: collapse; }
.compare th { text-align: left; font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-ink-2); }
.compare tbody th { font-weight: 400; font-size: var(--text-md); color: var(--color-ink); border-bottom: 1px solid var(--color-rule); padding: var(--space-sm); }
.compare td { padding: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.compare th:first-child { padding-left: 0; }
.compare .mark { text-align: center; width: 10rem; font-weight: 700; }
.compare .no { color: var(--color-muted); }
.compare .yes { color: var(--color-teal-ink); }
.mast img { display: block; width: min(100%, 360px); height: auto; }
/* logo v2 do brief (branco e turquesa, fundo transparente): precisa de fundo escuro, por isso a caixa azul-marinho */
.mast { justify-self: start; color: var(--color-on-field); background: var(--color-field); border-radius: var(--radius-card); padding: var(--space-sm) var(--space-md); }
.avatar { width: 160px; aspect-ratio: 1; margin: 0; background: none; overflow: visible; }
.avatar > img { object-fit: contain; }
/* enquadramento das fotos de banco (antes era style= no HTML; a CSP proíbe atributo style) */
[data-slot="hero"] > img { object-position: 50% 55%; }
[data-slot="jaleco"] > img { object-position: 50% 45%; }
.avatar:not(:has(> img)) { display: none; }

/* ---------- telas menores ---------- */
@media (max-width: 60rem) {
  .cols { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .cols > [class*="c-"] { grid-column: 1 / -1; }
  .hero-stage, .hero-counter { min-height: auto; padding-block: var(--section-gap-s); }
  .stage-grid, .counter-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .hero-photo { height: auto; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-card); }
  .rows > li, .wells { grid-template-columns: minmax(0, 1fr); }
  .compare .mark { width: 5.5rem; }
  .photo--wide { aspect-ratio: 16 / 10; min-height: 0; }
  .photo--mid, .photo--side { min-height: 0; }
  .sheet { min-height: 0; padding: var(--space-lg); }
  .acc summary { padding-right: var(--space-xl); }
}
@media (max-width: 25rem) {
  .btn--lg { padding: 0 var(--space-lg); font-size: var(--text-md); }
  .card, .price-box, .well { padding: var(--space-lg); }
}