/* Link do Zap. Direção: o cartaz de mural de condomínio, com a tirinha de telefone que se arranca. Papel claro, tinta de fotocópia (quase preto
   esverdeado) e UM verde, o do projeto (--accent). A folha é o formulário, a tirinha arrancada é o link. Títulos em Archivo condensada e pesada
   (cartaz); texto em Archivo normal; o link em JetBrains Mono. Tema CLARO por padrão e escuro só pelo botão (nunca prefers-color-scheme).
   Cor do projeto só por --accent / --accent-2 (a página as põe no <html>); o resto é papel e tinta. Sem sons; só animação, com o freio
   do sistema e o botão Animações (html[data-motion]). Documentação: docs/apps/link-do-zap.md */

@font-face { font-family: 'Archivo LDZ'; src: url('/vendor/link-do-zap/archivo-wdth.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono LDZ'; src: url('/vendor/fontes/jetbrains-mono-latin-wght.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
	color-scheme: light;
	--font: 'Archivo LDZ', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono LDZ', ui-monospace, 'Cascadia Code', Consolas, monospace;
	--paper: #f4f2eb;
	--sheet: #ffffff;
	--ink: #0f1a13;
	--ink-2: #3d4a42;
	--ink-3: #5a665d;
	--line: #d9d5c9;
	--accent-deep: color-mix(in srgb, var(--accent) 68%, #000);
	--btn: var(--accent-deep);
	--btn-ink: #ffffff;
	--tint: color-mix(in srgb, var(--accent) 9%, var(--sheet));
	--mark: #ffe27a;
	--danger: #b3261e;
	--warn: #8a5300;
	--ok: var(--accent-deep);
	--shadow: 0 1px 0 var(--line), 0 18px 32px -22px rgb(15 26 19 / .45);
	--ease: cubic-bezier(.2, .85, .25, 1);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .1 0 0 0 0 .07 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme='dark'] {
	color-scheme: dark;
	--paper: #0c130f;
	--sheet: #131d17;
	--ink: #eef4ee;
	--ink-2: #bac7bd;
	--ink-3: #93a197;
	--line: #26352b;
	--btn: var(--accent);
	--btn-ink: #07140c;
	--tint: color-mix(in srgb, var(--accent) 12%, var(--sheet));
	--mark: color-mix(in srgb, var(--accent) 34%, transparent);
	--danger: #ff8a80;
	--warn: #f0b95a;
	--ok: var(--accent);
	--shadow: 0 1px 0 var(--line), 0 18px 32px -22px rgb(0 0 0 / .8);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--grain), var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--font); font-stretch: 100%; overflow-wrap: break-word; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .75rem; top: -4rem; z-index: 50; padding: .7rem 1rem; border-radius: .6rem; background: var(--ink); color: var(--paper); font-weight: 600; transition: top .15s; }
.skip:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
:root[data-theme='dark'] :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }

/* ───────── Topo ───────── */
.top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; max-width: 72rem; margin: 0 auto; padding: .75rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; text-decoration: none; font-weight: 800; font-stretch: 70%; font-size: 1.35rem; letter-spacing: .01em; text-transform: uppercase; }
.brand__mark { width: 1.9rem; height: 1.9rem; color: var(--accent-deep); stroke-width: 1.6; }
:root[data-theme='dark'] .brand__mark { color: var(--accent); }
.tools { display: flex; align-items: center; gap: .4rem; }
.tool, .pill { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .7rem; border: 1.5px solid transparent; border-radius: .8rem; background: transparent; font-size: .9rem; font-weight: 600; transition: background-color .15s, border-color .15s, transform .12s; }
.tool:hover, .pill:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.tool:active, .pill:active { transform: translateY(1px); }
#motionToggle[aria-pressed='true'] { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.tool__label { display: none; }
.pill { border-color: var(--ink); }
.i-sun { display: none; }
:root[data-theme='dark'] .i-moon { display: none; }
:root[data-theme='dark'] .i-sun { display: inline; }
@media (min-width: 40rem) { .tool__label { display: inline; } }

/* ───────── Página ───────── */
.page { max-width: 72rem; margin: 0 auto; padding: .5rem 1rem 3rem; }
.stage { display: grid; gap: 1.25rem; }
@media (min-width: 62rem) { .stage { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: start; } }

/* A folha do cartaz: o formulário */
.sheet { position: relative; padding: 1.35rem 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--sheet); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 40rem) { .sheet { padding: 2rem 2rem 2.4rem; } }
.sheet h1 { max-width: 14ch; font-weight: 800; font-stretch: 62%; font-size: clamp(2.7rem, 11.5vw, 5.1rem); line-height: .9; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
.mark { background: linear-gradient(transparent 56%, var(--mark) 56% 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em; margin: 0 -.08em; }
.lead { max-width: 34rem; margin-top: 1rem; color: var(--ink-2); font-size: 1.06rem; line-height: 1.5; }
.form { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.step { display: grid; gap: .7rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.step legend { display: flex; align-items: center; gap: .6rem; padding: 0; margin-bottom: .1rem; font-size: 1.12rem; font-weight: 700; font-stretch: 90%; }
.step legend { align-items: flex-start; }
.step legend small { margin-left: .15rem; vertical-align: .12em; white-space: nowrap; padding: .08rem .5rem; border: 1px solid var(--line); border-radius: 1em; color: var(--ink-3); font-size: .74rem; font-weight: 600; font-stretch: 100%; letter-spacing: .04em; text-transform: uppercase; }
.step__n { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: .45rem; background: var(--ink); color: var(--paper); font-size: .95rem; font-weight: 800; font-stretch: 80%; }

/* Número */
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); border: 1.5px solid var(--ink); border-radius: .85rem; background: var(--sheet); transition: box-shadow .15s; }
.phone:focus-within { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
:root[data-theme='dark'] .phone:focus-within { outline-color: var(--accent); }
.phone[data-invalid='true'] { border-color: var(--danger); }
.phone__country { position: relative; display: flex; align-items: center; border-right: 1.5px solid var(--line); }
.phone__country select { appearance: none; -webkit-appearance: none; min-height: 3.6rem; padding: 0 2rem 0 .95rem; border: 0; border-radius: .85rem 0 0 .85rem; background: transparent; font-size: 1rem; font-weight: 700; cursor: pointer; }
.phone__country select:focus-visible { outline: 0; }
.phone__country .i { position: absolute; right: .55rem; width: 1rem; height: 1rem; pointer-events: none; color: var(--ink-3); }
.phone input { min-width: 0; min-height: 3.6rem; padding: 0 .85rem; border: 0; border-radius: 0 .85rem .85rem 0; background: transparent; font-size: clamp(1.1rem, 5.2vw, 1.45rem); font-weight: 600; font-stretch: 92%; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.phone input:focus-visible { outline: 0; }
::placeholder { color: var(--ink-3); opacity: .75; font-weight: 400; }

.hint { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .1rem .5rem; min-height: 1.5rem; color: var(--ink-3); font-size: .93rem; line-height: 1.4; }
.hint .i { width: 1.1rem; height: 1.1rem; margin-top: .12rem; }
.hint[data-tone='ok'] { color: var(--ok); font-weight: 600; }
.hint[data-tone='warn'] { color: var(--warn); font-weight: 600; }
.hint[data-tone='error'] { color: var(--danger); font-weight: 600; }
.hint--quiet { font-size: .84rem; }
.textbtn { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .2rem; border: 0; background: none; color: var(--accent-deep); font-size: .93rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
:root[data-theme='dark'] .textbtn { color: var(--accent); }
.textbtn:hover { text-decoration-thickness: 2.5px; }
.textbtn .i { width: 1rem; height: 1rem; }
.textbtn--lead { justify-self: start; margin-top: -.4rem; }
#fix { min-height: 2.75rem; padding: 0 .75rem; border: 1.5px solid currentColor; border-radius: .6rem; text-decoration: none; }

/* Mensagem */
.chips { display: flex; gap: .45rem; margin: 0 -1.25rem; padding: 0 1.25rem .15rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.2rem), transparent); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 40rem) { .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.chip { flex: none; min-height: 2.75rem; padding: 0 .95rem; border: 1.5px solid var(--line); border-radius: 2em; background: var(--sheet); font-size: .93rem; font-weight: 600; white-space: nowrap; scroll-snap-align: start; transition: background-color .15s, border-color .15s, color .15s, transform .12s; }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed='true'] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
textarea { width: 100%; min-height: 5.6rem; padding: .8rem 1rem; border: 1.5px solid var(--ink); border-radius: .85rem; background: var(--sheet); font-size: 1.05rem; line-height: 1.45; resize: vertical; }
textarea:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
:root[data-theme='dark'] textarea:focus-visible { outline-color: var(--accent); }
textarea[aria-invalid='true'] { border-color: var(--danger); }
.msgfoot { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.counter { flex: none; padding-top: .1rem; color: var(--ink-3); font: 500 .8rem/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.counter[data-state='near'] { color: var(--warn); font-weight: 600; }
.counter[data-state='over'] { color: var(--danger); font-weight: 600; }

/* As tirinhas do cartaz: enfeite na base da folha (uma foi arrancada) */
.sheet__tabs { display: none; }
@media (min-width: 40rem) {
	.sheet__tabs { display: flex; gap: .45rem; margin: 2rem -2rem -2.4rem; padding: 0 2rem; }
	.sheet__tabs i { position: relative; flex: 1; height: 6.8rem; border: 1.5px dashed var(--line); border-bottom: 0; border-radius: .25rem .25rem 0 0; background: var(--sheet); }
	.sheet__tabs i::after { content: '(••) 9••••-••••'; position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -90deg; color: var(--ink-3); font: 500 .64rem/1 var(--mono); white-space: nowrap; opacity: .8; }
	.sheet__tabs i.is-torn { border-color: transparent; background: transparent; }
	.sheet__tabs i.is-torn::after { content: ''; }
}

/* ───────── A tirinha arrancada: o resultado ───────── */
.strip { position: relative; padding: 2.1rem 1.25rem 1.5rem; border: 1px solid var(--line); border-top: 0; border-radius: .35rem .35rem 1.1rem 1.1rem; background: var(--sheet); box-shadow: var(--shadow); }
@media (min-width: 40rem) { .strip { padding: 2.3rem 1.75rem 1.75rem; } }
.strip::before { content: ''; position: absolute; left: -1px; right: -1px; top: 0; height: 14px; background: radial-gradient(circle at 9px 0, var(--paper) 0 5.5px, transparent 6px) 0 0 / 18px 14px repeat-x; }
.strip::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; border-top: 1.5px dashed var(--line); }
.strip__title { margin-bottom: 1rem; font-weight: 800; font-stretch: 70%; font-size: 1.5rem; letter-spacing: .01em; text-transform: uppercase; }
@media (min-width: 62rem) { .strip { position: sticky; top: 1rem; } }

.empty { display: grid; gap: .55rem; justify-items: start; }
.empty__art { width: min(100%, 15rem); height: auto; margin: 0 0 .25rem -.4rem; overflow: visible; }
.art-sheet { fill: var(--sheet); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.art-lines { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; opacity: .5; }
.art-tab { fill: var(--sheet); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 5 3; }
.art-tab--torn { fill: var(--mark); stroke-dasharray: none; transform-origin: 92px 124px; transform: rotate(-9deg) translate(6px, 9px); }
.art-bubble { fill: var(--accent); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.art-dot { fill: var(--btn-ink); }
:root[data-theme='dark'] .art-bubble { stroke: var(--ink); }
.empty__title { font-weight: 800; font-stretch: 80%; font-size: 1.4rem; line-height: 1.15; }
.empty__text { max-width: 26rem; color: var(--ink-2); }
.skeleton { display: grid; gap: .6rem; width: 100%; margin-top: .65rem; }
.skeleton i { display: block; height: .9rem; border-radius: .45rem; background: linear-gradient(90deg, var(--line) 0 40%, color-mix(in srgb, var(--line) 45%, var(--sheet)) 50%, var(--line) 60% 100%) 0 0 / 220% 100%; }
.skeleton i:nth-child(1) { width: 100%; height: 2.6rem; border-radius: .7rem; }
.skeleton i:nth-child(2) { width: 100%; height: 3.4rem; border-radius: .85rem; }
.skeleton i:nth-child(3) { width: 62%; }

.ready { display: grid; gap: .9rem; }
.strip__for { margin: -.45rem 0 0; color: var(--ink-2); font-size: .93rem; }
.strip__for strong { color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.linkbox { display: grid; gap: .25rem; margin: 0; padding: .85rem 1rem; border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, var(--ink-3)); border-radius: .85rem; background: var(--tint); font-family: var(--mono); }
.linkbox__base { font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; word-break: break-all; }
.linkbox__query { display: block; overflow: hidden; color: var(--ink-3); font-size: .8rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.linkbox__query:empty { display: none; }
@media (min-width: 40rem) { .linkbox__base { font-size: 1.3rem; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: 0 1.1rem; border: 1.5px solid var(--ink); border-bottom-width: 4px; border-radius: .85rem; background: var(--sheet); color: var(--ink); font-size: 1rem; font-weight: 700; font-stretch: 92%; line-height: 1.15; text-align: center; text-decoration: none; transition: transform .1s, border-bottom-width .1s, background-color .15s, box-shadow .15s; }
.btn:hover { background: color-mix(in srgb, var(--ink) 5%, var(--sheet)); }
.btn:active { transform: translateY(3px); border-bottom-width: 1.5px; }
.btn .i { width: 1.2rem; height: 1.2rem; }
.btn--primary { min-height: 3.6rem; border-color: color-mix(in srgb, var(--btn) 55%, #000); background: linear-gradient(180deg, color-mix(in srgb, var(--btn) 86%, #fff), var(--btn)); color: var(--btn-ink); font-size: 1.15rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }
.btn--primary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--btn) 78%, #fff), color-mix(in srgb, var(--btn) 94%, #fff)); }
.btn--primary .i { width: 1.35rem; height: 1.35rem; }
.btn--quiet { border-color: var(--line); border-bottom-color: var(--line); color: var(--ink-2); }
.btn--small { min-height: 2.75rem; padding: 0 .85rem; font-size: .93rem; border-bottom-width: 3px; }
.btn[aria-disabled='true'] { border-color: var(--line); background: color-mix(in srgb, var(--ink) 6%, var(--sheet)); color: var(--ink-3); box-shadow: none; cursor: not-allowed; pointer-events: auto; }
.btn[aria-disabled='true']:active { transform: none; border-bottom-width: 4px; }
.btn[data-done='true'] { border-color: var(--ok); color: var(--ok); }
.note { color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.note[data-tone='warn'] { color: var(--warn); font-weight: 600; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.actions .btn--quiet { grid-column: 1 / -1; }

.qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: center; margin-top: .4rem; padding-top: 1.1rem; border-top: 1.5px dashed var(--line); }
.qr__frame { display: grid; place-items: center; width: 10.5rem; height: 10.5rem; padding: .4rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.qr__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr__title { font-weight: 800; font-stretch: 78%; font-size: 1.2rem; text-transform: uppercase; }
.qr__text { margin: .2rem 0 .7rem; color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.qr__text[data-tone='warn'] { color: var(--warn); font-weight: 600; }
.qr__buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.qr[data-state='off'] .qr__frame { display: none; }
.qr[data-state='off'] { grid-template-columns: 1fr; }
@media (max-width: 26rem) { .qr { grid-template-columns: 1fr; justify-items: center; text-align: center; } .qr__buttons { justify-content: center; } }

.plaque-box { border-top: 1.5px dashed var(--line); padding-top: .9rem; }
.disclosure { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 2.9rem; padding: 0 .1rem; border: 0; background: none; font-size: 1rem; font-weight: 700; text-align: left; }
.disclosure > span { flex: 1; }
.disclosure__chev { transition: transform .2s var(--ease); }
.disclosure[aria-expanded='true'] .disclosure__chev { transform: rotate(180deg); }
.plaque-panel { display: grid; gap: 1rem; padding: .6rem 0 .2rem; }
.plaque-controls { display: grid; gap: .65rem; align-content: start; }
.field-label { font-size: .93rem; font-weight: 700; }
.plaque-controls { min-width: 0; }
.plaque-controls input[type='text'] { width: 100%; min-height: 2.9rem; padding: 0 .85rem; border: 1.5px solid var(--ink); border-radius: .7rem; background: var(--sheet); font-size: 1rem; font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: .65rem; min-height: 2.75rem; font-size: .95rem; line-height: 1.35; cursor: pointer; }
.check input { flex: none; width: 1.35rem; height: 1.35rem; margin: .15rem 0 0; accent-color: var(--accent-deep); }
.check:has(input:disabled) { color: var(--ink-3); cursor: default; }
.plaque-preview { justify-self: center; width: 100%; max-width: 15rem; }

/* A folha A4: a MESMA marcação serve à prévia (aqui) e ao papel (impressão). Tudo em unidades do container (cqw): o papel tem 100cqw de
   largura, seja na tela ou na impressão. */
.plaq { container-type: inline-size; position: relative; aspect-ratio: 210 / 297; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: #0f1a13; box-shadow: 0 10px 22px -14px rgb(15 26 19 / .6); }
.plaq__page { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 4cqw; padding: 9cqw 8cqw 7cqw; text-align: center; }
.plaq__head { max-width: 100%; margin: 0; font-family: var(--font); font-weight: 800; font-stretch: 62%; font-size: calc(18cqw * var(--fit, 1)); line-height: .92; letter-spacing: -.003em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.plaq__qr { display: grid; place-items: center; height: 100%; max-height: 62cqw; aspect-ratio: 1; padding: 3.2cqw; border: .9cqw solid #0f1a13; border-radius: 4.5cqw; background: #fff; }
.plaq__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.plaq__foot { display: grid; gap: 2.4cqw; justify-items: center; }
.plaq__caption { display: inline-flex; align-items: center; gap: 1.6cqw; margin: 0; font-size: 4.4cqw; font-weight: 700; font-stretch: 90%; }
.plaq__caption .i { width: 5.2cqw; height: 5.2cqw; stroke-width: 1.7; }
.plaq__number { margin: 0; font: 600 5.4cqw/1.1 var(--mono); letter-spacing: -.01em; }
.plaq__tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 30cqw; border-top: .35cqw dashed #0f1a13; }
.plaq__tabs i { flex: 1; display: grid; place-items: center; border-left: .35cqw dashed #0f1a13; overflow: hidden; }
.plaq__tabs i:first-child { border-left: 0; }
.plaq__tabs b { writing-mode: vertical-rl; rotate: 180deg; font: 600 2.9cqw/1 var(--mono); white-space: nowrap; }
.plaq--tabs .plaq__page { padding-bottom: 36cqw; }
.plaq--print { display: none; }

/* ───────── Onde usar, privacidade e rodapé ───────── */
.where { margin-top: 3.2rem; }
.where h2, .privacy h2 { font-weight: 800; font-stretch: 66%; font-size: clamp(2rem, 6vw, 3rem); line-height: .95; text-transform: uppercase; }
.where__list { display: grid; gap: 0 2.5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
@media (min-width: 44rem) { .where__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.where__list li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); column-gap: .6rem; padding: 1.1rem 0 1.3rem; border-top: 1.5px solid var(--ink); }
.where__n { grid-row: 1 / span 2; color: var(--line); font-weight: 800; font-stretch: 62%; font-size: 3.6rem; line-height: .85; -webkit-text-stroke: 1.5px var(--ink-3); -webkit-text-fill-color: transparent; }
.where h3 { font-weight: 800; font-stretch: 88%; font-size: 1.15rem; line-height: 1.2; }
.where p { margin-top: .3rem; color: var(--ink-2); }
.privacy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; align-items: start; margin-top: 2.2rem; padding: 1.4rem; border: 1.5px dashed var(--line); border-radius: 1rem; background: var(--tint); }
.privacy__icon { width: 2rem; height: 2rem; color: var(--accent-deep); }
:root[data-theme='dark'] .privacy__icon { color: var(--accent); }
.privacy h2 { font-size: 1.7rem; }
.privacy p { max-width: 46rem; margin-top: .55rem; color: var(--ink-2); }
.foot { max-width: 72rem; margin: 0 auto; padding: 0 1rem 2.5rem; }
.foot .usage { border-radius: .85rem; }
.foot__line { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .3rem; margin-top: 1rem; color: var(--ink-3); font-size: .85rem; line-height: 1.5; }
.foot__line a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .2rem; color: var(--ink-2); text-underline-offset: .18em; }

.toast { position: fixed; left: 50%; bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 60; max-width: min(92vw, 26rem); padding: .75rem 1.1rem; border-radius: .8rem; background: var(--ink); color: var(--paper); font-size: .95rem; font-weight: 600; line-height: 1.35; text-align: center; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); translate: -50% 12px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, translate .25s var(--ease), visibility 0s .25s; }
.toast[data-show='true'] { translate: -50% 0; opacity: 1; visibility: visible; transition-delay: 0s; }

/* ───────── Animações (só com html[data-motion='full']) ───────── */
html[data-motion='full'] .empty__art { animation: bob 4.6s ease-in-out infinite alternate; }
html[data-motion='full'] .art-dot { animation: typing 1.3s ease-in-out infinite; }
html[data-motion='full'] .art-dot--2 { animation-delay: .18s; }
html[data-motion='full'] .art-dot--3 { animation-delay: .36s; }
html[data-motion='full'] .art-tab--torn { animation: sway 3.2s ease-in-out infinite alternate; }
html[data-motion='full'] .skeleton i { animation: shimmer 1.7s linear infinite; }
html[data-motion='full'] .strip.is-fresh { animation: tear-in .5s var(--ease) both; }
html[data-motion='full'] .strip.is-fresh::after { animation: perf-sweep .7s var(--ease) both; }
html[data-motion='full'] .strip.is-fresh .linkbox { animation: ink-in .55s .12s var(--ease) both; }
html[data-motion='full'] .strip.is-fresh .qr__frame { animation: qr-in .5s .25s var(--ease) both; }
html[data-motion='full'] .plaque-panel:not([hidden]) { animation: unfold .3s var(--ease) both; }
@keyframes bob { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-5px) rotate(.6deg); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes sway { from { transform: rotate(-9deg) translate(6px, 9px); } to { transform: rotate(-2deg) translate(2px, 6px); } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
@keyframes tear-in { from { opacity: 0; transform: translateY(-16px) rotate(-1.6deg); } 60% { transform: translateY(2px) rotate(.3deg); } to { opacity: 1; transform: none; } }
@keyframes perf-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes ink-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes qr-in { from { opacity: 0; transform: scale(.88); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes unfold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
html[data-motion='reduced'] *, html[data-motion='reduced'] *::before, html[data-motion='reduced'] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion='reduced'] .art-tab--torn { transform: rotate(-9deg) translate(6px, 9px); }

/* ───────── Impressão: só a folha da plaquinha (A4, sem margem do navegador) ───────── */
@page { size: A4; margin: 0; }
@media print {
	html, body { background: #fff !important; margin: 0 !important; }
	body > *:not(#plaqPrint):not(.sprite) { display: none !important; }
	.plaq--print { display: block; width: 210mm; height: 297mm; border: 0; border-radius: 0; box-shadow: none; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
