/* Luiz Augusto — Arquitetura Corporativa · conceito "Planta Viva"
   O site é uma prancha técnica: moldura, pranchas numeradas, cotas, legenda e carimbo. */
:root {
  --papel: #F2EFE9;
  --papel-2: #E8E3DA;
  --tinta: #141413;
  --red: #B4532A;          /* "caneta vermelha" de revisão */
  --red-l: #E08A62;
  --suave: #5A5852;
  --medio: #3A3935;
  --suave-d: #A8A39A;
  --linha: rgba(20,20,19,.16);
  --linha-d: rgba(242,239,233,.2);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(28px, 5vw, 80px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tinta); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-color: var(--papel);
  /* papel milimetrado bem sutil */
  background-image:
    linear-gradient(rgba(20,20,19,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,19,.035) 1px, transparent 1px),
    linear-gradient(rgba(20,20,19,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,19,.018) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.block { display: block; }
.red { color: var(--red); }
.red-l { color: var(--red-l); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--papel); }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.pad { padding-top: clamp(110px, 13vw, 190px); padding-bottom: clamp(110px, 13vw, 190px); position: relative; }
.bg-2 { background-color: var(--papel-2); }

.tag { margin: 0 0 32px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); display: flex; align-items: center; gap: 12px; }
.tag::before { content: ""; width: 9px; height: 9px; border: 1px solid currentColor; transform: rotate(45deg); flex: none; }
.tag--d { color: var(--suave-d); }

.h2 { margin: 0; font-weight: 300; font-size: clamp(42px, 5.4vw, 88px); line-height: .98; letter-spacing: -.045em; max-width: 1050px; }
.h2 em { letter-spacing: -.01em; }
.h2--m { font-size: clamp(38px, 4.3vw, 70px); line-height: 1; letter-spacing: -.04em; }
.h2__sub { display: block; margin-top: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--suave-d); font-weight: 400; }
.lead { margin: 32px 0 0; max-width: 380px; font-size: 16px; line-height: 1.65; color: var(--suave); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 16px 28px; border-radius: 0;
  background: var(--tinta); color: var(--papel); text-decoration: none; font-size: 15px; border: 1px solid var(--tinta); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--papel); }
.btn--line { background: transparent; color: var(--tinta); }
.btn--paper { background: var(--papel); color: var(--tinta); border-color: var(--papel); }

.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; padding: 11px 16px; min-height: 44px; cursor: pointer;
  background: transparent; color: var(--tinta); border: 1px solid rgba(20,20,19,.3); transition: all .3s;
}
.pill:hover { border-color: var(--tinta); }
.pill.is-on { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.pills--d .pill { color: var(--papel); border-color: rgba(242,239,233,.32); }
.pills--d .pill:hover { border-color: var(--papel); }
.pills--d .pill.is-on { background: var(--papel); color: var(--tinta); border-color: var(--papel); }

/* ---------- Moldura, prancha e cursor ---------- */
.frame { position: fixed; inset: 10px; z-index: 70; pointer-events: none; border: 1px solid #F2EFE9; mix-blend-mode: difference; opacity: .55; }
.frame__c { position: absolute; width: 14px; height: 14px; border-color: #F2EFE9; border-style: solid; border-width: 0; }
.frame__c--tl { left: 6px; top: 6px; border-left-width: 1px; border-top-width: 1px; }
.frame__c--tr { right: 6px; top: 6px; border-right-width: 1px; border-top-width: 1px; }
.frame__c--bl { left: 6px; bottom: 6px; border-left-width: 1px; border-bottom-width: 1px; }
.frame__c--br { right: 6px; bottom: 6px; border-right-width: 1px; border-bottom-width: 1px; }
.frame__side { position: absolute; left: -1px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #F2EFE9; background: transparent; padding: 0 10px; margin-left: 0; }
.sheet {
  position: fixed; left: 22px; bottom: 20px; z-index: 71; pointer-events: none; mix-blend-mode: difference; color: #F2EFE9;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: baseline; gap: 8px;
}
.sheet b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.sheet span { margin-left: 6px; }
.sheet em { font-family: var(--mono); font-style: normal; opacity: .7; margin-left: 14px; padding-left: 14px; border-left: 1px solid currentColor; }

.xh { position: fixed; inset: 0; z-index: 72; pointer-events: none; mix-blend-mode: difference; opacity: 0; transition: opacity .3s; }
.xh.on { opacity: 1; }
.xh__h, .xh__v { position: absolute; background: rgba(242,239,233,.32); }
.xh__h { left: 0; right: 0; height: 1px; top: var(--y, -10px); }
.xh__v { top: 0; bottom: 0; width: 1px; left: var(--x, -10px); }
.xh__lab { position: absolute; left: var(--x); top: var(--y); transform: translate(12px, 10px); font-family: var(--mono); font-size: 10.5px; color: #F2EFE9; letter-spacing: .04em; white-space: nowrap; }
.xh.hot .xh__h, .xh.hot .xh__v { background: rgba(242,239,233,.6); }
@media (pointer: fine) { body { cursor: crosshair; } a, button, summary, label, input[type=range] { cursor: pointer; } }

/* ---------- Topo ---------- */
.top {
  position: fixed; top: 10px; left: 10px; right: 10px; z-index: 60; display: flex; align-items: center; gap: 28px;
  padding: 18px clamp(18px, 3vw, 36px); color: #F2EFE9; mix-blend-mode: difference;
  transition: transform .5s var(--ease);
}
.top.is-hidden { transform: translateY(-130%); }
.top a { text-decoration: none; color: inherit; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.mono { width: 42px; height: 42px; border: 1px solid currentColor; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; flex: none; }
.logo__t { font-size: 15px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.logo__t small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.top__nav { display: flex; gap: 28px; font-size: 14px; }
.top__nav a { display: flex; gap: 6px; align-items: baseline; }
.top__nav i, .menu-m i { font-style: normal; font-family: var(--mono); font-size: 10px; opacity: .65; }
.top__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.top__cta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; border: 1px solid currentColor; padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s, top .35s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-m { position: fixed; inset: 0; z-index: 55; background: var(--tinta); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.menu-m[hidden] { display: none; }
.menu-m a { color: var(--papel); text-decoration: none; font-size: clamp(40px, 11vw, 60px); font-weight: 300; letter-spacing: -.04em; line-height: 1.25; display: flex; gap: 14px; align-items: baseline; }
.menu-m a i { font-size: 13px; }

/* ---------- 01 · Planta ---------- */
.hero { position: relative; }
.hero__sticky {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; grid-template-columns: minmax(320px, .78fr) 1.5fr; gap: clamp(24px, 3vw, 56px); align-items: center;
  padding: 110px var(--pad) 70px;
}
.hero__txt { position: relative; z-index: 2; }
.hero__h { margin: 0; font-weight: 300; font-size: clamp(44px, 5.4vw, 96px); line-height: .95; letter-spacing: -.045em; }
.hero__h em { letter-spacing: -.015em; color: var(--red); }
.hero__lead { margin: 28px 0 32px; max-width: 440px; font-size: 16.5px; line-height: 1.6; color: var(--medio); font-weight: 300; }
.hero__hint { margin: 36px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); display: flex; gap: 10px; align-items: center; }
.hero__arrow { display: inline-block; animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.stage { position: relative; width: 100%; aspect-ratio: 1200 / 760; max-height: calc(100svh - 180px); justify-self: center; }
@supports not (aspect-ratio: 1) { .stage { height: 60vh; } }
.stage__img, .plan { position: absolute; inset: 0; width: 100%; height: 100%; }
/* a foto ocupa exatamente o interior das paredes da planta (92..1108 × 92..668 de 1200×760) */
.stage__img { left: 7.667%; top: 12.105%; width: 84.667%; height: 75.79%; object-fit: cover; clip-path: inset(0 100% 0 0); }
.plan { overflow: visible; }
.plan .ln { fill: none; stroke: var(--tinta); stroke-width: 1.6; }
.plan .wall { stroke-width: 3.2; }
.plan .thin { stroke-width: 1.2; }
.plan .glass { stroke-width: 1.2; }
.plan .dim { stroke-width: 1.1; stroke: var(--red); }
.plan .cut { stroke: var(--red); stroke-width: 1.3; }
.plan:not(.draw) .cut { stroke-dasharray: 14 4 2 4; }
.plan:not(.draw) .dash { stroke-dasharray: 4 4; }
.plan .fl { fill: var(--tinta); }
.plan .tx { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; fill: var(--tinta); }
.plan .tx--b { font-size: 12px; font-weight: 500; }
.plan .tx--s { font-size: 9.5px; }
.plan .tx--dim { fill: var(--red); font-size: 11px; }
.plan .tx--cut { fill: var(--red); font-size: 12px; font-weight: 500; }
.plan--light .ln { stroke: rgba(242,239,233,.75); }
.plan--light .dim, .plan--light .cut { stroke: var(--red-l); }
.plan--light .fl { fill: rgba(242,239,233,.8); }
.plan--light .tx { fill: rgba(242,239,233,.92); }
.plan--light .tx--dim, .plan--light .tx--cut { fill: var(--red-l); }
.plan--light { clip-path: inset(0 100% 0 0); }
.stage.is-built .plan--light .ln:not(.dim):not(.cut):not(.wall) { stroke: rgba(242,239,233,.28); }
.stage.is-built .plan--light .tx:not(.tx--dim):not(.tx--cut) { fill: rgba(242,239,233,.55); }
.plan--light .ln, .plan--light .tx { transition: stroke .8s, fill .8s; }

/* animação de desenho (traço por traço) */
.draw .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s var(--ease) forwards; animation-delay: var(--d); }
.draw .tx, .draw .fl { opacity: 0; animation: show .6s ease forwards; animation-delay: calc(var(--d) + .4s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }

.scan { position: absolute; top: -4%; bottom: -4%; left: 0; width: 1px; background: var(--red); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scan span { position: absolute; top: 0; left: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.stage__cap { position: absolute; left: 7.667%; bottom: -34px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); opacity: 0; transition: opacity .6s; }
.stage.is-built .stage__cap { opacity: 1; }

/* ---------- 02 · Memorial ---------- */
.manifesto__big { margin: 0; font-weight: 300; font-size: clamp(34px, 4.4vw, 72px); line-height: 1.07; letter-spacing: -.035em; max-width: 1200px; }
.manifesto__side { margin: 44px 0 0 auto; max-width: 470px; font-size: 17px; line-height: 1.65; color: var(--suave); font-weight: 300; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(80px, 9vw, 130px); }
.stat { position: relative; padding-top: 34px; }
.stat b { font-size: clamp(56px, 5.6vw, 92px); font-weight: 300; letter-spacing: -.05em; line-height: 1; }
.stat > em { font-size: clamp(22px, 2.2vw, 34px); color: var(--red); margin-left: 6px; }
.stat p { margin: 14px 0 0; font-size: 14px; color: var(--suave); max-width: 220px; }
/* cota acima de cada número */
.cota { position: absolute; left: 0; right: 0; top: 0; height: 12px; }
.cota::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.cota::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(45deg, transparent 45%, var(--red) 45%, var(--red) 55%, transparent 55%) left center / 12px 12px no-repeat,
  linear-gradient(45deg, transparent 45%, var(--red) 45%, var(--red) 55%, transparent 55%) right center / 12px 12px no-repeat; }
.stat.on .cota::before, .stat:not(.rv) .cota::before { transform: scaleX(1); }

/* ---------- Régua de setores ---------- */
.ruler { overflow: hidden; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--papel); position: relative; }
.ruler::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background:
  repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px 10px) top / 100% 6px no-repeat,
  repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px 50px) top / 100% 14px no-repeat; opacity: .5; }
.ruler__track { display: flex; width: max-content; animation: rule 50s linear infinite; padding: 34px 0 26px; }
.ruler__track span { font-size: clamp(30px, 3.4vw, 52px); font-weight: 300; letter-spacing: -.03em; white-space: nowrap; padding: 0 44px; border-left: 1px solid var(--linha); position: relative; }
.ruler__track span:nth-child(even) { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }
.ruler__track span::before { content: attr(data-n); }
.ruler:hover .ruler__track { animation-play-state: paused; }
@keyframes rule { to { transform: translateX(-50%); } }

/* ---------- 03 · Projetos ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 90px; }
.pgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; row-gap: 110px; }
.proj { text-decoration: none; display: flex; flex-direction: column; gap: 20px; }
.proj[hidden] { display: none; }
.proj__fig { position: relative; padding: 30px 30px 0 0; }
.proj__img { overflow: hidden; background: var(--papel-2); position: relative; }
.proj-hint { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--red); }
.proj-hint::before { content: "◧ "; }
/* planta de cada projeto: entra da esquerda para a direita, atrás da linha de corte */
.proj__plan {
  position: absolute; inset: 0; z-index: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease);
  background-color: var(--papel);
  background-image: linear-gradient(rgba(20,20,19,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,20,19,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.proj__plan .plan { inset: 6% 5% 12%; width: 90%; height: 82%; }
.proj__plan .plan .tx { font-size: 17px; }
.proj__plan .plan .tx--s { font-size: 13px; }
.proj__plan .plan .tx--dim { font-size: 18px; }
.proj__plab { position: absolute; left: 5%; bottom: 4.5%; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--suave); }
.proj__scan { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 1px; background: var(--red); opacity: 0; transition: left 1.1s var(--ease), opacity .25s ease .85s; }
.proj.is-plan .proj__plan { clip-path: inset(0 0 0 0); }
.proj.is-plan .proj__scan { left: 100%; opacity: 1; transition: left 1.1s var(--ease), opacity .25s ease .85s; }
.proj.is-plan .proj__scan { animation: scanp 1.1s forwards; }
@keyframes scanp { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
.proj__img img { width: 100%; height: var(--h, 540px); object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s; filter: grayscale(.25); }
.proj:hover .proj__img img { transform: scale(1.035); filter: none; }
.dim { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--red); }
.dim i { font-style: normal; background: var(--papel); padding: 0 8px; position: relative; }
.bg-2 .dim i { background: var(--papel-2); }
.dim--h { left: 0; right: 30px; top: 8px; height: 1px; background: var(--red); display: flex; justify-content: center; align-items: center; }
.dim--h::before, .dim--h::after, .dim--v::before, .dim--v::after { content: ""; position: absolute; width: 10px; height: 1px; background: var(--red); transform: rotate(-45deg); }
.dim--h::before { left: -5px; } .dim--h::after { right: -5px; }
.dim--v { right: 8px; top: 30px; bottom: 0; width: 1px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.dim--v i { transform: rotate(90deg); white-space: nowrap; }
.dim--v::before { top: 0; left: -5px; } .dim--v::after { bottom: 0; left: -5px; }
.callout { position: absolute; z-index: 2; left: 14px; top: 44px; width: 52px; height: 52px; border-radius: 50%; background: var(--papel); border: 1px solid var(--tinta); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; line-height: 1.1; }
.callout small { font-size: 9px; border-top: 1px solid var(--tinta); width: 70%; text-align: center; padding-top: 2px; margin-top: 2px; }
.proj__info { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-right: 30px; }
.proj__info h3 { margin: 0; font-size: 23px; font-weight: 400; letter-spacing: -.02em; transition: color .3s; }
.proj:hover h3 { color: var(--red); }
.proj__info p { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--suave); text-align: right; }

/* ---------- blocos com coluna lateral ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split__a { flex: 1 1 340px; }
.split__b { flex: 2 1 560px; min-width: 0; }

/* ---------- 04 · Legenda (serviços) e FAQ ---------- */
.legend { border-top: 1px solid rgba(20,20,19,.25); }
.legend details { border-bottom: 1px solid rgba(20,20,19,.2); }
.legend summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: 30px 0; min-height: 44px; transition: color .3s; }
.legend summary::-webkit-details-marker { display: none; }
.legend summary:hover { color: var(--red); }
.hatch { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 1; }
.hatch circle { fill: currentColor; stroke: none; }
.hatch--fill rect { fill: currentColor; }
.legend__n { font-family: var(--mono); font-size: 12px; color: var(--red); width: 30px; flex: none; }
.legend__t { flex: 1; font-size: clamp(24px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.sign { width: 28px; height: 28px; position: relative; flex: none; }
.sign::before, .sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s; }
.sign::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .sign::after { transform: translate(-50%, -50%) rotate(0); }
.legend__c { display: flex; flex-wrap: wrap; gap: 36px; padding: 0 0 40px calc(40px + 30px + clamp(32px, 4.8vw, 64px)); animation: abre .45s ease; }
.legend__c p { margin: 0; flex: 1 1 320px; font-size: 17px; line-height: 1.65; color: var(--medio); font-weight: 300; }
.legend__c ul { margin: 0; padding: 0; list-style: none; flex: 1 1 220px; font-family: var(--mono); font-size: 12.5px; line-height: 2.3; color: var(--suave); }
.legend__c li { border-bottom: 1px solid rgba(20,20,19,.12); }
.legend__c li::before { content: "— "; color: var(--red); }
.legend--faq .legend__t { font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; letter-spacing: -.015em; }
.legend--faq summary { padding: 26px 0; }
.legend--faq .legend__c { padding-left: calc(30px + clamp(16px, 2.4vw, 32px)); }
.legend--faq .legend__c p { color: var(--suave); font-size: 16px; }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 05 · Calculadora ---------- */
.calc { background-color: var(--tinta); color: var(--papel);
  background-image: linear-gradient(rgba(242,239,233,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(242,239,233,.05) 1px, transparent 1px), linear-gradient(rgba(242,239,233,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(242,239,233,.022) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.calc__grid { display: grid; grid-template-columns: minmax(300px, .72fr) 1.5fr; gap: clamp(40px, 5vw, 90px); margin-top: 80px; align-items: start; }
.ctl { margin-bottom: 40px; }
.ctl__lab { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--linha-d); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave-d); }
.ctl__lab output { font-family: var(--sans); font-size: 38px; font-weight: 300; letter-spacing: -.03em; color: var(--papel); text-transform: none; }
#calc-n { width: 100%; height: 40px; margin: 0; accent-color: var(--red); cursor: pointer; }
.ctl__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--suave-d); }
.ctl__hint { margin: 14px 0 0; font-size: 14px; color: var(--suave-d); line-height: 1.55; }
.calc__out { border-top: 1px solid var(--linha-d); padding-top: 24px; }
.calc__area { display: flex; align-items: baseline; gap: 12px; }
.calc__area span { font-size: clamp(72px, 7.6vw, 128px); font-weight: 300; letter-spacing: -.06em; line-height: .9; }
.calc__area em { font-size: clamp(32px, 3vw, 48px); color: var(--red-l); }
.calc__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--linha-d); }
.calc__three > div { padding: 18px 10px; border-right: 1px solid var(--linha-d); }
.calc__three > div:first-child { padding-left: 0; }
.calc__three > div:last-child { border-right: 0; }
.calc__three b { display: block; font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.calc__three span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--suave-d); margin-top: 4px; text-transform: uppercase; }
.calc__range { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--linha-d); border-bottom: 1px solid var(--linha-d); }
.calc__range span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave-d); }
.calc__range b { font-weight: 400; font-size: 17px; }
.calc__plan { margin: 0; position: sticky; top: 100px; }
#calc-svg { width: 100%; height: auto; display: block; border: 1px solid var(--linha-d); background: rgba(242,239,233,.02); }
#calc-svg .ln { fill: none; stroke: rgba(242,239,233,.82); stroke-width: 1.2; }
#calc-svg .wall { stroke: var(--papel); stroke-width: 2.4; }
#calc-svg .thin { stroke-width: .9; stroke: rgba(242,239,233,.6); }
#calc-svg .glass { stroke: var(--red-l); stroke-width: .9; }
#calc-svg .dim { stroke: var(--red-l); stroke-width: .7; }
#calc-svg .tx { font-family: var(--mono); font-size: 11px; fill: rgba(242,239,233,.85); letter-spacing: .05em; }
#calc-svg .tx--b { font-size: 12px; font-weight: 500; fill: var(--papel); }
#calc-svg .tx--s { font-size: 9px; fill: rgba(242,239,233,.7); }
#calc-svg .tx--dim { fill: var(--red-l); font-size: 12px; }
#calc-svg.draw .ln { animation-duration: .9s; }
.calc__plan figcaption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--suave-d); }
.calc__plan figcaption span:last-child { color: var(--red-l); }
.calc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--linha-d); }
.calc__foot p { margin: 0; max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--suave-d); }

/* ---------- 06 · Método (corte) ---------- */
.sticky { position: sticky; top: 130px; }
.levels { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; --p: 0; }
.levels::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 1px; background: var(--linha); }
.levels::after { content: ""; position: absolute; left: 70px; top: 10px; width: 1px; height: calc((100% - 20px) * var(--p)); background: var(--red); }
.levels li { display: flex; gap: clamp(36px, 4vw, 64px); padding: 0 0 64px; opacity: .3; transition: opacity .6s; }
.levels li.on { opacity: 1; }
.lv { width: 70px; flex: none; position: relative; font-family: var(--mono); font-size: 12px; color: var(--red); padding-top: 22px; }
.lv i { position: absolute; right: -7px; top: 6px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 11px solid var(--red); z-index: 1; }
.lv::after { content: ""; position: absolute; right: -30px; top: 5px; width: 60px; height: 1px; background: var(--red); }
.levels li > div { flex: 1; padding-top: 14px; }
.lv__h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.lv__h h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.025em; }
.lv__h span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.levels p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--suave); max-width: 560px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--linha); }
.why__i { padding: 40px 28px 0; border-left: 1px solid var(--linha); }
.why__i:first-child { border-left: 0; padding-left: 0; }
.why__k { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .06em; }
.why__i h3 { margin: 22px 0 12px; font-size: 21px; font-weight: 400; letter-spacing: -.02em; }
.why__i p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--suave); }

/* ---------- 07 · Arquiteto ---------- */
.about { display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 120px); align-items: flex-start; }
.about__ph { flex: 1 1 360px; min-width: 0; margin: 0; position: relative; padding-top: 30px; }
.about__ph .dim--h { right: 0; }
.about__ph img { width: 100%; height: 680px; object-fit: cover; object-position: center top; filter: grayscale(1) contrast(1.05); }
.about__tx { flex: 1.2 1 480px; min-width: 0; }
.about__name { margin: 0; font-weight: 300; font-size: clamp(56px, 7vw, 116px); line-height: .92; letter-spacing: -.05em; }
.about__role { margin: 22px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.about__bio { margin: 40px 0 0; font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--medio); max-width: 600px; }
.about__q { margin: 48px 0 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--red); font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.2; max-width: 620px; }
.tbl { margin-top: 56px; width: 100%; max-width: 640px; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--tinta); }
.tbl caption { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); padding-bottom: 12px; }
.tbl th, .tbl td { border: 1px solid rgba(20,20,19,.3); padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); width: 1%; white-space: nowrap; }
.tbl td:last-child { font-family: var(--mono); font-size: 12px; color: var(--suave); width: 1%; white-space: nowrap; }

/* ---------- 08 · Notas ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); margin-bottom: clamp(100px, 12vw, 170px); }
.note { margin: 0; padding: 48px 36px 44px; border-left: 1px solid var(--linha); position: relative; display: flex; flex-direction: column; }
.note:first-child { border-left: 0; padding-left: 0; }
.rev { width: 34px; height: 30px; display: grid; place-items: end center; padding-bottom: 4px; font-family: var(--mono); font-size: 12px; color: var(--red); background: linear-gradient(to top right, transparent calc(50% - .6px), var(--red) 50%, transparent calc(50% + .6px)) left / 50% 100% no-repeat, linear-gradient(to top left, transparent calc(50% - .6px), var(--red) 50%, transparent calc(50% + .6px)) right / 50% 100% no-repeat; border-bottom: 1px solid var(--red); margin-bottom: 26px; }
.note blockquote { margin: 0; flex: 1; font-weight: 300; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.3; letter-spacing: -.02em; }
.note figcaption { margin-top: 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--suave); line-height: 1.6; }
.note figcaption b { display: block; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--tinta); letter-spacing: 0; }

/* ---------- 09 · Contato + carimbo ---------- */
.contact { background-color: var(--tinta); color: var(--papel); padding-bottom: 60px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(56px, 7vw, 120px); }
.contact__t { margin: 0; font-weight: 300; font-size: clamp(46px, 5.6vw, 92px); line-height: .98; letter-spacing: -.045em; }
.contact__lead { margin: 36px 0 0; max-width: 420px; font-size: 17px; line-height: 1.65; color: #C9C4BA; font-weight: 300; }
.clist { margin-top: 56px; border-top: 1px solid var(--linha-d); }
.clist > * { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--linha-d); color: var(--papel); text-decoration: none; }
.clist span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave-d); flex: none; }
.clist b { font-size: 20px; font-weight: 300; text-align: right; overflow-wrap: anywhere; }
.clist a:hover b { color: var(--red-l); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--linha-d); align-self: start; }
.f { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--linha-d); margin: 0; min-width: 0; }
.f:nth-of-type(odd):not(.f--full) { border-right: 1px solid var(--linha-d); }
.f > span, .f legend { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave-d); display: flex; gap: 8px; }
.f legend { padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.f legend + .pills { clear: both; }
.f i { font-style: normal; color: var(--red-l); }
.f--full { grid-column: 1 / -1; }
.f input, .f textarea { background: none; border: 0; color: var(--papel); font: inherit; font-size: 18px; padding: 6px 0 4px; outline: none; min-height: 40px; border-radius: 0; resize: none; }
.f input::placeholder, .f textarea::placeholder { color: #77736B; }
.f:focus-within { background: rgba(242,239,233,.04); }
.f input.err { color: var(--red-l); }
.f:has(input.err) { box-shadow: inset 2px 0 0 var(--red-l); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; }
.form__end span { font-size: 13px; color: var(--suave-d); max-width: 300px; line-height: 1.5; }
.form__end span.err { color: var(--red-l); }

.stamp { margin-top: clamp(90px, 10vw, 150px); display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); border: 1px solid rgba(242,239,233,.45); font-size: 14px; }
.stamp > * { padding: 16px 18px; border-right: 1px solid var(--linha-d); border-bottom: 1px solid var(--linha-d); }
.stamp small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--suave-d); margin-bottom: 6px; }
.stamp a { color: var(--papel); text-decoration: none; }
.stamp a:hover { color: var(--red-l); }
.stamp__logo { grid-row: span 2; display: flex; align-items: center; gap: 18px; }
.stamp__logo b { display: block; font-weight: 300; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.04em; line-height: 1; }
.stamp__logo small { margin: 8px 0 0; }
.stamp__c--soc a { margin-right: 14px; }
.stamp__c:nth-child(5n+5) { border-right: 0; }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 66; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: var(--papel); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(20,20,19,.2); transition: transform .3s; }
.wa:hover { transform: scale(1.06); }

/* ---------- Entrada ao rolar ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.on { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .top__nav { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__i:nth-child(3) { border-left: 0; padding-left: 0; }
  .why__i:nth-child(n+3) { margin-top: 40px; }
  .notes { grid-template-columns: 1fr; }
  .note, .note:first-child { border-left: 0; padding: 40px 0; border-top: 1px solid var(--linha); }
  .note:first-child { border-top: 0; }
  .stamp { grid-template-columns: repeat(3, 1fr); }
  .stamp__logo { grid-row: auto; grid-column: 1 / -1; }
  .stamp__c:nth-child(n) { border-right: 1px solid var(--linha-d); }
}
@media (max-width: 960px) {
  .top__cta { display: none; }
  .burger { display: block; }
  .frame__side { display: none; }

  .hero__sticky { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-top: 96px; padding-bottom: 60px; }
  .hero__txt { order: 2; }
  .stage { order: 1; max-height: none; }
  .hero__lead { margin: 18px 0 22px; }
  .hero__hint { margin-top: 20px; }
  .stage__cap { bottom: -26px; }
  .pgrid { grid-template-columns: 1fr; row-gap: 72px; }
  .pgrid .proj { grid-column: auto !important; margin-top: 0 !important; }
  .proj__img img { height: auto; aspect-ratio: 4 / 3; }
  .calc__grid { grid-template-columns: 1fr; }
  .calc__plan { position: static; order: -1; }
  .sticky { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .about__ph img { height: auto; aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  :root { --pad: 22px; }
  .frame { inset: 6px; }
  .top { top: 6px; left: 6px; right: 6px; padding: 12px 14px; }
  .logo__t small { display: none; }
  .sheet { left: 14px; bottom: 14px; font-size: 9.5px; }
  .sheet b { font-size: 17px; }
  .sheet em { display: block; margin: 0; padding: 0; border: 0; position: absolute; bottom: 100%; left: 0; white-space: nowrap; font-size: 8.5px; }
  .hero__h { font-size: clamp(38px, 11vw, 52px); }
  .hero__lead { font-size: 15px; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .plan .tx { font-size: 15px; }
  .plan .ln { stroke-width: 2.4; } .plan .wall { stroke-width: 4.5; } .plan .thin, .plan .glass { stroke-width: 1.8; } .plan .dim { stroke-width: 1.8; }
  .stats { grid-template-columns: 1fr; }
  .manifesto__side { margin-left: 0; }
  .head { margin-bottom: 56px; }
  .proj__fig { padding: 26px 24px 0 0; }
  .dim--h { right: 24px; }
  .callout { width: 44px; height: 44px; font-size: 11px; top: 38px; }
  .proj__info { flex-direction: column; gap: 6px; padding-right: 24px; }
  .proj__info p { text-align: left; }
  .legend__c, .legend--faq .legend__c { padding-left: 0; }
  .hatch { width: 30px; height: 30px; }
  .calc__three b { font-size: 24px; }
  .levels::before, .levels::after { left: 50px; }
  .lv { width: 50px; font-size: 10.5px; }
  .levels li { gap: 30px; padding-bottom: 48px; }
  .why { grid-template-columns: 1fr; }
  .why__i, .why__i:nth-child(n) { border-left: 0; padding: 32px 0 0; margin-top: 0; }
  .why__i + .why__i { border-top: 1px solid var(--linha); margin-top: 32px; }
  .form { grid-template-columns: 1fr; }
  .f:nth-of-type(odd):not(.f--full) { border-right: 0; }
  .form__end .btn { width: 100%; justify-content: center; }
  .clist > * { flex-direction: column; align-items: flex-start; gap: 6px; }
  .clist b { text-align: left; font-size: 18px; }
  .stamp { grid-template-columns: 1fr 1fr; font-size: 13px; }
  .tbl th { white-space: normal; }
  .wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .draw .ln { stroke-dashoffset: 0; }
  .draw .tx, .draw .fl { opacity: 1; }
}

/* ---------- Anti-spam e aviso de cookies ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cookie {
  position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 24px; padding: 18px 20px; background: var(--papel); color: var(--tinta);
  border: 1px solid var(--tinta); box-shadow: 0 14px 40px rgba(20,20,19,.18); animation: abre .5s ease;
}
.cookie__t { margin: 0; font-size: 14px; line-height: 1.5; color: var(--medio); }
.cookie__t b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.cookie__t a { color: var(--tinta); }
.cookie__b { display: flex; gap: 8px; flex: none; }
.cookie .btn { padding: 12px 18px; min-height: 44px; font-size: 14px; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .cookie__b .btn { flex: 1; justify-content: center; }
}

/* ---------- Painel de contato direto (no lugar do formulário) ---------- */
.direct { border: 1px solid var(--linha-d); padding: clamp(28px, 4vw, 52px); align-self: start; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.direct__k { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-l); }
.direct__t { margin: 0 0 16px; font-weight: 300; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.025em; }
.direct .btn { width: 100%; justify-content: space-between; }
.btn--ghostd { background: transparent; color: var(--papel); border-color: rgba(242,239,233,.4); }
.btn--ghostd:hover { border-color: var(--red); }
.direct__l { list-style: none; margin: 18px 0 0; padding: 0; width: 100%; font-size: 15px; color: #C9C4BA; }
.direct__l li { padding: 12px 0; border-top: 1px solid var(--linha-d); display: flex; gap: 14px; }
.direct__l i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--red-l); padding-top: 3px; }

/* retrato: preto e branco da prancha, ganha cor ao passar o mouse */
.about__ph img { transition: filter 1s var(--ease); }
.about__ph:hover img { filter: none; }
