/* Líder Ribeiro — site público
   Grafite para estrutura e texto, vermelho da marca para ações e destaques, branco e concreto nos fundos.
   Archivo com eixo de largura: títulos expandidos, texto em largura normal. */
:root {
    --grafite: #17191c;
    --vermelho: #d62828;
    --vermelho-esc: #b01f1f;
    --concreto: #f1f1ee;
    --suave: #62666b;
    --linha: #e2e2de;
    --texto: #2b2e33;
    --fonte: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --r-img: 14px;
    --r-painel: 20px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-cortina: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--texto); font: 400 1rem/1.6 var(--fonte); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--grafite); font-weight: 700; font-stretch: 112%; line-height: 1.05; letter-spacing: -.02em; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 24px; }
:focus-visible { outline: 2px solid var(--vermelho); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botões e links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font: 600 .9375rem/1 var(--fonte); font-stretch: 106%; white-space: nowrap; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-primario { background: var(--vermelho); color: #fff; }
.btn-primario:hover { background: var(--vermelho-esc); }
.btn-contorno { border-color: currentColor; color: inherit; background: transparent; }
.btn-contorno:hover { background: rgba(127, 127, 127, .14); }
.link { color: var(--vermelho); font-weight: 600; text-decoration: underline 1.5px transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

/* Cabeçalho */
.cab { position: sticky; top: 0; z-index: 50; color: var(--grafite); background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--linha); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: background-color .35s, color .35s, border-color .35s; }
.sobre-foto .cab { position: fixed; inset: 0 0 auto; color: #fff; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.sobre-foto .cab.solido { color: var(--grafite); background: rgba(255, 255, 255, .92); border-color: var(--linha); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.cab-in { display: flex; align-items: center; gap: 24px; height: 88px; }
.marca { display: block; flex-shrink: 0; line-height: 0; }
.marca img { width: auto; height: 72px; }
.marca-branca, .sobre-foto .cab:not(.solido) .marca-cor { display: none; }
.sobre-foto .cab:not(.solido) .marca-branca { display: block; }
.rodape-logo { display: block; width: auto; height: 84px; margin-bottom: 40px; }
.menu { display: flex; gap: 4px; margin: 0 auto; }
.menu > a { padding: 8px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 500; transition: background-color .2s; }
.menu > a:hover { background: rgba(127, 127, 127, .16); }
.menu-pe { display: none; }
.cab-cta { height: 44px; padding: 0 20px; font-size: .875rem; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; position: relative; width: 22px; height: 2px; margin: auto; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.cab.aberto .menu-btn span { background: transparent; }
.cab.aberto .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.cab.aberto .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* Topo com foto (home e projeto) */
.hero-foto { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; /* a foto vem no style do elemento */ animation: foto-entra 1.8s var(--ease) both; }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 25, 28, .94) 0%, rgba(23, 25, 28, .72) 45%, rgba(23, 25, 28, .3) 100%), linear-gradient(0deg, rgba(23, 25, 28, .85), transparent 45%); }
.sem-foto .hero-foto { background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 40px 40px; }
.linha { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.linha > span { display: block; animation: sobe 1s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * .12s); }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; min-height: 100svh; padding-top: 120px; color: #fff; background: var(--grafite); overflow: hidden; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: 56px; align-content: center; align-items: center; width: 100%; padding-block: 24px 56px; }
.hero-local { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: .9375rem; color: rgba(255, 255, 255, .78); animation: aparece .9s var(--ease) .2s both; }
.hero-local::before { content: ""; width: 28px; height: 2px; background: var(--vermelho); }
.hero h1 { margin-bottom: 28px; color: #fff; font-size: clamp(2.5rem, 4.7vw, 4.5rem); font-stretch: 114%; line-height: 1; letter-spacing: -.035em; }
.hero-txt { max-width: 34rem; margin: 0 0 36px; font-size: 1.125rem; color: rgba(255, 255, 255, .8); animation: aparece .9s var(--ease) .6s both; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; animation: aparece .9s var(--ease) .7s both; }

/* Planta viva: o lote desenhado em escala */
.lote { padding: 28px; border-radius: var(--r-painel); background: #fff; color: var(--grafite); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); animation: aparece 1s var(--ease) .85s both; }
.lote h2 { margin-bottom: 18px; font-size: 1.25rem; font-stretch: 108%; letter-spacing: -.01em; }
.lote-medidas { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; }
.lote-medidas label { display: grid; gap: 6px; font-size: .8125rem; font-weight: 500; color: var(--suave); }
.lote-x { padding-bottom: 14px; font-size: 1.125rem; color: var(--suave); }
.campo-m { position: relative; display: block; }
.campo-m input { width: 100%; height: 52px; padding: 0 38px 0 16px; border: 1.5px solid var(--linha); border-radius: 12px; background: var(--concreto); color: var(--grafite); font: 600 1.25rem var(--fonte); font-stretch: 108%; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; -moz-appearance: textfield; }
.campo-m input::-webkit-inner-spin-button, .campo-m input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.campo-m input:focus { outline: none; border-color: var(--grafite); background: #fff; }
.campo-m i { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); font-style: normal; color: var(--suave); pointer-events: none; }
.segmento { display: flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 999px; background: var(--concreto); }
.segmento label { flex: 1; position: relative; }
.segmento input { position: absolute; opacity: 0; pointer-events: none; }
.segmento span { display: block; padding: 8px 4px; border-radius: 999px; font-size: .8125rem; font-weight: 600; text-align: center; color: var(--suave); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.segmento input:checked + span { background: #fff; color: var(--grafite); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.segmento input:focus-visible + span { outline: 2px solid var(--vermelho); }
.planta { display: flex; align-items: center; justify-content: center; height: 220px; margin: 18px 0; border-radius: 14px; background: var(--concreto) radial-gradient(circle, rgba(23, 25, 28, .16) 1px, transparent 1.3px) 0 0 / 14px 14px; }
.planta-lote { --esc: 5px; position: relative; width: var(--lw, 54px); height: var(--lh, 135px); border: 1.5px solid var(--grafite); background: #fff; transition: width .7s var(--ease), height .7s var(--ease); }
.planta-casa { position: absolute; top: calc(var(--esc) * 3); right: calc(var(--esc) * 1.5); bottom: calc(var(--esc) * 4); left: calc(var(--esc) * 1.5); border-radius: 2px; background: var(--vermelho); transition: top .7s var(--ease), right .7s var(--ease), bottom .7s var(--ease), left .7s var(--ease); }
.cota { position: absolute; display: flex; align-items: center; justify-content: center; background: var(--suave); font-size: .75rem; font-weight: 600; color: var(--suave); font-variant-numeric: tabular-nums; }
.cota b { padding: 0 6px; background: var(--concreto); font-weight: 600; white-space: nowrap; }
.cota::before, .cota::after { content: ""; position: absolute; background: var(--suave); }
.cota-l { top: -16px; left: 0; right: 0; height: 1px; animation: traca-x .8s var(--ease) 1.3s both; }
.cota-l::before, .cota-l::after { top: -4px; width: 1px; height: 9px; }
.cota-l::before { left: 0; }
.cota-l::after { right: 0; }
.cota-c { top: 0; bottom: 0; right: -16px; width: 1px; animation: traca-y .8s var(--ease) 1.45s both; }
.cota-c::before, .cota-c::after { left: -4px; width: 9px; height: 1px; }
.cota-c::before { top: 0; }
.cota-c::after { bottom: 0; }
.cota-c b { position: absolute; left: 6px; padding: 0; }
.planta-rua { position: absolute; left: 0; right: 0; bottom: -21px; font-size: .6875rem; font-weight: 600; text-align: center; color: var(--suave); }
.lote-res { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lote-res p { margin: 0; font-size: .875rem; color: var(--suave); }
.lote-res strong { display: block; font-size: 1.5rem; font-stretch: 112%; line-height: 1.15; color: var(--grafite); }
.lote-res .btn { height: 48px; }

.hero-dados { border-top: 1px solid rgba(255, 255, 255, .14); animation: aparece .9s var(--ease) 1s both; }
.hero-dados ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 auto; padding-block: 22px; list-style: none; }
.hero-dados li { font-size: .9375rem; color: rgba(255, 255, 255, .68); }
.hero-dados strong { margin-right: 4px; font-size: 1.0625rem; font-weight: 700; font-stretch: 112%; color: #fff; }

/* Seções */
.secao { padding-block: 120px; }
.secao-cinza { background: var(--concreto); }
.secao h2 { max-width: 21ch; font-size: clamp(2rem, 3.8vw, 3.25rem); }
.secao-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.secao-intro { max-width: 36rem; margin: 18px 0 0; font-size: 1.0625rem; color: var(--suave); }

/* Cards de projeto */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: var(--concreto); }
.card-img img, .card-img .ilustra { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img, .card:hover .card-img .ilustra { transform: scale(1.045); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--grafite); font-size: .8125rem; font-weight: 700; font-stretch: 108%; }
.card h3 { font-size: 1.375rem; font-stretch: 110%; transition: color .2s; }
.card:hover h3 { color: var(--vermelho); }
.card-sub { margin: 4px 0 0; font-size: .9375rem; color: var(--suave); }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding-top: 14px; border-top: 1px solid var(--linha); font-size: .875rem; color: var(--suave); }
.card-specs b { font-weight: 600; color: var(--grafite); }
.ilustra svg { display: block; width: 100%; height: 100%; }

/* Lotes na mesma escala */
.lotes { display: flex; flex-wrap: wrap; gap: 12px; }
.lote-tile { display: grid; grid-template-rows: 100px auto auto; justify-items: start; min-width: 136px; padding: 20px 22px; border: 1px solid var(--linha); border-radius: 16px; background: #fff; transition: border-color .25s, transform .4s var(--ease); }
.lote-tile:hover { border-color: var(--grafite); transform: translateY(-4px); }
.lote-mini { align-self: end; width: calc(var(--l) * var(--e) * 1px); height: calc(var(--c) * var(--e) * 1px); margin-bottom: 16px; border: 1.5px solid var(--grafite); transition: background-color .3s, border-color .3s; }
.lote-tile:hover .lote-mini { background: var(--vermelho); border-color: var(--vermelho); }
.lote-tile strong { font-size: 1.125rem; font-stretch: 112%; color: var(--grafite); }
.lote-tile span:last-child { font-size: .875rem; color: var(--suave); }
.lote-outra { grid-template-rows: 1fr; align-items: center; border-style: dashed; background: transparent; font-weight: 600; color: var(--grafite); }

/* Topografia em corte */
.topos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linha); }
.topo { display: flex; flex-direction: column; gap: 10px; padding: 36px 32px 8px 0; }
.topo + .topo { padding-left: 32px; border-left: 1px solid var(--linha); }
.topo svg { width: 100%; max-width: 320px; height: auto; margin-bottom: 18px; overflow: visible; }
.topo .terreno { fill: none; stroke: var(--grafite); stroke-width: 1.5; stroke-linejoin: round; }
.topo .casa { fill: var(--grafite); transition: fill .3s; }
.topo:hover .casa { fill: var(--vermelho); }
.topo h3 { font-size: 1.5rem; }
.topo p { flex: 1; margin: 0 0 6px; color: var(--suave); }

/* Como funciona */
.passos { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.passos::before, .passos::after { content: ""; position: absolute; top: 21px; left: 21px; right: calc((100% - 96px) / 4 - 21px); height: 2px; background: var(--linha); }
.passos::after { background: var(--vermelho); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease); }
.passos.ativo::after { transform: none; }
.passo-n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--linha); border-radius: 50%; background: var(--concreto); font-weight: 700; font-stretch: 110%; color: var(--suave); transition: background-color .4s, border-color .4s, color .4s; transition-delay: calc(var(--i, 0) * .45s); }
.passos.ativo .passo-n { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.passos h3 { margin: 24px 0 10px; font-size: 1.25rem; font-stretch: 108%; }
.passos p { margin: 0; color: var(--suave); }

/* Obras */
.obras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.obras figure { margin: 0; }
.obras img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); }
.obras figcaption { margin-top: 12px; font-size: .875rem; color: var(--suave); }

/* Revelação das fotos: sobem como obra (só com JS) */
.js .revela { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-cortina); }
.js .revela.visivel { clip-path: inset(0 0 0 0); }

/* Parceiros */
.parceiros { padding-block: 64px 72px; border-top: 1px solid var(--linha); overflow: hidden; text-align: center; }
.parceiros h2 { font-size: 1rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--suave); }
.marquee { margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-trilha { display: flex; width: max-content; animation: rolar 45s linear infinite; }
.marquee:hover .marquee-trilha { animation-play-state: paused; }
.parceiro { display: flex; align-items: center; gap: 12px; padding-right: 56px; font-size: 1rem; font-weight: 500; color: var(--suave); white-space: nowrap; }
.parceiro i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--concreto); font-size: .6875rem; font-weight: 700; font-style: normal; color: var(--grafite); }
.parceiro img { width: auto; height: 40px; max-width: 120px; object-fit: contain; filter: grayscale(1); }

/* Rodapé */
.rodape { padding-block: 104px 40px; background: var(--grafite); color: rgba(255, 255, 255, .7); }
.rodape-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 56px; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.rodape h2 { max-width: 13ch; margin-bottom: 36px; color: #fff; font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-stretch: 116%; letter-spacing: -.03em; }
.rodape h3 { margin-bottom: 16px; font-size: .875rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: rgba(255, 255, 255, .45); }
.rodape p { margin: 0 0 14px; }
.rodape .forte { font-size: 1.25rem; font-weight: 700; font-stretch: 110%; color: #fff; }
.sublinhado { color: #fff; text-decoration: underline 1px rgba(255, 255, 255, .4); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.sublinhado:hover { text-decoration-color: #fff; }
.rodape ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rodape-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 32px; font-size: .8125rem; color: rgba(255, 255, 255, .45); }
.rodape-base a:hover { color: #fff; }

/* Páginas internas */
.pagina { padding-block: 48px 120px; }
.vazio { padding: 72px 24px; border: 1.5px dashed var(--linha); border-radius: var(--r-painel); text-align: center; }
.vazio h2 { margin-bottom: 10px; font-size: 1.75rem; }
.vazio p { margin: 0 0 24px; color: var(--suave); }
.aviso-rascunho { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--vermelho); color: #fff; font-size: .8125rem; font-weight: 600; }

/* Catálogo com filtros na lateral */
.catalogo { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.filtros-lado { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 14px; scrollbar-width: thin; }
.filtros-lado summary { list-style: none; pointer-events: none; }
.filtros-lado summary::-webkit-details-marker { display: none; }
.filtros-titulo { display: block; margin-bottom: 22px; font-size: 1.5rem; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; color: var(--grafite); }
.filtro { margin-bottom: 26px; }
.filtro h2 { margin: 0 0 12px; font-size: .9375rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 38px; padding: 0 15px; border: 1.5px solid var(--linha); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--texto); transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--grafite); }
.chip.ativo { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.catalogo-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 20px; margin-bottom: 36px; border-bottom: 1px solid var(--linha); }
.catalogo-topo p { margin: 0; font-size: .9375rem; }
.catalogo-topo b { font-size: 1.5rem; font-weight: 700; font-stretch: 112%; color: var(--grafite); }
.pilula { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--grafite); color: #fff; font-size: .8125rem; font-weight: 600; }
.ordenar { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: .875rem; color: var(--suave); }
.ordenar select { height: 42px; padding: 0 40px 0 16px; border: 1.5px solid var(--linha); border-radius: 999px; color: var(--grafite); font: 500 .875rem var(--fonte); cursor: pointer; -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2317191c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.ordenar select:focus { outline: none; border-color: var(--grafite); }
.catalogo .grid-cards { gap: 44px 24px; }

/* Página do projeto */
.proj-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(80vh, 700px); padding-block: 150px 56px; color: #fff; background: var(--grafite); overflow: hidden; }
.proj-hero .hero-foto::after { background: linear-gradient(0deg, rgba(23, 25, 28, .94) 0%, rgba(23, 25, 28, .4) 55%, rgba(23, 25, 28, .55) 100%); }
.proj-hero .wrap { width: 100%; }
.proj-hero.sem-foto { min-height: 460px; }
.migalha { margin-bottom: 18px; font-size: .875rem; color: rgba(255, 255, 255, .7); animation: aparece .8s var(--ease) .15s both; }
.migalha a:hover { color: #fff; }
.migalha span { color: #fff; }
.proj-hero h1 { max-width: 16ch; margin-bottom: 18px; color: #fff; font-size: clamp(2.5rem, 5.6vw, 5rem); font-stretch: 116%; line-height: 1; letter-spacing: -.035em; }
.proj-meta { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; color: #fff; animation: aparece .8s var(--ease) .5s both; }
.proj-resumo { max-width: 40rem; margin: 0; font-size: 1.0625rem; color: rgba(255, 255, 255, .78); animation: aparece .8s var(--ease) .6s both; }
.proj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; padding-block: 56px 104px; }
.proj-col { display: grid; gap: 48px; align-content: start; }
.proj-lado { gap: 16px; }
.rotulo { margin-bottom: 16px; font-size: 1.125rem; font-stretch: 108%; letter-spacing: -.01em; }
.gal-principal { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: var(--r-img); overflow: hidden; background: var(--concreto); cursor: zoom-in; }
div.gal-principal { cursor: default; }
.gal-principal img, .gal-principal .ilustra { width: 100%; height: 100%; object-fit: cover; animation: troca .5s var(--ease); }
.gal-principal.planta img { object-fit: contain; background: #fff; }
.gal-etiqueta { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(23, 25, 28, .75); color: #fff; font-size: .8125rem; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gal-rotulo { left: 14px; }
.gal-cont { right: 14px; font-variant-numeric: tabular-nums; }
.miniaturas { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.miniaturas button { flex: 0 0 calc((100% - 60px) / 7); aspect-ratio: 3 / 2; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--concreto); cursor: pointer; opacity: .6; transition: opacity .25s, border-color .25s; }
.miniaturas button:hover { opacity: 1; }
.miniaturas button.ativa { border-color: var(--vermelho); opacity: 1; }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.ficha-card { padding: 28px; border: 1px solid var(--linha); border-radius: var(--r-painel); background: #fff; }
.ficha-card dl { margin: 0; }
.ficha-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.ficha-card dt { color: var(--suave); }
.ficha-card dd { margin: 0; font-weight: 600; color: var(--grafite); text-align: right; }
.ficha-card .btn { width: 100%; margin-top: 24px; }
.nota { margin: 12px 0 0; font-size: .8125rem; color: var(--suave); }
.ficha-card .nota { text-align: center; }
.texto { max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; }
.proj-texto .rotulo ~ .rotulo { margin-top: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 15px; border-radius: 999px; background: var(--concreto); font-size: .875rem; font-weight: 500; }
.video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-img); }
.incluso { padding: 28px; border-radius: var(--r-painel); background: var(--concreto); }
.incluso ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.incluso li { position: relative; padding-left: 22px; }
.incluso li::before { content: ""; position: absolute; top: .55em; left: 0; width: 8px; height: 8px; background: var(--vermelho); }
.incluso strong { display: block; font-weight: 600; color: var(--grafite); }
.incluso span { font-size: .875rem; color: var(--suave); }
.incluso .nota { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linha); }
.outros { padding-block: 80px 120px; border-top: 1px solid var(--linha); }
.outros h2 { max-width: 20ch; margin-bottom: 40px; font-size: clamp(1.875rem, 3.2vw, 2.75rem); }
.outros .link { display: inline-block; margin-top: 40px; }
.lightbox { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(10, 11, 12, .92); }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; background: #fff; border-radius: 6px; }

/* Movimento */
@keyframes foto-entra { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes sobe { from { transform: translateY(105%); } to { transform: none; } }
@keyframes aparece { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes traca-x { from { transform: scaleX(0); } to { transform: none; } }
@keyframes traca-y { from { transform: scaleY(0); } to { transform: none; } }
@keyframes troca { from { opacity: .4; } to { opacity: 1; } }
@keyframes rolar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    html { scroll-behavior: auto; }
    .marquee-trilha { animation: none; }
    .js .revela { clip-path: none; }
}

/* Responsivo */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 40px; }
    .lote { max-width: 480px; }
    .grid-cards, .obras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalogo { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
    .proj-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .proj-col { display: contents; } /* no celular: galeria, ficha, texto, incluso */
    .ficha-card { order: 1; }
    .proj-texto { order: 2; }
    .incluso { order: 3; }
    .rodape-grid { grid-template-columns: 1fr 1fr; }
    .rodape-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .menu-btn { display: block; margin-left: 0; }
    /* Menu do celular: tela cheia escura, links grandes entrando em sequência e o contato no pé */
    .cab { --cab-h: 88px; }
    .cab.aberto, .sobre-foto .cab.aberto { color: #fff; background: var(--grafite); border-color: rgba(255, 255, 255, .1); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .cab.aberto .marca-cor { display: none; }
    .cab.aberto .marca-branca { display: block; }
    .menu { position: absolute; top: var(--cab-h); left: 0; right: 0; flex-direction: column; gap: 0; height: calc(100vh - var(--cab-h)); height: calc(100dvh - var(--cab-h)); margin: 0; padding: 20px 24px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; background: var(--grafite); color: #fff; visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease), opacity .3s, visibility 0s .5s; }
    .cab.aberto .menu { visibility: visible; opacity: 1; clip-path: inset(0); transition: clip-path .5s var(--ease), opacity .2s; }
    .menu > a, .menu-pe { opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .5s var(--ease); }
    .cab.aberto .menu > a, .cab.aberto .menu-pe { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .05s); }
    .menu > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: clamp(1.625rem, 7vw, 2.25rem); font-weight: 700; font-stretch: 115%; letter-spacing: -.02em; line-height: 1.1; }
    .menu > a::after { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .35; transition: opacity .2s, transform .3s var(--ease); }
    .menu > a:hover, .menu > a[aria-current] { background: none; color: var(--vermelho); }
    .menu > a:hover::after, .menu > a[aria-current]::after { opacity: 1; transform: translateX(4px) rotate(45deg); }
    .menu-pe { display: grid; gap: 18px; margin-top: auto; padding-top: 32px; }
    .menu-pe .btn { height: 56px; font-size: 1rem; }
    .menu-pe p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 0; font-size: .9375rem; color: rgba(255, 255, 255, .6); }
    .menu-pe p a:hover { color: #fff; }
    html.menu-aberto { overflow: hidden; }
    .cab-cta { margin-left: auto; }
    .topos { grid-template-columns: minmax(0, 1fr); }
    .topo, .topo + .topo { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--linha); }
    .passos { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .passos::before, .passos::after { top: 21px; bottom: 21px; left: 21px; right: auto; width: 2px; height: auto; }
    .passos::after { transform: scaleY(0); transform-origin: top; }
    .passos li { position: relative; padding-left: 68px; }
    .passo-n { position: absolute; top: 0; left: 0; }
    .passos h3 { margin-top: 8px; }
    .catalogo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .filtros-lado { position: static; max-height: none; overflow: visible; padding: 0 20px; border: 1.5px solid var(--linha); border-radius: 16px; }
    .filtros-lado summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; pointer-events: auto; cursor: pointer; }
    .filtros-lado summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--grafite); }
    .filtros-lado[open] summary::after { content: "−"; }
    .filtros-titulo { margin: 0; font-size: 1.125rem; }
    .filtros-lado[open] { padding-bottom: 16px; }
}
@media (max-width: 640px) {
    .wrap { padding-inline: 16px; }
    .cab-in { height: 76px; }
    .marca img { height: 60px; }
    .rodape-logo { height: 68px; margin-bottom: 32px; }
    .cab-cta { display: none; }
    .menu-btn { margin-left: auto; }
    .cab { --cab-h: 76px; }
    .menu { padding-inline: 16px; }
    .hero { padding-top: 104px; }
    .hero-txt { font-size: 1rem; }
    .hero-btns .btn { flex: 1; padding: 0 18px; }
    .lote { padding: 22px 18px; }
    .hero-dados ul { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
    .secao { padding-block: 80px; }
    .secao-topo { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
    .grid-cards, .obras { grid-template-columns: minmax(0, 1fr); }
    .lote-tile { flex: 1 1 calc(50% - 6px); min-width: 0; }
    .ordenar { margin-left: 0; }
    .proj-hero { min-height: 480px; padding-block: 120px 36px; }
    .proj-layout { padding-block: 24px 72px; }
    .miniaturas button { flex-basis: calc((100% - 30px) / 4); }
    .ficha-card, .incluso { padding: 22px 20px; }
    .outros { padding-block: 64px 80px; }
    .rodape { padding-top: 72px; }
    .rodape-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .rodape-base { flex-direction: column; }
}
