/* Curvinha · site. Identidade "papel vegetal e nanquim" (brand/DECISION.md). Claro e escuro pelo sistema. */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/Archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("/assets/fonts/BarlowSemiCondensed-Medium.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #F4F5F2; --surface: #FBFBFA; --well: #E8EAE6;
  --strong: #1B1F22; --text: #2F3438; --muted: #4C5358; --soft: #5E656B;
  --ink: #56622C; --line: #C9CDC7; --hair: #DDE0DB;
  --btn: #1B1F22; --btn-text: #FBFBFA;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tech: "Barlow Semi Condensed", "Archivo", ui-sans-serif, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  /* um container só: cabeçalho, história e seções alinham na mesma borda (--edge) e param em --max */
  --max: 1240px; --g: 20px;
  --edge: max(var(--g), (100vw - var(--max)) / 2);
  --cw: calc(100vw - 2 * var(--edge));
  --grid: rgba(27, 31, 34, .045);
  --grid-strong: rgba(27, 31, 34, .14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121517; --surface: #1B1F22; --well: #252A2E;
    --strong: #E9ECEA; --text: #E9ECEA; --muted: #B7BDC0; --soft: #939A9F;
    --ink: #C0C890; --line: #3A4146; --hair: #2A3034;
    --btn: #E9ECEA; --btn-text: #121517;
    --grid: rgba(233, 236, 234, .05);
    --grid-strong: rgba(233, 236, 234, .1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
main { display: block; padding-top: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (min-width: 900px) { :root { --g: 40px; } }
.wrap { width: calc(var(--cw) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 20; background: var(--btn); color: var(--btn-text); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

h1, h2 { color: var(--strong); font-weight: 500; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--soft); }
h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; }
h3 { color: var(--strong); font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 8px; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; margin-top: 20px; }
.small, .note { font-size: 15px; color: var(--soft); }

/* botões: um principal por bloco */
a, button, summary { touch-action: manipulation; }
button, .btn, summary { -webkit-user-select: none; user-select: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--btn); color: var(--btn-text); font: 600 17px/1 var(--sans); text-decoration: none; transition: transform .16s var(--ease); }
a.btn:active, .listen:active { transform: scale(.97); }
.btn-ghost { background: transparent; color: var(--strong); box-shadow: inset 0 0 0 1.5px var(--line); }
.soon { display: inline-flex; align-items: center; min-height: 46px; padding: 0 4px; font-size: 15px; font-weight: 500; color: var(--soft); }

/* topo: largo e sem fundo no alto; rolando, vira uma pílula flutuante (--p vai de 0 a 1 com a rolagem, main.js).
   Nada empurra a página: o cabeçalho é fixo e só ele muda. */
.top { --p: 0; --pill: min(860px, 100vw - 16px); position: fixed; inset: 0 0 auto; z-index: 10; padding-top: calc(env(safe-area-inset-top, 0px) + 8px * var(--p)); pointer-events: none; }
.top::before { content: ""; position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px * var(--p)); height: calc(64px - 12px * var(--p)); left: calc((100vw - var(--pill)) / 2 * var(--p)); right: calc((100vw - var(--pill)) / 2 * var(--p)); border-radius: calc(26px * var(--p)); background: color-mix(in srgb, var(--surface) calc(80% * var(--p)), transparent); backdrop-filter: saturate(1.6) blur(calc(18px * var(--p))); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) calc(100% * var(--p)), transparent), 0 10px 30px -12px rgba(0, 0, 0, calc(.25 * var(--p))); }
.top-in { position: relative; display: flex; align-items: center; gap: 20px; height: calc(64px - 12px * var(--p)); width: calc(var(--cw) * (1 - var(--p)) + (var(--pill) - 36px) * var(--p)); margin-inline: auto; pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.02em; transform-origin: left center; }
.brand { transform: scale(calc(1 - .06 * var(--p))); }
.brand img { width: 34px; height: 34px; }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a, .lang { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover, .lang:hover { color: var(--strong); } a.btn:hover { transform: translateY(-1px); } }
.lang { margin-left: auto; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }
@media (min-width: 900px) { .nav { display: flex; } .lang { margin-left: 0; } }

/* a história: palco parado (sticky), prancha e textos numa timeline por take */
.story { position: relative; height: calc(7.2 * 100svh); margin-top: -64px; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
/* chão quadriculado em perspectiva, sumindo no horizonte (como o piso do vídeo) */
.floorgrid { position: absolute; left: -60%; right: -60%; bottom: 0; height: 220%; background-image: linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px); background-size: 64px 64px; background-position: center bottom; transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 90%); mask-image: linear-gradient(to top, #000 0%, transparent 90%); pointer-events: none; }
.slot { position: absolute; left: 50%; top: calc(64px + env(safe-area-inset-top, 0px) + 8px); width: min(100vw - 24px, 44svh); margin-left: calc(min(100vw - 24px, 44svh) / -2); }
.caps { position: absolute; left: 0; right: 0; bottom: 0; top: calc(64px + env(safe-area-inset-top, 0px) + 16px + min(100vw - 24px, 44svh)); }
.cap { position: absolute; inset: 0 max(var(--edge), env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(var(--edge), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; justify-content: flex-start; padding-top: 4px; }
.cap > * { max-width: 600px; }
.cap h1 { font-size: clamp(30px, 8.4vw, 76px); }
.cap h2 { font-size: clamp(24px, 6.6vw, 48px); }
.cap p { color: var(--muted); margin-top: 8px; font-size: clamp(15px, 4vw, 19px); line-height: 1.5; }
.cap .lead { margin-top: 10px; }
.cap .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cap .small { margin-top: 8px; font-size: 14px; }
.cap .btn { min-height: 46px; padding: 0 18px; font-size: 16px; }
.listen { align-self: flex-start; margin-top: 12px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--well); color: var(--strong); font: 600 15px/1 var(--sans); cursor: pointer; transition: transform .16s var(--ease); }
.marks i { position: absolute; left: 0; width: 1px; height: 1px; }
/* a Curvinha no topo: acima do título, na borda do texto (no celular, no vão entre a sala e o título).
   Pisca a cada tanto e dá uma olhada para o título e o botão (--look-x: para que lado). */
.cap > .cv-hero { position: absolute; left: -4px; top: -80px; width: 84px; height: 84px; max-width: none; overflow: visible; --look-x: 12px; }
.cv-hero .cv-look, .cv-hero .cv-blink { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .cv-hero .cv-blink { animation: cv-blink 5.2s infinite; }
  .cv-hero .cv-look { animation: cv-look 11s cubic-bezier(.45, 0, .25, 1) 1.2s infinite; }
}
@keyframes cv-blink { 0%, 90%, 97%, 100% { transform: none; } 93.5% { transform: scaleY(.08); } }
@keyframes cv-look { 0%, 26%, 74%, 100% { transform: none; } 32%, 66% { transform: translate(var(--look-x), 26px); } }
@media (min-width: 900px) {
  .stage { --w: min(var(--cw) * .52, 80svh); }
  .slot { left: auto; right: var(--edge); top: calc(50% + 32px); width: var(--w); margin: calc(var(--w) / -2) 0 0; --swap: calc(var(--w) - var(--cw)); }
  .caps { top: 64px; }
  .cap { justify-content: center; padding-top: 0; inset: 0 auto 0 var(--edge); width: min(var(--cw) - var(--w) - 48px, 540px); }
  .cap[data-side="r"] { left: auto; right: var(--edge); }
  .cap > .cv-hero { position: static; width: clamp(96px, 9vw, 136px); height: auto; margin: 0 0 14px -6px; --look-x: 12px; }
  .cap h1 { font-size: clamp(40px, 5vw, 76px); }
  .cap h2 { font-size: clamp(32px, 3.4vw, 52px); }
  .cap p { font-size: 19px; }
  .cap .btn { min-height: 52px; padding: 0 24px; font-size: 17px; }
}

/* experimente */
.try-in { display: grid; gap: 32px; align-items: center; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--well); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.seg-chairs { border-radius: 22px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--strong); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg button:active { transform: scale(.97); }
.try .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.try-board { width: min(100%, 640px); margin-inline: auto; }
.try-board .sym.new[data-k="pChair"] rect { stroke-width: 1.8; }
.try-board .is-plan [data-k="pChair"] { cursor: grab; }
.try-board .sym.dragging { cursor: grabbing; }
@media (min-width: 900px) { .try-in { grid-template-columns: 5fr 6fr; gap: 56px; } }

/* seções */
.sec { padding: 72px 0; }
.sec-alt { background: color-mix(in srgb, var(--surface) 70%, transparent); border-block: 1px solid var(--hair); }
@media (min-width: 900px) { .sec { padding: 112px 0; } }

/* cartões com o fluxo animado (planta sem LiDAR, adicionar por link) */
.more { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 900px) { .more { grid-template-columns: 1fr 1fr; gap: 32px; } }
.flow-stage { position: relative; height: 440px; border-radius: 22px; background: var(--well); overflow: hidden; margin-bottom: 22px; display: grid; place-items: center; }
.flow-card p { color: var(--muted); max-width: 52ch; }
.mini-phone { position: relative; width: 190px; aspect-ratio: 600 / 1304; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 7px #1B1F22, 0 0 0 8px #3A4146, 0 24px 48px -20px rgba(0, 0, 0, .4); background: #0d0f10; }
.mini-phone picture { position: absolute; inset: 0; }
.mini-phone picture + picture { opacity: 0; }
.mini-phone img { width: 100%; height: 100%; display: block; }
.fl { position: relative; width: min(100% - 32px, 380px); height: 390px; }
.fl-url { position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; color: var(--strong); white-space: nowrap; overflow: hidden; }
.fl-typed { display: inline-block; clip-path: inset(0 0 0 0); }
.fl-read { position: absolute; left: 0; top: 64px; width: 62%; padding: 14px 16px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 16px 32px -20px rgba(0, 0, 0, .35); z-index: 1; }
.fl-read p { margin: 0; }
.fl-name { display: flex; flex-direction: column; font-size: 15px; }
.fl-name b { color: var(--strong); }
.fl-name span, .fl-t { font-size: 13px; color: var(--soft); }
.fl-t { margin: 10px 0 4px !important; font-weight: 600; }
.fl-m { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.fl-m b { color: var(--strong); font-variant-numeric: tabular-nums; }
.fl-plan { position: absolute; right: 0; bottom: 0; width: 72%; overflow: visible; }
.fl-wall { fill: none; stroke: var(--strong); stroke-width: 10; stroke-linecap: square; }
.fl-door { fill: none; stroke: var(--strong); stroke-width: 1.5; }
.fl-keep { fill: var(--well); stroke: var(--soft); stroke-dasharray: 4 3; }
.fl-sofa rect { fill: #C9D2BE; stroke: #5E6E52; stroke-width: 2; }
.fl-sofa text, .fl-placed { font: 600 14px var(--sans); fill: var(--strong); text-anchor: middle; }
.fl-sofa text { writing-mode: vertical-rl; }
.fl-placed { fill: var(--soft); font-weight: 500; }
@media (prefers-color-scheme: dark) { .fl-sofa rect { fill: #3F4A38; stroke: #9DB08C; } }

/* preços: um seletor de verdade */
.free { margin-top: 20px; color: var(--muted); }
.picker { border: 0; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.picker legend { font-weight: 600; color: var(--strong); margin-bottom: 12px; padding: 0; }
.plan { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.plan-in { display: grid; gap: 4px; height: 100%; padding: 20px 22px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s var(--ease), transform .16s var(--ease); }
.plan-in b { color: var(--strong); font-size: 19px; }
.plan input:checked + .plan-in { box-shadow: inset 0 0 0 2px var(--strong); }
.plan input:focus-visible + .plan-in { outline: 2px solid var(--ink); outline-offset: 3px; }
.plan:active .plan-in { transform: scale(.985); }
.plan .d { color: var(--muted); }
.price { font-size: 32px; font-weight: 500; letter-spacing: -.03em; color: var(--strong); font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; letter-spacing: 0; color: var(--muted); }
.per { font-size: 15px; color: var(--soft); }
.summary { margin-top: 20px; padding: 20px 22px; border-radius: 20px; background: var(--well); }
.sum { display: none; color: var(--strong); font-weight: 500; }
.summary .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.sec:has(input[value="1"]:checked) .s1, .sec:has(input[value="2"]:checked) .s2, .sec:has(input[value="3"]:checked) .s3 { display: block; }
.note { margin-top: 20px; max-width: 70ch; }
@media (min-width: 800px) { .picker { grid-template-columns: repeat(3, 1fr); } }

/* dúvidas */
.faq { display: grid; gap: 32px; }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; color: var(--strong); font-size: 19px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; font-weight: 400; color: var(--soft); font-size: 24px; line-height: 1; transition: transform .2s var(--ease); }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { color: var(--muted); padding: 0 0 20px; max-width: 64ch; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 2fr; } }

.end-in { display: grid; gap: 28px; justify-items: start; }
.end .cta-row { display: flex; gap: 12px; }

/* páginas legais e 404 */
.legal { max-width: 720px; padding: 48px 0 80px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); font-size: 15px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 32px 0 8px; }
.legal h2 { font-size: 24px; letter-spacing: -.01em; margin: 40px 0 12px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal .mute { color: var(--soft); font-size: 15px; }
.legal footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--hair); }
.nf { padding: 96px 0 120px; }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }

/* rodapé */
.foot { border-top: 1px solid var(--hair); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; color: var(--soft); }
.foot-in { display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { color: var(--muted); padding: 6px 0; }
@media (max-width: 899px) and (max-height: 720px) { .cap-hero .small { display: none; } }

@media (max-width: 899px) {
  .cap-hero .btn-ghost { display: none; }
  .flow-stage { height: 380px; }
  .mini-phone { width: 150px; }
  .fl { height: 320px; }
  .sec { padding: 56px 0; }
}

/* avise-me no lançamento */
.notify { width: min(100% - 32px, 440px); padding: 28px 24px 24px; border: 0; border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); }
.notify::backdrop { background: rgba(18, 21, 23, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.notify[open] { animation: n-in .22s cubic-bezier(.23, 1, .32, 1); }
@keyframes n-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .notify[open] { animation: none; } }
.n-close-f { position: absolute; right: 12px; top: 12px; margin: 0; }
.n-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--well); color: var(--strong); font-size: 22px; line-height: 1; cursor: pointer; }
.n-form { display: grid; gap: 8px; }
.n-form h2 { font-size: 28px; padding-right: 40px; }
.n-form > p { color: var(--muted); margin-bottom: 8px; }
.n-form label { font-weight: 600; font-size: 15px; color: var(--strong); margin-top: 6px; }
.n-form input[type="email"], .n-form input[type="tel"] { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--strong); font: 400 16px var(--sans); }
.n-form input[aria-invalid="true"] { border-color: #C23B2A; }
.n-form .n-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 12px; }
.n-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--strong); }
.n-policy { font-size: 14px; margin-left: 30px; }
.n-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.n-err { color: #A3301F; font-size: 14px; }
.n-done { color: var(--strong); font-weight: 600; }
.n-form .btn { margin-top: 10px; }
@media (prefers-color-scheme: dark) { .n-err { color: #F0907C; } }
button.btn { border: 0; cursor: pointer; }
button.btn:active { transform: scale(.97); }
/* A prancha da história (story/scene.mjs). Tudo dentro da prancha é medido em cqw: ela escala inteira. */
.board {
  /* luz de cima e da esquerda: tampo claro, frente média, lado direito escuro */
  --floor: #FBFBFA; --grid: rgba(27, 31, 34, .06); --line: #1B1F22; --ink: #56622C; --soft: #5E656B;
  --wall-top: #F3F1EC; --wall-side: #E4E0D8; --wall-side2: #D3CEC4; --accent: #9AA88C; --accent2: #8A987D;
  --fab: #BDB6A9; --fab2: #A8A194; --fab3: #958E81;
  --old: #D9DCD8; --old2: #C6C9C4; --old3: #B4B8B2;
  --wood: #C9A77F; --wood2: #B08D66; --wood3: #977553; --leg: #5B4A3A;
  --rug: #EAE3D6; --rug2: #DDD4C4;
  --chair: #ECE5D6; --chair2: #D9D0BD; --chair3: #C7BDA8;
  --plank: #D8BC96; --plank2: #CBAE87;
  --card: #FBFBFA; --card-line: #C9CDC7; --text: #2F3438; --strong: #1B1F22;
  --sym-keep: #E8EAE6; --sym-new: #C9D2BE; --sym-new-line: #5E6E52;
  position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size;
  perspective: 180cqw; perspective-origin: 50% 30%;
  font-family: var(--sans, "Archivo", sans-serif); color: var(--text);
  -webkit-user-select: none; user-select: none; pointer-events: none;
}
@media (prefers-color-scheme: dark) {
  :root:not(.force-light) .board {
    --floor: #1F2427; --grid: rgba(233, 236, 234, .06); --line: #E9ECEA; --ink: #C0C890; --soft: #939A9F;
    --wall-top: #4A5055; --wall-side: #3A4045; --wall-side2: #30353A; --accent: #5E6B55; --accent2: #525E4A;
    --fab: #8E887E; --fab2: #7A746A; --fab3: #676258;
    --old: #4A5055; --old2: #3E4449; --old3: #33383C;
    --wood: #A98763; --wood2: #8F704F; --wood3: #775C41; --leg: #3B3027;
    --rug: #5A554C; --rug2: #4C483F;
    --chair: #C9C0AD; --chair2: #B2A994; --chair3: #9B927E;
    --plank: #6E5A45; --plank2: #62503D;
    --card: #1B1F22; --card-line: #3A4146; --text: #E9ECEA; --strong: #E9ECEA;
    --sym-keep: #2C3236; --sym-new: #3F4A38; --sym-new-line: #9DB08C;
  }
}
.board * { box-sizing: border-box; }
.board i, .board b, .board em, .board u { font-style: normal; text-decoration: none; }

.board .stage-room { position: absolute; left: 15cqw; top: 22cqw; width: 70cqw; height: 60cqw; transform-style: preserve-3d; }
.board .room { position: absolute; inset: 0; transform-style: preserve-3d; }
.board .floor { position: absolute; inset: 0; background: var(--floor); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 3.333cqw 3.333cqw; box-shadow: 0 0 0 .2cqw var(--line); }

.board .planta { position: absolute; left: -10.476%; top: -12.222%; width: 120.952%; height: 124.444%; overflow: visible; transform: translateZ(.3cqw); font-family: var(--sans, sans-serif); }
.board .planta path { fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
.board .planta .wl { stroke: var(--line); stroke-width: 10; stroke-linecap: square; }
.board .planta .win, .board .planta .door { stroke: var(--line); stroke-width: 1.3; }
.board .planta .dl { stroke: var(--soft); stroke-width: 1; }
.board .planta .dt path { stroke: var(--soft); stroke-width: 1.2; stroke-dasharray: none; }
.board .planta .dim { font-size: 11px; font-weight: 500; fill: var(--soft); text-anchor: middle; }
.board .planta .rn { font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: var(--soft); text-anchor: middle; }
.board .planta .ra { font-size: 10px; fill: var(--soft); text-anchor: middle; }
.board .planta .sym rect, .board .planta .sym ellipse { stroke-width: 1.2; }
.board .planta .keep rect { fill: var(--sym-keep); stroke: var(--line); stroke-dasharray: 4 3; }
.board .planta .keep text { font-size: 10px; font-weight: 600; fill: var(--strong); text-anchor: middle; }
.board .planta .old rect { fill: none; stroke: var(--soft); stroke-dasharray: 4 3; }
.board .planta .new rect, .board .planta .new ellipse { fill: var(--sym-new); stroke: var(--sym-new-line); }
.board .planta .rug rect { fill: none; stroke: var(--soft); stroke-width: .8; stroke-dasharray: 2 3; }
.board .planta .num { fill: var(--sym-new-line); }
.board .planta .numt { font-size: 10px; font-weight: 600; fill: #FBFBFA; text-anchor: middle; }

/* caixas: piso + faces que sobem */
.board .bx { position: absolute; transform-style: preserve-3d; }
.board .bx .f { position: absolute; display: block; }
.board .bx .tp { inset: 0; background: var(--c1); display: grid; place-items: center; }
.board .bx .fy, .board .bx .ly { left: 0; width: 100%; transform-origin: 0 0; transform: rotateX(90deg) scaleY(0); background: var(--c2); }
.board .bx .fy { top: 100%; }
.board .bx .ly { top: 0; }
.board .bx .fx, .board .bx .lx { top: 0; height: 100%; transform-origin: 0 0; transform: rotateY(-90deg) scaleX(0); background: var(--c3, var(--c2)); }
.board .bx .fx { left: 100%; }
.board .bx .lx { left: 0; }
.board .bx.round .tp { border-radius: 50%; box-shadow: 0 .3cqw .8cqw rgba(0, 0, 0, .18); }

.board .wall { --c1: var(--wall-top); --c2: var(--wall-side); --c3: var(--wall-side2); }
.board .wall .tp { box-shadow: inset 0 0 0 .12cqw rgba(27, 31, 34, .18); }
.board .wall.accent .fx { background: var(--accent); }
.board .wall.glass { --c1: #C9CDC7; --c2: rgba(201, 205, 199, .35); --c3: var(--c2); }
.board .fab { --c1: var(--fab); --c2: var(--fab2); --c3: var(--fab3); }
.board .cush .tp { border-radius: .8cqw; box-shadow: inset 0 -.25cqw .5cqw rgba(0, 0, 0, .12); }
.board .pillow { --c1: #9AA88C; --c2: #8A987D; --c3: #7B896F; }
.board .pillow.p2 { --c1: #D8C3A0; --c2: #C8B28E; --c3: #B7A17D; }
.board .old { --c1: var(--old); --c2: var(--old2); --c3: var(--old3); }
.board .leg { --c1: var(--leg); --c2: var(--leg); --c3: var(--leg); }
.board .wood { --c1: var(--wood); --c2: var(--wood2); --c3: var(--wood3); }
.board .wood .tp { background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 40%, rgba(0, 0, 0, .05)), var(--wood); }
.board .wood2 { --c1: var(--wood2); --c2: var(--wood3); --c3: var(--leg); }
.board .tabletop .tp { box-shadow: 0 0 0 .35cqw var(--wood2), 0 .6cqw 1.2cqw rgba(0, 0, 0, .2); }
.board .tv { --c1: #2A2D30; --c2: #1E2124; --c3: #16181A; }
.board .vase { --c1: #E9E4DA; --c2: #D6D0C4; --c3: #C4BDB0; }
.board .rug { --c1: var(--rug); --c2: var(--rug2); }
.board .rug .tp { background: repeating-linear-gradient(0deg, transparent 0 .7cqw, rgba(0, 0, 0, .035) .7cqw 1cqw), var(--rug); box-shadow: inset 0 0 0 .6cqw rgba(0, 0, 0, .04); border-radius: .4cqw; }
.board .chair { --c1: var(--chair); --c2: var(--chair2); --c3: var(--chair3); }
.board .pot { --c1: #B98A6A; --c2: #A67858; --c3: #93684A; }
.board .leaf { --c1: #6F8B5E; }
.board .leaf.l2 { --c1: #7E9A6C; }
.board .leaf.l3 { --c1: #8FAA7B; }
.board .leaf .tp { box-shadow: 0 .6cqw 1.4cqw rgba(0, 0, 0, .22); }
.board .metal { --c1: #3A3F43; --c2: #2E3236; --c3: #25282B; }
.board .shade { --c1: #F3EEE3; }
.board .shade .tp { box-shadow: 0 0 2cqw rgba(255, 236, 200, .7); }
.board .shd { position: absolute; background: rgba(27, 31, 34, .16); filter: blur(1cqw); border-radius: 1cqw; transform: translateZ(.1cqw); }
.board .wood-floor { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--plank) 0 3.1cqw, var(--plank2) 3.1cqw 3.2cqw), var(--plank); box-shadow: inset 0 0 4cqw rgba(0, 0, 0, .12); }
.board .cz.teal { --c1: #2E7F86; --c2: #236268; }
.board .cz.black { --c1: #2B2B2B; --c2: #151515; }
.board .cz.mustard { --c1: #C99A17; --c2: #A37C10; }
.board .cz.pink { --c1: #D98FA0; --c2: #C47585; }

.board .hatch { position: absolute; background: repeating-linear-gradient(45deg, rgba(194, 59, 42, .9) 0 .3cqw, transparent .3cqw 1.2cqw); outline: .3cqw solid #C23B2A; outline-offset: -.3cqw; transform: translateZ(.2cqw); opacity: 0; }
.board .halo { position: absolute; border: .35cqw solid #2E7D4A; background: rgba(46, 125, 74, .12); border-radius: .6cqw; opacity: 0; }
.board .gap { position: absolute; height: 0; border-top: .35cqw solid #7A5A0E; opacity: 0; }
.board .pin { position: absolute; display: flex; align-items: center; gap: .8cqw; padding: .7cqw 1.2cqw .7cqw .7cqw; border-radius: 99cqw; font: 600 1.9cqw/1 var(--sans, sans-serif); white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; box-shadow: 0 .4cqw 1.2cqw rgba(0, 0, 0, .12); }
.board .pin b { display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; color: #FBFBFA; font-size: 1.5cqw; }
.board .pin.tight { background: #F6EAC9; color: #7A5A0E; }
.board .pin.tight b { background: #7A5A0E; }
.board .pin.nofit { background: #F6DEDA; color: #A3301F; }
.board .pin.nofit b { background: #A3301F; }


.board .voice { position: absolute; left: 4cqw; bottom: 6cqw; display: flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw 2.2cqw; border-radius: 3cqw; background: var(--card); box-shadow: 0 0 0 .15cqw var(--card-line), 0 1.2cqw 3cqw rgba(0, 0, 0, .12); width: 54cqw; opacity: 0; }
.board .wave { display: flex; align-items: center; gap: .5cqw; height: 4cqw; flex: none; }
.board .wave i { display: block; width: .6cqw; height: 100%; border-radius: 1cqw; background: var(--ink); transform: scaleY(.3); }
.board .voice.speaking .wave i { animation: ht-wave .9s ease-in-out infinite alternate; }
.board .voice.speaking .wave i:nth-child(2) { animation-delay: -.3s; } .voice.speaking .wave i:nth-child(3) { animation-delay: -.6s; }
.board .voice.speaking .wave i:nth-child(4) { animation-delay: -.15s; } .voice.speaking .wave i:nth-child(5) { animation-delay: -.45s; }
@keyframes ht-wave { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .voice.speaking .wave i { animation: none; transform: scaleY(.6); } }
.board .lines { position: relative; flex: 1; height: 5.4cqw; }
.board .vl { position: absolute; inset: 0; display: flex; align-items: center; font: 500 2.2cqw/1.25 var(--sans, sans-serif); color: var(--strong); opacity: 0; }

.board .phone { position: absolute; right: 3cqw; top: 10cqw; width: 28cqw; aspect-ratio: 600 / 1304; border-radius: 5cqw; overflow: hidden; background: #0d0f10; box-shadow: 0 0 0 1cqw #1B1F22, 0 0 0 1.15cqw #3A4146, 0 3cqw 6cqw -2cqw rgba(0, 0, 0, .35); opacity: 0; }
.board .phone .scr { position: absolute; inset: 0; opacity: 0; }
.board .phone .scr img { width: 100%; height: 100%; display: block; }
.board .ring { position: absolute; left: 29%; top: 55.1%; width: 30.5%; height: 2.6%; border-radius: 99cqw; box-shadow: 0 0 0 .5cqw #56622C, 0 0 0 1.4cqw rgba(86, 98, 44, .18); opacity: 0; }

.board .ficha { position: absolute; left: 3cqw; bottom: 3cqw; width: 40cqw; border-radius: 2cqw; overflow: hidden; background: var(--card); box-shadow: 0 0 0 .15cqw var(--card-line), 0 2cqw 5cqw -1.5cqw rgba(0, 0, 0, .25); opacity: 0; font-variant-numeric: tabular-nums; }
.board .fi-photo { position: relative; background: #E8EAE6; }
.board .fi-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; }
.board .fi-cota { position: absolute; left: 8%; right: 8%; bottom: 6%; display: flex; align-items: center; gap: 1cqw; font: 500 1.8cqw/1 var(--sans, sans-serif); color: #4C5358; }
.board .fi-cota i { flex: 1; height: .2cqw; background: #7D858A; }
.board .fi-body { padding: 1.8cqw 2cqw 2cqw; }
.board .fi-head { display: flex; align-items: baseline; gap: 1cqw; margin: 0; font-size: 2cqw; color: var(--text); }
.board .fi-head b { font-weight: 600; color: var(--strong); }
.board .fi-price { margin-left: auto; font-weight: 600; color: var(--strong); }
.board .fi-dims { display: flex; align-items: flex-end; gap: 2.4cqw; margin: 1.4cqw 0 0; font: 600 2.4cqw/1 var(--sans, sans-serif); color: var(--strong); }
.board .fi-dims small { display: block; font: 500 1.3cqw/1 var(--sans, sans-serif); color: var(--soft); margin-bottom: .5cqw; }
.board .fi-dims u { font-size: 1.5cqw; margin-left: .2cqw; }
.board .fi-dims em { margin-left: auto; font-size: 1.4cqw; padding: .3cqw .7cqw; border: .15cqw solid currentColor; border-radius: .5cqw; }
.board .fi-why { margin: 1.4cqw 0 0; font-size: 1.8cqw; line-height: 1.35; color: var(--text); }
.board .grp { position: absolute; inset: 0; transform-style: preserve-3d; }

.board .fi-ex { margin: .3cqw 0 0; font-size: 1.3cqw; color: var(--soft); }

/* chamadas: ponto no objeto, traço até o rótulo */
.board .leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.board .leaders path { fill: none; stroke: var(--line); stroke-width: .22; stroke-dasharray: 1; stroke-dashoffset: 1; }
.board .co-dot { position: absolute; width: 1.6cqw; height: 1.6cqw; margin: -.8cqw 0 0 -.8cqw; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 .6cqw color-mix(in srgb, var(--card) 70%, transparent); }
.board .co { position: absolute; padding: .9cqw 1.4cqw; border-radius: 1.2cqw; background: var(--card); box-shadow: 0 0 0 .15cqw var(--card-line), 0 1cqw 2.4cqw -1cqw rgba(0, 0, 0, .25); font: 500 2cqw/1.25 var(--sans, sans-serif); color: var(--strong); white-space: nowrap; }
.board .co b { font-weight: 600; }
.board .grp { position: absolute; inset: 0; transform-style: preserve-3d; }

/* a lista de compras */
.board .lista { position: absolute; right: 3cqw; top: 10cqw; width: 50cqw; padding: 2.4cqw; border-radius: 2.4cqw; background: var(--card); box-shadow: 0 0 0 .15cqw var(--card-line), 0 2.4cqw 6cqw -2cqw rgba(0, 0, 0, .3); font-variant-numeric: tabular-nums; }
.board .li-head { display: flex; flex-direction: column; gap: .4cqw; margin: 0 0 1.4cqw; }
.board .li-head b { font-size: 2.8cqw; font-weight: 600; letter-spacing: -.02em; color: var(--strong); }
.board .li-head span { font-size: 1.7cqw; color: var(--soft); }
.board .li { display: grid; grid-template-columns: 9cqw 1fr auto; align-items: center; gap: 1.6cqw; padding: 1.2cqw 0; border-top: .12cqw solid var(--card-line); }
.board .li img { width: 9cqw; height: 6cqw; object-fit: cover; border-radius: .8cqw; background: #E8EAE6; }
.board .li-n { display: flex; flex-direction: column; gap: .3cqw; min-width: 0; }
.board .li-n b { font-size: 1.9cqw; font-weight: 600; color: var(--strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .li-n small, .board .li-p small { font-size: 1.5cqw; color: var(--soft); }
.board .li-p { display: flex; flex-direction: column; align-items: flex-end; gap: .3cqw; font-size: 1.9cqw; font-weight: 600; color: var(--strong); }
.board .li-p small { font-weight: 500; }
.board .li-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.4cqw; border-top: .25cqw solid var(--strong); font-size: 2cqw; color: var(--strong); }
.board .li-tot b { font-size: 3.4cqw; font-weight: 600; letter-spacing: -.02em; }
.board .li-ok { display: flex; align-items: center; gap: .8cqw; margin: 1cqw 0 0; font-size: 1.7cqw; font-weight: 500; color: #1F6B3F; }
.board .li-ok i { width: 1.8cqw; height: 1.8cqw; border-radius: .4cqw; background: #2E7D4A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.4l3.6 3.6 7.4-7.6' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (prefers-color-scheme: dark) { :root:not(.force-light) .board .li-ok { color: #6CC286; } }
