/* Seu Escritório · site de demonstração para arquitetura
   Cores e fontes da folha de marca aprovada: Noite & Cobre + ouro, fundo Cimento. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* paleta */
  --ink: #16233A; --night2: #213047;
  --cop: #C07A3E; --gold: #CFAE6B; --gold-hi: #F1DCA6;
  --deep: #7A4214; --goldD: #6E5418;
  --muted: #42464C; --mutedN: #9FA4AB;
  --cim: #D9D8D4; --cim2: #C5C3BE;
  --cem: #C4C3BE; --cem2: #B3B1AB; /* fundo claro: cinza cimento */
  --on-photo: #EEEDE9;
  --metal-grad: linear-gradient(100deg, var(--cop) 0%, var(--gold) 42%, var(--gold-hi) 50%, var(--gold) 58%, var(--cop) 100%);
  --metal-text-light: linear-gradient(100deg, var(--deep) 0%, var(--cop) 45%, var(--goldD) 70%, var(--deep) 100%);

  /* papéis: claro */
  --bg: var(--cem); --surface: var(--cem2); --text: var(--ink); --label: var(--muted);
  --accent-text: var(--deep); --line: rgba(15, 22, 32, .16); --em-grad: var(--metal-text-light);
  --card: #ECEBE7; --card-line: rgba(15, 22, 32, .14);

  --f-title: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 5vw, 72px);
  --hh: 100vh;
  --ease: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}
@supports (height: 100svh) { :root { --hh: 100svh; } }
:root[data-theme="dark"] {
  --bg: var(--ink); --surface: var(--night2); --text: var(--cim); --label: var(--mutedN);
  --accent-text: var(--gold); --line: rgba(217, 216, 212, .16); --em-grad: var(--metal-grad);
  --card: #27374F; --card-line: rgba(217, 216, 212, .14);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--f-title); overflow-x: hidden; transition: background-color .5s ease, color .5s ease; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow { color: var(--label); margin-bottom: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--cim); text-decoration: none; }
.skip:focus { top: 12px; }
h2 em, .intro-title em, .contact-title em { font: italic 400 1.04em/1 var(--f-serif); text-transform: none; letter-spacing: 0; background: var(--em-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }

/* ---------- Cabeçalho ---------- */
.nav { --nav-fg: var(--on-photo); position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--gutter); color: var(--nav-fg); transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.nav.is-solid { --nav-fg: var(--text); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.menu-open { --nav-fg: var(--cim); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: inherit; }
.brand-logo { width: 34px; height: 34px; color: currentColor; }
.brand-name { font: 600 .875rem/1 var(--f-title); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: opacity .4s ease; }
.nav:not(.is-solid):not(.menu-open) .brand-name { opacity: 0; }
.nav-r { display: flex; align-items: center; gap: 6px; }
.langs { display: flex; }
.langs a { display: grid; place-items: center; min-width: 36px; min-height: 44px; font: 500 .75rem var(--f-mono); letter-spacing: .06em; text-decoration: none; opacity: .72; }
.langs a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px 0 10px; border: 0; background: transparent; cursor: pointer; font: 500 .75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.burger { display: grid; gap: 6px; width: 26px; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 560px) { .brand-name { display: none; } .menu-label { display: none; } .langs a { min-width: 32px; } }

.menu { position: fixed; inset: 0; z-index: -1; display: grid; grid-template-rows: 1fr auto; padding: 96px var(--gutter) 28px; background: var(--ink); color: var(--cim); overflow-y: auto; opacity: 0; transition: opacity .45s ease; }
.menu.is-open { opacity: 1; }
.menu-links { align-self: center; display: grid; gap: 4px; }
.menu-links a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; text-decoration: none; font: 200 clamp(2.4rem, 8vw, 6.4rem)/1 var(--f-title); font-stretch: 75%; text-transform: uppercase; transition: color .3s ease, transform .4s var(--ease); }
.menu-links a .mono { color: var(--gold); }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--gold); transform: translateX(10px); }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-top: 20px; border-top: 1px solid rgba(217, 216, 212, .2); color: var(--mutedN); }
.menu-foot a { text-decoration: none; color: var(--cim); }

/* ---------- Capa (vídeo) + cortina ---------- */
.curtain { position: relative; }
.hero { position: relative; z-index: 2; height: max(var(--hh), 560px); margin-bottom: calc(-1 * max(var(--hh), 560px)); overflow: hidden; background: var(--ink); color: var(--on-photo); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); }
.hero-media, .hero-poster, .hv, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster, .hv { object-fit: cover; }
.hv { opacity: 0; transition: opacity 1s ease; }
.hv.is-on { opacity: 1; }
.hero-shade { background:
  linear-gradient(180deg, rgba(15, 22, 32, .6) 0%, rgba(15, 22, 32, 0) 20%),
  linear-gradient(0deg, rgba(15, 22, 32, .86) 0%, rgba(15, 22, 32, .45) 32%, rgba(15, 22, 32, 0) 62%),
  linear-gradient(90deg, rgba(15, 22, 32, .45) 0%, rgba(15, 22, 32, 0) 55%); }
.hero-in { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(96px, 15vh, 150px); }
.hero-logo { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(14px, 2.4vh, 26px); }
.hero-logo svg { width: clamp(54px, 6.4vw, 88px); height: auto; aspect-ratio: 1; color: var(--on-photo); }
.hero-logo .mono { color: var(--gold); display: flex; align-items: center; gap: 8px; }
.hero-logo .mono::before { content: ""; width: 22px; border-top: 1px solid currentColor; }
.name { position: relative; font-family: var(--f-title); font-variation-settings: "wght" 340, "wdth" 75; font-size: min(13.5vw, 21vh, 12.5rem); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: default; }
.name .row { display: block; white-space: nowrap; }
.name .ch { display: inline-block; -webkit-text-stroke: 1.5px transparent; transition: color .45s ease, -webkit-text-stroke-color .45s ease; }
.name .ch[data-s="2"] { color: transparent; -webkit-text-stroke-color: var(--gold); }
.name .ch[data-s="1"] { color: transparent; -webkit-text-stroke-color: var(--on-photo); }
/* abertura lenta: a letra vira traço e volta devagar, as cotas deslizam de uma para a outra */
.name.is-slow .ch { transition-duration: 1.2s; }
.name.is-slow .dims .dv, .name.is-slow .dims .dh { transition-duration: .8s; }
.dims { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; color: var(--gold); font: 500 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: none; font-variation-settings: normal; }
.dims.on { opacity: .95; }
.dims .dv, .dims .dh { position: absolute; transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease; }
.dims .dv { width: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.dims .dv::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; border-left: 1px solid currentColor; }
.dims .dh { height: 9px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.dims .dh::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 1px solid currentColor; }
.dims span span { position: absolute; left: 50%; top: 50%; padding: 2px 4px; background: rgba(15, 22, 32, .7); white-space: nowrap; }
.dims .dh span { transform: translate(-50%, -50%); }
.dims .dv span { transform: translate(-50%, -50%) rotate(-90deg); }
.hero-kicker { margin-top: clamp(14px, 2.4vh, 24px); color: var(--on-photo); opacity: .9; }
.hero-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 16px; padding: 0 20px; border-radius: 999px; color: var(--on-photo); text-decoration: none; font: 500 1rem var(--f-title); letter-spacing: .02em; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .35s, box-shadow .35s; }
.hero-phone svg { width: 20px; height: 20px; }
.hero-phone:hover, .hero-phone:focus-visible { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px var(--gold); }
.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.hero-cap { display: grid; gap: 2px; min-height: 3.6em; transition: opacity .5s ease; }
.hero-cap.is-swap { opacity: 0; }
.hero-cap .cap-cat { color: var(--gold); }
.hero-cap .cap-title { font: 500 1.05rem/1.2 var(--f-title); }
.hero-cap .cap-loc { opacity: .78; font-size: .75rem; }
.hero-ctrl { display: flex; align-items: center; gap: 14px; }
.bars { display: flex; gap: 6px; }
.bars li { width: clamp(22px, 3vw, 40px); height: 2px; background: rgba(238, 237, 233, .3); overflow: hidden; }
.bars i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.round-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; opacity: .9; transition: background-color .3s, color .3s, opacity .3s; }
.round-btn:hover, .round-btn:focus-visible { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
.round-btn svg { width: 18px; height: 18px; }
.round-btn .i-play, .round-btn[aria-pressed="true"] .i-pause { display: none; }
.round-btn[aria-pressed="true"] .i-play { display: block; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: none; align-items: center; gap: 8px; color: var(--on-photo); text-decoration: none; opacity: .8; }
.scroll-cue svg { width: 16px; height: 16px; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 1100px) and (min-height: 700px) { .scroll-cue { display: inline-flex; } }
@media (max-width: 640px) { .hero-foot { flex-direction: column; align-items: stretch; } .hero-ctrl { justify-content: space-between; } .bars { flex: 1; } .bars li { flex: 1; } .hero-in { bottom: 178px; } }

.intro { position: sticky; top: 0; z-index: 1; min-height: max(var(--hh), 560px); display: flex; align-items: center; padding: 110px 0 64px; background: var(--bg); outline: none; }
.curtain-spacer { height: max(var(--hh), 560px); }
.intro-title { max-width: 16ch; font: 200 clamp(2.6rem, 7.6vw, 7rem)/.95 var(--f-title); font-stretch: 78%; letter-spacing: -.01em; text-transform: uppercase; }
.intro-grid { display: grid; gap: 32px 64px; margin-top: clamp(28px, 5vh, 56px); }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1fr 1fr; align-items: end; } }
.intro-text { max-width: 52ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.ficha { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--text); }
.ficha div { padding: 14px 14px 18px 0; border-bottom: 1px solid var(--line); }
.ficha dt { font: 500 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.ficha dd { margin-top: 6px; font: 400 clamp(1.5rem, 3vw, 2.4rem)/1 var(--f-mono); letter-spacing: -.02em; color: var(--accent-text); }
.ficha.mini dd { font-size: 1.4rem; }

/* ---------- Seções ---------- */
.sec { position: relative; z-index: 2; padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); background: var(--bg); transition: background-color .5s ease; }
.sec-head { display: grid; gap: 6px; max-width: 980px; margin-bottom: clamp(32px, 5vw, 64px); }
h2 { font: 300 clamp(2.4rem, 6.4vw, 5.6rem)/.95 var(--f-title); font-stretch: 80%; letter-spacing: -.01em; text-transform: uppercase; }
.lead { max-width: 60ch; margin-top: 12px; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); }
.reveal { transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- Projetos: a roda ---------- */
.proj-list { display: grid; gap: 16px; padding: 0 var(--gutter); }
.proj-list img { width: 100%; height: auto; }
.wheel.is-on .proj-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wheel-stage { display: none; position: relative; height: clamp(320px, 48vw, 680px); overflow: hidden; touch-action: pan-y; cursor: grab; }
.wheel.is-on .wheel-stage { display: block; }
.wheel-stage.is-drag { cursor: grabbing; }
.wcard { position: absolute; left: 50%; top: 0; width: var(--cw, 640px); margin-left: calc(var(--cw, 640px) / -2); padding: 10px 10px 0; border: 1px solid var(--card-line); border-radius: 22px; background: var(--card); box-shadow: 0 34px 60px -34px rgba(15, 22, 32, .6), inset 0 1px 0 rgba(255, 255, 255, .28); will-change: transform; cursor: pointer; transition: border-color .4s ease, box-shadow .4s ease; }
.wc-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: var(--surface); }
.wc-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 4.5s ease-in-out; -webkit-user-drag: none; }
.wcard.is-center .wc-img img { transform: scale(1.16) translate(-2.4%, -1.4%); }
.wc-lab { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding: 12px 6px 13px; }
.wc-n { flex: none; color: var(--label); transition: color .4s ease; }
.wc-t { overflow: hidden; font: 500 clamp(.8rem, 1.2vw, 1rem)/1.15 var(--f-title); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--label); transition: color .4s ease; }
.wc-v { flex: none; margin-left: auto; color: var(--accent-text); opacity: 0; transform: translateX(-8px); transition: opacity .4s ease, transform .4s ease; }
.wcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; transition: opacity .4s ease; }
/* hover (mouse) e card do centro no toque: o nome acende em metal e aparece "ver foto" */
@media (hover: hover) {
  .wcard:hover { border-color: color-mix(in srgb, var(--gold) 70%, transparent); box-shadow: 0 34px 70px -30px rgba(15, 22, 32, .7), 0 0 0 1px color-mix(in srgb, var(--gold) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3); }
  .wcard:hover::after { opacity: calc(var(--dim, 0) * .25); }
  .wcard:hover .wc-t { color: var(--accent-text); }
  :root[data-theme="dark"] .wcard:hover .wc-t { background: var(--em-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .wcard:hover .wc-n { color: var(--accent-text); }
  .wcard:hover .wc-v { opacity: 1; transform: none; }
}
@media (hover: none) {
  .wcard.is-center .wc-t { color: var(--text); }
  .wcard.is-center .wc-n, .wcard.is-center .wc-v { color: var(--accent-text); opacity: 1; transform: none; }
}
/* foto ampliada */
.lightbox { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 12px; border: 1px solid var(--card-line); border-radius: 24px; background: var(--card); color: var(--text); overflow: auto; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(8, 12, 18, .84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.lb-fig img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 16px; background: var(--surface); }
.lb-cap { display: grid; gap: 6px; padding: 16px 168px 6px 6px; }
.lb-cat { color: var(--accent-text); }
.lb-title { font: 300 clamp(1.5rem, 3.2vw, 2.6rem)/1 var(--f-title); font-stretch: 80%; text-transform: uppercase; }
.lb-meta { color: var(--label); }
.lb-ctrl { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
@media (max-width: 560px) {
  .lb-cap { padding-right: 6px; }
  .lb-ctrl { position: static; justify-content: flex-end; padding: 10px 4px 4px; }
}
.wheel-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin-top: 24px; }
.wheel-cap { display: grid; gap: 4px; min-height: 4.6em; transition: opacity .45s ease; }
.wheel-cap.is-swap { opacity: 0; }
.wheel-cap .cap-cat { color: var(--accent-text); }
.wheel-cap .cap-title { font: 300 clamp(1.8rem, 3.6vw, 3rem)/1 var(--f-title); font-stretch: 80%; text-transform: uppercase; }
.wheel-cap .cap-loc { color: var(--label); }
.wheel-ctrl { display: flex; align-items: center; gap: 10px; }

/* ---------- Entre na casa (3D) ---------- */
.house-stage { position: relative; height: clamp(520px, 82vh, 860px); overflow: hidden; background: linear-gradient(180deg, #A5ADB4 0%, #C4C3BE 70%); color: var(--ink); }
:root[data-theme="dark"] .house-stage, .house-stage.is-night { background: linear-gradient(180deg, #070B11 0%, #142031 75%); color: var(--cim); }
.house-canvas { position: absolute; inset: 0; }
.house-canvas canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; }
.house-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.house-stage.no-3d .house-fallback { display: block; }
.house-stage.no-3d .house-hint { display: none; }
.house-hint { position: absolute; left: var(--gutter); top: 78px; opacity: .8; }
/* SketchUp: chamada grande, passos e selo em cima do 3D */
.sk-head { max-width: none; }
.sk-title { font-size: clamp(2.7rem, 8.6vw, 8.4rem); line-height: .9; }
.sk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.sk-steps li { display: grid; gap: 8px; padding: 16px 0 0; border-top: 1px solid var(--text); font: 500 clamp(.95rem, 1.2vw, 1.1rem)/1.35 var(--f-title); }
.sk-steps .mono { color: var(--accent-text); }
.sk-badge { position: absolute; z-index: 2; left: var(--gutter); top: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px dashed rgba(238, 237, 233, .55); border-radius: 999px; background: rgba(15, 22, 32, .62); color: var(--cim); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.sk-file { padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 500; letter-spacing: .02em; text-transform: none; }
@media (max-width: 700px) {
  .sk-steps { grid-template-columns: 1fr; gap: 14px; }
  .sk-badge { font-size: .6875rem; gap: 8px; padding: 6px 12px 6px 6px; }
  .house-hint { top: 64px; }
}
.house-tip { position: absolute; left: 0; top: 0; z-index: 3; padding: 6px 10px; background: var(--ink); color: var(--cim); pointer-events: none; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.house-tip.on { opacity: 1; }
.house-ui { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px; }
.house-rooms { display: flex; flex-wrap: wrap; gap: 8px; }
.house-rooms button, .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(15, 22, 32, .72); color: var(--cim); box-shadow: inset 0 0 0 1px rgba(238, 237, 233, .22); font: 500 .8125rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s, color .3s, box-shadow .3s; }
.house-rooms button:hover, .house-rooms button:focus-visible, .house-rooms button[aria-pressed="true"] { background: var(--cop); color: var(--ink); }
.chip { background: rgba(238, 237, 233, .85); color: var(--ink); }
.chip:hover, .chip:focus-visible { box-shadow: inset 0 0 0 1px var(--cop); }
.chip svg { width: 16px; height: 16px; }
.house-tools { display: flex; gap: 8px; }
.room-panel { position: absolute; z-index: 4; top: 16px; right: 16px; max-height: calc(100% - 32px); width: min(420px, calc(100% - 32px)); overflow-y: auto; background: var(--bg); color: var(--text); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); outline: none; }
.room-shot { overflow: hidden; aspect-ratio: 16 / 10; }
.room-shot img { display: block; width: 100%; height: 100%; object-fit: cover; animation: cam-drift 4s ease-in-out infinite alternate; will-change: transform; }
/* câmera passando: zoom leve andando na diagonal */
@keyframes cam-drift { from { transform: scale(1.06) translate(2%, 1.2%); } to { transform: scale(1.2) translate(-3%, -1.8%); } }
.room-in { display: grid; gap: 12px; padding: 22px; }
.room-in .mono { color: var(--accent-text); }
.room-in h3 { font: 300 2.4rem/1 var(--f-title); font-stretch: 80%; text-transform: uppercase; }
.room-close { position: absolute; top: 12px; right: 12px; z-index: 1; background: var(--bg); color: var(--text); }
/* o painel entra depois do voo da câmera, subindo devagar */
.room-panel:not([hidden]) { animation: panel-in .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(22px); } }
/* "ver foto real": só no celular (no computador a foto já aparece no painel lateral) */
.room-photo-btn { display: none; align-items: center; gap: 12px; justify-self: start; min-height: 52px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--accent-text); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, background-color .3s; }
.room-photo-btn:hover, .room-photo-btn:focus-visible { border-color: var(--accent-text); }
.rp-thumb { width: 64px; height: 40px; overflow: hidden; border-radius: 999px; flex: none; }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rp-hide { display: none; }
.show-photo .rp-show, .show-photo .rp-thumb { display: none; }
.show-photo .rp-hide { display: inline; }
.show-photo .room-photo-btn { padding-left: 16px; }
@media (max-width: 700px) {
  .room-panel { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 52%; border-radius: 18px; }
  .room-panel.show-photo { max-height: 80%; }
  .room-panel .room-shot { display: none; }
  .room-panel.show-photo .room-shot { display: block; }
  .room-photo-btn { display: inline-flex; }
  .room-in { gap: 10px; padding: 16px 16px 18px; }
  .room-in > .mono:first-child { padding-right: 52px; min-height: 28px; display: flex; align-items: center; }
  .room-in h3 { font-size: 1.9rem; }
  .room-in > p:not(.mono) { font-size: .95rem; }
  .room-close { top: 8px; right: 8px; }
  .house-ui { bottom: 10px; }
  .house-rooms { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .house-rooms button { flex: none; }
}

/* ---------- Serviços ---------- */
.serv-list { border-top: 1px solid var(--text); }
.serv-list li { position: relative; display: grid; gap: 8px 32px; padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .serv-list li { grid-template-columns: 80px 1fr 1.1fr; align-items: baseline; } }
.serv-list .mono { color: var(--accent-text); }
.serv-list h3 { font: 300 clamp(1.8rem, 3.2vw, 2.8rem)/1 var(--f-title); font-stretch: 80%; text-transform: uppercase; }
.serv-list p { max-width: 52ch; color: var(--label); }
.serv-list li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--metal-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.serv-list li:hover::after, .serv-list li.in::after { transform: scaleX(1); }
.serv-list li.in:not(:hover)::after { transform: scaleX(.12); }
/* Tela estreita: só a primeira linha do texto, que se apaga para a direita.
   Mouse em cima, foco do teclado ou toque abrem o texto inteiro. Na tela larga fica tudo aberto. */
@media (max-width: 899px) {
  .serv-list li { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .serv-list h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .serv-list h3::after { content: "+"; flex: none; font: 300 1.6rem/1 var(--f-title); color: var(--accent-text); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
  .serv-list p {
    max-height: 1.65em; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 95%); mask-image: linear-gradient(90deg, #000 40%, transparent 95%);
    -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    transition: max-height 1.5s cubic-bezier(.45, .05, .25, 1), -webkit-mask-size 1.6s ease, mask-size 1.6s ease, color .9s ease;
  }
  .serv-list li:is(:focus-visible, .open) p, .serv-list li.can-hover:hover p { max-height: 8em; -webkit-mask-size: 500% 100%; mask-size: 500% 100%; color: var(--text); }
  .serv-list li:is(:focus-visible, .open) h3::after, .serv-list li.can-hover:hover h3::after { transform: rotate(45deg); }
}

/* ---------- Escritório ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; } }
.about-text { max-width: 54ch; margin-top: 18px; font-size: 1.125rem; }
.about-sign { margin-top: 26px; color: var(--accent-text); }
.about-mark { display: grid; gap: 14px; justify-items: center; padding: clamp(24px, 4vw, 48px); border: 1px dashed var(--label); }
.about-mark svg { width: min(280px, 60vw); height: auto; aspect-ratio: 1; color: var(--accent-text); }
.about-mark figcaption { display: grid; gap: 4px; text-align: center; color: var(--label); }
.about-mark figcaption .mono { color: var(--accent-text); }
.quote { margin-top: clamp(64px, 9vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); }
.quote p { max-width: 24ch; font: italic 400 clamp(2rem, 4.6vw, 3.8rem)/1.08 var(--f-serif); }

/* ---------- Contato ---------- */
.contact-title { margin-top: 6px; max-width: 14ch; font: 200 clamp(2.8rem, 9vw, 8.4rem)/.92 var(--f-title); font-stretch: 76%; text-transform: uppercase; }
.contact-grid { display: grid; gap: 40px 64px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.btn-metal { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; margin-top: 26px; padding: 0 28px; color: var(--ink); text-decoration: none; font: 600 1.0625rem var(--f-title); background: linear-gradient(100deg, var(--cop) 0%, var(--gold) 40%, var(--gold-hi) 50%, var(--gold) 60%, var(--cop) 100%); background-size: 260% 100%; background-position: 100% 0; transition: background-position .9s ease, transform .3s ease; }
.btn-metal svg { width: 22px; height: 22px; }
.btn-metal:hover, .btn-metal:focus-visible, .btn-metal:active { background-position: 0 0; transform: translateY(-2px); }
.contact-list { border-top: 1px solid var(--text); }
.contact-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--label); padding-top: .2em; }
.contact-list dd { font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--cop); text-underline-offset: 4px; }
.demo-box { display: grid; gap: 12px; margin-top: clamp(56px, 8vw, 96px); padding: clamp(20px, 3vw, 32px); border: 1px dashed var(--accent-text); }
.demo-box .mono { color: var(--accent-text); }
.demo-box p { max-width: 70ch; }
.btn-line { justify-self: start; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; color: var(--text); text-decoration: none; font: 600 1rem var(--f-title); box-shadow: inset 0 0 0 1px var(--accent-text); isolation: isolate; overflow: hidden; transition: color .45s ease; }
.btn-line svg { width: 18px; height: 18px; }
.btn-line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--metal-grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.btn-line:hover, .btn-line:focus-visible { color: var(--ink); }
.btn-line:hover::before, .btn-line:focus-visible::before { transform: scaleX(1); }

/* ---------- Rodapé e selo de demonstração ---------- */
.foot { position: relative; z-index: 2; padding: 48px 0 96px; background: var(--ink); color: var(--cim); }
.foot-in { display: grid; gap: 18px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: auto auto 1fr; align-items: center; } .foot-note { grid-column: 1 / -1; } }
.foot .brand-logo { color: var(--gold); }
.foot-note { color: var(--mutedN); font-size: .95rem; }
.demo-chip { position: fixed; right: 14px; bottom: 14px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(15, 22, 32, .9); color: var(--cim); text-decoration: none; font: 600 .875rem var(--f-title); box-shadow: inset 0 0 0 1px rgba(207, 174, 107, .55), 0 10px 30px -10px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.demo-chip .mono { color: var(--gold); font-size: .6875rem; }
.demo-chip svg { width: 16px; height: 16px; }
.demo-chip.on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 480px) { .demo-chip .mono { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .wc-img img, .wcard.is-center .wc-img img, .room-shot img { transform: none; }
}
