@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Arvo:wght@400;700&family=Roboto:wght@400;700&display=swap");

html {
  scroll-behavior: smooth;
}

:root {
  --branco-fundo: #eee5e5;
  --gold: #cea924;
  --ciano: #28afb0;
  --azul-banana: #19647e;
  --azul-mid: #0d3946;
  --azul-escuro: #0d0221;

  --font-head: "Playfair Display", serif;
  --font-main: "Roboto", sans-serif;
  --font-alt: "Arvo", serif;
}

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

body {
  background-color: var(--branco-fundo);
  font-family: var(--font-main);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.capa {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: troca 32s infinite;
}

.slideshow img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow img:nth-child(2) {
  animation-delay: 4s;
}

.slideshow img:nth-child(3) {
  animation-delay: 8s;
}

.slideshow img:nth-child(4) {
  animation-delay: 12s;
}

.slideshow img:nth-child(5) {
  animation-delay: 16s;
}

.slideshow img:nth-child(6) {
  animation-delay: 20s;
}

.slideshow img:nth-child(7) {
  animation-delay: 24s;
}

.slideshow img:nth-child(8) {
  animation-delay: 28s;
}

@keyframes troca {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  5% {
    opacity: 1;
  }

  20% {
    opacity: 1;
    transform: scale(1.05);
  }

  25% {
    opacity: 0;
    transform: scale(1.08);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.header {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.topo-inteiro {
  display: flex;
  justify-content: center;
}

.topo {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  max-width: 1100px;
  color: #fff;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: var(--azul-banana);
  border-radius: 999px;
  gap: 100px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px;
  margin-left: 100px;
}

.logo {
  margin: 0;
  margin-right: 80px;
}

.logo:hover {
  transform: scale(1.05);
}

.lista {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.a {
  transition: color 0.2s ease;
  cursor: pointer;
  color: white;
  text-decoration: none;
}

.a:visited {
  color: white;
  text-decoration: none;
}

.a:hover {
  color: #a8d8e8;
}

.a-selected {
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  cursor: pointer;
  text-decoration: underline 2px;
  text-underline-offset: 7px;
}

.a-selected:hover {
  color: #a8d8e8;
}

.a-selected:visited {
  color: white;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline,
.btn-fill {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  transform: scale(1.03);
}

.btn-fill {
  background: white;
  border: none;
  color: var(--azul-banana);
}

.btn-fill:hover {
  transform: scale(1.03);
}

.header-text {
  text-align: center;
  margin-top: 110px;
  color: white;
}

.header-h1 {
  font-family: var(--font-head);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.2;
}

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

.sub-header {
  margin-top: 20px;
  font-size: 18px;
  color: #f0f0f0;
}

.search-card {
  margin: 60px auto 0;
  width: 100%;
  max-width: 1050px;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
}

.tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.tab {
  border: 2px solid var(--azul-banana);
  background: transparent;
  color: var(--azul-banana);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease;
}

.tab.active,
.tab:hover {
  background: var(--azul-banana);
  color: white;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.form-row2 {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  margin-top: 14px;
}

.inp-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inp-area label {
  font-size: 12px;
  color: var(--azul-escuro);
  font-weight: bold;
  text-transform: uppercase;
}

.inp-area input {
  height: 50px;
  border-radius: 8px;
  border: 2px solid var(--azul-banana);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.inp-area input:focus {
  border-color: var(--azul-escuro);
}

.btn-buscar {
  border: none;
  background: var(--azul-banana);
  color: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-buscar:hover {
  background: var(--azul-mid);
  transform: translateY(-2px);
}

.pages-bar {
  width: 100%;
  background: white;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  position: sticky;
  top: 0;
  z-index: 999;
  margin-top: -70px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.pages {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  gap: 10px;
}

.pages a {
  padding: 18px 30px;
  color: var(--azul-banana);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  font-family: Lato, sans-serif;
}

.pages a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 2px;
  background: var(--azul-banana);
  transform: scaleX(0);
  transition: 0.2s ease;
}

.pages a:hover::after {
  transform: scaleX(1);
}

.content {
  background: var(--branco-fundo);
  padding: 80px 24px;
}

.content-text {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.sec-icon img {
  width: 100px;
}

.titulo-sec {
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--azul-escuro);
}

.blue {
  color: var(--ciano);
}

.bar {
  color: var(--azul-banana);
}

.subtexto {
  margin-top: 8px;
  color: #666;
}

.cards-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-area {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 22px;
}

.localizacao {
  color: var(--ciano);
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-titulo {
  font-size: 28px;
  color: var(--azul-escuro);
  font-family: var(--font-head);
  margin-bottom: 10px;
}

.card-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-info {
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.card-anuncio {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
}

.preco {
  display: block;
  margin-top: 5px;
  font-size: 30px;
  color: var(--gold);
  font-family: var(--font-alt);
  font-weight: bold;
}

.parcelas {
  font-size: 12px;
  color: #888;
}

.card-btn {
  width: 100%;
  margin-top: 16px;
  border: none;
  background: var(--azul-banana);
  color: white;
  height: 48px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.card-btn:hover {
  background: var(--azul-mid);
}

.footer {
  background: var(--azul-escuro);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

@media (max-width: 1000px) {
  .cards-area {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .topo {
    flex-direction: column;
    border-radius: 20px;
    gap: 20px;
  }

  .nav-left {
    flex-direction: column;
  }

  .lista {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .header-h1 {
    font-size: 38px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row2 {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .sec-header {
    flex-direction: column;
    text-align: center;
  }
}
