/* ELEVO · página de empreendimento. Mesmos tokens da home (design system ELEVO). */
:root {
  --navy: #0D1B3E; --navy-700: #1A2B55; --navy-500: #3A4A73;
  --gold: #C9A84C; --gold-700: #7D5F17; --gold-300: #E3CF95; --gold-100: #F5EDD6;
  --cream: #F7F3EC; --stone: #E6DCCB; --white: #FFFFFF;
  --ink: #0D1B3E; --muted: #4A5468; --line: #DED7CA; --on-navy: #C5CBD8;
  --sans: "Jost", "Futura PT", Futura, "Century Gothic", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --gl: max(20px, env(safe-area-inset-left, 0px)); --gr: max(20px, env(safe-area-inset-right, 0px));
  --max: 1240px; --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 400; text-wrap: balance; }
p, dl, dd, address { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.kicker { font: 400 12px/16px var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-700); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex: none; }
.kicker a { text-decoration: none; }
.title { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.012em; }
.title em { font-style: normal; color: var(--gold-700); }
.tbc { border-bottom: 1px dashed var(--gold); cursor: help; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/20px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 15px 26px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s; }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--navy); } .btn--gold:hover { background: var(--gold-300); }
.btn--navy { background: var(--navy); color: var(--white); } .btn--navy:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); } .btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--ink); color: var(--ink); } .btn--line:hover { background: var(--ink); color: var(--white); }

/* Cabeçalho */
.top { position: fixed; z-index: 50; top: env(safe-area-inset-top, 0px); left: 0; right: 0; transition: background .4s; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; max-width: var(--max); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.lg { height: 36px; width: auto; } .lg--pos { display: none; }
.top nav { display: flex; gap: 30px; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.top nav a { text-decoration: none; opacity: .85; } .top nav a:hover { opacity: 1; color: var(--gold); }
.top .btn { padding: 10px 16px; font-size: 11px; }
.top.solid { background: rgba(247,243,236,.94); backdrop-filter: blur(10px); }
.top.solid .lg--neg { display: none; } .top.solid .lg--pos { display: block; }
.top.solid nav, .top.solid .btn--ghost { color: var(--ink); } .top.solid .btn--ghost { border-color: var(--ink); }
@media (max-width: 860px) { .top nav { display: none; } }

/* Abertura: a imagem nasce do losango dourado */
.hero { position: relative; height: min(100svh, 940px); min-height: 560px; background: var(--navy); color: var(--white); overflow: hidden; display: grid; align-items: end; }
.hero__img { position: absolute; inset: 0; animation: open 1.8s .25s cubic-bezier(.65,0,.25,1) both; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: settle 8s .25s var(--ease) both; }
.hero::before { content: ""; position: absolute; left: 50%; top: 45%; width: 90px; height: 90px; transform: translate(-50%,-50%) rotate(45deg); background: var(--gold); animation: fadegold .6s .5s ease both; z-index: 1; }
@keyframes open { from { clip-path: polygon(50% calc(45% - 64px), calc(50% + 64px) 45%, 50% calc(45% + 64px), calc(50% - 64px) 45%); } to { clip-path: polygon(50% -120%, 220% 45%, 50% 220%, -120% 45%); } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes fadegold { to { opacity: 0; } }
.hero__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(13,27,62,.55), rgba(13,27,62,0) 30%, rgba(13,27,62,0) 45%, rgba(13,27,62,.9)); }
.hero__in { position: relative; z-index: 3; padding-block: 0 clamp(40px, 8vh, 88px); display: grid; gap: 18px; animation: up 1s 1.4s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
.hero .kicker { color: var(--gold-300); }
.hero h1 { font-family: var(--serif); font-size: clamp(64px, 12vw, 176px); line-height: .9; letter-spacing: -.02em; }
.hero h1 small { display: block; font: 300 clamp(14px, 1.6vw, 20px)/1 var(--sans); letter-spacing: .6em; text-transform: uppercase; color: var(--gold); margin-top: 18px; padding-left: .3em; }
.hero__addr { font-size: 15px; letter-spacing: .04em; color: var(--on-navy); }
.hero__note { position: absolute; z-index: 3; right: var(--gr); bottom: 14px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.st { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .2em; }
.st::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; }
.st--new { color: var(--gold); } .st--work { color: #9FD3B5; } .st--done { color: var(--on-navy); }

/* Texto e ficha */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(80px, 11vw, 140px); align-items: start; }
.intro__text { display: grid; gap: 22px; }
.intro__text p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--muted); max-width: 58ch; }
.intro__text p:first-of-type { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; color: var(--ink); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 500; text-align: right; }

/* Imagens 3D */
.sec { padding-block: clamp(64px, 9vw, 120px); }
#imagens { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 28px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(transparent, rgba(13,27,62,.75)); color: var(--white); font-size: 13px; letter-spacing: .08em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gallery > figure { grid-column: span 6; aspect-ratio: 1; }
.gallery > figure:nth-child(3n+1) { grid-column: span 7; aspect-ratio: 7/6; }
.gallery > figure:nth-child(3n+2) { grid-column: span 5; aspect-ratio: 5/6; }
.gallery > figure:nth-child(3n) { grid-column: span 12; aspect-ratio: 21/9; }
.gallery .pair { cursor: default; }
.pair img { position: absolute; inset: 0; }
.pair .night { opacity: 0; transition: opacity 2.4s ease-in-out; }
.pair.is-night .night { opacity: 1; }
.dn { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.dn b { font-weight: 500; opacity: .5; transition: opacity .4s; }
.dn i { width: 40px; height: 1px; background: rgba(255,255,255,.4); position: relative; }
.dn i::after { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); transition: left 2.4s ease-in-out; }
.pair:not(.is-night) .dn b:first-child, .pair.is-night .dn b:last-child { opacity: 1; }
.pair.is-night .dn i::after { left: 32px; }

/* Evolução da obra */
.obra { background: var(--navy); color: var(--white); }
.obra .kicker { color: var(--gold-300); }
.obra__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pct { font: 400 clamp(96px, 14vw, 200px)/.9 var(--serif); color: var(--gold); margin-top: 24px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.pct span:last-child { font-size: .4em; margin-left: 6px; }
.pct__lbl { color: var(--on-navy); font-size: 15px; margin-top: 8px; }
.dates { display: flex; gap: 40px; margin-top: 36px; }
.dates dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--on-navy); }
.dates dd { font: 400 26px/1.2 var(--serif); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.stages li { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1.4fr) 76px; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--navy-500); counter-increment: s; }
.stages li::before { content: counter(s, decimal-leading-zero); font-size: 12px; letter-spacing: .14em; color: var(--gold-300); }
.stages .nm { font-weight: 500; display: grid; gap: 4px; }
.stages .nm small { font-size: 10px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy); opacity: .75; }
.stages li.run .nm small { color: var(--gold-300); opacity: 1; }
.stages li.done .nm small { color: var(--gold); opacity: 1; }
.stages .bar { height: 10px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); position: relative; overflow: visible; }
.stages .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--gold-700, #9C7F2E), var(--gold)); transition: width 1.6s var(--ease) var(--d, 0s); }
.stages li.run .bar i { background: repeating-linear-gradient(135deg, var(--gold) 0 8px, var(--gold-300, #E3CF95) 8px 16px); background-size: 22.6px 22.6px; animation: stripe 1.2s linear infinite; }
@keyframes stripe { to { background-position: 22.6px 0; } }
.stages .bar i::after { content: ""; position: absolute; right: -7px; top: -2px; width: 14px; height: 14px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 0 3px var(--navy); opacity: 0; transition: opacity .3s calc(var(--d, 0s) + 1.4s); }
.obra.in .stages .bar i { width: calc(var(--v) * 1%); }
.obra.in .stages li:not(.todo) .bar i::after { opacity: 1; }
.stages b { font: 400 26px/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums; color: var(--white); }
.stages li.todo b { color: var(--on-navy); opacity: .6; }
.kicker.sub { margin-top: clamp(64px, 8vw, 104px); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 44vw), 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 12px; margin-top: 24px; }
.photos figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--navy-700); }
.photos figure:nth-child(5n+1) { grid-row: span 2; }
.photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photos figure:hover img { transform: scale(1.05); }
.photos figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 12px; background: linear-gradient(transparent, rgba(13,27,62,.85)); opacity: 0; transition: opacity .3s; }
.photos figure:hover figcaption, .photos figure:focus figcaption { opacity: 1; }
.empty { margin-top: 24px; display: flex; align-items: center; gap: 16px; color: var(--on-navy); border: 1px dashed var(--navy-500); padding: 28px; }
.empty span { width: 14px; height: 14px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }

/* Localização */
.local__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.local .title { margin-top: 18px; }
.local address { margin-top: 24px; font-size: 19px; line-height: 1.6; }
.local__note { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.local__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { width: 100%; height: auto; display: block; box-shadow: 0 0 0 1px var(--line); }
.map .bg { fill: #EFEAE0; }
.map .gr { fill: #DCE3CF; } .map .lu { fill: #E6E0D4; }
.map polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map .c { stroke: #CFC5B3; } .map .f { stroke: #FFFFFF; }
.map .rr.c { stroke-width: 9; } .map .rr.f { stroke-width: 6.5; }
.map .rt.c { stroke-width: 12; } .map .rt.f { stroke-width: 9; stroke: #FBF7EE; }
.map .rp.c { stroke-width: 16; stroke: #C9A84C; stroke-opacity: .55; } .map .rp.f { stroke-width: 12; stroke: #F5EDD6; }
.map .rs.c { stroke-width: 6; stroke-dasharray: 0; } .map .rs.f { stroke-width: 3.5; }
.map .sn { font: 400 10.5px var(--sans); fill: #6F7787; letter-spacing: .04em; paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; }
.map .pin path { fill: var(--navy); stroke: #FFFFFF; stroke-width: 2; }
.map .pin .tag { fill: #FFFFFF; stroke: var(--line); }
.map .pin text { font: 500 12.5px var(--sans); fill: var(--navy); letter-spacing: .06em; }
.map .pin.on path { fill: var(--gold); stroke: var(--navy); stroke-width: 2; }
.map .pin.on .tag { fill: var(--navy); stroke: var(--navy); }
.map .pin.on text { font-size: 15px; fill: #FFFFFF; }
.map .pin.on .halo { fill: none; stroke: var(--gold); stroke-width: 2; animation: halo 2.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.map .pin:hover path { fill: var(--gold-300); }
@keyframes halo { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(1.3); } }
.map .n path { fill: var(--navy); } .map .n text { font: 500 12px var(--sans); fill: var(--navy); }
.map .sbar rect { fill: rgba(255,255,255,.85); } .map .sbar line { stroke: var(--navy); stroke-width: 2; } .map .sbar text { font: 400 11px var(--sans); fill: var(--navy); letter-spacing: .12em; }
.map .attr { font: 400 9.5px var(--sans); fill: #6F7787; }

/* Chamada final */
.cta { background: var(--navy); color: var(--white); padding-block: clamp(80px, 10vw, 128px) 40px; }
.cta .title em { color: var(--gold); }
.cta__in { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; justify-content: space-between; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pn { display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--navy-500); padding-top: 28px; }
.pn a { text-decoration: none; font: 400 clamp(26px, 3vw, 40px)/1.1 var(--serif); }
.pn a:last-child { text-align: right; }
.pn a:hover { color: var(--gold); }
.pn small { display: block; font: 400 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 10px; }
.foot { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--navy-500); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 13px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot img { height: 36px; width: auto; }

/* WhatsApp em losango */
.wa { position: fixed; z-index: 55; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; display: grid; place-items: center; text-decoration: none; }
.wa::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); background: var(--navy); border: 1px solid var(--gold); box-shadow: 0 10px 28px rgba(13,27,62,.35); transition: background .3s; }
.wa:hover::before { background: var(--gold); }
.wa svg { position: relative; width: 24px; height: 24px; color: var(--gold); } .wa:hover svg { color: var(--navy); }

/* Ampliação de imagens */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(13,27,62,.96); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; padding: 48px 0; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.lb img { width: 100%; height: 100%; object-fit: contain; }
.lb figcaption { color: var(--on-navy); text-align: center; font-size: 14px; letter-spacing: .08em; }
.lb button { background: none; border: 0; color: var(--gold); font: 300 44px/1 var(--sans); cursor: pointer; height: 100%; }
.lb .lb__x { position: absolute; top: 12px; right: 20px; height: auto; font-size: 40px; }

@media (max-width: 860px) {
  .intro, .obra__grid, .local__grid { grid-template-columns: 1fr; }
  .gallery > figure, .gallery > figure:nth-child(n) { grid-column: span 12; aspect-ratio: 4/3; }
  .stages li { grid-template-columns: 28px 1fr 52px; } .stages .bar { grid-column: 2 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .hero__img img, .hero__in, .hero::before { animation: none; } .hero::before { display: none; }
  .pair .night, .stages .bar i { transition: none; animation: none; }
}

/* Páginas simples (privacidade, 404) */
.plain { background: var(--cream); }
.plain .top { position: sticky; }
.doc { padding-block: clamp(64px, 9vw, 120px); max-width: 820px; display: grid; gap: 22px; }
.doc .title { font-size: clamp(34px, 4.6vw, 56px); }
.doc__txt { display: grid; gap: 16px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.nf { min-height: 80vh; align-content: center; }
