/* Novos Passos · amostra Mathcode
   Motivo: silhueta dos prédios do logo + degraus ("passos") + desenho técnico (prancha, cotas, nível). */
:root {
	--navy-950: #050d22;
	--navy-900: #071330;
	--navy-800: #0b1f4a;
	--royal: #2456c4;
	--royal-2: #3b72e0;
	--sky: #9cbcf6;
	--paper: #eeece7;
	--paper-2: #f6f5f1;
	--concrete: #d8d4cc;
	--ink: #0c1424;
	--ink-soft: #4a5468;
	--wood: #b0683f;
	--line: rgba(12, 20, 36, 0.14);
	--line-on-dark: rgba(255, 255, 255, 0.16);
	--edge: 0px; /* antigo recorte em degrau; seções agora se encontram numa laje reta */
	--gut: clamp(16px, 5vw, 72px);
	--head: 64px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem); line-height: 1.55; color: var(--ink); background: var(--navy-900); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; font-stretch: 112%; letter-spacing: -0.025em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.9rem); }
em { font-style: normal; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--royal-2); outline-offset: 3px; }

.kicker { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; font: 500 0.875rem/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.kicker .dot { width: 7px; height: 7px; background: var(--royal-2); box-shadow: 0 0 0 4px rgba(59, 114, 224, 0.25); }

.btn { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 52px; padding: 0 1.5rem; border: 0; background: var(--royal); color: #fff; font: 600 0.98rem/1 var(--font); font-stretch: 105%; text-decoration: none; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: background-color 0.25s; }
.btn:hover { background: var(--royal-2); }
.btn:hover span { transform: translateX(4px); }
.btn span { transition: transform 0.35s var(--ease); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.88rem; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--sky); }
.link-line { display: inline-block; padding: 0.4rem 0; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.4s var(--ease); }
.link-line:hover { background-size: 35% 1px; }

.w-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w-in { display: inline-block; will-change: transform; }

/* marcas de esquadro (desenho técnico) */
.crop { position: absolute; z-index: 2; width: 18px; height: 18px; pointer-events: none; border: 0 solid rgba(255, 255, 255, 0.85); }
.crop-tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.crop-br { right: 10px; bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: 14px var(--gut); color: #fff; transition: background-color 0.35s, padding 0.35s, transform 0.45s var(--ease); }
.top.is-solid { background: rgba(7, 19, 48, 0.94); padding-block: 10px; }
.top.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 800; font-stretch: 100%; font-size: 1.02rem; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-word small { margin-top: 4px; font-size: 0.875rem; letter-spacing: 0.42em; text-transform: uppercase; opacity: 0.8; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: 0.9rem; }
.nav a { text-decoration: none; opacity: 0.82; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; }

/* ---------- régua de nível ---------- */
.level { position: fixed; z-index: 40; opacity: 0; transition: opacity 0.5s; right: 18px; top: 28vh; height: 44vh; width: 120px; pointer-events: none; color: #fff; mix-blend-mode: difference; }
.level.is-on { opacity: 1; }
.level-rule { position: absolute; right: 0; top: 0; bottom: 0; width: 10px; border-right: 1px solid currentColor; background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 12.5%) right top / 10px 100% no-repeat, repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 2.5%) right top / 5px 100% no-repeat; opacity: 0.6; }
.level-mark { position: absolute; right: 18px; top: 0; display: grid; justify-items: end; font: 500 0.875rem/1.15 var(--mono); transform: translateY(calc(var(--lv, 0) * 44vh - 50%)); }
.level-mark::after { content: ""; position: absolute; right: -18px; top: 0.6em; width: 14px; border-top: 2px solid currentColor; }
.level-mark i { display: none; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

/* ---------- seções como pavimentos: laje em corte + marca de nível ---------- */
[data-step] { position: relative; --slab: clamp(12px, 1.2vw, 18px); padding-top: calc(var(--slab) + clamp(3rem, 7vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 6rem); }
/* laje: hachura de concreto entre duas linhas, como no corte do projeto */
[data-step]::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: var(--slab); border-block: 1px solid var(--edge-c, var(--royal)); background: repeating-linear-gradient(-45deg, var(--edge-c, var(--royal)) 0 1px, transparent 1px 7px); opacity: 0.85; transform-origin: 0 50%; transition: transform 1.1s var(--ease); pointer-events: none; }
/* arranque dos pilares sob a laje, nos eixos */
[data-step]::after { --c: var(--edge-c, var(--royal)); content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: var(--slab); height: 26px; background: linear-gradient(var(--c), var(--c)) 34% 0 / 1px 100% no-repeat, linear-gradient(var(--c), var(--c)) calc(34% + 9px) 0 / 1px 100% no-repeat, linear-gradient(var(--c), var(--c)) 67% 0 / 1px 100% no-repeat, linear-gradient(var(--c), var(--c)) calc(67% + 9px) 0 / 1px 100% no-repeat, linear-gradient(var(--c), var(--c)) calc(100% - var(--gut)) 0 / 1px 100% no-repeat, linear-gradient(var(--c), var(--c)) calc(100% - var(--gut) - 9px) 0 / 1px 100% no-repeat; opacity: 0.5; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); transform-origin: 50% 0; transition: transform 0.7s var(--ease) 0.7s; pointer-events: none; }
.slab-js [data-step]:not(.is-built)::before { transform: scaleX(0); }
.slab-js [data-step]:not(.is-built)::after { transform: scaleY(0); }
.step-tag { position: absolute; z-index: 3; left: var(--gut); top: calc(var(--slab) + 10px); display: flex; align-items: center; gap: 0.6rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--edge-c, var(--royal)); }
/* símbolo de nível: triângulo apoiado numa linha */
.step-tag::before { content: ""; width: 14px; height: 12px; background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat, currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- hero: o projeto vira obra ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); min-height: 100svh; color: #fff; background: radial-gradient(90% 70% at 0% 0%, #163a86 0%, rgba(22, 58, 134, 0) 60%), linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px); background-size: 64px 64px; opacity: 0.14; mask-image: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.hero-main { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: clamp(2rem, 5svh, 3.4rem); padding: clamp(110px, 15svh, 150px) clamp(2rem, 4vw, 4.5rem) calc(var(--edge) + clamp(2rem, 5svh, 4rem)) var(--gut); }
.hero-copy { max-width: 640px; }
.hero-title { font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.5rem); }
.hero-title em { display: inline; font-weight: 300; color: var(--sky); }
.hero-lede { margin-top: clamp(1.1rem, 3svh, 1.7rem); max-width: 33rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: clamp(1.5rem, 4svh, 2.3rem); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-on-dark); }
.hero-proof li { display: grid; align-content: start; gap: 0.35rem; padding: 1.1rem 1rem 0 0; }
.hero-proof li + li { padding-left: 1rem; border-left: 1px solid var(--line-on-dark); }
.hero-proof strong { font-size: clamp(1.35rem, 1.05rem + 0.9vw, 2rem); font-weight: 600; font-stretch: 110%; line-height: 1; white-space: nowrap; }
.hero-proof span { font-size: 0.875rem; line-height: 1.35; color: rgba(255, 255, 255, 0.66); }

.po { position: relative; margin: 0; min-height: 100svh; }
.po-stage { --x: 46%; position: absolute; inset: 0; overflow: hidden; background: #0a1c45; cursor: ew-resize; touch-action: pan-y; outline-offset: -4px; }
.po-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(156, 188, 246, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 188, 246, 0.13) 1px, transparent 1px), linear-gradient(rgba(156, 188, 246, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 188, 246, 0.06) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; }
.po-trace, .po-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.po-trace { -webkit-mask-image: linear-gradient(#000 70%, transparent 92%); mask-image: linear-gradient(#000 70%, transparent 92%); clip-path: inset(var(--rise, 0%) 0 0 0); }
.po-photo { clip-path: inset(0 0 0 var(--x)); }
.po-draft { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sky); }
.po-draft path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.po-ax path, .po-lv path:not(.po-tri) { stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); opacity: 0.55; }
.po-ct path { stroke-dasharray: 1 1; stroke-dashoffset: var(--draw, 0); }
.po-tri { fill: currentColor !important; stroke: none !important; opacity: 0.8; }
.po-draft circle { fill: #0a1c45; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.po-draft text { fill: currentColor; font: 500 13px var(--mono); text-anchor: middle; }
.po-lv text { text-anchor: start; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.po-laser { position: absolute; inset: 0; pointer-events: none; opacity: var(--laser, 0); transform: translateY(var(--rise, 0%)); }
.po-laser::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid #fff; box-shadow: 0 0 14px 2px rgba(156, 188, 246, 0.9); }
.po-handle { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; z-index: 3; pointer-events: none; opacity: var(--hand, 1); transform: translateX(var(--x)); }
.po-handle i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 19, 48, 0.25); }
.po-handle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%23071330' stroke-width='2'/%3E%3C/svg%3E") center / 22px no-repeat; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.po-tag { position: absolute; top: calc(50% + 34px); padding: 0.35rem 0.55rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.po-tag-l { left: -10px; transform: translateX(-100%); color: var(--sky); background: rgba(7, 19, 48, 0.85); }
.po-tag-r { left: 10px; color: var(--navy-900); background: #fff; }
.po-stamp { position: absolute; right: 16px; bottom: calc(var(--edge) + 16px); z-index: 3; display: grid; min-width: 220px; font: 400 0.875rem/1.3 var(--mono); color: #fff; background: rgba(7, 19, 48, 0.78); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.po-stamp > * { padding: 0.35rem 0.6rem; }
.po-stamp > * + * { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.po-stamp b { font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.po-stamp span:last-child { color: var(--sky); }
.hero-scroll { display: none; }

/* ---------- o padrão de perto (inspeção com lupa) ---------- */
.detail { background: var(--paper); --edge-c: var(--royal); z-index: 1; }
.dt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.big-quote { margin: 0; }
.big-quote p { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.4rem); font-weight: 550; font-stretch: 110%; line-height: 1.03; letter-spacing: -0.025em; text-wrap: balance; }
.dt-src { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.2rem; max-width: 32rem; font: 400 1rem/1.4 var(--mono); color: var(--ink-soft); }
.dt-src img { flex: none; width: 60px; height: 60px; object-fit: cover; object-position: 50% 45%; }
.dt-h { margin-top: clamp(1.8rem, 5svh, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; }
.dt-tabs { display: flex; gap: 0.4rem; margin-top: 1rem; }
.dt-tabs button { min-height: 42px; padding: 0 1.1rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 0.95rem/1 var(--font); cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.dt-tabs button:hover { border-color: var(--navy-800); }
.dt-tabs button[aria-selected="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.dt-list { display: grid; gap: 0; margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: dt; max-width: 34rem; }
.dt-list li { border-top: 1px solid var(--line); }
.dt-list li:last-child { border-bottom: 1px solid var(--line); }
.dt-list button { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0 0.6rem; width: 100%; padding: 0.75rem 0; border: 0; background: none; color: var(--ink-soft); font: inherit; text-align: left; cursor: pointer; transition: color 0.3s; }
.dt-list button b { font-weight: 600; color: var(--ink); }
.dt-list button i { grid-row: span 2; font: 500 0.875rem/1.6 var(--mono); font-style: normal; color: var(--royal); }
.dt-list button span { grid-column: 2; max-height: 0; overflow: hidden; font-size: 0.95rem; transition: max-height 0.5s var(--ease); }
.dt-list button[aria-current="true"] span { max-height: 4rem; }
.dt-list button[aria-current="true"] i { color: #fff; background: var(--royal); text-align: center; height: 1.6rem; width: 1.6rem; }
.dt-fig { margin: 0; }
.dt-frame { position: relative; aspect-ratio: 4 / 5; max-height: 80svh; margin-left: auto; overflow: hidden; background: var(--concrete); }
.dt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dt-next { clip-path: inset(0 100% 0 0); }
.dt-next.is-in { clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease); }
.dt-pins { position: absolute; inset: 0; z-index: 2; }
.dt-pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(7, 19, 48, 0.82); color: #fff; font: 500 0.875rem/1 var(--mono); cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85); transition: background-color 0.3s, transform 0.4s var(--ease); animation: pin-in 0.6s var(--ease) both; animation-delay: calc(var(--k) * 0.08s + 0.3s); }
.dt-pin::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.7); animation: pin-pulse 2.4s var(--ease) infinite; }
.dt-pin[aria-pressed="true"] { background: var(--royal); transform: scale(1.12); }
@keyframes pin-in { from { transform: scale(0); opacity: 0; } }
@keyframes pin-pulse { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.dt-lead { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dt-lead line { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4 3; }
.dt-loupe { position: absolute; z-index: 3; left: 0; top: 0; --ls: 0; width: var(--lw, 170px); height: var(--lw, 170px); margin: calc(var(--lw, 170px) / -2) 0 0 calc(var(--lw, 170px) / -2); border-radius: 50%; overflow: hidden; background-repeat: no-repeat; background-color: var(--navy-900); box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(7, 19, 48, 0.35), 0 18px 40px rgba(5, 13, 34, 0.45); pointer-events: none; transform: translate(var(--lx, 0px), var(--ly, 0px)) scale(var(--ls)); transition: transform 0.6s var(--ease); }
.dt-loupe.is-on { --ls: 1; }
.dt-loupe span { position: absolute; inset: 0; background: radial-gradient(circle, transparent 60%, rgba(5, 13, 34, 0.25)); }
.dt-loupe span::before, .dt-loupe span::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, 0.75); }
.dt-loupe span::before { width: 16px; height: 1px; margin-left: -8px; }
.dt-loupe span::after { width: 1px; height: 16px; margin-top: -8px; }
.dt-callout { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 0.2rem; padding: 0.7rem 0.9rem; color: #fff; background: rgba(7, 19, 48, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-left: 3px solid var(--royal-2); transition: opacity 0.15s; }
.dt-callout b { font-weight: 600; font-stretch: 105%; }
.dt-callout span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.dt-callout.is-swap { opacity: 0.4; }
.dt-fig figcaption { margin-top: 0.7rem; font: 400 0.875rem/1.4 var(--mono); color: var(--ink-soft); text-align: right; }

/* ---------- etapas: prancha que se constrói ---------- */
.stages { color: #fff; background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); --edge-c: var(--sky); z-index: 2; overflow-x: clip; padding-top: var(--slab); padding-bottom: 0; }
.stages::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(156, 188, 246, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 188, 246, 0.07) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.stages-track { position: relative; height: 240svh; }
.sp-rail, .sp-swipe { display: none; }
.stages-sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: calc(var(--head) + 1rem) 0 1.5rem; }
.stages-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; height: 100%; }
.stages-side { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.stages-side h2 { max-width: 15ch; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.stages-hint { margin-top: 1.4rem; font: 400 0.875rem/1.3 var(--mono); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.55); }
.stair { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 4px; height: clamp(120px, 20svh, 200px); margin-top: clamp(1.4rem, 4svh, 2.6rem); padding-top: 30px; }
.tread { position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 0.25rem; padding: 0.7rem 0.65rem; border: 0; border-top: 2px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.72); font: inherit; text-align: left; cursor: pointer; transition: background-color 0.35s, color 0.35s, border-color 0.35s; }
.tread:nth-child(1) { height: 32%; } .tread:nth-child(2) { height: 49%; } .tread:nth-child(3) { height: 66%; } .tread:nth-child(4) { height: 83%; } .tread:nth-child(5) { height: 100%; }
.tread:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.tread[aria-selected="true"] { background: var(--royal); color: #fff; border-top-color: #fff; }
.tread.is-past { background: rgba(59, 114, 224, 0.28); color: #fff; }
.tread .n { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.1em; opacity: 0.8; }
.tread .l { font-size: clamp(0.875rem, 0.6rem + 0.45vw, 0.98rem); font-weight: 600; font-stretch: 92%; line-height: 1.1; }
.stair-walker { position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: #fff; clip-path: polygon(0 100%, 0 30%, 46% 8%, 46% 100%, 54% 100%, 54% 34%, 78% 34%, 78% 52%, 100% 52%, 100% 100%); transform: translate(var(--wx, 0), var(--wy, 0)); transition: transform 0.7s var(--ease); pointer-events: none; }
.stage-text { margin-top: clamp(1.2rem, 3svh, 2rem); min-height: 11.5rem; }
.sp-n { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.16em; color: var(--sky); }
.sp-title { margin-top: 0.5rem; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); }
.sp-body { margin-top: 0.8rem; max-width: 34rem; color: rgba(255, 255, 255, 0.82); }
.sp-you { margin-top: 0.8rem; padding-left: 0.9rem; border-left: 2px solid var(--royal-2); max-width: 34rem; font-size: 0.92rem; color: var(--sky); }
.stage-text.is-swap > * { animation: swap 0.6s var(--ease) both; }
.stage-text.is-swap > :nth-child(2) { animation-delay: 0.04s; } .stage-text.is-swap > :nth-child(3) { animation-delay: 0.08s; } .stage-text.is-swap > :nth-child(4) { animation-delay: 0.12s; }
@keyframes swap { from { opacity: 0; transform: translateX(18px); } }
.stage-photo { position: relative; justify-self: end; width: min(100%, calc((100svh - var(--head) - 3rem) * 0.8)); aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-950); }
.sp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-next { clip-path: inset(100% 0 0 0); }
.sp-next.is-in { clip-path: inset(0 0 0 0); transition: clip-path 0.9s var(--ease); }
.sp-cap { position: absolute; right: 0; top: 0; z-index: 2; width: min(72%, 330px); padding: 0.5rem 0.75rem; background: rgba(5, 13, 34, 0.78); font: 400 0.875rem/1.3 var(--mono); color: rgba(255, 255, 255, 0.88); }
.prancha { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: min(78%, 380px); padding: 0.6rem 0.7rem 0.7rem; color: #fff; background: rgba(7, 19, 48, 0.86); border: 1px solid rgba(156, 188, 246, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pr-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding-bottom: 0.45rem; margin-bottom: 0.4rem; border-bottom: 1px solid rgba(156, 188, 246, 0.3); font: 500 0.875rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.pr-head > span { color: var(--sky); text-align: right; }
.pr-head b { white-space: nowrap; }
.pr-head [data-pr-n] { display: inline-block; min-width: 2ch; text-align: left; }
.bp { display: block; width: 100%; height: auto; overflow: visible; color: var(--sky); }
.bp path, .bp rect, .bp circle { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.bp text { fill: currentColor; font: 500 9px var(--mono); text-anchor: middle; }
.bp .lv { text-anchor: start; font-size: 8px; }
.bp .ax { stroke-dasharray: 4 3; opacity: 0.5; }
.bp .ghost { opacity: 0.45; }
.bp .thick { stroke-width: 2.5; stroke: #fff; }
.bp .soil { stroke: none; fill: url(#soil); opacity: 0.5; }
.bp .wall { stroke: none; fill: url(#brick); color: #e88a5f; }
.bp .glass { stroke: none; fill: rgba(156, 188, 246, 0.45); }
.bp .wood { stroke: none; fill: var(--wood); opacity: 0.85; }
.bp .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.bp-l { opacity: 0; transition: opacity 0.5s; }
.bp-l.on { opacity: 1; }
.bp-l.on .dr { stroke-dashoffset: 0; }
.bp-l.on rect:not(.dr) { animation: fill-in 0.9s 0.5s both; }
@keyframes fill-in { from { opacity: 0; } }

/* ---------- obras ---------- */
.works { background: var(--paper-2); --edge-c: var(--royal); z-index: 3; overflow: hidden; }
.works-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.works-note { color: var(--ink-soft); font-size: 1rem; }
.rail { display: flex; align-items: flex-end; gap: clamp(0.8rem, 1.6vw, 1.4rem); padding: 0 var(--gut) 0.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.w { position: relative; flex: none; margin: 0; scroll-snap-align: start; }
.w-img { position: relative; overflow: hidden; background: var(--concrete); }
.w-img::before, .w-img::after { content: ""; position: absolute; z-index: 1; width: 16px; height: 16px; border: 0 solid #fff; opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); }
.w-img::before { left: 10px; top: 10px; border-width: 1px 0 0 1px; transform: translate(6px, 6px); }
.w-img::after { right: 10px; bottom: 10px; border-width: 0 1px 1px 0; transform: translate(-6px, -6px); }
.w:hover .w-img::before, .w:hover .w-img::after { opacity: 1; transform: none; }
.w-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.w:hover .w-img img { transform: scale(1); }
.w-xl { width: clamp(300px, 46vw, 700px); } .w-xl .w-img { aspect-ratio: 3 / 2; }
.w-tall { width: clamp(220px, 23vw, 340px); } .w-tall .w-img { aspect-ratio: 4 / 5.4; }
.w-md { width: clamp(260px, 30vw, 440px); } .w-md .w-img { aspect-ratio: 5 / 4; }
.w-wide { width: clamp(300px, 40vw, 620px); } .w-wide .w-img { aspect-ratio: 4 / 3; }
.w figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); margin-top: 0.75rem; font-size: 0.9rem; }
.w figcaption span { color: var(--ink-soft); font-size: 0.875rem; }
.w-more { display: flex; flex-direction: column; justify-content: space-between; width: clamp(240px, 24vw, 340px); aspect-ratio: 4 / 5; padding: 1.4rem; color: #fff; text-decoration: none; background-color: var(--navy-900); background-image: linear-gradient(160deg, var(--navy-900), var(--royal)); clip-path: polygon(0 18%, 40% 18%, 40% 9%, 72% 9%, 72% 0, 100% 0, 100% 100%, 0 100%); }
.w-more span { margin-top: 30%; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 600; font-stretch: 108%; line-height: 1.08; }
.w-more b { font: 500 0.875rem/1 var(--mono); }

/* ---------- primeiro passo ---------- */
.planner { color: #fff; background: radial-gradient(90% 70% at 10% 0%, #3b72e0 0%, rgba(59, 114, 224, 0) 60%), linear-gradient(160deg, #1b47a8, var(--navy-800)); --edge-c: #fff; z-index: 4; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.planner-intro h2 { max-width: 14ch; }
.planner-intro > p { margin-top: 1.2rem; max-width: 28rem; color: rgba(255, 255, 255, 0.84); }
.mini-stair { display: flex; align-items: flex-end; gap: 5px; height: 110px; margin-top: 2.4rem; }
.mini-stair i { width: 46px; background: rgba(255, 255, 255, 0.16); transform-origin: bottom; transition: background-color 0.4s; }
.mini-stair i:nth-child(1) { height: 25%; } .mini-stair i:nth-child(2) { height: 50%; } .mini-stair i:nth-child(3) { height: 75%; } .mini-stair i:nth-child(4) { height: 100%; }
.mini-stair i.on { background: #fff; }
.planner-form { display: grid; gap: 1.5rem; padding: clamp(1.2rem, 3vw, 2.4rem); background: rgba(5, 13, 34, 0.38); border: 1px solid rgba(255, 255, 255, 0.14); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 0.7rem; font-weight: 600; font-stretch: 105%; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.9rem; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.chips input:checked + span { background: #fff; color: var(--navy-900); border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.chips label:hover span { border-color: #fff; }
.field { display: grid; gap: 0.45rem; font-size: 0.9rem; }
.field input { min-height: 48px; padding: 0 0.9rem; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; font-size: 16px; }
.field input::placeholder { color: rgba(255, 255, 255, 0.5); }
.note { padding: 0.9rem 1.1rem; background: var(--paper-2); color: var(--ink); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.note-label { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--royal); }
.note-text { margin-top: 0.45rem; font-size: 1rem; line-height: 1.45; }
.fine { font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }
.planner-form .btn { justify-self: start; }

/* ---------- avaliações (formato Portas do Vale) ---------- */
.reviews { background: var(--paper); --edge-c: var(--royal); z-index: 5; overflow: hidden; }
.rv-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.rv-score h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.8rem); max-width: 13ch; }
.rv-score h2 em { color: var(--royal); font-weight: 400; }
.rv-num { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: clamp(1.2rem, 3vh, 2rem) 0 1.8rem; }
.rv-n { font-size: clamp(4.6rem, 3rem + 6vw, 8.5rem); font-weight: 300; font-stretch: 120%; line-height: 0.85; letter-spacing: -0.04em; color: var(--navy-800); font-variant-numeric: lining-nums tabular-nums; }
.stars { display: block; width: 170px; height: auto; color: var(--royal); }
.stars-clip { width: 0; transition: width 1.6s var(--ease) 0.3s; }
.rv-score.is-visible .stars-clip { width: 113px; }
.rv-meta { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-soft); }
.rv-label { margin: 0 0 0.75rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.rv-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.rv-tags li { padding: 0.45rem 0.95rem; border: 1px solid var(--line); background: var(--paper-2); font-size: 0.875rem; color: var(--navy-800); }
.rv-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; height: clamp(480px, 74svh, 700px); mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 5%, #000 95%, transparent); }
.rv-col { overflow: hidden; }
.rv-track { display: grid; gap: 1rem; animation: rv-up 44s linear infinite; will-change: transform; }
.rv-col-rev .rv-track { animation-direction: reverse; animation-duration: 52s; }
.rv-wall:hover .rv-track, .rv-wall.is-paused .rv-track { animation-play-state: paused; }
.rv-dup { display: grid; gap: 1rem; }
@keyframes rv-up { to { transform: translateY(calc(-50% - 0.5rem)); } }
.rv { margin: 0; padding: 1.3rem 1.3rem 1.1rem; background: var(--paper-2); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.rv::before { content: "★★★★★"; display: block; margin-bottom: 0.7rem; font-size: 0.875rem; letter-spacing: 0.2em; color: var(--royal); }
.rv blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; }
.rv figcaption { display: grid; gap: 0.2rem; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.rv figcaption strong { font-size: 0.9rem; }
.rv figcaption span { font: 400 0.875rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--royal); }

/* ---------- instagram ---------- */
.insta { color: #fff; background: linear-gradient(170deg, var(--navy-950), var(--navy-800) 70%, #163a86); --edge-c: var(--sky); z-index: 6; overflow: hidden; }
.insta-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.insta-card { position: sticky; top: 110px; }
.insta-id { display: flex; align-items: center; gap: 1rem; }
.insta-avatar { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--royal-2); }
.insta-handle { font: 500 0.875rem/1 var(--mono); }
.insta-count { margin-top: 0.4rem; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.insta-count b { color: #fff; }
.insta-card h2 { margin-top: 1.6rem; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); }
.insta-bio { margin: 1.2rem 0 1.8rem; max-width: 26rem; color: rgba(255, 255, 255, 0.78); }
.insta-posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; margin: 0; padding: 0 0 clamp(3rem, 8vw, 7rem); list-style: none; }
.insta-posts li { transform: translateY(calc(var(--col, 0) * var(--rise, 36px))); }
.insta-posts li:nth-child(4n+2) { --col: 1; } .insta-posts li:nth-child(4n+3) { --col: 2; } .insta-posts li:nth-child(4n+4) { --col: 3; }
.insta-posts a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-900); text-decoration: none; }
.insta-posts img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s; }
.insta-posts a:hover img { transform: scale(1.06); filter: brightness(0.7); }
.insta-posts span { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.3rem 0.5rem; background: rgba(5, 13, 34, 0.8); font: 400 0.875rem/1 var(--mono); letter-spacing: 0.06em; }

/* ---------- final ---------- */
.final { background: var(--paper); --edge-c: var(--royal); z-index: 7; }
.final-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.final-title { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); max-width: 12ch; }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.facts dt { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--royal); margin-bottom: 0.6rem; }
.facts dd { margin: 0; font-size: 0.92rem; color: var(--ink); }
.final-fig { margin: 0; }
.final-fig img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 55% 50%; }
.final-fig figcaption { margin-top: 0.55rem; font: 400 0.875rem/1.3 var(--mono); color: var(--ink-soft); }
.final-stair { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 4px; height: clamp(40px, 9vw, 120px); margin-top: clamp(1.4rem, 5vw, 4rem); }
.final-stair i { flex: 1; background: var(--navy-800); transform-origin: bottom; }
.final-stair i:nth-child(1) { height: 20%; } .final-stair i:nth-child(2) { height: 40%; } .final-stair i:nth-child(3) { height: 60%; } .final-stair i:nth-child(4) { height: 80%; } .final-stair i:nth-child(5) { height: 100%; background: var(--royal); }

.foot { position: relative; z-index: 8; padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); background: var(--navy-950); color: rgba(255, 255, 255, 0.7); font-size: 0.875rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.foot-brand { color: #fff; }
.foot-brand .brand-mark { width: 28px; height: 28px; }
.disclaimer { margin-left: auto; color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.nav { display: none; }
	.top .btn-sm { margin-left: auto; }
	.level { display: none; }
}

/* celular e tablet em pé: cada seção cabe inteira na tela */
@media (max-width: 860px) {
	:root { --head: 58px; }
	h2 { font-size: clamp(1.75rem, 1.2rem + 3.4vw, 2.6rem); }
	[data-step] { --slab: 10px; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--slab) + var(--head)); padding-bottom: 1.5rem; }
	.step-tag { display: none; }

	/* hero: obra em tela cheia, texto ancorado embaixo */
	.hero { display: block; height: 100svh; min-height: 0; }
	.hero::before { display: none; }
	.po { position: absolute; inset: 0; min-height: 0; }
	.po-stage { --x: 40%; }
	.po-trace, .po-photo { object-position: 46% 20%; }
	.po-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, var(--navy-900) 0, rgba(5, 13, 34, 0.9) var(--head), rgba(5, 13, 34, 0) calc(var(--head) + 90px), rgba(5, 13, 34, 0) 34%, rgba(5, 13, 34, 0.86) 58%, var(--navy-900) 100%); pointer-events: none; }
	.po-handle { z-index: 3; top: var(--head); bottom: 54%; }
	.po-tag { top: calc(50% + 30px); }
	.po-handle i::after { width: 40px; height: 40px; }
	.po-stamp { display: none; }
	.po-lv text, .po-ax circle, .po-ax text { display: none; }
	.hero-main { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) calc(var(--edge) + 0.8rem); gap: clamp(1rem, 3svh, 1.6rem); pointer-events: none; }
	.hero-main a { pointer-events: auto; }
	.hero .kicker { margin-bottom: 0.8rem; font-size: 0.875rem; letter-spacing: 0.1em; }
	.hero-copy, .hero-proof { max-width: none; }
	.hero-title { font-size: clamp(2.1rem, 1.3rem + 5.2vw, 3.2rem); }
	.hero-lede { margin-top: 0.8rem; font-size: 1rem; }
	.hero-actions { margin-top: 1.1rem; gap: 0.8rem 1.4rem; }
	.hero-proof li { padding: 0.8rem 0.6rem 0 0; }
	.hero-proof li + li { padding-left: 0.7rem; }
	.hero-proof strong { font-size: 1.25rem; }
	.hero-proof span br { display: none; }

	/* padrão de perto */
	.dt-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0.8rem; }
	.dt-copy { display: contents; }
	.big-quote p { font-size: clamp(1.45rem, 1rem + 2.8vw, 2.2rem); }
	.dt-src { order: 1; margin: 0; font-size: 0.875rem; }
	.dt-src img { width: 44px; height: 44px; }
	.dt-h { display: none; }
	.dt-tabs { order: 2; margin: 0.2rem 0 0; }
	.dt-tabs button { flex: 1; min-height: 40px; padding: 0; }
	.dt-list { display: none; }
	.dt-fig { order: 3; }
	.dt-frame { aspect-ratio: auto; height: clamp(250px, 50svh, 620px); max-height: none; }
	.dt-loupe { --lw: 112px; }
	.dt-pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
	.dt-fig figcaption { text-align: left; }

	/* etapas: tudo dentro de uma tela, a rolagem troca o degrau */
	.stages { padding-top: var(--slab); }
	.stages-track { height: auto; }
	.stages-sticky { position: static; height: auto; padding: 0; align-items: stretch; }
	.stages-grid { height: auto; }
	.stage-photo { height: clamp(260px, 50svh, 620px); flex: none !important; }
	.sp-img { display: none; }
	.sp-rail { display: flex; position: absolute; inset: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.sp-rail::-webkit-scrollbar { display: none; }
	.sp-rail img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
	.prancha, .sp-cap, .stage-photo .crop { pointer-events: none; }
	.stage-photo .crop-tl { display: none; }
	/* celular: sem desfoque de fundo (caro no iPhone durante a rolagem) */
	.prancha, .dt-callout, .po-stamp { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 19, 48, 0.94); }
	.sp-swipe { display: block; position: absolute; z-index: 2; left: 8px; top: 8px; padding: 0.3rem 0.5rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.08em; color: var(--navy-900); background: #fff; animation: swipe-hint 1.6s var(--ease) 3 both; }
	@keyframes swipe-hint { 50% { transform: translateX(-6px); } }
	.stages-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0.8rem; }
	.stages-side { display: contents; }
	.stages-side .kicker { display: none; }
	.stages-side h2 { order: 0; max-width: none; font-size: clamp(1.5rem, 1rem + 3vw, 2.2rem); }
	.stage-photo { order: 1; flex: 1 1 auto; width: 100%; aspect-ratio: auto; min-height: 0; justify-self: stretch; }
	.stair { order: 2; flex: none; height: 58px; margin: 0; padding-top: 22px; gap: 3px; }
	.stair-walker { width: 18px; height: 18px; }
	.tread { padding: 0.35rem; justify-content: center; }
	.tread .l { display: none; }
	.stage-text { order: 3; flex: none; margin: 0; min-height: 0; height: 7.4rem; overflow: hidden; }
	.sp-n { display: none; }
	.sp-title { margin: 0; font-size: 1.4rem; }
	.sp-body { margin-top: 0.4rem; font-size: 0.95rem; line-height: 1.45; }
	.sp-you, .stages-hint { display: none; }
	/* foto livre: prancha vira miniatura no canto, legenda numa linha embaixo */
	.prancha { left: auto; right: 8px; top: 8px; bottom: auto; width: min(40%, 170px); padding: 0.3rem 0.35rem 0.35rem; background: rgba(7, 19, 48, 0.82); }
	.pr-head { gap: 0; padding-bottom: 0.25rem; margin-bottom: 0.2rem; font-size: 0.6875rem; letter-spacing: 0.04em; }
	.pr-head > span { display: none; }
	.sp-cap { top: auto; bottom: 0; left: 0; right: 0; width: auto; max-width: none; padding: 0.3rem 0.5rem; font-size: 0.75rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: linear-gradient(90deg, rgba(5, 13, 34, 0.8), rgba(5, 13, 34, 0.35)); }

	/* obras */
	.works-head { grid-template-columns: 1fr; gap: 0.6rem; margin-bottom: 1.2rem; }
	.works-note { font-size: 1rem; }
	.rail { align-items: stretch; }
	.w, .w-xl, .w-tall, .w-md, .w-wide { width: min(78vw, 360px); }
	.w .w-img { aspect-ratio: auto; height: clamp(220px, 50svh, 560px); }
	.w-more { width: min(70vw, 300px); aspect-ratio: auto; height: clamp(220px, 50svh, 560px); }

	/* primeiro passo */
	.planner-grid { grid-template-columns: 1fr; gap: 1rem; }
	.planner-intro > p, .mini-stair { display: none; }
	.planner-form { gap: 0.75rem; padding: 0.9rem; }
	legend { margin-bottom: 0.5rem; font-size: 0.95rem; }
	.chips { gap: 0.4rem; }
	.chips span { min-height: 38px; padding: 0 0.75rem; font-size: 0.875rem; }
	.field input { min-height: 44px; }
	.note { padding: 0.7rem 0.9rem; }
	.note-text { font-size: 0.95rem; }
	.planner-form .btn { justify-self: stretch; justify-content: center; }

	/* avaliações */
	.rv-grid { grid-template-columns: 1fr; gap: 1rem; }
	.rv-num { margin: 0.8rem 0 0; gap: 0.9rem; }
	.rv-n { font-size: clamp(3.4rem, 2rem + 8vw, 5rem); }
	.stars { width: 130px; }
	.rv-label, .rv-tags { display: none; }
	.rv-wall { grid-template-columns: 1fr; height: clamp(240px, 48svh, 520px); }
	.rv-col-rev { display: none; }

	/* instagram: faixa que corre para o lado */
	.insta-grid { grid-template-columns: 1fr; gap: 1.2rem; }
	.insta-card { position: static; }
	.insta-avatar { width: 48px; height: 48px; }
	.insta-card h2 { margin-top: 1rem; }
	.insta-bio { margin: 0.7rem 0 1rem; font-size: 0.95rem; }
	.insta-posts { display: flex; gap: 0.6rem; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 0.2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
	.insta-posts::-webkit-scrollbar { display: none; }
	.insta-posts li { flex: none; width: min(40vw, 200px); transform: none; scroll-snap-align: start; }
	.insta-posts a { aspect-ratio: auto; height: clamp(170px, 30svh, 300px); }

	/* final */
	.final-grid { grid-template-columns: 1fr; gap: 1rem; }
	.final-actions { margin-top: 1.2rem; }
	.facts { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; margin-top: 1.2rem; padding-top: 1rem; }
	.facts > div:first-child { grid-column: 1 / -1; }
	.final-fig img { aspect-ratio: auto; height: clamp(110px, 17svh, 280px); }
	.final-title { font-size: clamp(1.9rem, 1.2rem + 4vw, 2.8rem); }
	.final-stair { height: 36px; margin-top: 0.4rem; }
	.final-fig figcaption { display: none; }
	.disclaimer { margin-left: 0; }
}
@media (max-width: 380px) {
	.brand-word small { letter-spacing: 0.28em; }
	.top .btn-sm { padding: 0 0.7rem; }
	.brand-word b { font-size: 0.85rem; }
}
@media (max-width: 560px) {
	.top { gap: 0.8rem; padding-inline: 16px; }
	.brand-mark { width: 28px; height: 28px; }
	.brand-word b { font-size: 0.9rem; }
	.btn-sm { padding: 0 0.85rem; font-size: 0.875rem; }
	.hero-actions .link-line { display: none; }
	.k-x { display: none; }
	.top .btn-sm { white-space: nowrap; }
	.hero-proof strong { font-size: 1.1rem; }
	.hero-actions .btn { flex: 1; justify-content: center; }
}
/* telas baixas (iPhone SE, Android compacto): corta o que é secundário */
@media (max-width: 860px) and (max-height: 720px) {
	.stage-photo { height: 40svh; }
	.hero-lede { display: none; }
	.hero-proof span { display: none; }
	.dt-src { display: none; }
	.dt-fig figcaption { display: none; }
	.field, .fine { display: none; }
	.rv-meta { display: none; }
	.insta-bio { display: none; }
	.facts > div:nth-child(2) { display: none; }
	.stage-text { height: 5.6rem; }
	.sp-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.final-stair { display: none; }
	.final-fig { display: none; }
	.works-note { display: none; }
	.w .w-img, .w-more { height: clamp(200px, 46svh, 560px); }
	.planner-form legend { margin-bottom: 0.35rem; }
	.chips span { min-height: 34px; }
	.note { display: none; }
}
@media (max-height: 560px) and (orientation: landscape) {
	.hero { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.rv-track { animation: none !important; }
	.rv-dup { display: none; }
	.po-laser { display: none; }
	.stars-clip { width: 113px; }
}

/* ================= v2: filme da obra no topo + canteiro 3D ================= */
.hero2 { --p: 1; position: relative; height: 240svh; color: #fff; background: var(--navy-950); }
.h2-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.h2-media { position: absolute; inset: 0; transform: scale(calc(1.1 - var(--p) * 0.1)); transform-origin: 50% 62%; }
.h2-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; }
/* a casa pronta sobe do chão, como a obra */
.h2-pronta { clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); }
.h2-level { position: absolute; inset: 0; border-top: 1px solid #fff; box-shadow: 0 -1px 16px 1px rgba(156, 188, 246, 0.9); transform: translateY(calc((1 - var(--p)) * 100%)); opacity: calc(min(var(--p), 1 - var(--p)) * 20); pointer-events: none; }
.h2-level b { position: absolute; right: var(--gut); top: 0.6rem; padding: 0.3rem 0.55rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-900); background: #fff; }
.h2-sticky::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 13, 34, 0.7) 0, rgba(5, 13, 34, 0) 20%), linear-gradient(90deg, rgba(5, 13, 34, 0.9) 0, rgba(5, 13, 34, 0.62) 34%, rgba(5, 13, 34, 0) 64%), linear-gradient(0deg, rgba(5, 13, 34, 0.6) 0, rgba(5, 13, 34, 0) 22%); pointer-events: none; }
.h2-main { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: min(100%, 780px); display: flex; flex-direction: column; justify-content: center; gap: clamp(1.6rem, 4svh, 3rem); padding: clamp(100px, 14svh, 140px) var(--gut) 4rem; }
.h2-steps { position: absolute; z-index: 2; right: var(--gut); bottom: 2rem; display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.h2-steps li { padding-top: 0.6rem; border-top: 2px solid rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.6); transition: color 0.4s, border-color 0.4s; }
.hero2[data-at="0"] .h2-steps li:nth-child(-n+1), .hero2[data-at="1"] .h2-steps li:nth-child(-n+2), .hero2[data-at="2"] .h2-steps li:nth-child(-n+3), .hero2[data-at="3"] .h2-steps li { color: #fff; border-color: #fff; }
.h2-scroll { position: absolute; z-index: 2; left: 50%; bottom: 2rem; margin: 0; transform: translateX(-50%); font: 500 0.875rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: calc(1 - var(--p) * 8); }
.h2-scroll::after { content: ""; display: block; width: 1px; height: 26px; margin: 0.5rem auto 0; background: #fff; animation: h2-drop 1.6s var(--ease) infinite; transform-origin: 50% 0; }
@keyframes h2-drop { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.h2-note { position: absolute; z-index: 2; left: var(--gut); bottom: 1rem; margin: 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }

.obra3d { color: #fff; background: radial-gradient(80% 60% at 100% 0%, #163a86 0%, rgba(22, 58, 134, 0) 60%), linear-gradient(180deg, var(--navy-950), var(--navy-800)); --edge-c: var(--sky); z-index: 2; }
.o3-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.7fr); grid-template-areas: "head stage" "panel stage"; grid-template-rows: auto 1fr; gap: 1.6rem clamp(2rem, 4vw, 4rem); }
.o3-head { grid-area: head; } .o3-stage { grid-area: stage; } .o3-panel { grid-area: panel; }
.o3-head h2 em { font-style: normal; font-weight: 300; color: var(--sky); }
.o3-sub { margin-top: 0.9rem; max-width: 30rem; color: rgba(255, 255, 255, 0.8); }
.o3-stage { position: relative; height: min(76svh, 720px); min-height: 440px; overflow: hidden; background: var(--navy-950); border: 1px solid var(--line-on-dark); }
.o3-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s; cursor: grab; touch-action: pan-y; outline-offset: -3px; }
.o3-stage canvas:active { cursor: grabbing; }
.obra3d.is-ready canvas { opacity: 1; }
.o3-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(8px) brightness(0.55); transform: scale(1.06); }
.obra3d.is-ready .o3-poster { visibility: hidden; }
.o3-load, .o3-fail { position: absolute; left: 50%; top: 50%; width: max-content; max-width: 80%; margin: 0; transform: translate(-50%, -50%); font: 500 0.875rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.obra3d.is-ready .o3-load, .obra3d.no-3d .o3-load, .o3-fail { display: none; }
.obra3d.no-3d .o3-fail { display: block; }
.o3-label { position: absolute; z-index: 2; left: 0; top: 0; margin: -2.6rem 0 0 0.9rem; padding: 0.35rem 0.6rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--navy-900); background: #fff; opacity: 0; transition: opacity 0.3s; pointer-events: none; will-change: transform; }
.o3-label::before { content: ""; position: absolute; left: calc(-0.9rem - 5px); top: calc(2.6rem - 5px); width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.3); }
.o3-label::after { content: ""; position: absolute; left: -0.9rem; top: 100%; width: 0.9rem; height: calc(2.6rem - 100%); border-left: 1px solid #fff; }
.obra3d.is-ready .o3-label.is-on { opacity: 1; }
.o3-tools { position: absolute; z-index: 3; right: 10px; top: 10px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.o3-tools button { min-height: 38px; padding: 0 0.8rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(7, 19, 48, 0.86); border: 1px solid rgba(255, 255, 255, 0.32); cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.o3-tools button:hover { border-color: #fff; }
.o3-tools button[aria-pressed="true"] { color: var(--navy-900); background: #fff; }
.o3-tools .o3-z { width: 38px; padding: 0; font-size: 1.15rem; }
.o3-hint { position: absolute; z-index: 2; left: 12px; bottom: 10px; margin: 0; padding: 0.3rem 0.5rem; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(7, 19, 48, 0.86); transition: opacity 0.4s; }
.o3-stage.is-used .o3-hint, .obra3d:not(.is-ready) .o3-hint { opacity: 0; }
.o3-panel { display: grid; align-content: start; gap: 1rem; }
.o3-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) 3.4ch; align-items: center; gap: 0.8rem; }
.o3-bar output { font: 500 0.875rem/1 var(--mono); text-align: right; color: var(--sky); }
.o3-play { display: grid; place-items: center; width: 48px; height: 48px; border: 0; color: #fff; background: var(--royal); cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.o3-play:hover { background: var(--royal-2); }
.o3-play i { width: 0; height: 0; margin-left: 4px; border-block: 8px solid transparent; border-left: 13px solid currentColor; }
.o3-play.is-playing i { width: 12px; height: 15px; margin: 0; border: 0; border-inline: 4px solid currentColor; }
.o3-play.is-end i { width: auto; height: auto; margin: 0; border: 0; font-style: normal; font-size: 1.35rem; line-height: 1; }
.o3-play.is-end i::before { content: "↺"; }
.o3-bar input { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; }
.o3-bar input::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--sky) var(--f, 0%), rgba(255, 255, 255, 0.24) var(--f, 0%)); }
.o3-bar input::-moz-range-track { height: 4px; background: linear-gradient(90deg, var(--sky) var(--f, 0%), rgba(255, 255, 255, 0.24) var(--f, 0%)); }
.o3-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; background: #fff; border: 0; }
.o3-bar input::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 0; border-radius: 0; }
.o3-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.o3-chips button { display: flex; align-items: center; gap: 0.5rem; width: 100%; min-height: 46px; padding: 0 0.7rem; font: 500 0.92rem/1.1 var(--font); text-align: left; color: rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.06); border: 0; border-bottom: 2px solid rgba(255, 255, 255, 0.2); cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.o3-chips b { font: 500 0.875rem/1 var(--mono); color: var(--sky); }
.o3-chips .is-done { border-bottom-color: var(--sky); }
.o3-chips .is-on { color: #fff; background: var(--royal); border-bottom-color: #fff; }
.o3-chips .is-on b { color: #fff; }
.o3-card { min-height: 12.5rem; padding-top: 1rem; border-top: 1px solid var(--line-on-dark); }
.o3-n { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.1em; color: var(--sky); }
.o3-card h3 { margin: 0.5rem 0 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.o3-card p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.82); }
.o3-card .o3-you { padding-left: 0.9rem; border-left: 2px solid var(--royal-2); font-size: 0.92rem; color: var(--sky); }
.o3-card.is-swap > * { animation: swap 0.5s var(--ease) both; }
.o3-note { margin: 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }

@media (max-width: 860px) {
	.hero2 { height: 200svh; }
	.h2-media { inset: 0 0 52% 0; transform-origin: 50% 80%; }
	.h2-media img { object-position: 30% 50%; }
	.h2-sticky::after { background: linear-gradient(180deg, rgba(5, 13, 34, 0.85) 0, rgba(5, 13, 34, 0) 14%, rgba(5, 13, 34, 0) 38%, var(--navy-950) 48.5%); }
	.h2-main { top: 46%; width: 100%; justify-content: flex-start; gap: 1rem; padding: 0.4rem var(--gut) 2.4rem; }
	.h2-main .link-line, .h2-steps { display: none; }
	.h2-scroll { left: auto; right: var(--gut); bottom: auto; top: calc(48% - 3.6rem); transform: none; }
	.h2-scroll::after { display: none; }
	.h2-note { bottom: auto; top: calc(var(--head) + 0.5rem); right: var(--gut); font-size: 0.875rem; line-height: 1.3; text-shadow: 0 1px 6px rgba(5, 13, 34, 0.9); }
	.h2-main .hero-title { font-size: clamp(1.8rem, 1.1rem + 4.4vw, 2.8rem); }
	.h2-main .hero-lede { margin-top: 0.7rem; font-size: 0.98rem; }
	.h2-main .hero-actions { margin-top: 1rem; }
	.h2-main .hero-proof li { padding-top: 0.7rem; }
	.h2-main .hero-proof span br { display: none; }
	.o3-grid { display: flex; flex-direction: column; gap: 0.6rem; }
	.o3-head .kicker, .o3-sub, .o3-note, .o3-card .o3-you { display: none; }
	.o3-head h2 { font-size: clamp(1.5rem, 1rem + 3vw, 2.2rem); }
	.o3-stage { height: clamp(240px, 42svh, 540px); min-height: 0; }
	.o3-tools { right: 6px; top: 6px; gap: 4px; }
	.o3-tools button { min-height: 34px; padding: 0 0.5rem; letter-spacing: 0.02em; }
	.o3-tools .o3-z { width: 34px; }
	.o3-panel { gap: 0.6rem; }
	.o3-chips { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; }
	.o3-chips button { justify-content: center; min-height: 40px; padding: 0; }
	.o3-chips span { display: none; }
	.o3-card { min-height: 0; height: 8.4rem; padding-top: 0.6rem; overflow: hidden; }
	.o3-card h3 { font-size: 1.35rem; }
	.o3-card p { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.45; }
}
@media (max-width: 860px) and (max-height: 720px) {
	.h2-main .hero-lede, .h2-main .hero-proof span { display: none; }
	.o3-stage { height: 34svh; }
	.o3-card { height: 7.2rem; }
}

/* ---------- topo v2.1: filme de obra em seis fases ---------- */
.hero2 { --t1: 1; --t2: 1; --t3: 1; --t4: 1; --t5: 1; --oh: 0; --ov: 0; --lh: 1; --lv: 1; --o0: 1; --mx: 0; --my: 0; height: 560svh; }
.h2-media { transform: translate(calc(var(--mx) * -12px), calc(var(--my) * -8px)) scale(calc(1.12 - var(--p) * 0.09)); transition: transform 0.5s var(--ease); }
.h2-f[data-f="1"] { clip-path: inset(calc((1 - var(--t1)) * 100%) 0 0 0); }
.h2-f[data-f="2"] { clip-path: inset(calc((1 - var(--t2)) * 100%) 0 0 0); }
.h2-f[data-f="3"] { clip-path: inset(0 calc((1 - var(--t3)) * 100%) 0 0); }
.h2-f[data-f="4"] { clip-path: inset(0 0 0 calc((1 - var(--t4)) * 100%)); }
.h2-f[data-f="5"] { opacity: var(--t5); }
.h2-lz { position: absolute; inset: 0; pointer-events: none; }
.h2-lz-h { border-top: 2px solid #fff; box-shadow: 0 -2px 22px 2px rgba(156, 188, 246, 0.95); transform: translateY(calc((1 - var(--lh)) * 100%)); opacity: var(--oh); }
.h2-lz-v { border-left: 2px solid #fff; box-shadow: -2px 0 22px 2px rgba(156, 188, 246, 0.95); transform: translateX(calc(var(--lv) * 100%)); opacity: var(--ov); }
/* malha de prancha por cima da foto, some quando a casa fica pronta */
.h2-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(156, 188, 246, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 188, 246, 0.16) 1px, transparent 1px); background-size: 96px 96px; opacity: calc(0.9 - var(--p) * 1.3); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 30%, #000 70%); }
.hero2[data-film] .h2-main { opacity: var(--o0); transform: translateY(calc((1 - var(--o0)) * -24px)); }
.hero2[data-at]:not([data-at="0"]) .h2-main { pointer-events: none; }
.h2-caps { position: absolute; z-index: 2; left: var(--gut); bottom: clamp(4.5rem, 12svh, 8rem); width: min(100% - 2 * var(--gut), 560px); }
.h2-cap { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(26px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.h2-cap span { font: 500 0.875rem/1 var(--mono); letter-spacing: 0.16em; color: var(--sky); }
.h2-cap b { display: block; margin-top: 0.7rem; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 6rem); font-weight: 700; font-stretch: 112%; line-height: 0.98; letter-spacing: -0.02em; }
.h2-cap p { margin-top: 1rem; max-width: 30rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); color: rgba(255, 255, 255, 0.86); }
.h2-cap .btn { margin-top: 1.4rem; }
.hero2[data-at="1"] .h2-cap:nth-child(1), .hero2[data-at="2"] .h2-cap:nth-child(2), .hero2[data-at="3"] .h2-cap:nth-child(3), .hero2[data-at="4"] .h2-cap:nth-child(4), .hero2[data-at="5"] .h2-cap:nth-child(5) { opacity: 1; transform: none; pointer-events: auto; }
.h2-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.h2-pct { position: absolute; right: var(--gut); top: calc(var(--head) + 1.6rem); display: grid; justify-items: end; gap: 0.45rem; margin: 0; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.h2-pct b { padding: 0.35rem 0.55rem; color: var(--navy-900); background: #fff; }
.h2-pct span { padding: 0.3rem 0.5rem; background: rgba(7, 19, 48, 0.8); }
.h2-steps { right: var(--gut); bottom: 2rem; flex-direction: column; gap: 0; align-items: flex-end; }
.h2-steps li { display: flex; align-items: center; gap: 0.7rem; padding: 0.42rem 0.9rem 0.42rem 0; border-top: 0; border-right: 2px solid rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.62); }
.h2-steps i { font-style: normal; color: var(--sky); }
.hero2[data-at="0"] .h2-steps li:nth-child(1), .hero2[data-at="1"] .h2-steps li:nth-child(2), .hero2[data-at="2"] .h2-steps li:nth-child(3), .hero2[data-at="3"] .h2-steps li:nth-child(4), .hero2[data-at="4"] .h2-steps li:nth-child(5), .hero2[data-at="5"] .h2-steps li:nth-child(6) { color: var(--navy-900); background: #fff; border-color: #fff; padding-left: 0.7rem; }
.hero2[data-at] .h2-steps li:not(:nth-child(1)) { border-top: 0; }
.hero2[data-at="0"] .h2-steps li:nth-child(1) i, .hero2[data-at="1"] .h2-steps li:nth-child(2) i, .hero2[data-at="2"] .h2-steps li:nth-child(3) i, .hero2[data-at="3"] .h2-steps li:nth-child(4) i, .hero2[data-at="4"] .h2-steps li:nth-child(5) i, .hero2[data-at="5"] .h2-steps li:nth-child(6) i { color: var(--royal); }
.h2-crop { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, 0.8); }
.h2-crop-a { left: 14px; top: calc(var(--head) + 14px); border-width: 1px 0 0 1px; } .h2-crop-b { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; }
.h2-note { left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2 * var(--gut)); text-align: center; }
.h2-scroll { bottom: 3.2rem; }
@media (max-width: 860px) {
	.hero2 { height: 460svh; }
	.h2-media { transform: scale(calc(1.1 - var(--p) * 0.08)); }
	.h2-grid { inset: 0 0 52% 0; -webkit-mask-image: none; mask-image: none; opacity: calc(0.6 - var(--p) * 1); }
	.h2-caps { left: var(--gut); bottom: auto; top: calc(48% + 1.4rem); width: calc(100% - 2 * var(--gut)); }
	.h2-cap { bottom: auto; top: 0; }
	.h2-cap b { font-size: clamp(2.4rem, 1.4rem + 6vw, 3.6rem); }
	.h2-pct { top: auto; bottom: calc(52% + 0.7rem); right: var(--gut); }
	.h2-steps { display: none; }
	.h2-crop-b { bottom: calc(52% + 8px); }
	.h2-scroll { display: none; }
	.h2-note { left: var(--gut); transform: none; width: auto; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .h2-media { transition: none; } }

/* ---------- v2.1: linguagem de prancha nas seções ---------- */
/* treliça metálica no lugar da laje hachurada */
[data-step] { --slab: clamp(18px, 1.7vw, 26px); }
[data-step]::before { border-block-width: 2px; background: repeating-linear-gradient(58deg, var(--edge-c, var(--royal)) 0 1.5px, transparent 1.5px 23px), repeating-linear-gradient(-58deg, var(--edge-c, var(--royal)) 0 1.5px, transparent 1.5px 23px); }
/* papel milimetrado nas seções claras */
.detail, .works, .reviews, .final { background-image: linear-gradient(rgba(36, 86, 196, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 86, 196, 0.07) 1px, transparent 1px), linear-gradient(rgba(36, 86, 196, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 86, 196, 0.035) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
/* carimbo da prancha (no lugar da régua lateral): folha e nome da seção */
.level { right: 14px; top: auto; bottom: 14px; width: auto; height: auto; mix-blend-mode: normal; color: var(--navy-900); background: #fff; border: 1px solid var(--navy-900); box-shadow: 4px 4px 0 rgba(7, 19, 48, 0.35); }
.level-rule { display: none; }
.level-mark { position: static; display: grid; grid-template-columns: auto auto; justify-items: start; transform: none; font: 500 0.875rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.level-mark::after { display: none; }
.level-mark b { padding: 0.55rem 0.7rem; border-right: 1px solid var(--navy-900); font-weight: 500; }
.level-mark i { display: block; min-width: 11ch; padding: 0.55rem 0.7rem; opacity: 1; color: var(--royal); }
/* obras: sanfona de painéis no computador */
@media (min-width: 861px) {
	.works .rail, .works .rail.is-track { align-items: stretch; gap: 8px; height: min(64svh, 600px); overflow: visible; transform: none !important; }
	.works .w, .works .w-more { flex: 1 1 0; width: auto; min-width: 0; aspect-ratio: auto; transition: flex-grow 0.8s var(--ease); overflow: hidden; }
	.works .w:hover, .works .w:focus-within, .works .rail:not(:hover):not(:focus-within) .w:first-child { flex-grow: 5; }
	.works .w .w-img { height: 100%; aspect-ratio: auto; }
	.works .w figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.2rem 1rem 0.9rem; border: 0; color: #fff; background: linear-gradient(0deg, rgba(5, 13, 34, 0.9), rgba(5, 13, 34, 0)); white-space: nowrap; opacity: 0; transition: opacity 0.4s; }
	.works .w figcaption span { color: rgba(255, 255, 255, 0.8); }
	.works .w:hover figcaption, .works .w:focus-within figcaption, .works .rail:not(:hover):not(:focus-within) .w:first-child figcaption { opacity: 1; }
	.works .w-more span { margin-top: auto; font-size: 1.15rem; }
	.works .w-more b { margin-top: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* trena: a área da obra puxada numa fita métrica */
.trena { display: grid; gap: 0.5rem; }
.trena > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; font-weight: 600; }
.trena output { font: 500 1.05rem/1 var(--mono); color: var(--sky); }
.trena input { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 0; cursor: ew-resize; background: linear-gradient(90deg, #f2c230 var(--f, 22%), rgba(255, 255, 255, 0.12) var(--f, 22%)); -webkit-mask-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 1px, #000 1px 10px); mask-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0 1px, #000 1px 10px); border: 1px solid rgba(255, 255, 255, 0.35); }
.trena input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.trena input::-moz-range-track { height: 100%; background: transparent; }
.trena input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 36px; background: #d6362b; border: 0; box-shadow: -3px 0 0 #fff; }
.trena input::-moz-range-thumb { width: 12px; height: 36px; background: #d6362b; border: 0; border-radius: 0; }
@media (max-width: 860px) { .trena input { height: 30px; } .trena input::-webkit-slider-thumb { height: 30px; } }
@media (max-width: 860px) { .planner-form .field { display: none; } }
/* acabamento: larguras fixas nas etiquetas que trocam de texto, legendas fechadas fora da leitura */
.h2-pct b { min-width: 12ch; text-align: center; } .h2-pct span { min-width: 17ch; text-align: center; }
.h2-steps li { width: 15ch; justify-content: flex-end; padding-left: 0.7rem !important; }
.level-mark b { width: 14ch; } .level-mark i { width: 13ch; }
.h2-media { transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -6px)) scale(calc(1.05 - var(--p) * 0.04)); }
@media (min-width: 861px) { .works .w figcaption { visibility: hidden; transition: opacity 0.4s, visibility 0s 0.4s; } .works .w:hover figcaption, .works .w:focus-within figcaption, .works .rail:not(:hover):not(:focus-within) .w:first-child figcaption { visibility: visible; transition: opacity 0.4s; } }
@media (max-width: 860px) { .h2-media { transform: scale(calc(1.05 - var(--p) * 0.04)); } }
.h2-pct b { min-width: 15ch; } .h2-pct span { min-width: 21ch; }
@media (min-width: 861px) { .works .w figcaption { padding-top: 0.9rem; background: rgba(5, 13, 34, 0.86); } }
.level-mark b { width: auto; min-width: 17ch; white-space: nowrap; }
