:root {
  --cream: #FAF6ED;
  --header-text: #fdf6ee;
  --glass: rgba(244, 211, 173, 0.2);
  --ink: #19160f;
  --blue-dark: #437D8B;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100svh;
  margin: 0;
  font-family: "Junge", Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

#site-root {
  min-height: 100svh;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--header-text);
  background: var(--blue-dark);
  isolation: isolate;
  z-index: 50;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}

.hero-media.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  position: absolute;
  top: auto;
  bottom: 18px;
  left: 32px;
  right: 32px;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
  padding: 8px 64px;
  background: rgba(192, 180, 158, 0.2);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.site-header.is-scrolled {
  position: fixed;
  top: 18px;
  bottom: auto;
}

.site-header a {
  color: var(--header-text);
  font-family: "Junge", Georgia, serif;
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1;
}

.site-header.is-scrolled a {
  color: var(--ink);
}

.site-header.is-on-blue a {
  color: var(--header-text);
}

.site-header a:first-child {
  justify-self: start;
}

.site-header a:last-child {
  justify-self: end;
}

.header-logo {
  display: block;
  width: 64px;
  transition: width 280ms var(--ease);
}

.site-header.is-scrolled .header-logo {
  width: 74px;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 72px 96px 92px;
  text-align: center;
  transform: translateY(-58px);
}

.hero-content h1 {
  margin: 0 0 8px;
  font-family: "Julius Sans One", Arial, sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-mark {
  width: 164px;
  height: auto;
  margin: 0 0 2px;
  transform: translateY(8px);
}

.hero-content p {
  margin: 0;
  color: var(--header-text);
  font-family: "Junge", Georgia, serif;
  font-size: 19px;
  line-height: 1.2;
}

.hero-content p span {
  display: block;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.hero-progress {
  position: absolute;
  top: 46%;
  left: calc(50% - 640px);
  display: grid;
  grid-template-rows: repeat(3, 34px);
  gap: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-progress span {
  display: block;
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: var(--header-text);
  opacity: 0.32;
  transition: opacity 420ms var(--ease);
}

.hero-progress span.is-active {
  opacity: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 18px;
  border: 1px solid var(--header-text);
  border-radius: 999px;
  color: var(--header-text);
  background: transparent;
  font-family: "Junge", Georgia, serif;
  font-size: 14px;
  line-height: 1;
  transition: opacity 280ms var(--ease);
}

.hero-cta:hover {
  opacity: 0.72;
}

.hero-link {
  color: var(--header-text);
  background: transparent;
  border: 0;
  font-family: "Junge", Georgia, serif;
  font-size: 14px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: opacity 280ms var(--ease);
}

.hero-link:hover {
  opacity: 0.72;
}

.welcome {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0 96px;
  color: var(--ink);
  background: var(--cream);
  text-align: center;
}

.welcome-inner {
  width: min(100%, 840px);
  margin: 0 auto;
  transform: translateY(38px);
}

.welcome h2 {
  margin: 0 0 24px;
  font-family: "Julius Sans One", Arial, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.welcome p {
  position: relative;
  margin: 0 auto;
  color: var(--ink);
  font-family: "Junge", Georgia, serif;
  font-size: 17px;
  line-height: 1.24;
}

.welcome p::after {
  content: "Cada projeto nasce para valorizar o lugar, respeitar a paisagem\A e transformar a forma de viver, criando espaços que permanecem relevantes ao longo do tempo.";
  position: absolute;
  inset: 0;
  color: #B4AD9F;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  white-space: pre-line;
  pointer-events: none;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, transparent 39%, #000 49%, #000 56%, transparent 66%, transparent 100%);
  mask-image: linear-gradient(105deg, transparent 0%, transparent 39%, #000 49%, #000 56%, transparent 66%, transparent 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 180% 0;
  mask-position: 180% 0;
  animation: welcomeTextWave 9.5s linear infinite;
  will-change: opacity, mask-position, -webkit-mask-position;
}

.welcome p span {
  display: block;
}

@keyframes welcomeTextWave {
  0% {
    opacity: 0;
    -webkit-mask-position: 180% 0;
    mask-position: 180% 0;
  }

  10% {
    opacity: 0.92;
  }

  82% {
    opacity: 0.92;
    -webkit-mask-position: -180% 0;
    mask-position: -180% 0;
  }

  100% {
    opacity: 0;
    -webkit-mask-position: -180% 0;
    mask-position: -180% 0;
  }
}

.welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 292px;
  min-height: 58px;
  margin-top: 32px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: "Junge", Georgia, serif;
  font-size: 17px;
  line-height: 1;
  transition: opacity 280ms var(--ease);
}

.welcome-cta:hover {
  opacity: 0.72;
}

.split-projects {
  position: relative;
  z-index: 1;
  min-height: 185vh;
  background: var(--cream);
  --split-progress: 0;
}

.split-projects-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px;
}

.split-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(58px, 5.8vw, 92px);
  line-height: 1;
  letter-spacing: .03em;
  color: var(--ink);
  pointer-events: none;
}

.split-word span {
  display: inline-block;
  opacity: calc(1 - (var(--split-progress) * .9));
  transition: opacity 120ms linear, transform 120ms linear;
  will-change: transform, opacity;
}

.split-word-left {
  transform: translateX(calc(var(--split-progress) * -26vw));
}

.split-word-right {
  transform: translateX(calc(var(--split-progress) * 26vw));
}

.split-projects-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  opacity: clamp(0, calc((var(--split-progress) - .32) * 1.8), 1);
  transform: translateY(calc((1 - var(--split-progress)) * 18px));
  transition: opacity 120ms linear, transform 120ms linear;
  will-change: opacity, transform;
}

.split-projects h2 {
  position: relative;
  max-width: 470px;
  margin: 0;
  font-family: "Junge", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}

.split-projects h2::after {
  content: "Conceitos que conectam o mundo preservando\A a identidade de cada lugar.";
  position: absolute;
  inset: 0;
  color: #B4AD9F;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  white-space: pre-line;
  pointer-events: none;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, transparent 39%, #000 49%, #000 56%, transparent 66%, transparent 100%);
  mask-image: linear-gradient(105deg, transparent 0%, transparent 39%, #000 49%, #000 56%, transparent 66%, transparent 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 180% 0;
  mask-position: 180% 0;
  animation: welcomeTextWave 9.5s linear infinite;
  will-change: opacity, mask-position, -webkit-mask-position;
}

.split-projects h2 span {
  display: block;
}

.split-projects-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  min-height: 40px;
  padding: 9px 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: "Junge", serif;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 280ms var(--ease);
}

.split-projects-cta:hover {
  opacity: 0.72;
}

.identity {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  align-items: center;
  background: var(--cream);
}

.identity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 40vh;
}

.identity-image {
  width: 100%;
  height: 100%;
  min-height: 40vh;
  object-fit: cover;
}

.identity-panel {
  display: flex;
  align-items: center;
  color: var(--header-text);
  background: var(--blue-dark);
}

.identity-copy {
  width: min(100%, 470px);
  margin-left: 22%;
}

.identity h2 {
  margin: 0 0 72px;
  font-family: "Julius Sans One", Arial, sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.identity h2 span,
.identity p span {
  display: block;
}

.identity p {
  margin: 0;
  font-family: "Junge", Georgia, serif;
  font-size: 17px;
  line-height: 1.48;
}

.identity-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 52px;
  color: var(--header-text);
  font-family: "Junge", Georgia, serif;
  font-size: 17px;
  line-height: 1;
  transition: opacity 280ms var(--ease);
}

.identity-link::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.identity-link:hover {
  opacity: 0.72;
}

.project-carousel {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  background: #FAF6ED;
}

.project-carousel::before {
  content: "";
  position: absolute;
  inset: 18% 28%;
  background: radial-gradient(circle, rgba(244, 211, 173, 0.24), transparent 68%);
  pointer-events: none;
}

.project-carousel-inner {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  height: 100%;
  min-height: 720px;
  padding: 92px 0 72px;
}

.project-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 560px;
  place-items: center;
}

.project-card {
  position: absolute;
  width: 430px;
  color: var(--ink);
  background: #FAF6ED;
  box-shadow: 0 30px 54px rgba(25, 22, 15, 0.1);
  transition:
    transform 1800ms var(--ease),
    opacity 1800ms var(--ease),
    filter 1800ms var(--ease);
  will-change: transform, opacity;
}

.project-card img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.project-card p {
  margin: 0;
  padding: 40px 38px 44px;
  font-family: "Junge", Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}

.project-card p span {
  display: block;
}

.project-card.is-current {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: none;
}

.project-card.is-prev {
  z-index: 2;
  opacity: 0.3;
  transform: translateX(-570px) scale(0.66);
  filter: saturate(0.72);
}

.project-card.is-next {
  z-index: 2;
  opacity: 0.3;
  transform: translateX(570px) scale(0.66);
  filter: saturate(0.72);
}

.carousel-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #B6B3AA;
  border-radius: 50%;
  color: #B6B3AA;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}

.carousel-arrow:hover {
  opacity: 0.68;
  transform: translateY(-50%) scale(0.96);
}

.carousel-arrow::before {
  content: "";
  position: relative;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.carousel-arrow.is-prev {
  left: calc(50% - 352px);
}

.carousel-arrow.is-prev::before {
  left: 1px;
  transform: rotate(-135deg) translate(-1px, -1px);
}

.carousel-arrow.is-next {
  right: calc(50% - 352px);
}

.carousel-arrow.is-next::before {
  left: -1px;
  transform: rotate(45deg) translate(-1px, 1px);
}

.blue-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: var(--blue-dark);
}

.trust-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 22vh 40vh;
  min-height: 100vh;
  margin-top: 90px;
  background: var(--cream);
  color: var(--ink);
  --trust-progress: 0;
}

.trust-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  align-items: center;
  min-height: 22vh;
  padding: 0 92px;
  overflow: hidden;
}

.trust-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(58px, 5.8vw, 92px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--ink);
  opacity: calc(1 - (var(--trust-progress) * .9));
  transition: opacity 120ms linear, transform 120ms linear;
  will-change: opacity, transform;
  pointer-events: none;
}

.trust-ghost:first-child {
  transform: translate(calc(-100% - (var(--trust-progress) * 22vw)), -50%);
}

.trust-ghost:last-child {
  transform: translate(calc(var(--trust-progress) * 22vw), -50%);
}

.trust-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Junge", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.42;
  text-align: center;
  color: var(--ink);
  opacity: clamp(0, calc((var(--trust-progress) - .32) * 1.8), 1);
  transform: translateY(calc((1 - var(--trust-progress)) * 18px));
  transition: opacity 120ms linear, transform 120ms linear;
  will-change: opacity, transform;
}

.trust-title span {
  display: block;
}

.trust-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 40vh;
}

.trust-copy {
  display: grid;
  place-items: center;
  background: var(--blue-dark);
  padding: 72px;
}

.testimonial-card {
  position: relative;
  width: min(100%, 514px);
  min-height: 358px;
  padding: 96px 74px 68px;
  background: #83A3A5;
  color: var(--header-text);
  box-shadow: 0 28px 60px rgba(25, 22, 15, .18);
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  inset: 96px 74px 68px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  pointer-events: none;
}

.testimonial-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-name {
  margin: 0 0 42px;
  font-family: "Julius Sans One", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--header-text);
}

.testimonial-text {
  max-width: 370px;
  margin: 0;
  font-family: "Junge", serif;
  font-size: 17px;
  line-height: 1.48;
  color: var(--header-text);
}

.testimonial-next {
  position: absolute;
  right: 32px;
  bottom: 31px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.testimonial-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-64%, -50%) rotate(45deg);
}

.testimonial-next:hover {
  opacity: .7;
  transform: translateX(3px);
}

.trust-image {
  width: 100%;
  height: 100%;
  min-height: 40vh;
  object-fit: cover;
}

.site-footer {
  position: relative;
  min-height: 320px;
  margin-top: 70px;
  overflow: hidden;
  background: #F6F2E9;
  color: var(--ink);
  font-family: "Junge", serif;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 40px;
  padding: 42px 128px 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}

.footer-social {
  align-items: center;
  text-align: center;
}

.footer-nav {
  align-items: flex-start;
  justify-self: end;
}

.footer-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.footer-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 240ms var(--ease);
}

.footer-link:hover {
  opacity: .65;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 240ms var(--ease);
}

.footer-nav a:hover {
  opacity: .65;
}

.footer-brand {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Julius Sans One", sans-serif;
  font-size: clamp(78px, 10.9vw, 172px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: .04em;
  color: rgba(25, 22, 15, .1);
  white-space: nowrap;
  pointer-events: none;
}

body.is-loading #site-root {
  opacity: 0;
}

body.is-loaded #site-root {
  opacity: 1;
  transition: opacity 1100ms var(--ease);
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--cream);
  opacity: 1;
  transition: opacity 1200ms var(--ease), visibility 1200ms var(--ease);
}

.site-preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader img {
  width: 140px;
  height: auto;
  animation: preloaderSway 3.6s ease-in-out infinite;
  transform-origin: 50% 65%;
}

@keyframes preloaderSway {
  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}
