:root {
  --navy: #071033;
  --g1: #666666;
  --g2: #999999;
  --off: #f2f2f2;
  --paper: #f7f6f3;
  --ink: #14161c;
  --line: rgba(7, 16, 51, .14);
  --gut: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }

/* type */
.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--g1);
}
.eyebrow--light { color: rgba(255,255,255,.82); }
.lead {
  font-weight: 300; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.01em; color: var(--navy);
}
.lead--narrow { max-width: 16ch; }
.body { font-size: 15px; font-weight: 400; line-height: 1.85; color: #4a4d57; letter-spacing: .01em; max-width: 54ch; }
h3 { font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; color: var(--navy); }
h4 { font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.rule { display: block; width: 44px; height: 1px; background: var(--navy); margin: 32px 0; }
.rule--light { background: rgba(255,255,255,.7); }
.link { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); display: inline-flex; gap: 14px; align-items: center; }
.link span { transition: transform .3s; }
.link:hover span { transform: translateX(6px); }
.link--light { color: #fff; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut); transition: background .4s, padding .4s, box-shadow .4s;
}
.nav__logo { height: 46px; display: block; position: relative; }
.nav__logo img { height: 100%; width: auto; object-fit: contain; transition: opacity .4s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 38px; align-items: center; }
.nav__links a { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: #fff; transition: color .4s, opacity .3s; }
.nav__links a:hover { opacity: .65; }
.nav__cta { border: 1px solid rgba(255,255,255,.5); padding: 12px 20px; border-radius: 999px; }
.nav.is-solid { background: rgba(247,246,243,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 14px var(--gut); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-solid .nav__links a { color: var(--navy); }
.nav.is-solid .nav__cta { border-color: var(--navy); }
.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1px; background: #fff; transition: transform .35s, top .35s, background .4s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 24px; }
.nav.is-solid .nav__toggle span { background: var(--navy); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; }
.hero__img { position: absolute; inset: 0; object-position: 50% 42%; transform: scale(1.06); animation: zoom 2.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes zoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,51,.55) 0%, rgba(7,16,51,.12) 40%, rgba(7,16,51,.65) 100%); }
.hero__content { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(70px, 14vh, 140px); max-width: 760px; }
.hero h1 { font-weight: 200; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.02; letter-spacing: -.02em; margin-top: 22px; }
.hero h1 em { font-style: normal; font-weight: 300; color: #c9ccd4; }
.hero__caption { position: absolute; right: var(--gut); bottom: 28px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .75; }

/* intro */
.intro { padding: clamp(90px, 13vw, 170px) 0; }
.intro__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.intro .lead { margin-bottom: 34px; }

/* obras */
.obras { padding-bottom: clamp(60px, 9vw, 120px); }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head--big { align-items: flex-end; padding-bottom: 28px; }
.title { font-weight: 200; font-size: clamp(40px, 6.4vw, 88px); line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(70px, 10vw, 140px); }
.feature--rev .carousel { order: 2; }
.split img, .grid img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.feature__text h3 { margin: 20px 0 22px; }

/* carousel */
.carousel { min-width: 0; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.carousel__track img { flex: 0 0 100%; aspect-ratio: 4/5; scroll-snap-align: start; user-select: none; -webkit-user-drag: none; }
.carousel__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.carousel__dots { display: flex; gap: 10px; align-items: center; }
.carousel__dots button {
  width: 6px; height: 6px; border-radius: 999px; background: var(--g2); opacity: .45; padding: 0;
  transition: width .5s cubic-bezier(.2,.7,.2,1), opacity .4s, background .4s; position: relative;
}
.carousel__dots button::before { content: ""; position: absolute; inset: -10px -4px; }
.carousel__dots button.is-on { width: 28px; background: var(--navy); opacity: 1; }
.carousel__count { font-size: 10px; letter-spacing: .26em; color: var(--g1); font-variant-numeric: tabular-nums; }

/* predial */
.predial { background: var(--navy); color: #fff; padding: clamp(90px, 12vw, 160px) 0; }
.predial .sec-head { border-color: rgba(255,255,255,.18); }
.title--light { color: #fff; }
.predial__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.predial__text h3 { color: #fff; margin-bottom: 22px; }
.predial__text .body { color: rgba(255,255,255,.7); }
.predial__list { list-style: none; margin: 36px 0 40px; border-top: 1px solid rgba(255,255,255,.18); }
.predial__list li { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.predial__list span { color: #8d93a8; font-weight: 400; letter-spacing: .1em; }
.carousel--light .carousel__dots button { background: #fff; opacity: .35; }
.carousel--light .carousel__dots button.is-on { background: #fff; opacity: 1; }
.carousel--light .carousel__count { color: rgba(255,255,255,.6); }

/* banner */
.banner { position: relative; height: clamp(520px, 90vh, 900px); overflow: hidden; }
.banner img { position: absolute; inset: 0; object-position: 50% 35%; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,51,.78), rgba(7,16,51,.1) 70%); }
.banner__text { position: absolute; z-index: 1; left: var(--gut); top: 50%; transform: translateY(-50%); max-width: 560px; color: #fff; }
.banner__quote { font-weight: 200; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; margin-top: 24px; }

/* solucoes */
.solucoes { padding: clamp(90px, 12vw, 160px) 0; }
.sol-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.sol-list li { display: flex; gap: 22px; padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.sol-list li span { font-size: 11px; color: var(--g2); letter-spacing: .1em; padding-top: 2px; }
.sol-list p { font-size: 14px; line-height: 1.75; color: #555964; margin-top: 12px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--off); }
.split figure { aspect-ratio: 4/5; overflow: hidden; }
.split__text { padding: clamp(48px, 8vw, 120px); align-self: center; }
.split__text h3 { margin: 20px 0 22px; }

/* galeria */
.galeria { padding: clamp(90px, 12vw, 160px) 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; color: var(--g1); border: 1px solid transparent; transition: .3s; }
.filters button.is-on { color: var(--navy); border-color: var(--navy); }
.grid { columns: 3; column-gap: 14px; }
.grid a { display: block; break-inside: avoid; margin-bottom: 14px; overflow: hidden; position: relative; }
.grid img { height: auto; aspect-ratio: 3/4; }
.grid a:hover img { transform: scale(1.04); }
.grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.grid a span { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; font-size: 10px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #fff; line-height: 1.6; }
.grid a.is-hidden { display: none; }

/* processo */
.processo { background: var(--navy); color: #fff; padding: clamp(90px, 12vw, 150px) 0; }
.processo .sec-head { border-color: rgba(255,255,255,.18); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.steps span { font-weight: 200; font-size: 44px; color: #8d93a8; display: block; margin-bottom: 26px; }
.steps h4 { color: #fff; }
.steps p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.66); margin-top: 12px; }

/* contato */
.contato { padding: clamp(90px, 12vw, 160px) 0; }
.contato__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.contato .lead { margin: 22px 0 26px; max-width: 14ch; }
.contato__actions { display: flex; flex-direction: column; gap: 12px; }
.btn { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; transition: background .3s; }
.btn:hover { background: #12204f; }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* footer */
.footer { background: #050b24; color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; line-height: 2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__logo { width: 150px; height: auto; }
.footer nav { display: flex; flex-direction: column; }
.footer a:hover { color: #fff; }
.footer__tag { color: rgba(255,255,255,.45); }
.footer__copy { text-align: center; margin-top: 60px; font-size: 10px; color: rgba(255,255,255,.35); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,11,36,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(92vw, 900px); max-height: 88vh; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .26em; text-transform: uppercase; text-align: center; margin-top: 16px; }
.lb__close { position: absolute; top: 14px; right: 20px; font-size: 38px; font-weight: 200; color: #fff; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 48px; font-weight: 200; color: #fff; padding: 20px; }
.lb__prev { left: 4px; } .lb__next { right: 4px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .sol-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 16px var(--gut); }
  .nav__logo { height: 38px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__logo { z-index: 2; }
  .nav.is-open { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav.is-open .logo-light { opacity: 1; }
  .nav.is-open .logo-dark { opacity: 0; }
  .nav__links {
    position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav__links a { color: #fff !important; font-size: 13px; }
  .nav__cta { border-color: rgba(255,255,255,.5) !important; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle span { background: #fff; }
  .nav.is-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }
  .hero__caption { display: none; }
  .hero__shade { background: linear-gradient(180deg, rgba(7,16,51,.5) 0%, rgba(7,16,51,.1) 30%, rgba(7,16,51,.82) 78%); }
  .hero h1 { font-size: 46px; }
  .intro__grid, .feature, .split, .contato__grid, .predial__grid { grid-template-columns: 1fr; }
  .feature--rev .carousel { order: 0; }
  .sec-head--big { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sol-list { grid-template-columns: 1fr; }
  .sol-list li { padding: 28px 0; }
  .grid { columns: 2; column-gap: 8px; }
  .grid a { margin-bottom: 8px; }
  .grid a span { left: 10px; right: 10px; bottom: 10px; font-size: 8px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .banner::after { background: linear-gradient(0deg, rgba(7,16,51,.8), rgba(7,16,51,.05) 75%); }
  .banner__text { top: auto; bottom: 48px; transform: none; right: var(--gut); }
}
