:root { --tinta: #2B2158; --destaque: #FFB81C; --fundo: #F5F3FB; --suave: #5d5775; --linha: #d9d4ea; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 500 1.0625rem/1.55 "Bricolage Grotesque", "Segoe UI", sans-serif; color: var(--tinta); background: #fff; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0; max-width: 60ch; }
a { color: inherit; }
canvas { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #7a5cff; outline-offset: 3px; }
.largura { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.suave { color: var(--suave); }

.botao { display: inline-block; border: 0; border-radius: 12px; padding: .95rem 1.5rem; font: inherit; font-weight: 700; background: var(--destaque); color: #241b4a; text-decoration: none; cursor: pointer; text-align: center; }
.botao:hover { filter: brightness(1.06); }
.botao:disabled { opacity: .55; cursor: wait; }
.botao.leve { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 2px var(--linha); }

.topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 32px; height: 32px; fill: currentColor; }
.topo nav { display: flex; gap: 1.6rem; }
.topo nav a { text-decoration: none; }
.topo nav a:hover { text-decoration: underline; }

/* Abertura */
.abertura { background: var(--fundo); overflow: hidden; }
.abertura .grade { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; padding: 2.5rem 0 4.5rem; }
.abertura p { font-size: 1.2rem; margin: 1.3rem 0 1.8rem; max-width: 44ch; }
.experimente label { display: block; font-weight: 700; margin-bottom: .45rem; }
.experimente div { display: flex; gap: .6rem; max-width: 520px; }
.experimente input { flex: 1; min-width: 0; }
.abertura canvas { width: min(100%, 430px); margin-inline: auto; border-radius: 10px; transform: rotate(2.5deg); box-shadow: 0 24px 50px -20px rgb(43 33 88 / .45); }

section { padding: 5rem 0; }
.kit { display: grid; gap: 4rem; margin-top: 3rem; }
.item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; }
.item canvas { width: 100%; border-radius: 10px; box-shadow: 0 0 0 1px var(--linha); }
.item p { margin-top: .7rem; }

.achado { background: var(--tinta); color: #fff; }
.achado .grade { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.achado p { margin-top: 1.2rem; font-size: 1.15rem; max-width: 46ch; }
.telefone { width: 280px; background: #fff; color: #241b4a; border-radius: 30px; padding: 2rem 1.4rem; text-align: center; border: 8px solid #0f0a26; }
.telefone canvas { width: 130px; border-radius: 50%; margin: 0 auto 1rem; }
.telefone p { font-size: 1rem; margin: .5rem 0 1.2rem; }
.zap { display: block; background: #146c43; color: #fff; padding: .85rem; border-radius: 12px; font-weight: 700; text-decoration: none; }

.passos { list-style: none; counter-reset: p; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.passos li { counter-increment: p; }
.passos li::before { content: counter(p); display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; margin-bottom: .6rem; }

.oferta { background: var(--fundo); }
.oferta .grade { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.oferta ul { padding-left: 1.2rem; margin: 1.2rem 0 0; }
.valor { font-size: clamp(3.4rem, 9vw, 6rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 1rem; }
.oferta .botao { margin: 1.4rem 0 .8rem; }

details { border-top: 1px solid var(--linha); padding: 1.1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--linha); }
summary { font-weight: 700; font-size: 1.15rem; cursor: pointer; }
details p { margin-top: .7rem; }
.duvidas { margin-top: 2rem; max-width: 780px; }
footer { padding: 2.5rem 0; background: var(--tinta); color: #fff; }
footer .largura { display: grid; gap: .8rem; }

/* Montagem */
input, select { font: inherit; color: inherit; width: 100%; padding: .85rem .95rem; border: 2px solid var(--linha); border-radius: 12px; background: #fff; }
input[type=range] { padding: 0; accent-color: var(--tinta); border: 0; }
input:focus, select:focus { border-color: var(--tinta); outline: 0; }
.montar { background: var(--fundo); min-height: 100vh; padding-bottom: 4rem; }
.etapas { width: min(620px, 100% - 2.5rem); margin-inline: auto; }
.progresso { height: 8px; border-radius: 9px; background: var(--linha); overflow: hidden; margin: .5rem 0 2.2rem; }
.progresso div { height: 100%; width: 0; background: var(--tinta); transition: width .3s; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.campo { margin-top: 1.3rem; }
.campo > label, .campo > .rotulo { display: block; font-weight: 700; margin-bottom: .4rem; }
.campo small { font-weight: 500; color: var(--suave); }
.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.opcoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.opcoes label { flex: 1; min-width: 100px; position: relative; cursor: pointer; }
.opcoes input { position: absolute; opacity: 0; inset: 0; }
.opcoes span { display: block; text-align: center; padding: .85rem; border: 2px solid var(--linha); border-radius: 12px; background: #fff; font-weight: 600; }
.opcoes input:checked + span { border-color: var(--tinta); background: var(--tinta); color: #fff; }
.opcoes input:focus-visible + span { outline: 3px solid #7a5cff; outline-offset: 2px; }
.opcoes i { display: block; height: 46px; border-radius: 7px; margin-bottom: .5rem; border: 2px solid #fff; }
.erro { color: #a3200d; font-weight: 700; margin-top: 1rem; }
.acoes { display: flex; gap: .7rem; margin-top: 2rem; }
.acoes .botao:last-child { flex: 1; }
.ajuste { display: grid; gap: 1rem; justify-items: center; margin-top: 1.4rem; }
.ajuste canvas { width: 260px; touch-action: none; cursor: grab; }
.ajuste label { width: 260px; }

.resultado { width: min(1000px, 100% - 2.5rem); margin-inline: auto; }
.folhas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 2rem 0; align-items: start; }
.folhas figure { margin: 0; }
.folhas canvas { width: 100%; border-radius: 8px; box-shadow: 0 0 0 1px var(--linha); }
.folhas figcaption { margin-top: .5rem; font-weight: 600; }
.pagar { background: #fff; border-radius: 18px; padding: 1.8rem; display: grid; gap: 1rem; justify-items: start; }
.pagar .valor { font-size: 3rem; margin: 0; }
.teste { background: #fff0c7; color: #4a3300; border-radius: 10px; padding: .7rem 1rem; font-weight: 600; }

@media (max-width: 820px) {
  .topo nav { display: none; }
  .abertura .grade, .item, .achado .grade, .oferta .grade, .passos, .folhas { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .abertura .grade { padding: 1.5rem 0 3.5rem; }
  .abertura canvas { width: 82%; }
  section { padding: 3.5rem 0; }
  .telefone { margin-inline: auto; }
}
@media (max-width: 460px) {
  .experimente div { flex-direction: column; }
  .dupla { grid-template-columns: minmax(0, 1fr); }
  .topo .botao { padding: .7rem 1rem; font-size: .95rem; }
  .logo { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.pagar .campo { margin: 0; width: min(100%, 420px); }
.pagar img { border-radius: 10px; border: 1px solid var(--linha); }
.textos h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.textos p + p { margin-top: .8rem; }

/* Painel */
.numeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.numeros div { background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; }
.numeros strong { display: block; font-size: 1.8rem; font-variant-numeric: tabular-nums; }
.filtros { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.filtros select { width: auto; }
.tabela { overflow-x: auto; background: #fff; border-radius: 14px; }
.tabela table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabela th, .tabela td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--linha); white-space: nowrap; }
.tabela button { font: inherit; background: none; border: 0; padding: .3rem .5rem; color: var(--tinta); text-decoration: underline; cursor: pointer; }