:root {
  --cor-primaria: #000000;
  --cor-secundaria: #ffffff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to right, rgb(0, 0, 0) -80%, var(--cor-primaria));
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;
}

.carousel {
  display: flex;
  height: 85vh;
  will-change: transform;
  transition: transform 1s ease-in-out;
}

.slide {
  display: flex;
  flex: 0 0 100vw;
  padding: 0.5rem;
  height: 85vh;
  overflow: hidden;
  transition: transform 0.8s ease;
}

.imovel-container {
  display: flex;
  flex: 1;
  height: 100%;
  border-radius: 1.5rem;
}

.imovel-imagem {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  border-top: 2px solid #8b8989;
  border-left: 2px solid #8b8989;
  border-bottom: 2px solid #8b8989;
}

/* Card flutuante sobre a imagem do imóvel */
.flutuante {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.flutuante .qrcode {
  background-color: white;
  padding: 0.25rem;
  width: 200px;
  height: 200px;
  border: 6px solid var(--cor-primaria);
  border-radius: 0.5rem;
}
.flutuante .codigo {
  background: linear-gradient(to right, rgb(0, 0, 0) -120%, var(--cor-primaria));
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.75rem;
  margin-top: 0.25rem;
}

/* Barra de informações do imóvel */
.info-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: rgba(22, 22, 22, 0.6);
  color: #ffffff;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.info-container .info-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.info-container .endereco-container {
  display: flex;
  align-items: center;
  margin-top: 0.75rem;
}
.info-container svg {
  flex-shrink: 0;
  margin-right: 1rem;
}
.info-container .endereco-label {
  font-size: 1.75rem;
  color: #fdfdfd;
}
.info-container .info-operacao {
  display: flex;
  text-align: end;
  flex-direction: column;
}
.info-container .info-operacao h2 {
  font-size: 2rem;
  text-transform: uppercase;
}
.info-container .info-operacao .preco {
  font-size: 3rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Lista de detalhes do imóvel */
.detalhes-container {
  flex: 0 0 250px;
  height: 100%;
  background-color: #0a0a0a;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-top-right-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  border-top: 2px solid #8b8989;
  border-right: 2px solid #8b8989;
  border-bottom: 2px solid #8b8989;
}
.detalhes-item {
  background: linear-gradient(to right, rgb(0, 0, 0) -100%, var(--cor-primaria) 150%);
  border-left: 6px solid var(--cor-primaria);
  padding: 1rem;
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.detalhes-label {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

/* Rodapé da página */
.rodape {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 15vh;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  z-index: 100;
}
.rodape .logo-imob {
  max-width: 300px;
  max-height: 100px;
  padding: 0.25rem;
}

.rodape .link-imob-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.rodape .link-imob-url,
.rodape .link-imob-instagram {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.75rem;
  margin-left: 16px;
  white-space: nowrap;
}
.rodape .link-imob-url {
  margin-bottom: 12px;
}

.rodape .data-hora {
  text-align: right;
  line-height: 1.5;
  font-weight: 600;
}
.rodape .hora {
  font-size: 2.5rem;
}
.rodape .data {
  font-size: 2rem;
  white-space: nowrap;
}
