/* ===========================
   VARIÁVEIS E BASE
=========================== */
:root {
  --color-base-light: #fff;
  --color-primary-dark: #03043d;
  --color-primary: #000250;
  --color-primary-light: #1f689d;
   --color-primary-light2: #a6d4f5;
  --color-secondary: #393939;
  --color-secondary-light: #c8c8c8;
  --scroll: #000150c3;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url(toglle.png) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.noUi-target {
    border-radius: 50px;
    border: none;
    height: .5rem;
    
color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(241, 250, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.text-white{
    color: #fff !important;
}

.noUi-connect {
    background: var(--color-primary-light);
}

.noUi-horizontal .noUi-handle {
    text-decoration: none;
    width: 34px;
    height: 28px;
    right: -17px;
    top: -5px;
}

.noUi-handle:after, .noUi-handle:before {
    background: transparent;
}

.noUi-handle {
    background: var(--color-primary-light);
    border-radius: 50%;
    border-color: transparent;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: grab;
    width: 1.2rem !important;
    height: 1.2rem !important;

}

.noUi-handle:active {
    cursor: grabbing;
}

.glass-effect li a {
  background-color: transparent !important;
  color: var(--color-base-light) !important;
}

ul.glass-effect.dropdown-menu {
  border-radius: 10px !important;
  color: var(--color-base-light) !important;
}

.glass-effect li a:hover {
  background-color: rgba(241, 250, 255, 0.2) !important;
}

.bg-lider {
  background-color: var(--color-primary);
}

::-webkit-scrollbar {
  width: 6px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--color-secondary-light);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll);
}

a {
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  background: linear-gradient(
    135deg,
    rgb(239, 239, 239),
    rgba(255, 255, 255, 1)
  );
}

::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

b {
  color: var(--color-primary-light);
}

b.type-02 {
  color: #18b7cf;
}

.divisor {
  width: 100%;
  height: 8px;
  background: linear-gradient(
    to right,
    var(--color-primary),
    var(--color-primary-light),
    var(--color-primary)
  );
}
.h-100 {
  height: 100% !important;
}

.h-95 {
  height: 95%;
}

.h-90 {
  height: 90%;
}

.h-85 {
  height: 86.2%;
}

.h-80 {
  height: 80%;
}

.h-70 {
  height: 70%;
}

.w-100 {
  width: 100% !important;
}

.w-90 {
  width: 90%;
}

.w-80 {
  width: 80%;
}

.w-70 {
  width: 70%;
}

.w-60 {
  width: 60%;
}

.w-50 {
  width: 50%;
}
.w-40 {
  width: 40%;
}

.w-30 {
  width: 30%;
}

.w-25 {
  width: 25%;
}

.w-20 {
  width: 20%;
}

.w-15 {
  width: 15%;
}

.w-10 {
  width: 10%;
}

.w-5 {
  width: 5%;
}

/* ===========================
   TEXTOS E TÍTULOS
=========================== */
.section-title {
  position: relative;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -1px;
  color: var(--color-secondary);
  margin-top: -11px;
  isolation: isolate;
}

.text-primary {
  color: var(--color-primary) !important;
}

.section-sub {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  color: var(--color-secondary);
  margin-top: -20px;
}

.card-title {
  font-size: 1.25rem;
}

.highlight-title {
  font-weight: bold;
  font-size: 2rem;
  color: var(--color-primary);
}

.h1,
h1 {
  font-size: calc(1.27rem + 1.5vw);
  font-weight: 700;
}

/* ===========================
   BOTÕES
=========================== */
.btn-primary,
.btn-lider {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-base-light);
  font-weight: 600;
}

.btn-glass {
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
  padding: 6px 15px;
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(241, 250, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-glass.active {
  color: #fff;
  background-color: rgba(31, 104, 157, 0.6) !important;
  border: 1px solid rgba(31, 104, 157, 0.7) !important;
}

.btn-glass.active:hover {
  color: #fff;
  background-color: rgba(31, 105, 157, 0.679) !important;
  border: 1px solid rgba(31, 104, 157, 0.5) !important;
}

.btn-glass:hover {
  color: #fff;
  background-color: rgba(31, 105, 157, 0.679) !important;
  border: 1px solid rgba(31, 104, 157, 0.5) !important;
}

.btn-primary:hover,
.btn-lider:hover {
  color: var(--color-base-light) !important;
  background: var(--color-primary-dark) !important;
  border: 1px solid var(--color-primary-dark) !important;
}

.btn-secondary {
  background: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  color: var(--color-base-light);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--color-secondary-light) !important;
  border: 1px solid var(--color-secondary-light) !important;
}

/* ===========================
   PRELOADER
=========================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999999;
}

#preloader.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* ===========================
   NAVBAR
=========================== */
.glass-effect {
  backdrop-filter: blur(4px);
  padding: 6px 15px;
  -webkit-backdrop-filter: blur(4px);
  background-color: rgba(241, 250, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.password-remember,
label {
  color: var(--color-primary-light);
  font-weight: 500;
  font-size: 0.9rem;
}

.glass-effect.type-2 {
  backdrop-filter: blur(6px);
  padding: 6px 15px;
  -webkit-backdrop-filter: blur(6px);
  background-color: rgba(241, 250, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

@media (max-width: 991px) {
  .navbar {
    position: fixed;
    background-color: rgb(0 2 80 / 70%);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 20px;
  }

  .glass-effect.dropdown-menu {
    position: absolute;
    left: -20px;
    background-color: var(--color-primary) !important;
  }

  .nav-link img {
    width: 35px;
    height: 35px;
    background-color: #fff;
  }

  .navbar-nav.glass-effect {
    backdrop-filter: none;
    padding: 6px 15px;
    -webkit-backdrop-filter: none;
    background-color: transparent;
    border: none;
    border-radius: 30px;
    box-shadow: none;
  }

  .nav-link,
  .nav-link-footer {
    color: var(--color-primary-light) !important;
    font-weight: 400;
    text-decoration: none !important;
    transition: all 0.1s ease-in-out;
  }

  .social-icon i {
    color: var(--color-base-light) !important;
    font-size: 2.4rem !important;
  }
}

.nav-link,
.nav-link-footer {
  color: var(--color-base-light);
  font-weight: 400;
  text-decoration: none !important;
  transition: all 0.1s ease-in-out;
}

.nav-link:hover:not(.active),
.nav-link-footer:hover {
  color: var(--color-primary) !important;
    padding: 8px 15px !important;
  transform: scale(1.08);
  border-radius:30px;
}

.nav-link.active {
  color: var(--color-primary) !important;
  backdrop-filter: blur(15px);
  padding: 6px 35px !important;
  -webkit-backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.1s ease-in-out;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .nav-link.active {
        background: rgba(255, 255, 255, 0.85) !important;
    }
}

.nav-link.active:hover {
  transform: scale(0.95);
}

.social-icon i {
  color: var(--color-base-light);
  font-size: 1.4rem;
}

.social-icon i:hover {
  color: var(--color-primary);
}

.logo-sombra {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.8));
}

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-base-light);
  padding: 20px 0;
}

/* ===========================
   Home Page
=========================== */
.hero {
  background: url("../images/hero.png") center/cover;
  height: 99vh;
  position: relative;
  z-index: 9;

  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.35;
  z-index: 0;
}

.hero .container {
  position: absolute;
  bottom: 50px;
  z-index: 1;
}

@media (max-width: 991px) {
  .hero .container {
            top: 160px;
  }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-pointer:hover {
  background: #c2c2c2 !important;
  transition: color 0.3s ease;
}

.cursor-pointer i {
  cursor: pointer;
  color: var(--color-primary-light);
}

.transparent-form {
  background-color: rgba(241, 250, 255, 0.2);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
  color: #5f5f5f;
}

.transparent-form:focus {
  background-color: rgba(241, 250, 255, 0.2);
  border-color: var(--color-primary);
  box-shadow: none;
}

.transparent-form::placeholder {
  color: #707070;
}

.choices__list--dropdown {
  z-index: 9 !important;
}

.choices__inner {
  background-color: rgba(241, 250, 255, 0.2);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);

  color: var(--color-base-light);
  border-radius: 30px !important;
}

.choices__list--dropdown {
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.choices__list--dropdown .choices__item {
  color: var(--color-primary-light) !important;
  background-color: var(--color-base-light) !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: #9f9f9f5f !important;
}

.slider-label {
  font-weight: 500;
  margin-bottom: 5px;
}

.range-value {
  font-weight: bold;
  color: #000250;
}

.simulador-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.grafico-container {
  text-align: center;
}

.grafico-container h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

.grafico-container p {
  margin: 0;
  font-size: 0.9rem;
}

#graficoParcelas {
  max-width: 260px;
  margin: auto;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: #ddd;
  border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #000250;
  cursor: pointer;
  border-radius: 50%;
  margin-top: -6px;
  border: none;
  transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #000080;
}

input[type="range"]::-moz-range-track {
  height: 8px;
  background: #ddd;
  border-radius: 5px;
}

input[type="range"]::-moz-range-progress {
  background-color: #007bff;
  height: 8px;
  border-radius: 5px;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000250;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #007bff;
  border-radius: 5px;
}

input[type="range"]::-ms-fill-upper {
  background: #ddd;
  border-radius: 5px;
}

input[type="range"]::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #000250;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* ===========================
   CONTATO
=========================== */
.contact-card {
  max-width: 900px;
  margin: -5rem auto 3rem;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1 1 40%;
  padding: 2rem 2.5rem;
  border-right: 1px solid #f0f0f0;
  color: #222;
}
.contact-info h3 {
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.contact-info p,
.contact-info li {
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.contact-info ul {
  list-style: none;
  padding-left: 0;
}
.contact-info ul li {
  display: flex;
  align-items: center;
}
.contact-info ul li i {
  margin-right: 0.7rem;
  color: #000250;
  font-size: 1.25rem;
}
.social-icons {
  margin-top: 1rem;
}
.social-icons a {
  display: inline-block;
  margin-right: 0.8rem;
  color: #000250;
  font-size: 1.3rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #000250;
}

/* Formulário */
.contact-form {
  flex: 1 1 60%;
  padding: 2rem 2.5rem;
}
.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.5rem;
}
.contact-form form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-form form input,
.contact-form form textarea {
  grid-column: span 2;
  padding: 0.8rem 1rem;
  border: 1.5px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}
.contact-form form input[type="text"],
.contact-form form input[type="email"] {
  grid-column: span 1;
}
.contact-form form textarea {
  min-height: 120px;
}
.contact-form form button {
  grid-column: span 2;
  padding: 0.9rem;
  background: #000250;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.contact-form form button:hover {
  background: #084cd6;
}

@media (max-width: 767px) {
  .contact-card {
    flex-direction: column;
  }
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
    border-right: none;
    padding: 1.5rem 1.8rem;
  }
  .contact-form form {
    display: flex;
    flex-direction: column;
  }
  .contact-form form input,
  .contact-form form textarea,
  .contact-form form button {
    grid-column: auto !important;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.img-carousel-imovel {
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.active > .page-link,
.page-link.active {
  z-index: 3;
  color: var(--color-base-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.page-link:hover:not(.active) {
  z-index: 2;
  color: var(--color-primary-light);
  background-color: #d5d2d2;
  border-color: var(--bs-pagination-hover-border-color);
}

.page-link {
  color: var(--color-primary);
}

.img-carousel-imovel-details {
  height: 400px;
  object-fit: cover;
  object-position: center;
}
