/* Atelier Écrin: design system do Estúdio Joias (cores, tipos e sombras do DESIGN.md) */
:root {
  --fundo: #faf9f4;
  --fundo-baixo: #f5f4ef;
  --fundo-medio: #efeee9;
  --fundo-alto: #e9e8e3;
  --papel: #ffffff;
  --texto: #1b1c19;
  --texto-variante: #4e4639;
  --suave: #645d55;
  --linha: #e8e4da;
  --linha-forte: #dcd7cc;
  --ouro: #76571a;
  --ouro-hover: #916f30;
  --ouro-vivo: #eac079;
  --ouro-claro: rgba(158, 123, 59, .08);
  --ouro-borda: rgba(158, 123, 59, .2);
  --ouro-texto: #8b6a2f;
  --bege: #e8ded3;
  --ok: #3f7a52;
  --ok-fundo: #e5f0e8;
  --erro: #ba1a1a;
  --erro-fundo: #ffdad6;
  --andamento: #8b6a2f;
  --raio: 8px;
  --raio-botao: 6px;
  --raio-selo: 4px;
  --sombra-1: 0 4px 20px -2px rgba(43, 38, 31, .04);
  --sombra-2: 0 12px 28px -4px rgba(158, 123, 59, .08);
  --sombra-3: 0 24px 48px -12px rgba(43, 38, 31, .12);
  --curva: cubic-bezier(.16, 1, .3, 1);
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--fundo); }
::selection { background: #ffdea9; color: #271900; }
a { color: var(--ouro); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }

/* ---------- botões */
.pri, .sec { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--raio-botao);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: background .3s var(--curva), border-color .3s var(--curva); }
.pri { background: var(--ouro); color: #fff; border: 1px solid var(--ouro); padding: 9px 18px; }
.pri:hover { background: var(--ouro-hover); border-color: var(--ouro-hover); }
.pri:disabled { opacity: .45; cursor: default; background: var(--ouro); border-color: var(--ouro); }
.sec { background: var(--papel); color: var(--texto); border: 1px solid var(--linha-forte); padding: 8px 14px; font-weight: 500; }
.sec:hover { background: rgba(158, 123, 59, .06); border-color: #d4c7a8; }
.link { background: none; border: 0; color: var(--ouro); padding: 0 4px; font-size: 13px; font-weight: 500; }
.link:hover { text-decoration: underline; }
a.botao { padding: 6px 12px; font-size: 13px; }

/* ================================================================ app: celular primeiro; computador a partir de 768px */
body.pagina-app { min-height: 100dvh; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* barra do topo e abas de baixo (só no celular) */
.topo-app { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: rgba(250, 249, 244, .94); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.topo-app .marca { padding: 0; }
.topo-app .marca img { height: 40px; }
.chip-saldo { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--ouro-borda); background: var(--ouro-claro); color: var(--ouro-texto); font-size: 13px; font-weight: 600; }
.chip-saldo strong { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1; color: var(--texto); font-variant-numeric: lining-nums tabular-nums; }
.abas { position: fixed; z-index: 20; inset: auto 0 0; display: flex; gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--linha); }
.abas button { flex: 1; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; color: var(--suave); font-size: 11px; font-weight: 600; letter-spacing: .02em; border-radius: var(--raio-botao);
  -webkit-tap-highlight-color: transparent; }
.abas svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.abas button.ativo, .abas .aba-novo { color: var(--ouro); }
.abas .aba-novo svg { width: 52px; height: 30px; padding: 4px 14px; border-radius: 999px; background: var(--ouro); color: #fff; stroke-width: 2.2; }

/* lateral (só no computador) */
.lateral { display: none; }
.marca { display: block; width: fit-content; padding: 0 8px 24px; line-height: 0; }
.marca img { display: block; height: 72px; width: auto; }
.marca-escura { padding: 0; margin: 0 auto 24px; }
.marca-escura img { height: 96px; }
.menu { display: flex; flex-direction: column; gap: 2px; }
.menu button { border: 0; background: none; color: inherit; text-align: left; padding: 9px 12px; border-radius: var(--raio-botao); font-size: 14px; font-weight: 500;
  transition: background .3s var(--curva); }
.menu button:hover { background: var(--fundo-medio); }
.menu button.ativo { background: var(--ouro); color: #fff; }
.saldo { margin-top: auto; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1);
  padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.saldo span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ouro); }
.saldo strong { font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--texto); font-variant-numeric: tabular-nums lining-nums; line-height: 1.15; }
.saldo small { font-size: 12px; line-height: 1.4; color: var(--suave); min-height: 1em; }
.saldo .pri { margin-top: 10px; }
.usuario { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px 0; font-size: 13px; }

/* ---------- principal */
.principal { padding: 16px 16px 28px; }
.vazio { max-width: 480px; margin: 10vh auto; text-align: center; color: var(--suave); }
.vazio h1, .vazio h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.25; letter-spacing: -.01em; color: var(--texto); margin: 0 0 8px; }
.vazio p { margin: 0 0 20px; }
.vazio .pri { min-height: 48px; padding-inline: 24px; }
.cabecalho { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.cabecalho h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -.015em; margin: 0; }
.cabecalho .so-computador { display: none; }
.numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.numero { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); padding: 12px 14px; }
.numero span { display: block; font-size: 12px; line-height: 1.35; color: var(--suave); margin-bottom: 4px; }
.numero strong { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }

/* ---------- lotes */
.lote { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); margin-bottom: 16px; }
.lote-topo { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-bottom: 1px solid var(--linha); }
.lote-titulo { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.lote-topo h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; }
.lote-info { color: var(--suave); font-size: 13px; line-height: 1.45; }
.lote-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.lote-acoes > * { flex: 1 1 140px; min-height: 46px; }
.lote-acoes > .pri { flex-basis: 100%; font-size: 15px; }
.pri.pronto { background: var(--ok); border-color: var(--ok); }
.mais > summary { list-style: none; width: fit-content; padding: 6px 0; color: var(--ouro); font-size: 13px; font-weight: 600; }
.mais > summary::-webkit-details-marker { display: none; }
.mais > summary::after { content: " ▾"; }
.mais[open] > summary::after { content: " ▴"; }
.mais-lista { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.mais-lista > * { min-height: 44px; }
.selo { font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 2px 9px; border-radius: var(--raio-selo); border: 1px solid var(--ouro-borda);
  background: var(--ouro-claro); color: var(--ouro-texto); }
.selo.ok { background: var(--ok-fundo); border-color: #bfd8c6; color: var(--ok); }
.selo.erro { background: var(--erro-fundo); border-color: #f2b8b2; color: #93000a; }
.lote-erro { color: var(--erro); font-size: 13px; padding: 12px 14px 0; margin: 0; }
.lote-aviso { color: var(--erro); }
.andamento { padding: 14px; color: var(--suave); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.giro { width: 14px; height: 14px; flex: none; border: 2px solid var(--linha); border-top-color: var(--ouro); border-radius: 50%; animation: giro 1s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }
.refazer { border-color: #e3c3be; color: var(--erro); font-weight: 600; }

/* ---------- fotos do lote: a gerada grande, a sua foto no canto */
.galeria { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 12px; align-items: start; }
.par { position: relative; display: flex; flex-direction: column; border: 1px solid var(--linha); border-radius: var(--raio); overflow: hidden; background: var(--papel);
  transition: box-shadow .3s var(--curva), border-color .3s var(--curva); }
.par .foto { position: relative; background: var(--fundo-baixo); cursor: zoom-in; }
.par .foto > img, .par .espera { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.par .espera { display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--suave); text-align: center; padding: 8px;
  background: repeating-linear-gradient(45deg, #f5f3eb, #f5f3eb 8px, #efeee9 8px, #efeee9 16px); }
.par .espera.falha { color: #93000a; background: #fbecea; }
.par .original { position: absolute; left: 10px; bottom: 10px; width: 27%; max-width: 110px; padding: 0; border: 2px solid #fff; border-radius: 6px; overflow: hidden;
  background: #fff; box-shadow: 0 4px 14px rgba(27, 28, 25, .22); cursor: zoom-in; line-height: 0; }
.par .original img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.par .original span { position: absolute; inset: auto 0 0; padding: 12px 2px 4px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.2; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); text-align: center; }
.selo-foto { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5;
  background: rgba(255, 255, 255, .94); color: var(--ouro-texto); box-shadow: 0 2px 8px rgba(27, 28, 25, .12); }
.selo-foto.ok { color: var(--ok); }
.selo-foto.erro { color: var(--erro); }
.par .v { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; background: rgba(250, 249, 244, .92); color: var(--texto); padding: 2px 7px; border-radius: var(--raio-selo); }
.par.rev-reprovada { border-color: #e3c3be; }
.par.rev-reprovada .foto > img { opacity: .5; filter: grayscale(.6); }
.par.rev-aprovada { border-color: #9cc5a8; }
.par.refeita-par { opacity: .6; }
.par .nota { padding: 6px 10px 8px; font-size: 12px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* revisão de cada foto: botões grandes, ao alcance do polegar */
.revisao { display: flex; gap: 8px; padding: 10px; align-items: center; font-size: 13px; }
.revisao > button:not(.link), .revisao > a { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--raio-botao);
  font-size: 15px; font-weight: 600; transition: background .3s var(--curva); }
.revisao .aprovar-btn { background: var(--ok); border: 1px solid var(--ok); color: #fff; }
.revisao .aprovar-btn:hover { background: #356a46; }
.revisao .reprovar-btn { background: #fff; border: 1px solid #e3c3be; color: var(--erro); }
.revisao .reprovar-btn:hover { background: #fbecea; }
.revisao.reprovada { justify-content: space-between; color: var(--erro); }
.revisao .link { flex: none; min-height: 40px; font-size: 13px; }
.revisao.estado { margin: 0; display: block; color: var(--ouro-texto); font-weight: 600; line-height: 1.45; }
.neg { color: var(--erro); }
.pos { color: var(--ok); }

/* refazer no próprio cartão */
.caixa-refazer { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #fdf6f5; border-top: 1px solid #f2d4cf; }
.caixa-refazer > strong { font-size: 14px; color: var(--erro); }
.caixa-refazer textarea { font-size: 16px; background: #fff; }
.modo-refazer { display: flex; gap: 6px; }
.modo-refazer button { flex: 1; min-height: 44px; border: 1px solid var(--linha-forte); background: #fff; border-radius: var(--raio-botao); padding: 6px;
  font-size: 13px; font-weight: 600; color: var(--suave); line-height: 1.3; }
.modo-refazer button.ativo { border-color: var(--ouro); background: var(--ouro-claro); color: var(--ouro-texto); }
.caixa-refazer .pri { width: 100%; min-height: 48px; font-size: 15px; }
.caixa-refazer .links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.caixa-refazer .link { min-height: 40px; padding: 0; font-size: 13px; }
.caixa-refazer .links .link:last-child { color: var(--suave); }

@media (min-width: 560px) {
  .galeria { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* ---------- computador */
@media (min-width: 768px) {
  body.pagina-app { height: 100vh; display: flex; overflow: hidden; padding-bottom: 0; }
  .topo-app, .abas, .so-celular { display: none !important; }
  .lateral { width: 256px; flex: none; display: flex; flex-direction: column; padding: 24px 16px 16px; background: var(--fundo-baixo);
    color: var(--texto-variante); border-right: 1px solid var(--linha); }
  .principal { flex: 1; overflow-y: auto; padding: 36px 44px 64px; }
  .cabecalho { gap: 20px; margin-bottom: 24px; }
  .cabecalho h1 { font-size: 40px; }
  .cabecalho .so-computador { display: inline-flex; }
  .numeros { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 32px; }
  .numero { padding: 16px 18px; }
  .numero span { font-size: 13px; }
  .numero strong { font-size: 32px; }
  .lote { margin-bottom: 20px; }
  .lote-topo { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 20px; }
  .lote-acoes { margin-left: auto; }
  .lote-acoes > *, .lote-acoes > .pri { flex: none; min-height: 0; padding: 7px 14px; font-size: 13px; }
  .mais { flex-basis: 100%; }
  .mais-lista { flex-direction: row; flex-wrap: wrap; }
  .mais-lista > * { min-height: 0; padding: 6px 12px; font-size: 13px; }
  .lote-erro { padding: 12px 20px 0; }
  .andamento { padding: 18px 20px; }
  .galeria { gap: 16px; padding: 18px 20px 20px; }
  .par:hover { box-shadow: var(--sombra-2); border-color: #d4c7a8; }
  .revisao { gap: 6px; padding: 8px; }
  .revisao > button:not(.link), .revisao > a { min-height: 38px; font-size: 13px; }
  .caixa-refazer textarea { font-size: 14px; }
  .modo-refazer button { min-height: 36px; font-size: 12px; }
  .caixa-refazer .pri { min-height: 40px; font-size: 14px; }
  .caixa-refazer .link { min-height: 0; padding: 4px 0; font-size: 12px; }
}

/* ---------- formulários */
label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--texto-variante); flex: 1; }
input, select, textarea { border: 1px solid var(--linha-forte); border-radius: var(--raio-botao); padding: 9px 11px; background: #fdfcfa; color: var(--texto); font-size: 14px; font-weight: 400;
  transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(158, 123, 59, .15); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ouro); }
textarea { resize: vertical; width: 100%; font-size: 13px; line-height: 1.5; }
.linha { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.linha > label { min-width: 130px; }
.linha input, .linha select { min-width: 0; width: 100%; }
.linha > input { flex: 1; }
.centro { justify-content: center; }
fieldset { border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px 16px 16px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
legend { font-family: var(--serif); font-size: 18px; font-weight: 500; padding: 0 6px; color: var(--texto); }
.ajuda { margin: 0; font-size: 13px; line-height: 1.5; color: var(--suave); }
.ajuda.ok { color: var(--ok); }
details[open] > summary { margin-bottom: 10px; }
.aviso { margin: 0; font-size: 13px; color: var(--erro); min-height: 1em; }
.acoes { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

/* ---------- diálogos: folha que sobe no celular, janela no computador */
.dialogo { border: 0; padding: 0; color: var(--texto); background: var(--papel); box-shadow: var(--sombra-3);
  width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; }
.dialogo[open] { animation: folha .4s var(--curva); }
@keyframes folha { from { transform: translateY(32px); opacity: 0; } }
.dialogo::backdrop { background: rgba(43, 38, 31, .35); backdrop-filter: blur(4px); }
.dialogo form { padding: 22px 16px 0; display: flex; flex-direction: column; gap: 14px; max-height: 92dvh; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.dialogo h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
.dialogo .acoes { position: sticky; bottom: 0; z-index: 1; margin: auto -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--papel); border-top: 1px solid var(--linha); }
.dialogo .acoes > * { flex: 1; min-height: 48px; }
.conta-linha { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid var(--linha);
  font-size: 13px; color: var(--suave); }
.conta-linha .link { min-height: 40px; font-size: 14px; }
.sub { font-family: var(--sans); font-size: 14px; color: var(--suave); letter-spacing: 0; }
.modos { display: flex; flex-direction: column; gap: 8px; }
.modo { flex-direction: row; align-items: flex-start; gap: 10px; border: 1px solid var(--linha); border-radius: var(--raio); padding: 12px; cursor: pointer; color: var(--suave); font-weight: 400; }
.modo:has(input:checked) { border-color: var(--ouro); background: var(--ouro-claro); }
.modo input { margin-top: 3px; padding: 0; border: 0; flex: none; }
.modo strong { display: block; color: var(--texto); font-size: 14px; margin-bottom: 2px; }
.zona { border: 2px dashed #cfc7b4; border-radius: var(--raio); padding: 24px; text-align: center; color: var(--suave); background: #f5f3eb; transition: background .2s, border-color .2s; }
.zona.sobre { border-color: var(--ouro); background: var(--ouro-claro); }
.zona p { margin: 0 0 12px; }
.zona strong { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--texto); }
.miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; max-height: 190px; overflow-y: auto; }
.miniaturas:empty { display: none; }
.mini { position: relative; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--raio-botao); display: block; }
.mini button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(43, 38, 31, .7); color: #fff; font-size: 15px; line-height: 1; padding: 0; }
.mini.erro img { opacity: .35; }
.mini.fila img { opacity: .6; }
.mini .progresso { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 4px; background: rgba(255, 255, 255, .7); border-radius: 2px; overflow: hidden; }
.mini .progresso i { display: block; height: 100%; background: var(--ouro); transition: width .2s; }
.mini-erro { position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--erro); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.estimativa { flex: 1; background: var(--ouro-claro); border: 1px solid var(--ouro-borda); border-radius: var(--raio-botao); padding: 6px 12px; }
.estimativa span { display: block; font-size: 12px; color: var(--suave); }
.estimativa strong { font-size: 15px; }
details summary { cursor: pointer; }

/* texto e botões que só fazem sentido com mouse (arrastar, pastas) ou só no toque */
.so-toque { display: none; }
@media (pointer: coarse) {
  .so-mouse { display: none !important; }
  .so-toque { display: inline; }
  .zona { padding: 18px 14px; }
  .zona .pri { width: 100%; min-height: 48px; font-size: 15px; }
}

/* ---------- visor: tela cheia no celular (alterna gerada / sua foto), lado a lado no computador */
.visor { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #14120f; color: #fff; }
.visor[open] { display: flex; flex-direction: column; }
.visor::backdrop { background: rgba(20, 18, 15, .9); }
.visor-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
.visor-abas { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.visor-abas button { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 600; }
.visor-abas button.ativo { background: #fff; color: var(--texto); }
.fechar { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; line-height: 1; }
.fechar:focus-visible { outline-color: #fff; }
.visor-par { flex: 1; min-height: 0; display: flex; justify-content: center; gap: 16px; padding: 0 12px; }
.visor figure { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.visor:not([data-lado="original"]) figure[data-lado="original"], .visor[data-lado="original"] figure[data-lado="gerada"] { display: none; }
.visor img { display: block; max-width: 100%; max-height: calc(100dvh - 210px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: var(--raio); background: #fff; }
.visor-acoes { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.visor-acoes:empty { display: none; }
.visor-acoes > * { flex: 1; min-height: 50px; font-size: 15px; }
.visor-acoes .sec { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.visor-acoes .aprovar-btn { background: var(--ok); border-color: var(--ok); }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 100; background: #2b261f; color: #fff; padding: 10px 18px;
  border-radius: var(--raio-botao); font-size: 14px; transition: .3s var(--curva); pointer-events: none; box-shadow: var(--sombra-3); }
.toast.visivel { opacity: 1; transform: translateX(-50%); }
.toast.erro { background: var(--erro); }
.toast[popover] { inset: auto auto 22px 50%; margin: 0; border: 0; width: max-content; max-width: 92vw; }

@media (max-width: 767px) {
  body.pagina-app .toast, body.pagina-app .toast[popover] { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (min-width: 768px) {
  .dialogo { width: min(780px, 92vw); margin: auto; border: 1px solid var(--linha); border-radius: var(--raio); }
  .dialogo.pequeno { width: min(420px, 92vw); }
  .dialogo::backdrop { background: rgba(249, 248, 243, .75); backdrop-filter: blur(8px); }
  .dialogo form { padding: 26px 28px 0; max-height: 88vh; }
  .dialogo h2 { font-size: 28px; }
  .dialogo .acoes { justify-content: flex-end; margin: auto -28px 0; padding: 14px 28px 22px; border-top: 0; }
  .dialogo .acoes > * { flex: none; min-height: 0; }
  .visor { width: auto; height: auto; max-width: 96vw; max-height: 94vh; margin: auto; background: transparent; }
  .visor-abas { visibility: hidden; }
  .visor .visor-par figure[data-lado] { display: flex; }
  .visor img { max-height: 76vh; max-width: 44vw; }
  .visor-acoes { justify-content: center; }
  .visor-acoes > * { flex: none; min-width: 170px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .dialogo[open] { animation: none; }
}

/* ---------- créditos */
.pacotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.pacote { border: 1px solid var(--linha); background: #fff; border-radius: var(--raio); padding: 18px; display: flex; flex-direction: column; gap: 2px; text-align: left;
  transition: border-color .3s var(--curva), box-shadow .3s var(--curva); }
.pacote:hover { border-color: #d4c7a8; box-shadow: var(--sombra-2); }
.pacote:disabled { opacity: .5; cursor: wait; }
.pacote .nome { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; }
.pacote strong { font-size: 13px; font-weight: 500; color: var(--suave); }
.pacote .preco { font-family: var(--serif); font-size: 32px; font-variant-numeric: lining-nums; color: var(--texto); line-height: 1.3; }
.pacote small { color: var(--ouro-texto); font-weight: 600; font-size: 12px; }

/* ---------- tabelas e admin */
.versoes table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; }
.versoes th { text-align: left; font-weight: 600; color: var(--suave); font-size: 12px; padding: 4px 8px; border-bottom: 1px solid var(--linha); }
.versoes td { padding: 7px 8px; border-bottom: 1px solid var(--linha); font-variant-numeric: tabular-nums; }
.versoes tr:last-child td { border-bottom: 0; }
.versoes tr.ativa td { background: var(--ouro-claro); }
.versoes .taxa { font-weight: 600; }
.versoes input[type="number"] { width: 84px; padding: 4px 6px; font-size: 13px; }
.versoes input[type="radio"] { padding: 0; margin: 0; }
.config { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.config fieldset, fieldset.config { background: var(--papel); box-shadow: var(--sombra-1); }
fieldset > .sec { align-self: flex-start; }
.pacote-linha { margin-bottom: 4px; }
.pacote-linha label { max-width: 220px; }

/* ---------- páginas de conta */
.pagina-conta { min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: 7vh 16px 40px; }
.conta { width: 100%; max-width: 440px; }
.conta:has(.largo-cartao:not([hidden])) { max-width: 660px; }
.cartao { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.cartao h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.largo { width: 100%; padding: 12px; }
.estreito { flex: 0 0 120px; min-width: 0 !important; }
.rodape-conta { text-align: center; font-size: 13px; color: var(--suave); margin: 0; }
.codigo { font-size: 26px; letter-spacing: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.aceite { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.aceite input { margin-top: 3px; padding: 0; border: 0; flex: none; }

/* ---------- termos e privacidade */
.legal { max-width: 860px; margin: 0 auto; padding: 3.5rem 4rem 4.5rem; overflow-wrap: anywhere; }
.legal h1 { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 4px; }
.legal h2 { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--texto-variante); }
.legal p { margin: 0 0 .75rem; }
.legal ul { margin: 0 0 .75rem; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; }
.legal strong { color: var(--texto); font-weight: 600; }
.legal .atualizado { font-size: 13px; color: var(--suave); margin-bottom: 1.25rem; }

/* ================================================================ página inicial */
.ic { font-family: "Material Symbols Outlined"; font-weight: 400; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-smoothing: antialiased; font-feature-settings: "liga"; flex: none; }
.ic.dourado { color: var(--ouro); }
.caixa { max-width: 1200px; margin: 0 auto; padding-inline: 4rem; }

.topo { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(250, 249, 244, .85); backdrop-filter: blur(24px); box-shadow: 0 1px 8px rgba(0, 0, 0, .03); }
.topo .caixa { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo .marca { padding: 0; }
.topo .marca img { height: 56px; }
.topo nav { display: flex; gap: 24px; }
.topo nav a, .topo .entrar { font-size: 14px; font-weight: 600; letter-spacing: .01em; color: var(--texto-variante); text-decoration: none; transition: color .2s; }
.topo nav a:hover, .topo .entrar:hover { color: var(--texto); }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.topo-acoes .pri { padding: 10px 20px; }
main.inicio { padding-top: 80px; }

.secao { padding-block: 3.5rem; }
.secao.clara { background: var(--fundo-baixo); }
.selo-secao { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); margin-bottom: 8px; }
.titulo-secao { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.2; letter-spacing: -.015em; margin: 0; }
.apoio { color: var(--suave); margin: 8px 0 0; }
.cabeca-secao { max-width: 672px; margin: 0 auto 3.5rem; text-align: center; }
.cabeca-secao.esquerda { max-width: none; margin-inline: 0; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

.heroi { position: relative; overflow: hidden; padding-block: 6rem; }
.heroi::before, .heroi::after { content: ""; position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.heroi::before { top: -6rem; left: -6rem; width: 24rem; height: 24rem; background: rgba(235, 225, 214, .3); }
.heroi::after { top: 33%; right: -6rem; width: 32rem; height: 32rem; background: rgba(255, 222, 169, .2); }
.heroi-grade { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: center; }
.heroi-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--raio-selo); background: var(--fundo-alto); color: var(--texto-variante); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ouro); }
.heroi h1 { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 60px; letter-spacing: -.02em; margin: 0; max-width: 576px; }
.heroi h1 em { color: var(--ouro); }
.heroi-apoio { font-size: 18px; line-height: 28px; color: var(--suave); margin: 0; max-width: 512px; }
.heroi-botoes { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.heroi-botoes .pri, .heroi-botoes .sec { padding: 13px 26px; border-radius: var(--raio); }
.heroi-botoes .sec { background: var(--fundo-medio); border-color: var(--fundo-medio); }
.heroi-botoes .sec:hover { background: var(--fundo-alto); border-color: var(--fundo-alto); }
.selos-confianca { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--texto-variante); }
.selos-confianca span { display: inline-flex; align-items: center; gap: 4px; }
.selos-confianca .ic { font-size: 18px; color: var(--ouro); }
.fatos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 448px; width: 100%; padding-top: 1.25rem; }
.fatos strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 36px; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.fatos span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; line-height: 16px; color: var(--suave); }
.heroi-visual { position: relative; }
.heroi-foto { position: relative; aspect-ratio: 4 / 5; border-radius: var(--raio); overflow: hidden; background: var(--fundo-baixo); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.heroi-foto > img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; display: block; }
.heroi-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 45%); }
.heroi-cartao { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; padding: 14px; border-radius: var(--raio); background: rgba(250, 249, 244, .95); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--sombra-3); }
.heroi-cartao > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.heroi-cartao img { width: 48px; height: 48px; border-radius: var(--raio-botao); object-fit: cover; flex: none; }
.heroi-cartao p { margin: 0; font-size: 13px; line-height: 18px; color: var(--suave); }
.heroi-cartao b { display: block; font-size: 12px; font-weight: 600; color: var(--texto); letter-spacing: .02em; }
.heroi-cartao .bola { width: 32px; height: 32px; border-radius: 50%; background: #ffdea9; color: #271900; display: flex; align-items: center; justify-content: center; flex: none; }
.heroi-cartao .bola .ic { font-size: 18px; }
.nota-ilustra { margin: 8px 0 0; font-size: 12px; color: var(--suave); text-align: right; }

.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cartao-info { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); transition: box-shadow .4s var(--curva), border-color .4s var(--curva); }
.cartao-info:hover { box-shadow: var(--sombra-2); border-color: #d4c7a8; }
.passo { padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.passo-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.passo-numero { font-family: var(--serif); font-size: 36px; line-height: 40px; color: var(--ouro); font-variant-numeric: lining-nums; }
.bola-icone { width: 40px; height: 40px; border-radius: 50%; background: var(--fundo-medio); color: var(--ouro); display: flex; align-items: center; justify-content: center; }
.passo h3, .vantagem h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 28px; margin: 0 0 8px; }
.passo p, .vantagem p { color: var(--suave); margin: 0; }
.passo-nota { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--raio-botao); background: var(--fundo-baixo); color: var(--texto-variante); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.passo-nota .ic { font-size: 16px; color: var(--ouro); }

.obra { overflow: hidden; display: flex; flex-direction: column; }
.obra-foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fundo-medio); }
.obra-foto > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--curva); }
.obra:hover .obra-foto > img { transform: scale(1.05); }
.obra-selo { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: var(--raio-botao); background: rgba(250, 249, 244, .9); backdrop-filter: blur(12px); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.obra-inset { position: absolute; right: 16px; bottom: 16px; width: 112px; height: 112px; border-radius: var(--raio); overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .2); border: 2px solid var(--papel); }
.obra-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.obra-inset span { position: absolute; left: 6px; bottom: 4px; padding: 1px 6px; border-radius: var(--raio-selo); background: rgba(250, 249, 244, .85); font-size: 10px; font-weight: 600; }
.obra-texto { padding: 1.25rem; }
.obra-texto small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ouro); }
.obra-texto h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 28px; margin: 4px 0; }
.obra-texto p { margin: 0; font-size: 13px; line-height: 20px; color: var(--suave); }
.chip-bege { display: inline-block; padding: 4px 12px; border-radius: var(--raio-selo); background: var(--bege); color: #5c554c; font-size: 12px; font-weight: 600; letter-spacing: .04em; }

.grade-vantagens { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.vantagens { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.vantagem { padding: 1.25rem; }
.vantagem .ic { font-size: 28px; color: var(--ouro); display: block; margin-bottom: 8px; }
.vantagem p { font-size: 13px; line-height: 20px; }
.comparativo { padding: 3.5rem; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-2); }
.comparativo .apoio { margin-bottom: 1.25rem; }
.custo-lista { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.custo-linha { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--raio-botao); background: var(--fundo-baixo); }
.custo-linha .ic { font-size: 18px; color: var(--erro); }
.custo-final { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; padding: 16px; border-radius: var(--raio); background: var(--ouro); color: #fff; }
.custo-final b { display: block; font-size: 14px; }
.custo-final span { font-size: 13px; opacity: .9; }
.custo-final strong { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 36px; white-space: nowrap; font-variant-numeric: lining-nums; }

.grade-pacotes { align-items: stretch; }
.plano { position: relative; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; }
.plano.destaque { box-shadow: 0 20px 25px -5px rgba(43, 38, 31, .1), 0 8px 10px -6px rgba(43, 38, 31, .08); transform: translateY(-8px); border-color: #d4c7a8; }
.plano-selo { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: var(--raio-selo); background: var(--ouro); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.plano small.tipo { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.plano.destaque small.tipo { color: var(--ouro); }
.plano h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 36px; letter-spacing: -.01em; margin: 4px 0 0; }
.plano .apoio { min-height: 48px; }
.plano-preco { font-family: var(--serif); font-size: 52px; line-height: 60px; letter-spacing: -.02em; margin-top: 1.25rem; font-variant-numeric: lining-nums; }
.plano-unidade { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--ouro); margin-top: 4px; }
.plano ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 20px; color: var(--texto-variante); }
.plano li { display: flex; align-items: center; gap: 8px; }
.plano li .ic { font-size: 18px; color: var(--ouro); }
.plano .pri, .plano .sec { width: 100%; padding: 12px; border-radius: var(--raio); }
.plano .sec { background: var(--fundo-medio); border-color: var(--fundo-medio); }
.plano .sec:hover { background: var(--fundo-alto); border-color: var(--fundo-alto); }
.garantia { margin-top: 2rem; padding: 1.25rem; border-radius: var(--raio); background: var(--fundo-baixo); display: flex; align-items: center; justify-content: center; gap: 16px; }
.garantia .bola-icone { width: 48px; height: 48px; background: var(--fundo-alto); flex: none; }
.garantia h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 28px; margin: 0; }
.garantia p { margin: 0; font-size: 13px; line-height: 20px; color: var(--suave); }

.duvidas { max-width: 860px; margin: 0 auto; padding-inline: 4rem; }
.duvida { padding: 1.25rem; margin-bottom: 12px; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-1); }
.duvida summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 28px; }
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary .ic { font-size: 24px; color: var(--ouro); transition: transform .3s var(--curva); }
.duvida[open] summary .ic { transform: rotate(180deg); }
.duvida p { margin: 12px 0 0; color: var(--suave); }

.chamada { position: relative; overflow: hidden; padding: 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra-2); }
.chamada::after { content: ""; position: absolute; right: -5rem; bottom: -5rem; width: 20rem; height: 20rem; border-radius: 50%; background: rgba(255, 222, 169, .2); filter: blur(64px); pointer-events: none; }
.chamada > * { position: relative; z-index: 1; }
.chamada > div { max-width: 576px; }
.chamada .chip-bege { margin-bottom: 12px; }
.chamada .pri { flex: none; padding: 15px 30px; border-radius: var(--raio); }

.rodape { background: var(--fundo-baixo); color: var(--texto-variante); }
.rodape .caixa { padding-block: 3.5rem; }
.rodape-grade { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.rodape .marca { padding: 0 0 12px; }
.rodape .marca img { height: 64px; }
.rodape p { margin: 0; font-size: 13px; line-height: 20px; max-width: 400px; }
.rodape h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 28px; color: var(--texto); margin: 0 0 12px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.rodape a { color: inherit; text-decoration: none; }
.rodape a:hover { color: var(--texto); }
.rodape p.rodape-fim { max-width: none; padding-top: 1.5rem; border-top: 1px solid var(--linha); font-size: 12px; font-weight: 600; letter-spacing: .02em; }

/* ---------- tablet */
@media (max-width: 1023px) {
  .caixa, .duvidas, .legal { padding-inline: 2rem; }
  .topo nav { display: none; }
  .heroi { padding-block: 3.5rem; }
  .heroi-grade, .grade-vantagens { grid-template-columns: 1fr; gap: 2rem; }
  .heroi-visual { max-width: 460px; }
  .grade-3 { grid-template-columns: 1fr; }
  .plano.destaque { transform: none; }
  .comparativo, .chamada { padding: 2rem; }
  .chamada { flex-direction: column; align-items: flex-start; }
}

/* ---------- celular */
@media (max-width: 767px) {
  input, select, textarea, .caixa-refazer textarea { font-size: 16px; } /* o iPhone não dá zoom ao digitar */
  .cartao { padding: 24px 20px; }
  .cartao h1 { font-size: 28px; line-height: 36px; }

  .caixa, .duvidas, .legal { padding-inline: 1.25rem; }
  .legal { padding-block: 2rem 3rem; }
  .legal h1 { font-size: 32px; }
  .topo .caixa { height: 64px; }
  .topo .marca img { height: 44px; }
  .topo .caixa { gap: 8px; }
  .topo .entrar { font-size: 13px; }
  .topo-acoes { gap: 10px; }
  .topo-acoes .pri { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  main.inicio { padding-top: 64px; }
  .heroi h1 { font-size: 34px; line-height: 42px; letter-spacing: -.01em; }
  .heroi-apoio { font-size: 16px; line-height: 26px; }
  .heroi-botoes { width: 100%; flex-direction: column; }
  .heroi-botoes .pri, .heroi-botoes .sec { width: 100%; }
  .titulo-secao { font-size: 28px; line-height: 36px; letter-spacing: -.01em; }
  .cabeca-secao { margin-bottom: 2rem; }
  .vantagens { grid-template-columns: 1fr; }
  .fatos { gap: 12px; }
  .fatos strong { font-size: 22px; line-height: 28px; }
  .comparativo, .chamada, .plano, .passo { padding: 1.5rem; }
  .plano .apoio { min-height: 0; }
  .plano-preco { font-size: 44px; line-height: 52px; }
  .duvida summary { font-size: 18px; line-height: 24px; }
  .garantia { flex-direction: column; text-align: center; }
  .rodape-grade { grid-template-columns: 1fr; }
}
