/*
* CUSTON PROPERTY
*/
:root {
  /*
    * Colors
    */
  --white: #ffffff;
  --yellow: #f6bd26;
  --primary-100: #f66337;
  --primary-90: #d1552f;
  --primary-80: #a04226;
  --primary-70: #6b2c18;
  --primary-40: #33150c;
  --primary-20: #160a06;
  --secondary-100: #21ffff;
  --secondary-20: #073333;
  --neutral-100: #fafcff;
  --neutral-98: #f2f5fa;
  --neutral-95: #e9ecf2;
  --neutral-90: #dadfe5;
  --neutral-80: #c2c6cc;
  --neutral-60: #919499;
  --neutral-50: #797c80;
  --neutral-40: #616366;
  --neutral-30: #494a4d;
  --neutral-20: #303133;
  --neutral-10: #18191a;
  --neutral-5: #0c0c0d;
  --error-100: #ff2134;

  /*
  *Typography
  */
  --font-primary: "Montserrat", sans-serif;
  /*
  *Font size
  */
  --fs-base: 62.5%;
  --fs-headline-large: 3.6rem;
  --fs-headline-medium: 2.8rem;
  --fs-headline-small: 2.8rem;
  --fs-title-large: 2.2rem;
  --fs-title-medium: 2rem;
  --fs-title-small: 1.8rem;
  --fs-body-large: 1.6rem;
  --fs-body-medium: 1.6rem;
  --fs-label-large: 1.6rem;
  --fs-label-medium: 1.4rem;
  /*
  *Line Height
  */
  --lh-headline-large: 44px;
  --lh-headline-medium: 36px;
  --lh-headline-small: 36px;
  --lh-title-large: 28px;
  --lh-title-medium: 24px;
  --lh-title-small: 24px;
  --lh-body-large: 24px;
  --lh-body-medium: 24px;
  --lh-label-large: 24px;
  --lh-label-medium: 20px;
  /*
  *Font weight
  */
  --weight-bold: 700;
  --weight-semiBold: 600;
  --weight-regular: 400;
  /*
  *Letter spacing
  */
  --traking-n-025: -0.25px;
  --traking-p-05: 0.5px;
  /*
  *Border radius
  */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-extra-large: 32px;
  --radius-full: 1000px;
  --radius-circle: 50%;
  /*
  *Box Shadow
  */
  --shadow-1: 0px 2px 4px 0px #00000033;
  --shadow-2: 0px 5px 10px 0px #0000000d;
  --shadow-3: 0px 5px 10px 0px #00000033;
  --shadow-4: 0px 10px 20px 0px #0000001a;
  /*
  *Transition
  */
  --transition-easing-quick: cubic-bezier(0, 0.7, 0.3, 1);
  --transition-duration-quick: 200ms;
  --transition-duration-smooth: 500ms;
}
/*
  * RESET
  */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
li {
  list-style: none;
}

img,
input,
select,
button,
span {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  height: auto;
}
input,
button,
select {
  background-color: none;
  border: none;
  font: inherit;
}
button {
  cursor: pointer;
}
input,
select {
  width: 100%;
  outline: none;
}
address {
  font-style: normal;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
html {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}
body {
  background-color: var(--neutral-98);
  font-size: var(--fs-body-medium);
  color: var(--neutral-5);
  line-height: var(--lh-body-medium);
 
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background-color: var(--neutral-90);
}
::-webkit-scrollbar-thumb {
  background-color: var(--neutral-60);
  border-radius: 4px;
}
/*
  *TYPOGRAPHY
  */
.headline-large {
  font-size: var(--fs-headline-large);
  line-height: var(--lh-headline-large);
  font-weight: var(--weight-bold);
  letter-spacing: var(--traking-n-025);
}
.headline-medium {
  font-size: var(--fs-headline-medium);
  line-height: var(--lh-headline-medium);
  font-weight: var(--weight-bold);
}
.headline-small {
  font-size: var(--fs-headline-small);
  line-height: var(--lh-headline-small);
  font-weight: var(--weight-bold);
}
.title-large {
  font-size: var(--fs-title-large);
  line-height: var(--lh-title-large);
  font-weight: var(--weight-semiBold);
}
.title-medium {
  font-size: var(--fs-title-medium);
  line-height: var(--lh-title-medium);
  font-weight: var(--weight-semiBold);
}
.title-small {
  font-size: var(--fs-title-small);
  line-height: var(--lh-title-small);
  font-weight: var(--weight-semiBold);
}
.body-large {
  font-size: var(--fs-body-large);
  line-height: var(--lh-body-large);
  font-weight: var(--weight-regular);
}
.body-medium {
  font-size: var(--fs-body-medium);
  line-height: var(--lh-body-medium);
  font-weight: var(--weight-regular);
}
.label-medium {
  font-size: var(--fs-label-medium);
  line-height: var(--lh-label-medium);
  font-weight: var(--weight-regular);
  letter-spacing: var(--traking-p-05);
}
/*
*REUSED STYLE
*/
.material-symbols-rounded {
  display: block;
  overflow: hidden;
  align-items: center;
  width: 1em;
  height: 1.2em;
  font-variation-settings: "FILL" 0, "wght" 3400, "GRAD" 0, "opsz" 24;
}
.container {
  padding-inline: 16px;
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
}
.section {
  padding-block-end: 60px;
}
.title-wrapper {
  margin-block-end: 32px;
}
.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--neutral-80);
  overflow: hidden;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
*REUSED STYLE
*/
.material-symbols-rounded {
  display: block;
  overflow: hidden;
  align-items: center;
  width: 1em;
  height: 1.2em;
  font-variation-settings: "FILL" 0, "wght" 3400, "GRAD" 0, "opsz" 24;
}
.container {
  padding-inline: 16px;
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
}
.section {
  padding-block-end: 60px;
}
.title-wrapper {
  margin-block-end: 32px;
}
.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--neutral-80);
  overflow: hidden;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
*HEADER
*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 4;
}
.header.active {
  animation: slide_in 500ms ease forwars;
  height: 72px;
  background-image: linear-gradient(to right, #f66337, #33150c);
}
@keyframes slide_in {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
.header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-toggle-btn .close,
.nav-toggle-btn.active .open {
  display: none;
}
.nav-toggle-btn .open,
.nav-toggle-btn.active .close {
  display: block;
}
.navbar {
  position: absolute;
  top: 85%;
  right: 16px;
  background-color: var(--neutral-100);
  min-width: 260px;
  padding: 10px;
  border-radius: var(--radius-large);
  visibility: hidden;
  opacity: 0;
  scale: 0.4;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
  box-shadow: var(--shadow-1);
  transform-origin: top right;
  z-index: 4;
}
.navbar.active {
  visibility: visible;
  opacity: 1;
  scale: 1;
}
.navbar,
.navbar-list,
.navbar-wrapper {
  display: grid;
  gap: 8px;
  align-items: center;
}
.navbar-link,
.btn-link {
  color: var(--neutral-5);
  padding: 6px 12px;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.btn-link {
  border-block-start: 1px solid var(--neutral-90);
  padding-block-start: 14px;
}
:is(.navbar-link, .btn-link):is(:hover, :focus-visible),
.navbar-link.active {
  color: var(--primary-100);
}
.navbar .btn {
  min-width: 100%;
}
/*
*COMPONENTE
*/
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius-full);
  max-width: max-content;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.btn-fill {
  background-color: var(--primary-100);
  color: var(--neutral-100);
}
.btn-fill:where(:hover, :focus) {
  background-color: var(--primary-90);
  box-shadow: var(--shadow-1);
}
.btn-fill:where(:active, :focus-visible) {
  background-color: var(--primary-80);
}
.btn-outline {
  color: var(--primary-100);
  box-shadow: inset 0 0 0 2px var(--primary-100);
}
.btn-outline:where(:hover, :focus, :focus-visible) {
  color: var(--neutral-100);
}
.btn-outline:hover {
  background-color: var(--primary-100);
}
.btn-outline:focus {
  background-color: var(--primary-90);
}
.btn-outline:where(:focus, :focus-visible) {
  background-color: var(--primary-80);
}
/*
*ICON BTN
*/
.icon-btn {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  background-color: var(--neutral-100);
  color: var(--neutral-10);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-3);
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.icon-btn:where(:hover, :focus-visible) {
  background-color: var(--neutral-90);
}
/*
*BADGE
*/
.badge {
  height: 32px;
  max-width: max-content;
  display: grid;
  place-items: center;
  padding-inline: 16px;
  background-color: var(--secondary-20);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-3);
  color: var(--white);
}
/*
*CARD
*/
.card {
  border-radius: var(--radius-large);
  overflow: hidden;
  box-sizing: var(--shadow-2);
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.card:where(:hover, :focus-within) {
  box-shadow: var(--shadow-4);
}
.card-banner {
  position: relative;
}
.card-banner,
.img-cover {
  transition: var(--transition-duration-smooth) var(--transition-easing-quick);
}
.card:where(:hover, :focus-within) .img-cover {
  scale: 1.05;
  rotate: 2deg;
}
.card :where(.badge, .icon-btn) {
  position: absolute;
  top: 20px;
}
.card .badge {
  left: 20px;
}
.card .icon-btn {
  right: 20px;
  opacity: 0;
  visibility: hidden;
  scale: 0.8;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.fav-btn {
  color: var(--error-100);
}
.fav-btn.active .material-symbols-rounded {
  font-variation-settings: "FILL" 1;
}
.card:where(:hover, :focus-within) .icon-btn {
  scale: 1;
  opacity: 1;
  visibility: visible;
}
.card-content {
  padding: 20px 20px 24px;
}
.card-title {
  margin-block: 8px;
  color: var(--neutral-20);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.card-title:where(:hover, :focus-visible) {
  color: var(--primary-100);
}
.card-text {
  color: var(--neutral-40);
}
.card-meta-list {
  padding-block-start: 16px;
  margin-block-start: 16px;
  border-block-start: 1px solid var(--neutral-90);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.card .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-20);
}
/*
*HERO
*/

.hero-banner {
  border-radius: 20px;
  display: none;
}
.hero {
  position: relative;
  background-image: linear-gradient(to right, #33150c, #f66337);
  color: var(--neutral-100);
  padding-block: 130px 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero-text {
  margin-block: 16px 32px;
}
.search-bar {
  background-color: var(--white);
  display: grid;
  padding: 8px;
  gap: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-4);
}
.search-item {
  position: relative;
  color: var(--neutral-50);
}
.search-item .search-item-field {
  height: 76px;
  padding: 40px 16px 12px;
  border-radius: var(--radius-medium);
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
  cursor: pointer;
}
.search-item .search-item-field:where(:hover, :focus) {
  background-color: var(--neutral-95);
}
.search-item :where(.label, .material-symbols-rounded) {
  position: absolute;
  pointer-events: none;
}
.search-item .material-symbols-rounded {
  top: 50%;
  right: 16px;
  translate: 0 -50%;
  color: var(--primary-100);
}
.search-btn {
  background: var(--primary-100);
  color: var(--neutral-100);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  padding-inline: 24px;
  gap: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.search-btn:where(:hover, :focus) {
  background-color: var(--primary-100);
}
.search-btn:where(:active, :focus-visible) {
  background-color: var(--primary-70);
}
.hero .bg-pattern {
  position: absolute;
  top: 50%;
  left: 25%;
  right: 0;
  translate: 0 -50%;
  min-height: 100%;
  pointer-events: none;
  z-index: -2;
}
/*
*PROPERTY
*/
.property {
  padding-block-start: 60px;
}
.property .section-text {
  margin-block: 8px 16px;
  color: var(--neutral-30);
}
.property-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, mixmax(280px, 1fr));
  gap: 16px;
}
/*
*FEATURE
*/
.feature-banner {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-extra-large);
}
.feature-content {
  padding: 24px 16px 0;
}
.feature-content .feature-text {
  margin-block: 16px;
}
.feature-text .feature-item {
  color: var(--neutral-30);
}
.feature-list {
  display: grid;
  gap: 12px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-icon {
  color: var(--primary-100);
  font-size: 2.2rem;
}
/*
*VIDEO
*/

.video-card {
  height: 260px;
  border-radius: 32px;
  background: linear-gradient(0deg, #0000004d, #0000004d),
    url("../img/property-8.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-items: center;
  overflow: hidden; /* Isso garante que o vídeo não ultrapasse os limites da caixa */
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border-radius: 32px; /* Isso faz com que o vídeo siga a curva da borda do contêiner */
}

.play-btn {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background-color: var(--neutral-100);
  color: var(--primary-100);
  border-radius: var(--radius-circle);
  animation: pulse 1.5s var(--transition-easing-quick) forwards infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #ffffff80;
  }
  100% {
    box-shadow: 0 0 0 20px #ffffff00;
  }
}
.play-btn .material-symbols-rounded {
  font-size: 4rem;
  font-variation-settings: "FILL" 1;
}
/*
*STORY
*/
.story .section-subtitle {
  color: var(--primary-100);
}
.story .section-title {
  margin-block: 12px;
}
.avatar-list {
  display: flex;
}
.avatar {
  position: relative;
  width: 60px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 3px solid var(--neutral-98);
  overflow: hidden;
}
.avatar:not(:first-child) {
  margin-inline-start: -10px;
}
.avatar .overlay-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: #000000bf;
  color: var(--white);
}
.story .title-wrapper {
  display: grid;
  gap: 16px;
}

.story-list {
  display: grid;
  gap: 16px;
}
.story-card {
  background-color: var(--neutral-50);
  position: relative;
  height: 100px;
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.story-card:where(:hover, :focus-visible) {
  scale: 0.99;
}
.story-card .overlay-content {
  position: absolute;
  inset: 0;
  background-color: linear-gradient(180deg, #00000000 33.33%, #000000cc 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
}
.story-card .rating-wrapper {
  display: flex;
  align-items: center;
  margin-block-start: 8px;
}
.story-card .rating-text {
  margin-inline-start: 12px;
  color: var(--neutral-80);
}
.story-card .material-symbols-rounded {
  font-variation-settings: "FILL" 1;
  color: var(--yellow);
}
.story-card .card-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
/*
*FOOTER
*/
.footer {
  background-color: var(--primary-20);
  color: var(--neutral-90);
}
.footer-top .container {
  padding-block: 60px;
  display: grid;
  gap: 24px;
}
.footer-text {
  margin-block: 16px;
}
.footer-list-title {
  margin-block-end: 16px;
}
.footer-list {
  display: grid;
  gap: 16px;
}
.footer-link {
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
}
.footer-link:where(:hover, :focus-visible) {
  color: var(--primary-100);
}
.social-list {
  display: flex;
  gap: 16px;
}
.footer-bottom {
  border-block-start: 1px solid var(--neutral-20);
}
.footer-bottom .container {
  padding-block: 20px;
  display: grid;
  justify-content: center;
}
/*
*MEDIA QUERIES
*/
/*
* responsive for larger than 768px screen
*/
@media (min-width: 768px) {
  /*
  *CUSTOM PROPERTY
  */
  :root {
    /*TYPOGRAPHY*/
    --fs-headline-large: 5.2rem;
    --fs-headline-medium: 4rem;
    --fs-headline-small: 3.6rem;
    /*LINE HEIGHT*/
    --lh-headline-large: 64px;
    --lh-headline-medium: 52px;
    --lh-headline-small: 48px;
  }
  /*
  *REUSED STYLE
  */
  .container {
    max-width: 720px;
  }
  .section {
    padding-block-end: 80px;
  }
  .title-wrapper,
  .story .title-wrapper {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 40px;
    margin-block-end: 48px;
    align-items: center;
  }

  /*
  *HERO
  */
  .hero {
    padding-block: 160px 100px;
  }
  .search-bar {
    grid-template-columns: 160px 100px 1fr max-content;
    gap: 0;
  }
  .search-item .material-symbols-rounded {
    display: none;
  }
  .search-item:not(:last-of-type)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 100%;
    bottom: 16px;
    width: 1;
    background-color: var(--neutral-90);
  }
  .search-btn {
    height: 100%;
    margin-inline-start: 8px;
  }
  /*
  *PROPERTY
  */
  .property {
    padding-block-start: 80px;
  }
  .property .section-text {
    margin-block-end: 0;
  }
  .property-list {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas a partir de 768px */
  }
  /*
  *FEATURE
  */
  .feature-content {
    padding-block-start: 32px;
  }
  .feature-content .feature-text {
    margin-block: 16px 24px;
    line-height: 28px;
  }
  .feature-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  /*
  *VIDEO
  */
  .video-card {
    height: 400px;
  }
  .play-btn {
    width: 96px;
    height: 96px;
  }
  .play-btn .material-symbols-rounded {
    font-size: 4.8rem;
  }
  /*
  *STORY
  */
  .story .section-title {
    margin-block: 16px;
  }
  .avatar {
    width: 80px;
    height: 60px;
  }
  .story-list {
    grid-template-columns: 1fr 1fr;
  }
  /*
  *FOOTER
  */
  .footer-top .container {
    padding-block: 80px;
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand {
    grid-column: 1/4;
  }
  .footer-text {
    max-width: 400px;
  }
}
/*
* responsive for larger than 992px screen
*/
@media (min-width: 992px) {
  /*
*CUSTOM PROPERTY
*/
  :root {
    /*
    * TYPOGRAPHY
    */
    /*font size*/
    --fs-body-large: 1.8rem;
    /*line heigth*/
    --lh-body-large: 32px;
  }
  /*
  *REUSED STYLE
  */
  .container {
    max-width: 950px;
  }
  /*
  *HEADER
  */
  .nav-toggle-btn {
    display: none;
  }
  .navbar,
  .navbar-list,
  .navbar-wrapper {
    all: unset;
    display: flex;
    align-items: center;
  }
  .navbar,
  .navbar-list {
    flex-grow: 1;
  }
  .navbar-list {
    justify-content: center;
  }
  .navbar-link,
  .btn-link {
    color: var(--neutral-80);
    line-height: 48px;
  }
  .navbar-link {
    padding: 0 24px;
  }
  :is(.navbar-link, .btn-link):is(:hover, :focus-visible),
  .navbar-link.active {
    color: var(--primary-100);
  }
  .navbar-link.active {
    position: relative;
  }
  .navbar-link.active::before {
    content: "";
    position: absolute;
    left: 50%;
    translate: -50% 0;
    bottom: 8px;
    width: 4px;
    height: 4px;
    border-radius: var(--radius-circle);
    background-color: var(--neutral-100);
  }
  .btn-link {
    color: var(--neutral-100);
    border: none;
    padding: 0;
  }
  .navbar .btn {
    min-width: max-content;
  }
  .navbar-wrapper {
    gap: 24px;
  }

  .property-list {
    grid-template-columns: repeat(3, 1fr);
  }

  /*
  *HERO
  */
  .hero .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .hero-content {
    grid-column: 1/7;
  }
  .hero-banner {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    max-width: 720px;
    z-index: -1;
  }
  /*
  *Property
  */
  .property .section-text {
    max-width: 640px;
  }
  /*
  *FEATURE
  */
  .feature .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feature-content {
    padding: 40px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
  .feature-banner {
    aspect-ratio: auto;
  }
  .feature-2 .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feature-2 .feature-banner {
    order: 1;
  }
}

/*
*CSS COOKIES
*/
#cookieConsentBanner {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 9999;
}

#cookieConsentBanner button {
  background-color: #28a745;
  color: white;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition-duration-quick) var(--transition-easing-quick);
  border-radius: 16px;
}
#cookieConsentBanner button:where(:hover, :focus) {
  background-color: var(--primary-40);
}

.contact {
  padding-block: 130px 60px;
}

.contact-info .social-list {
  display: flex;
}
