/* Portal Negócio Imobiliário — Em Breve */

:root {
  --black: #080808;
  --black-secondary: #141414;
  --gold: #f5c542;
  --white: #ffffff;
  --gray: #d1d1d1;
  --font: "Montserrat", sans-serif;
  --content-max: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --pad-y: clamp(1.25rem, 3vh, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--white);
  background: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.accent {
  color: var(--gold);
}

/* ——— Layout ——— */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.page__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.97) 0%,
      rgba(8, 8, 8, 0.92) 28%,
      rgba(8, 8, 8, 0.72) 48%,
      rgba(8, 8, 8, 0.35) 68%,
      rgba(8, 8, 8, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 8, 0.45) 0%,
      rgba(8, 8, 8, 0.15) 35%,
      rgba(8, 8, 8, 0.35) 70%,
      rgba(8, 8, 8, 0.88) 100%
    );
}

.page__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: var(--pad-y) var(--pad-x) clamp(1rem, 2.5vh, 1.75rem);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ——— Header / Logo ——— */

.header {
  flex-shrink: 0;
  margin-bottom: clamp(1.5rem, 5vh, 3.5rem);
}

.logo {
  width: clamp(160px, 22vw, 240px);
  height: auto;
}

/* ——— Hero ——— */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vh, 4rem);
  max-width: 640px;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(2.15rem, 5.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
}

.hero__line {
  display: block;
  color: var(--white);
}

.hero__line--accent {
  color: var(--gold);
}

.hero__lead {
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: clamp(1.25rem, 2.5vh, 1.75rem);
}

.hero__divider {
  width: 3.25rem;
  height: 2px;
  background: var(--gold);
  margin-bottom: clamp(1rem, 2vh, 1.35rem);
}

.hero__note {
  max-width: 26rem;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 400;
  color: var(--gray);
  line-height: 1.6;
}

/* ——— Features ——— */

.features {
  margin-top: auto;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
}

.features__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  width: min(100%, 640px);
}

.features__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0 1rem;
  position: relative;
}

.features__item:first-child {
  padding-left: 0;
}

.features__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 1px;
  background: rgba(245, 197, 66, 0.28);
}

.features__icon {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
}

.features__icon svg {
  width: 100%;
  height: 100%;
}

.features__label {
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.35;
}

/* ——— Footer ——— */

.footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(209, 209, 209, 0.18);
  width: 100%;
  max-width: 640px;
}

.footer__domain,
.footer__status {
  font-size: clamp(0.65rem, 0.9vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: rgba(209, 209, 209, 0.75);
}

.footer__status {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(245, 197, 66, 0.85);
}

/* ——— Reveal animations ——— */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .page__bg {
    object-position: 78% center;
  }

  .page__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.96) 0%,
        rgba(8, 8, 8, 0.88) 40%,
        rgba(8, 8, 8, 0.55) 70%,
        rgba(8, 8, 8, 0.35) 100%
      ),
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.5) 0%,
        rgba(8, 8, 8, 0.25) 40%,
        rgba(8, 8, 8, 0.55) 75%,
        rgba(8, 8, 8, 0.92) 100%
      );
  }

  .main {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .page {
    overflow: auto;
  }

  .page__content {
    justify-content: flex-start;
    gap: 0;
    padding-top: clamp(1.75rem, 5vh, 2.75rem);
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .page__bg {
    object-position: 80% 40%;
    opacity: 0.85;
  }

  .page__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 8, 8, 0.82) 0%,
        rgba(8, 8, 8, 0.72) 28%,
        rgba(8, 8, 8, 0.78) 55%,
        rgba(8, 8, 8, 0.94) 100%
      ),
      linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.88) 0%,
        rgba(8, 8, 8, 0.55) 55%,
        rgba(8, 8, 8, 0.4) 100%
      );
  }

  .header {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(1rem, 2.5vh, 1.35rem);
  }

  .logo {
    width: clamp(220px, 72vw, 300px);
  }

  .main {
    flex: 0 1 auto;
    max-width: 100%;
    justify-content: flex-start;
    gap: clamp(1.35rem, 3.5vh, 1.75rem);
  }

  .hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    margin-bottom: clamp(0.9rem, 2.5vh, 1.25rem);
  }

  .hero__lead {
    margin-bottom: clamp(0.9rem, 2vh, 1.15rem);
  }

  .hero__divider {
    margin-bottom: clamp(0.85rem, 2vh, 1.1rem);
  }

  .features {
    margin-top: 0;
    padding-top: 0;
  }

  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 1.15rem 0.5rem;
  }

  .features__item {
    padding: 0 0.75rem 0 0;
  }

  .features__item:nth-child(odd) {
    padding-left: 0;
  }

  .features__item:nth-child(even) {
    padding-left: 1rem;
  }

  .features__item:not(:first-child)::before {
    display: none;
  }

  .features__item:nth-child(even)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 1px;
    background: rgba(245, 197, 66, 0.28);
  }

  .footer {
    max-width: 100%;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    margin-top: clamp(1.25rem, 3.5vh, 1.75rem);
  }

  .footer__domain,
  .footer__status {
    letter-spacing: 0.14em;
  }
}

@media (max-width: 400px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .features__label {
    font-size: 0.75rem;
  }
}

@media (min-width: 1400px) {
  .page__content {
    padding-left: clamp(4.5rem, 8vw, 7rem);
  }

  .main {
    max-width: 680px;
  }

  .footer,
  .features__list {
    max-width: 680px;
  }
}
