/* O site público do MEIHub. As cores e a letra são as do app (src/MEIHub.Web/wwwroot/app.css): o grafite nas partes do
   produto e o claro do app nas partes da rotina e da conversa. O laranja só nos botões, no progresso e na marca.
   A exceção é o "antes" da comparação: uma mesa cinza, de papel, com o vermelho de caneta. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fontes/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fontes/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fontes/jetbrains-mono-latin.woff2") format("woff2"); }

:root {
  --grafite-0: #0E1013; --grafite: #15181C; --grafite-1: #1A1E22; --grafite-2: #22272C; --linha: #2A3037; --linha-2: #3A4149;
  --ink: #ECEEF0; --ink-2: #AEB4BB; --ink-3: #8A9199;
  --papel: #F7F8F9; --papel-2: #EEF0F2; --papel-linha: #E0E3E7; --tinta: #1B1F23; --tinta-2: #4E555D; --tinta-3: #6A7179;
  --laranja: #FF5A1F; --laranja-escuro: #D9480D; --fita: linear-gradient(100deg, #FF6E33, #F24A10); --sobre-laranja: #1C0D05;
  --verde: #4CC38A; --verde-escuro: #12855A;
  --marca-laranja: #EB5D2A; --marca-tinta: #FFFFFF;
  /* A mesa do "antes": cinza frio, papel quase branco, grafite de lápis e o vermelho apagado da caneta. */
  --mesa: #CDD1D6; --folha: #F4F5F3; --lapis: #3C4249; --lapis-2: #6F7780; --pauta: #D5DAE0; --caneta: #B5443B; --caneta-azul: #3D5577; --postit: #ECD6D0;
  --fonte: "Inter", "Segoe UI", system-ui, sans-serif; --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --largura: 1240px; --lado: clamp(20px, 5vw, 48px); --topo: 68px;
  --sobe: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--topo) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--grafite); color: var(--ink); font: 400 17px/1.6 var(--fonte); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss03"; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 3px; border-radius: 6px; }
.envolve { width: min(var(--largura), 100% - 2 * var(--lado)); margin-inline: auto; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--grafite); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }
.marca-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.marca { display: block; flex: none; color: var(--marca-tinta); }

/* ---------- Botões ---------- */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 13px; background: var(--fita); color: var(--sobre-laranja); font: 650 16px/1 var(--fonte); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 28px -12px rgb(255 90 31 / .7); transition: filter .2s, transform .2s, box-shadow .2s; }
.botao:hover { filter: brightness(1.07); box-shadow: 0 14px 32px -12px rgb(255 90 31 / .85); }
.botao:active { transform: translateY(1px); }
.botao svg { width: 18px; height: 18px; flex: none; }
.botao.leve { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--linha-2); }
.botao.leve:hover { background: rgb(255 255 255 / .05); filter: none; box-shadow: inset 0 0 0 1px var(--ink-3); }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; height: var(--topo); transition: background .25s, box-shadow .25s; }
.topo.rolou { background: rgb(14 16 19 / .84); box-shadow: 0 1px 0 var(--linha); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.topo .envolve { height: 100%; display: flex; align-items: center; gap: 36px; }
.topo .logo { display: block; text-decoration: none; }
.topo .logo .marca { width: 78px; height: 36px; }
.topo nav { display: flex; gap: 26px; margin-left: auto; }
.topo nav a { font: 500 15px var(--fonte); color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s; }
.topo nav a:hover, .topo nav a[aria-current="page"] { color: var(--ink); }
.topo nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.topo .botao { height: 40px; padding: 0 18px; border-radius: 11px; font-size: 14.5px; }

/* ---------- Abertura: o título à esquerda, a conversa à direita e a janela do app já aparecendo ---------- */
/* O fim da abertura já é o claro da seção seguinte: a janela fica metade em cada uma. */
.heroi { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 92px); background: linear-gradient(to bottom, var(--grafite) calc(100% - min(17vw, 210px)), var(--papel) 0); }
.heroi-fundo { position: absolute; z-index: 0; top: clamp(-60px, -3vw, -10px); right: clamp(-360px, -20vw, -140px); width: clamp(500px, 56vw, 900px); aspect-ratio: 153 / 150; color: #1B2026; --marca-laranja: #20262D; pointer-events: none; }
.heroi-fundo svg { width: 100%; height: 100%; }
.heroi-grade { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 80px); align-items: end; }
.heroi h1 { margin: 0; font-size: clamp(2.75rem, 6.2vw, 5.6rem); font-weight: 760; line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.heroi-lado { padding-bottom: .35rem; }
.heroi .lead { max-width: 46ch; margin: 0; font-size: clamp(1.04rem, 1.3vw, 1.16rem); line-height: 1.6; color: var(--ink-2); }
.heroi .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.heroi-nota { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: .93rem; color: var(--ink-3); }
.heroi-nota svg { width: 15px; height: 15px; margin-top: .25em; flex: none; color: var(--verde); }
.heroi-palco { grid-column: 1 / -1; position: relative; margin-top: clamp(44px, 5.5vw, 76px); perspective: 2000px; }
.janela { position: relative; overflow: hidden; border-radius: 14px; background: var(--grafite-0); box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 50px 100px -30px rgb(0 0 0 / .75), 0 20px 40px -20px rgb(0 0 0 / .5); }
.janela img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.heroi-janela { transform-origin: 50% 0; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 60px 110px -40px rgb(16 24 40 / .7), 0 24px 48px -24px rgb(0 0 0 / .5); }
/* A abertura: o título e a conversa sobem em sequência uma vez, ao carregar. */
@media (prefers-reduced-motion: no-preference) {
  .heroi h1, .heroi-lado > * { animation: sobe .9s var(--sobe) both; }
  .heroi-lado > :nth-child(1) { animation-delay: .1s; } .heroi-lado > :nth-child(2) { animation-delay: .18s; } .heroi-lado > :nth-child(3) { animation-delay: .26s; }
  .heroi-palco { animation: sobe 1.1s .3s var(--sobe) both; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } }
/* Ao rolar, a janela inclinada se endireita e a marca do fundo sobe mais devagar que a página. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .heroi-janela { animation: endireita linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    .heroi-fundo { animation: flutua linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  }
}
@keyframes endireita { from { transform: rotateX(17deg) scale(.9) translateY(24px); } to { transform: none; } }
@keyframes flutua { to { transform: translateY(-14%) rotate(-4deg); } }

/* ---------- Seções ---------- */
.secao { padding: clamp(96px, 12vw, 168px) 0; }
.papel { background: var(--papel); color: var(--tinta); color-scheme: light; }
.papel + .papel { padding-top: 0; }
.cabeca { max-width: 780px; }
.cabeca h2, .comecar h2, .fecho h2 { margin: 0; font-size: clamp(2.15rem, 4.5vw, 3.75rem); font-weight: 730; line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; }
.cabeca p { max-width: 58ch; margin: 24px 0 0; font-size: clamp(1.05rem, 1.3vw, 1.18rem); color: var(--ink-2); }
.papel .cabeca p { color: var(--tinta-2); }

/* ---------- Antes e depois: a mesma semana na mesa e no MEIHub ----------
   Cada papel da mesa fica em cima da parte do painel que resolve aquele problema: ao passar a divisória, a bagunça vira
   a tela no mesmo lugar. As medidas dos papéis são frações do quadro (--x, --y, --w, --r; no celular, --mx, --my, --mw,
   --mr) e a letra acompanha a largura do quadro (--k, em cqw), para a composição ser a mesma em qualquer tamanho. */
.virada { padding-top: clamp(72px, 9vw, 128px); }
.lados { display: flex; justify-content: space-between; gap: 16px; margin: clamp(40px, 5vw, 64px) 2px 14px; font-size: .95rem; font-weight: 630; color: var(--tinta-2); }
.lados span { display: inline-flex; align-items: center; gap: 9px; }
.lados span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.l-antes::before { background: var(--caneta); }
.l-depois::before { background: var(--laranja); }
.quadro { --c: 50; --corte: calc(var(--c) * 1%); --k: 1.02cqw; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: var(--grafite-0); container-type: inline-size; box-shadow: 0 0 0 1px rgb(16 24 40 / .14), 0 60px 110px -50px rgb(16 24 40 / .55), 0 24px 40px -28px rgb(16 24 40 / .35); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.depois, .antes, .aneis { position: absolute; inset: 0; }
.depois img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.antes { overflow: hidden; clip-path: inset(0 calc(100% - var(--corte)) 0 0); background: radial-gradient(130% 110% at 32% 28%, #DCDFE3 0%, var(--mesa) 58%, #BCC2C9 100%); color: var(--lapis); font-size: var(--k); line-height: 1.4; }
.antes p, .antes ul { margin: 0; }
/* As abas do navegador, abertas o dia inteiro, por cima da barra do app. */
.guias { position: absolute; inset: 0 0 auto; height: 5.6%; display: flex; align-items: flex-end; gap: .35em; padding: 0 1.2em; background: #B4BAC1; white-space: nowrap; }
.guias span { display: block; flex: 0 1 auto; min-width: 0; max-width: 17%; height: 80%; padding: .5em 1em 0; overflow: hidden; border-radius: .6em .6em 0 0; background: #C6CBD1; color: #4A5058; font-size: .86em; text-overflow: ellipsis; }
.guias span.ativa { max-width: 26%; background: #E7E9EC; color: #2F343A; }
.guias i { display: inline-block; width: .85em; height: .85em; margin-right: .5em; vertical-align: -.1em; border-radius: .2em; background: var(--cor); }
.guias b { align-self: center; padding: 0 .5em; font-weight: 500; color: #5B626A; }
.peca { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); rotate: calc(var(--r) * 1deg); box-shadow: 0 .12em .3em rgb(30 35 42 / .2), 0 1.4em 2.4em -1em rgb(30 35 42 / .5); transition: translate .35s var(--sobe), box-shadow .35s; }
.peca.aceso { translate: 0 -.45em; box-shadow: 0 .12em .3em rgb(30 35 42 / .2), 0 2.2em 3.2em -1.2em rgb(30 35 42 / .65); }
/* A letra de quem escreveu à mão: inclinada e no grafite azulado do lápis. */
.lista li, .caderno b, .caderno p span, .os p i, .postit p, .ft-nota, .pl-nota { font-style: italic; }
/* A planilha do caixa, com a fórmula quebrada. */
.planilha { overflow: hidden; border-radius: .5em; background: #F6F7F8; }
.pl-barra { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .55em 1em; background: #E2E5E9; border-bottom: 1px solid #D0D4D9; font-size: .92em; white-space: nowrap; }
.pl-barra span { overflow: hidden; text-overflow: ellipsis; }
.pl-barra em { flex: none; padding: .1em .6em; border-radius: .4em; background: #F0D9D5; color: #9C3A32; font-size: .85em; font-style: normal; }
.planilha table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 500 .95em/1 var(--mono); color: var(--lapis); }
.planilha th, .planilha td { height: 2.15em; padding: 0 .6em; border: 1px solid #DADDE2; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.planilha thead th, .planilha tbody th { background: #ECEEF1; color: #8A9199; font-weight: 500; text-align: center; font-size: .88em; }
.planilha thead th:nth-child(1) { width: 2.6em; } .planilha thead th:nth-child(2) { width: 13%; } .planilha thead th:nth-child(3) { width: 30%; }
.planilha td:nth-child(n+4) { text-align: right; }
.pl-cab td, .pl-total td { font-family: var(--fonte); font-weight: 650; color: #4A5058; }
.pl-cab td { background: #EEF0F2; }
.pl-erro { color: var(--caneta); background: #F6E3E0; font-weight: 700; }
.pl-nota { position: absolute; left: 33%; bottom: 2.5em; padding: .5em .9em; background: var(--postit); color: #7D2F28; font-weight: 600; rotate: -3deg; box-shadow: 0 .4em .9em -.4em rgb(0 0 0 / .4); }
/* A lista da segunda-feira, em folha pautada. */
.lista { padding: .9em 1em 1.1em 2.5em; background: var(--folha) linear-gradient(#0000 calc(1.9em - 1px), var(--pauta) 0) 0 2.7em / 100% 1.9em; }
.lista::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.75em; width: 1px; background: rgb(181 68 59 / .4); }
.lista b { display: block; margin-bottom: .2em; font-size: 1.15em; color: #2F343A; }
.lista ul { padding: 0; list-style: none; }
.lista li { position: relative; line-height: 1.9em; color: var(--caneta-azul); }
.lista li::before { content: ""; position: absolute; left: -1.45em; top: .55em; width: .8em; height: .8em; border: .12em solid #8A9199; border-radius: .2em; }
.lista li.feito { color: #8A9199; text-decoration: line-through; }
.lista li.feito::before { background: #8A9199; }
/* A ordem de serviço de bloco, com a entrega riscada. */
.os { padding: .9em 1em 1em; border-radius: .3em; background: #E8ECEF; color: #4A5560; }
.os-h { display: flex; justify-content: space-between; align-items: baseline; gap: .5em; margin-bottom: .3em; padding-bottom: .5em; border-bottom: .12em solid #B9C2CB; font-weight: 700; }
.os-h em { font: 600 .9em var(--mono); font-style: normal; color: var(--caneta); }
.os p { display: flex; align-items: baseline; gap: .5em; padding: .32em 0; border-bottom: 1px dashed #BFC7CF; font-size: .92em; white-space: nowrap; }
.os p span { flex: none; width: 4.4em; color: #7A8590; font-size: .9em; }
.os p i { overflow: hidden; text-overflow: ellipsis; color: var(--caneta-azul); font-weight: 500; }
.os .os-riscado { flex: none; text-decoration: line-through; text-decoration-color: var(--caneta); }
/* O caderno do fiado. */
.caderno { padding: 1.7em 1.3em 1em; background: #F2F3F0 linear-gradient(#0000 calc(2em - 1px), var(--pauta) 0) 0 1.7em / 100% 2em; }
.caderno::before { content: ""; position: absolute; top: .45em; left: 1em; right: 1em; height: .7em; background: radial-gradient(circle, #B3B9C0 .26em, #0000 .3em) 0 0 / 1.5em .7em repeat-x; }
.caderno b { display: block; font-size: 1.2em; line-height: 1.67em; color: #2F343A; }
.caderno p { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .95fr); gap: .8em; align-items: baseline; line-height: 2em; color: var(--caneta-azul); }
.caderno p span { white-space: nowrap; }
.caderno p i { font: 500 .95em var(--mono); color: #2F343A; }
.caderno p em { overflow: hidden; color: var(--caneta); font-size: .9em; font-style: italic; white-space: nowrap; text-overflow: ellipsis; }
.cd-circulo span { position: relative; }
.cd-circulo span::after { content: ""; position: absolute; inset: -.1em -.55em; border: .13em solid rgb(181 68 59 / .75); border-radius: 50%; rotate: -4deg; }
.cd-total span { font-weight: 700; } .cd-total i { color: var(--caneta) !important; font-weight: 700 !important; }
/* A nota que voltou do emissor. */
.portal { overflow: hidden; border-radius: .6em; background: #FAFAFA; }
.pt-barra { display: flex; align-items: center; gap: .45em; padding: .6em .9em; background: #DFE2E6; }
.pt-barra i { width: .7em; height: .7em; border-radius: 50%; background: #BFC4CA; }
.pt-barra span { flex: 1; min-width: 0; margin-left: .6em; padding: .25em .8em; overflow: hidden; border-radius: .5em; background: #F4F5F6; color: #5B626A; font-size: .88em; white-space: nowrap; text-overflow: ellipsis; }
.pt-corpo { padding: 1em 1.1em 1.1em; }
.pt-erro { display: grid; gap: .25em; padding: .8em .9em; border-radius: .45em; background: #F7E4E1; box-shadow: inset .25em 0 0 var(--caneta); color: #7D2F28; }
.pt-erro b { font-size: 1.08em; }
.pt-erro span { font-size: .95em; }
.pt-botao { display: inline-block; margin-top: .8em; padding: .45em 1.1em; border-radius: .45em; background: #E3E6EA; color: #4A5058; font-size: .9em; font-weight: 600; }
/* A fita da calculadora, somando o ano à mão. */
.fita { padding: .9em 1.1em 1.2em; background: #FBFBFA; font: 500 .98em/1.85 var(--mono); color: var(--lapis); }
.fita p { display: flex; justify-content: space-between; gap: .6em; white-space: nowrap; }
.fita p span { color: #8A9199; }
.ft-total { margin-top: .3em; border-top: 1px dashed #9AA1A9; font-weight: 700; }
.fita .ft-nota { margin-top: .4em; font-family: var(--fonte); font-weight: 600; color: var(--caneta); white-space: normal; }
/* O contador pedindo pelo celular. */
.zap { overflow: hidden; padding-bottom: .9em; border-radius: .9em; background: #E4E7EA; }
.zp-h { display: flex; align-items: center; gap: .6em; padding: .7em 1em; background: #CFD4D9; font-weight: 650; color: #2F343A; }
.zp-h i { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: #8D98A3; color: #fff; font-size: .9em; font-style: normal; }
.zp-msg { position: relative; max-width: 88%; margin: .8em 1em 0; padding: .6em .8em 1.4em; border-radius: 0 .7em .7em .7em; background: #fff; color: #2F343A; font-size: .98em; }
.zp-msg small { position: absolute; right: .7em; bottom: .3em; font-size: .78em; color: #8A9199; }
/* O lembrete do DAS. */
.postit { padding: 1.1em 1.1em 1.6em; background: linear-gradient(180deg, #F0DCD6, #E7CDC6); color: #7D2F28; font-size: 1.28em; font-weight: 600; line-height: 1.3; }
/* As regiões do painel que cada par da lista aponta, acesas ao passar o mouse no par. */
.aneis { z-index: 3; pointer-events: none; }
.aneis i { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: 1cqw; box-shadow: 0 0 0 .2cqw var(--laranja), 0 0 0 200cqw rgb(12 14 17 / .42); opacity: 0; transition: opacity .3s; }
.aneis i.aceso { opacity: 1; }
/* A divisória: a linha e o pegador. Pelo teclado, as setas movem. */
.divisa { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--corte); width: 48px; margin-left: -24px; display: grid; place-items: center; outline: none; cursor: ew-resize; }
.divisa::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(16 24 40 / .16), 0 0 18px rgb(0 0 0 / .3); }
.pegador { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--grafite); box-shadow: 0 0 0 1px rgb(16 24 40 / .12), 0 8px 22px -6px rgb(0 0 0 / .45); transition: transform .2s var(--sobe), box-shadow .2s; }
.pegador svg { width: 22px; height: 22px; }
.quadro:hover .pegador, .quadro.arrastando .pegador { transform: scale(1.08); }
.divisa:focus-visible .pegador { box-shadow: 0 0 0 3px var(--laranja), 0 8px 22px -6px rgb(0 0 0 / .45); }
/* Os pares: o que se pensa sem o MEIHub, riscado, e o que o MEIHub faz no lugar. */
.pares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; }
.pares li { padding: 22px 0 28px; border-top: 1px solid var(--papel-linha); transition: border-color .25s; }
.pares li.aceso { border-top-color: var(--laranja); }
.p-antes { margin: 0; color: var(--tinta-3); font-size: .98rem; text-decoration: line-through; text-decoration-color: rgb(181 68 59 / .6); text-decoration-thickness: 1.5px; }
.p-depois { margin: 10px 0 0; color: var(--tinta); font-size: 1.08rem; font-weight: 560; line-height: 1.45; }
.convite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--grafite); color: var(--ink); }
.convite p { max-width: 60ch; margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.convite b { color: var(--ink); font-weight: 650; }

/* ---------- Como emite: a janela parada e os passos ---------- */
.historia { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(36px, 5vw, 84px); margin-top: clamp(40px, 6vw, 72px); }
.passos { position: relative; margin: 0; padding: 0 0 0 36px; list-style: none; --progresso: 0; }
.passos::before, .passos::after { content: ""; position: absolute; left: 8px; top: 0; width: 2px; border-radius: 2px; }
.passos::before { bottom: 0; background: var(--linha); }
.passos::after { height: calc(var(--progresso) * 100%); background: linear-gradient(180deg, #FF6E33, #F24A10); }
.passo { min-height: 82vh; display: grid; align-content: center; opacity: .36; transition: opacity .5s; }
.passo:first-child { min-height: 64vh; align-content: start; padding-top: 18vh; }
.passo:last-child { min-height: 70vh; }
.passo.ativo, .passo.feito { opacity: 1; }
.passo.feito:not(.ativo) { opacity: .55; }
.passo-texto { position: relative; }
.passo-texto::before { content: ""; position: absolute; left: -35px; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--grafite); box-shadow: inset 0 0 0 2px var(--linha-2); transition: background .3s, box-shadow .3s; }
.passo.ativo .passo-texto::before, .passo.feito .passo-texto::before { background: var(--laranja); box-shadow: 0 0 0 5px rgb(255 90 31 / .16); }
.passo h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 690; line-height: 1.15; letter-spacing: -.022em; }
.passo p { max-width: 40ch; margin: 0; font-size: 1.08rem; color: var(--ink-2); }
.passo-fig { display: none; }
.palco-col { position: relative; }
.palco { position: sticky; top: max(calc(var(--topo) + 24px), calc(50vh - 22vw)); }
.palco .janela { aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 24px 48px -24px rgb(0 0 0 / .7); }
.palco-zoom { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 1.05s var(--sobe); will-change: transform; }
.palco-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .55s ease; }
.palco-zoom img.ativa { opacity: 1; }
.palco-legenda { margin: 16px 2px 0; font-size: .92rem; color: var(--ink-3); min-height: 1.6em; }
.chave { position: absolute; left: 18px; bottom: 18px; z-index: 2; width: min(460px, calc(100% - 36px)); padding: 16px 18px 15px; border-radius: 13px; background: rgb(14 16 19 / .93); box-shadow: 0 0 0 1px var(--linha-2), 0 24px 48px -16px rgb(0 0 0 / .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--sobe); pointer-events: none; }
.palco.fim .chave { opacity: 1; transform: none; }
.chave-h > span:first-child { white-space: nowrap; }
.chave-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--ink-2); }
.selo { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 7px; background: rgb(76 195 138 / .14); color: var(--verde); font-weight: 650; font-size: .82rem; }
.selo svg { width: 13px; height: 13px; }
.chave code { display: block; margin-top: 8px; min-height: 3em; font: 500 .98rem/1.5 var(--mono); color: var(--ink); letter-spacing: .01em; word-spacing: .25em; font-variant-numeric: tabular-nums; }
.chave code::after { content: ""; display: inline-block; width: .55ch; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--laranja); animation: pisca 1s steps(2) infinite; }
.chave code.pronta::after { display: none; }
@keyframes pisca { 50% { opacity: 0; } }

/* ---------- O resto do dia: abas com a tela ao lado ---------- */
.dia { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.abas { display: grid; gap: 6px; }
.aba { position: relative; display: grid; gap: 6px; padding: 18px 22px; border: 0; border-radius: 15px; background: transparent; color: var(--tinta-2); font: inherit; text-align: left; cursor: pointer; transition: background .25s, box-shadow .25s; }
.aba:hover { background: rgb(255 255 255 / .7); }
.aba b { font-size: 1.14rem; font-weight: 660; letter-spacing: -.012em; color: var(--tinta); }
.aba span { font-size: 1rem; line-height: 1.5; }
.aba[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px var(--papel-linha), 0 12px 30px -16px rgb(16 24 40 / .25); }
.aba[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--laranja); }
.tela-dia { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--papel-linha), 0 40px 80px -36px rgb(16 24 40 / .42); }
.tela-dia img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
.tela-dia img.ativa { opacity: 1; }

/* ---------- Seus dados: o que fica e o que sai ---------- */
.mapa { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(90px, .55fr) minmax(0, 1fr); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.lado { padding: clamp(24px, 3vw, 36px); border-radius: 20px; }
.lado h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.3rem; font-weight: 680; letter-spacing: -.015em; }
.lado h3 svg { width: 22px; height: 22px; flex: none; color: var(--laranja); }
.lado ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.lado li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.lado li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--laranja); transform: translateY(-2px); }
.lado .obs { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--linha); font-size: .95rem; color: var(--ink-3); }
.casa { background: var(--grafite-1); box-shadow: inset 0 0 0 1px var(--linha); }
.nuvem { border: 1.5px dashed var(--linha-2); }
.nuvem h3 svg { color: var(--ink-3); }
.nuvem li::before { background: var(--ink-3); }
.fio { position: relative; height: 2px; margin: 0 -2px; background: var(--linha-2); }
.fio i { position: absolute; inset: 0; background: linear-gradient(90deg, #FF6E33, #F24A10); transform-origin: 0 50%; }
.fio span { position: absolute; left: 50%; bottom: 14px; width: max-content; max-width: 150px; transform: translateX(-50%); font-size: .82rem; line-height: 1.35; text-align: center; color: var(--ink-3); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) { .fio i { animation: desenha linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; } }
}
@supports not (animation-timeline: view()) {
  .fio i { transform: scaleX(0); transition: transform 1.2s var(--sobe); }
  .fio.visto i { transform: none; }
}
@keyframes desenha { from { transform: scaleX(0); } }
.loja { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--linha); }
.loja h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 690; letter-spacing: -.02em; line-height: 1.2; }
.loja p { max-width: 62ch; margin: 0; color: var(--ink-2); font-size: 1.08rem; }

/* ---------- Para começar: os três passos com a nossa equipe e o que o contador recebe ---------- */
.comecar { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.comecar h2 { max-width: 15ch; }
.comeco { display: grid; gap: 30px; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; counter-reset: passo; }
.comeco li { position: relative; display: grid; gap: 4px; padding-left: 62px; counter-increment: passo; }
.comeco li::before { content: counter(passo); position: absolute; left: 0; top: -6px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--grafite); color: var(--ink); font-weight: 680; font-size: 1rem; }
.comeco li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: -32px; width: 2px; background: var(--papel-linha); }
.comeco b { font-size: 1.2rem; font-weight: 670; letter-spacing: -.012em; color: var(--tinta); }
.comeco span { max-width: 52ch; font-size: 1.05rem; color: var(--tinta-2); }
.contador { padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--papel-linha), 0 30px 60px -40px rgb(16 24 40 / .35); }
.contador h3 { margin: 0; font-size: 1.45rem; font-weight: 690; letter-spacing: -.02em; }
.contador p { margin: 12px 0 0; color: var(--tinta-2); }
.contador ul { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.contador li { display: flex; gap: 12px; color: var(--tinta); }
.contador li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 2px; background: var(--laranja); }

/* ---------- Perguntas ---------- */
.perguntas { max-width: 860px; margin-top: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--papel-linha); }
.perguntas details { border-top: 1px solid var(--papel-linha); }
.perguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 2px; font-size: 1.15rem; font-weight: 640; letter-spacing: -.01em; cursor: pointer; list-style: none; transition: color .2s; }
.perguntas summary:hover { color: var(--laranja-escuro); }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--tinta-2), var(--tinta-2)) center / 14px 2px no-repeat, linear-gradient(var(--tinta-2), var(--tinta-2)) center / 2px 14px no-repeat; transition: transform .3s var(--sobe); }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas details p { max-width: 64ch; margin: -6px 0 0; padding: 0 2px 26px; color: var(--tinta-2); font-size: 1.05rem; }

/* ---------- Licença manual: o código do app vira a licença ---------- */
.pagina-licenca { min-height: calc(100vh - var(--topo) - 160px); }
.licenca { padding: clamp(48px, 8vw, 112px) 0 clamp(96px, 11vw, 152px); }
.licenca-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.licenca h1 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 750; line-height: 1; letter-spacing: -.042em; text-wrap: balance; }
.licenca-texto > p { max-width: 46ch; margin: 22px 0 0; font-size: 1.1rem; color: var(--ink-2); }
.licenca-passos { display: grid; gap: 22px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: passo; }
.licenca-passos li { position: relative; display: grid; gap: 4px; padding-left: 50px; counter-increment: passo; }
.licenca-passos li::before { content: counter(passo); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linha-2); font-weight: 650; font-size: .95rem; color: var(--ink); }
.licenca-passos b { font-size: 1.08rem; font-weight: 650; }
.licenca-passos span { color: var(--ink-2); line-height: 1.55; }
.licenca-ajuda { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--linha); color: var(--ink-3); }
.licenca-ajuda a { color: var(--ink); text-underline-offset: 3px; }
.troca { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--grafite); box-shadow: inset 0 0 0 1px var(--linha), 0 30px 60px -36px rgb(0 0 0 / .8); }
.troca label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.troca textarea { width: 100%; min-height: 116px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--grafite-0); box-shadow: inset 0 0 0 1px var(--linha-2); color: var(--ink); font: 500 .9rem/1.55 var(--mono); word-break: break-all; resize: vertical; outline: none; }
.troca textarea::placeholder { color: var(--ink-3); font-family: var(--fonte); }
.troca textarea:focus { box-shadow: inset 0 0 0 1.5px var(--laranja); }
.troca .botao { justify-self: start; margin-top: 4px; }
.troca .botao:disabled { opacity: .6; cursor: progress; filter: none; }
.troca-sobre { min-height: 1.5em; margin: -2px 0 0; font-size: .92rem; color: var(--ink-3); }
.troca-sobre:empty { display: none; }
.troca-erro { margin: 0; padding: 11px 14px; border-radius: 11px; background: rgb(242 112 106 / .1); color: #F2908B; font-size: .97rem; line-height: 1.5; }
.troca-saida { display: grid; gap: 12px; margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--linha); }
.troca-saida[hidden] { display: none; }
.troca-saida.so-aviso > :not(.troca-estado) { display: none; }
.troca-estado { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.troca-estado b { color: var(--verde); font-weight: 650; }
.troca-estado.vencida b { color: #F2908B; }
.troca-estado a { color: var(--ink); text-underline-offset: 3px; }
.troca-licenca { min-height: 96px !important; color: var(--ink-2) !important; }
.troca-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.troca-acoes .botao { margin: 0; height: 44px; }
.troca-dica { font-size: .93rem; color: var(--ink-3); }

/* ---------- Fecho e rodapé ---------- */
.fecho { position: relative; overflow: hidden; }
.fecho .envolve { position: relative; z-index: 1; }
.fecho h2 { max-width: 17ch; font-size: clamp(2.3rem, 5vw, 4.25rem); }
.fecho p { max-width: 50ch; margin: 26px 0 0; font-size: 1.15rem; color: var(--ink-2); }
.fecho .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.fecho-fundo { position: absolute; right: clamp(-260px, -14vw, -80px); bottom: -22%; width: clamp(420px, 46vw, 720px); aspect-ratio: 153 / 150; color: #1B2026; --marca-laranja: #FF5A1F; pointer-events: none; }
.fecho-fundo svg { width: 100%; height: 100%; }
.rodape { padding: 56px 0 44px; background: var(--grafite-0); color: var(--ink-3); font-size: .95rem; }
.rodape .envolve { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
.rodape .marca { width: 70px; height: 32px; }
.rodape p { max-width: 38ch; margin: 0; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; }
.rodape nav a { color: var(--ink-2); text-decoration: none; }
.rodape nav a:hover { color: var(--ink); text-decoration: underline; }
.rodape small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--linha); font-size: .88rem; }

/* ---------- Janela estreita e celular ---------- */
/* Seis itens no menu não cabem ao lado da marca e do botão abaixo de ~1120 px: fica só o botão. */
@media (max-width: 1120px) {
  .topo nav { display: none; }
  .topo .botao { margin-left: auto; }
  .heroi-grade { grid-template-columns: minmax(0, 1fr); }
  .heroi h1 { max-width: 13ch; }
  .heroi-lado { margin-top: 26px; padding-bottom: 0; }
}
@media (max-width: 980px) {
  .historia, .dia, .loja, .comecar { grid-template-columns: minmax(0, 1fr); }
  .palco-col { display: none; }
  .passos { padding-left: 30px; }
  .passo, .passo:first-child, .passo:last-child { min-height: 0; padding: 0 0 56px; opacity: 1; }
  .passo-texto::before { left: -29px; }
  .passo-fig { display: block; margin-top: 22px; }
  .passo-fig .janela { border-radius: 10px; }
  .chave.na-figura { position: static; width: auto; margin-top: 14px; opacity: 1; transform: none; }
  .pares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dia .abas { order: 0; } .tela-dia { order: 1; }
  .aba { padding: 14px 18px; }
  .aba span { display: none; }
  .aba[aria-selected="true"] span { display: block; }
  .mapa { grid-template-columns: minmax(0, 1fr); }
  .fio { width: 2px; height: 72px; margin: 0 auto; }
  .fio i { transform-origin: 50% 0; }
  .fio span { left: 18px; bottom: auto; top: 50%; transform: translateY(-50%); text-align: left; }
  @supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .fio i { animation-name: desce; } } }
  .licenca-grade { grid-template-columns: minmax(0, 1fr); }
  /* No celular, a caixa do código vem logo depois do título: quem chega aqui quer colar o código. */
  .licenca-grade { gap: 0; }
  .licenca-texto { display: contents; }
  .licenca h1 { order: 0; } .licenca-texto > p:not(.licenca-ajuda) { order: 1; } .troca { order: 2; margin-top: 28px; } .licenca-passos { order: 3; } .licenca-ajuda { order: 4; }
  .rodape .envolve { grid-template-columns: minmax(0, 1fr); }
  .rodape nav { justify-content: flex-start; }
}
@keyframes desce { from { transform: scaleY(0); } }
@media (max-width: 760px) {
  .heroi-fundo { top: auto; bottom: 18%; right: -38%; width: 112vw; }
  /* No celular o quadro fica em pé: a mesa ganha outra composição, com menos papéis e letra maior, e o painel mostra a
     coluna do meio (o saldo, quem te deve e as notas). */
  .quadro { aspect-ratio: 3 / 4; --k: 2.75cqw; border-radius: 14px; }
  .planilha table { font-size: .84em; }
  .planilha thead th:nth-child(2) { width: 15%; } .planilha thead th:nth-child(3) { width: 27%; }
  .caderno p { grid-template-columns: minmax(0, 1fr) auto; }
  .caderno p em, .pl-nota { display: none; }
  .depois img { object-position: 40% 0; }
  .peca { left: calc(var(--mx) * 1%); top: calc(var(--my) * 1%); width: calc(var(--mw) * 1%); rotate: calc(var(--mr) * 1deg); }
  .antes .so-larga, .aneis { display: none; }
  .guias span:nth-child(n+4) { display: none; }
  .guias span { max-width: 30%; } .guias span.ativa { max-width: 44%; }
  .pares { grid-template-columns: minmax(0, 1fr); }
  .pares li { padding: 18px 0 20px; }
  .lados { font-size: .88rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .heroi .acoes .botao, .fecho .acoes .botao, .convite .botao { flex: 1 1 100%; }
  .topo .botao { padding: 0 14px; }
  .chave code { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .palco-zoom, .palco-zoom img, .tela-dia img, .passo, .chave, .passo-texto::before, .peca, .aneis i, .pegador { transition: none; }
  .chave code::after { animation: none; }
}

/* ---------- Pedir uma demonstração: o formulário em diálogo ---------- */
/* No escuro do produto em qualquer seção. No celular vira a tela inteira. */
.botao[hidden] { display: none; }
.pedido { width: min(640px, calc(100% - 32px)); max-height: min(92dvh, 900px); padding: 0; border: 0; border-radius: 22px; background: var(--grafite-1); color: var(--ink); color-scheme: dark; box-shadow: 0 0 0 1px var(--linha-2), 0 40px 120px -20px rgb(0 0 0 / .7); overflow: hidden; }
.pedido[open] { display: flex; flex-direction: column; }
.pedido::backdrop { background: rgb(8 10 12 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:has(.pedido[open]) { overflow: hidden; }
.pedido-form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pedido-form[hidden] { display: none; }
.pedido-cab { position: relative; padding: 28px 28px 20px; border-bottom: 1px solid var(--linha); }
.pedido-cab h2 { margin: 0; padding-right: 44px; font-size: 1.6rem; font-weight: 720; line-height: 1.1; letter-spacing: -.03em; }
.pedido-cab p { max-width: 48ch; margin: 10px 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.pedido-x { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.pedido-x:hover { background: rgb(255 255 255 / .06); color: var(--ink); }
.pedido-x svg { width: 20px; height: 20px; }
.pedido-corpo { position: relative; flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 20px; padding: 22px 28px 24px; overscroll-behavior: contain; }
.pedido-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.campo { display: grid; gap: 7px; min-width: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.campo small, .escolha legend small { margin-left: 4px; font-weight: 450; color: var(--ink-3); }
.campo input, .campo textarea { width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--grafite-0); box-shadow: inset 0 0 0 1px var(--linha-2); color: var(--ink); font: 450 1rem var(--fonte); outline: none; transition: box-shadow .2s; }
.campo textarea { min-height: 66px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--ink-3); }
.campo input:focus, .campo textarea:focus { box-shadow: inset 0 0 0 1.5px var(--laranja); }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #F2706A; }
.escolha { min-width: 0; margin: 0; padding: 0; border: 0; }
.escolha legend { margin-bottom: 9px; padding: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { position: relative; }
.opcoes input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcoes span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linha-2); color: var(--ink-2); font-size: .95rem; font-weight: 520; pointer-events: none; transition: background .2s, box-shadow .2s, color .2s; }
.opcoes label:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.opcoes input:checked + span { background: rgb(255 90 31 / .14); box-shadow: inset 0 0 0 1.5px var(--laranja); color: var(--ink); font-weight: 620; }
.opcoes input:focus-visible + span { outline: 2px solid var(--laranja); outline-offset: 2px; }
.escolha[aria-invalid="true"] .opcoes span { box-shadow: inset 0 0 0 1px #F2706A; }
.aceite { display: flex; align-items: flex-start; gap: 12px; font-size: .93rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.aceite input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--laranja); cursor: pointer; }
.aceite[aria-invalid="true"] span { color: #F2908B; }
.aceite a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
.aceite a:hover { text-decoration-color: var(--laranja); }
.pote { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pedido-erros { margin: 0 28px 4px; padding: 12px 16px; border-radius: 12px; background: rgb(242 112 106 / .1); color: #F2908B; font-size: .95rem; line-height: 1.5; }
.pedido-erros ul { margin: 0; padding-left: 18px; }
.pedido-pe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 28px 24px; border-top: 1px solid var(--linha); }
.pedido-pe span { font-size: .88rem; color: var(--ink-3); }
.pedido-pe .botao:disabled { opacity: .42; cursor: not-allowed; filter: saturate(.55); box-shadow: none; }
.pedido-pe .botao[data-enviando] { opacity: .75; cursor: progress; }
.pedido-feito { display: grid; justify-items: start; gap: 14px; padding: 44px 32px 36px; }
.pedido-feito[hidden] { display: none; }
.feito-icone { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: rgb(76 195 138 / .14); color: var(--verde); }
.feito-icone svg { width: 26px; height: 26px; }
.pedido-feito h2 { margin: 0; font-size: 1.75rem; font-weight: 720; letter-spacing: -.03em; outline: none; }
.pedido-feito p { max-width: 46ch; margin: 0 0 6px; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .pedido[open] { animation: pedido-abre .35s var(--sobe); }
  .pedido[open]::backdrop { animation: pedido-fundo .3s ease; }
  .pedido-feito:not([hidden]) .feito-icone { animation: pedido-visto .5s .05s var(--sobe) both; }
}
@keyframes pedido-abre { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes pedido-fundo { from { opacity: 0; } }
@keyframes pedido-visto { from { opacity: 0; transform: scale(.6); } }
@media (max-width: 640px) {
  .pedido { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .pedido-cab { padding: 22px 20px 16px; }
  .pedido-cab h2 { font-size: 1.4rem; }
  .pedido-x { top: 12px; right: 10px; }
  .pedido-corpo { padding: 18px 20px 20px; }
  .pedido-grade { grid-template-columns: minmax(0, 1fr); }
  .pedido-erros { margin-inline: 20px; }
  .pedido-pe { padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); }
  .pedido-pe .botao { flex: 1 1 100%; }
  .pedido-feito { padding: 48px 22px; }
}

/* ---------- Os textos do site: privacidade, termos de uso e LGPD ---------- */
/* Uma coluna só, no meio, para ler: a etiqueta, o título, o que é o texto e a data da versão em vigor em cima, centralizados, e as
   partes numeradas pelo próprio CSS (1. Quem somos; 3.1. Licença do programa). */
.pagina-texto { min-height: calc(100vh - var(--topo)); background: var(--papel); color: var(--tinta); color-scheme: light; }
.texto { width: min(820px, 100% - 2 * var(--lado)); margin-inline: auto; padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 140px); }
.texto-cab { margin-bottom: clamp(44px, 6vw, 72px); text-align: center; }
.texto-tipo { font-size: 1.05rem; font-weight: 650; color: var(--laranja-escuro); }
.texto h1 { margin: 14px 0 0; font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 720; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.texto-sub { max-width: 52ch; margin: 22px auto 0; font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--tinta-2); text-wrap: balance; }
.texto-data { margin: 14px 0 0; font-size: .92rem; color: var(--tinta-3); }
.texto-data[hidden] { display: none; }
.texto-corpo { font-size: 1.04rem; line-height: 1.75; color: var(--tinta-2); overflow-wrap: anywhere; counter-reset: parte; }
.texto-corpo h2 { margin: 2.2em 0 .7em; scroll-margin-top: calc(var(--topo) + 24px); font-size: 1.15rem; font-weight: 650; line-height: 1.35; letter-spacing: -.01em; color: var(--tinta); counter-increment: parte; counter-reset: subparte; }
.texto-corpo h2::before { content: counter(parte) ". "; }
.texto-corpo h3 { margin: 1.6em 0 .4em; font-size: 1.04rem; font-weight: 640; line-height: 1.4; color: var(--tinta); counter-increment: subparte; }
.texto-corpo h3::before { content: counter(parte) "." counter(subparte) ". "; }
.texto-corpo h4 { margin: 1.3em 0 .3em; font-size: 1rem; font-weight: 630; color: var(--tinta); }
.texto-corpo > :first-child { margin-top: 0; }
.texto-corpo p { margin: 0 0 1em; }
.texto-corpo ul, .texto-corpo ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.texto-corpo li { margin: .35em 0; padding-left: .2em; }
.texto-corpo li::marker { color: var(--laranja); }
.texto-corpo b, .texto-corpo strong { font-weight: 640; color: var(--tinta); }
.texto-corpo a { color: var(--tinta); text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.texto-corpo blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 3px solid var(--papel-linha); }
.texto-esq i { display: block; height: 14px; margin: 0 0 16px; border-radius: 6px; background: linear-gradient(90deg, var(--papel-2) 0%, #E4E7EB 50%, var(--papel-2) 100%) 0 0 / 200% 100%; }
.texto-esq i:nth-child(1) { width: 40%; height: 18px; margin-bottom: 22px; } .texto-esq i:nth-child(3) { width: 92%; } .texto-esq i:nth-child(4) { width: 76%; } .texto-esq i:nth-child(6) { width: 58%; }
@media (prefers-reduced-motion: no-preference) { .texto-esq i { animation: brilho 1.4s linear infinite; } }
@keyframes brilho { to { background-position: -200% 0; } }
.texto-aviso { display: grid; justify-items: center; gap: 8px; padding: 32px 28px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--papel-linha), 0 24px 48px -36px rgb(16 24 40 / .35); text-align: center; }
.texto-aviso b { font-size: 1.15rem; font-weight: 660; color: var(--tinta); }
.texto-aviso p { margin: 0; }
.texto-aviso .botao { margin-top: 10px; height: 44px; }
.texto-outros { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--papel-linha); font-size: .98rem; }
.texto-outros span { color: var(--tinta-3); }
.texto-outros a { color: var(--tinta); font-weight: 560; text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
@media (max-width: 560px) { .texto-corpo { font-size: 1rem; } .texto-outros { flex-direction: column; align-items: center; } }
