@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --clr-primary: #193F58;
  --clr-secondary: #65A1EE;
  --clr-terciary: #E0EFE3;
  --light-blue: #F5F9FF;
  --ff-primary: 'Work Sans';
  --white: #fff;
  --black: #030406;
}

body {
  margin: 0;
  padding: 0 !important;
  font-family: var(--ff-primary), sans-serif;
  color: var(--clr-primary);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: never;
  text-wrap: balance;
}

a:hover {
  color: #000000;
}

#section-ads {
  display: flex;
  justify-content: center;
  width: 100%;
}

#section-ads a {
  width: unset;
  padding: 20px;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  object-fit: contain;
}

.title {
  font-size: 45px;
  font-weight: 700;
  line-height: 45px;
  margin: 0;
}

/* Utility classes */
.custom-container {
  --max-width: 1220px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - (2 * var(--padding)));
  margin-inline: auto;
}

.cta {
  padding: 16px 30px;
  border-radius: 20px;
  background: var(--clr-secondary);
  color: var(--white);
  border: none;
  font-weight: 700;
  transition: all 0.6s ease;
  text-transform: uppercase;
}

.cta:hover {
  transform: scale(1.1);
  box-shadow: var(--box-shadow);
}

/* navbar */
.nav {
  padding: 40px 0;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 50px;
}

.nav .container {
  transition: all 0.6s ease;
}

.nav .cta {
  font-size: 16px;
}

.scrolling {
  transform: scale(0.9);
  padding: 20px;
  border-radius: 30px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px) saturate(180%);
  background: rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.4s ease, filter 0.4s ease;
  box-shadow: rgba(31, 38, 135, 0.2) 0px 8px 32px, rgba(255, 255, 255, 0.3) 0px 4px 20px inset;
}

.nav .container.scrolling .nav-logo img {
  height: 25px;
  padding-left: 10px;
  margin-top: 2px;
}

.nav-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-menu ul li {
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-menu ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--clr-secondary);
  transition: all 0.3s ease;
}

.nav-menu ul li:hover::after {
  width: 100%;
}

.nav-menu ul li:hover {
  color: var(--clr-secondary);
}

.nav-menu ul li:last-of-type:hover::after {
  content: unset;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Hero section */
.hero {
  padding: 120px 0 100px 0;
  background-image: url('/img/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 643px;
  z-index: 0;
}

.hero__inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  margin-inline: auto;
  margin-block: 80px 55px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 45px;
}

.hero p {
  font-size: 25px;
  margin-bottom: 30px;
}

.hero .right-apartment {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.hero .left-apartment {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleX(-1);
  z-index: -1;
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--clr-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-box {
  /* position: absolute;
  left: 50%;
  transform: translateX(-50%); */
  border-radius: 40px;
  background: var(--clr-terciary);
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding: 60px;
}

.hero-box .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.topic {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topic-text {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.topic-text span {
  font-size: 20px;
  font-weight: 700;
}

.topic-text p {
  font-size: 16px;
  margin: 0;
  text-wrap: auto;
}

/* Melhor oferta em 3 passos */
.melhor-oferta {
  margin-top: 195px;
}

.melhor-oferta .inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.melhor-oferta-slider {
  width: 40%;
}

.oferta-progress {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.card {
  border-radius: 40px 40px 0 0;
  background: var(--light-blue);
  box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
  margin: 20px;
  margin-bottom: 0;
  padding-block: 40px 25px;
  padding-inline: 35px;
  height: 240px;
}

.card__header {
  margin-bottom: 25px;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.num-box {
  color: var(--white);
  font-size: 40px;
  font-weight: 700;
}

.card__header span {
  font-size: 28px;
  font-weight: 700;
  line-height: 30px;
}

.card p {
  font-size: 18px;
  text-wrap: auto;
}

/* Trustpilot */
.trustpilot {
  background-color: var(--clr-primary);
  color: var(--white);
  width: 100%;
  padding-block: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.trustpilot span {
  font-size: 25px;
}

.arrows {
  display: flex;
  gap: 50px;
}

.arrows button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background-color: #FFF;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
  transition: transform .3s ease-in-out;
  cursor: pointer;
}

.arrows button:hover {
  background-color: var(--clr-primary);
  transform: scale(1.1);
}

.arrows .prev:hover img,
.arrows .prev-review:hover img,
.arrows .next:hover img,
.arrows .next-review:hover img {
  filter: brightness(0) invert(1);
}


.next img,
.next-review img,
.prev img,
.prev-review img {
  width: 20px;
}

.arrows button .next,
.arrows button .next-review {
  transform: rotate(180deg);
}

/* Dots do slider */
.custom-dots .slick-dots,
.custom-dots-reviews .slick-dots {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-dots-reviews .slick-dots {
  justify-content: center;
}

.custom-dots .slick-dots li,
.custom-dots-reviews .slick-dots li {
  margin-right: 16px;
  margin-left: 0;
}

.custom-dots .slick-dots li button,
.custom-dots-reviews .slick-dots li button {
  background-color: rgba(0, 26, 21, 0.20);
  border: none;
  width: 40px;
  height: 4px;
  display: block;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  transition: all 0.5s ease;
}

.custom-dots .slick-dots li.slick-active button,
.custom-dots-reviews .slick-dots li.slick-active button {
  background-color: var(--clr-primary);
}

/* Cladia Poupança */
.claudia {
  padding-block: 100px;
  background-color: var(--light-blue);
}

.claudia__wrapper {
  display: flex;
  flex-direction: column;
  gap: 105px;
}

.simulacao {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.sim-box {
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
  transition: transform .3s ease;
}

.sim-box:hover {
  transform: scale(1.1);
}

.sim-header {
  border-radius: 30px 30px 0 0;
  background: rgba(224, 239, 227, 0.50);
}

.sim-header h5 {
  font-size: 20px;
  font-weight: 700;
  padding: 20px 15px;
}

.sim-body {
  padding: 20px 25px;
}

.results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.results-values {
  text-align: end;
}

.results-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-labels p,
.results-values p {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 15px;
}

.results-values p {
  font-size: 22px;
  font-weight: 700;
}

.claudia-box {
  position: relative;
  max-width: 370px;
  padding: 35px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 0 20px 0 rgba(25, 63, 88, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 25px;
  transition: transform .3s ease;
}

.claudia-box:hover {
  transform: scale(1.1);
}

.claudia-box p {
  margin-top: 30px;
  font-size: 18px;
  text-wrap: auto;
}

.claudia-box img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -45px);
  width: 90px;
  height: 90px;
}

.condicoes .results-values {
  filter: blur(6px);
}

/* nossos parceiros */
.nossos-parceiros {
  text-align: center;
}

.partner-wrapper {
  position: relative;
  overflow: hidden;
  margin-block: 70px;
}

.partner-slider::before,
.partner-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 4;
}

.partner-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partner-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partner-outer img {
  max-width: 80%;
  margin: 0 auto;
  height: 40px;
  object-fit: contain;
}

/* Reviews */
#reviews {
  background-color: var(--clr-terciary);
  padding-block: 70px;
  padding-inline: 10px;
}

.reviews-slider {
  margin-block: 35px;
}

.review__wrapper .title {
  text-align: center;
}

.review {
  max-width: 380px;
  min-height: 270px;
  border-radius: 30px;
  background: #FFF;
  box-shadow: var(--box-shadow);
  padding: 40px 35px;
  position: relative;
  margin: 50px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.quote {
  position: absolute;
  top: 15px;
  left: 3%;
  z-index: 0;
}

.review-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  z-index: 1;
}

.review h6 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  z-index: 1;
}

.review p {
  text-align: start;
  font-size: 14px;
  line-height: 16px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-footer span {
  font-size: 12px;
  font-weight: 700;
}

.review-footer img {
  height: 25px;
}

.custom-dots-reviews .slick-dots li button {
  background-color: white;
}

#reviews .arrows {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.reviews-slider .slick-slide {
  opacity: 0.35;
  transition: opacity .3s ease;
}

.reviews-slider .slick-active {
  opacity: 1;
}

/* Footer */
footer {
  padding-block: 75px 40px;
}

.footer__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 55px;
}

footer .title {
  font-size: 28px;
  font-weight: 700;
  line-height: 35px;
  max-width: 760px;
  text-wrap: auto;
}

footer .cta {
  margin-bottom: 30px;
}

/* mobile fixed footer */
.mobile-cta-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--clr-primary);
  padding-block: 30px;
  z-index: 999;
  display: none;
  border-radius: 40px 40px 0 0;
}

.mobile-cta-footer .cta--full {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1135px) {
  .card {
    height: 300px;
  }
}

@media (max-width: 991px) {
  .nav .container {
    max-width: 90%;
  }

  .nav-menu ul {
    gap: 0 30px;
  }

  .nav-menu ul li {
    font-size: 13px;
  }

  .nav-menu ul li {
    font-size: 16px;
  }

  .hero {
    height: 550px;
  }

  .hero-box .inner {
    display: flex;
    align-items: flex-start;
  }

  .hero__inner {
    gap: 20px;
    margin-block: 32px 45px
  }

  .hero h1 {
    font-size: 40px;
    line-height: 32px;
  }

  .topic {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .topic-text {
    align-items: center;
  }

  .hero .right-apartment,
  .hero .left-apartment {
    height: 70%;
  }

  .melhor-oferta {
    margin-top: 250px;
  }

  .oferta-progress {
    width: 30%;
  }

  .melhor-oferta-slider {
    width: 50%;
  }

  .melhor-oferta .title {
    font-size: 32px;
    line-height: 35px
  }

  .card {
    padding-block: 30px 25px;
    padding-inline: 30px;
    height: 265px;
  }

  .card__header {
    gap: 15px;
  }

  .card__header span {
    font-size: 24px;
    line-height: 1.2;
  }

  .card p {
    font-size: 16px;
  }

  .num-box {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }

  .reviews-slider .slick-slide {
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .nav-menu button {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-menu ul li::after {
    display: none;
  }

  .nav .container {
    max-width: 80%;
  }

  .nav-logo {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .hero-box .inner {
    flex-direction: column;
    max-width: 360px;
    margin-inline: auto;
    gap: 30px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .topic {
    flex-direction: row;
    text-align: start;
  }

  .topic-text {
    align-items: flex-start;
  }

  .card {
    max-width: 450px;
    margin-inline: auto;
    padding-block: 40px 25px;
    padding-inline: 35px;
  }

  .card__outer {
    padding-inline: 20px;
  }

  .card__header {
    margin-bottom: 25px;
  }

  .card__header span {
    line-height: 1.1;
  }

  .melhor-oferta {
    margin-top: 380px;
  }

  .melhor-oferta .inner {
    flex-direction: column;
  }

  .oferta-progress {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 15px;
  }

  .melhor-oferta-slider {
    width: 100%;
    order: 2;
  }

  .arrows {
    display: none;
  }

  .trustpilot span {
    font-size: 18px;
  }

  .sim-box {
    width: 100%;
  }

  .claudia-box {
    max-width: 100%;
    margin-top: 20px;
  }

  .claudia__wrapper {
    gap: 55px;
  }

  .sim-header h5 {
    text-align: center;
  }

  .review {
    margin-inline: auto;
  }

  .title {
    font-size: 35px;
    line-height: 1.1;
    text-align: center;
  }

  .reviews-slider {
    margin-top: 0;
  }

  .footer__header {
    gap: 30px;
  }

  .footer__header img {
    height: 80px;
  }

  footer .title {
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
  }

  .footer__wrapper p {
    text-align: center;
  }

  .mobile-cta-footer {
    display: block;
  }

  body {
    padding-bottom: 120px !important;
  }
}

@media (max-width: 580px) {
  .nav .container.scrolling .nav-logo img {
    height: 19px;
  }
}

@media(max-width: 510px) {
  .melhor-oferta {
    margin-top: 460px;
  }

  .card {
    height: 240px;
  }

  .trustpilot {
    justify-content: space-evenly;
    gap: 0;
  }

  .trustpilot p,
  .trustpilot span {
    font-size: 12px;
  }

  .trustpilot img {
    height: 16px;
  }
}

@media (max-width: 475px) {

  .title {
    font-size: 28px;
  }

  .nav .container.scrolling .nav-logo img {
    height: 18px;
  }

  .hero {
    height: 500px;
  }

  .hero-box {
    padding: 35px 30px;
  }

  .hero p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 25px;
    line-height: 25px;
  }

  .hero .right-apartment,
  .hero .left-apartment {
    height: 55%;
  }

  .cta {
    font-size: 15px;
  }

  .icon-box {
    width: 50px;
    height: 50px;
  }

  .icon-box img {
    width: 25px;
    height: 25px;
  }

  .topic-text {
    gap: 5px;
  }

  .topic-text span {
    font-size: 18px;
  }

  .topic-text p {
    margin: 0;
    font-size: 16px;
  }

  .melhor-oferta {
    margin-top: 300px;
  }

  .results-labels p {
    font-size: 16px;
  }

  .results-values p {
    font-size: 18px;
  }

  .sim-header h5 {
    font-size: 18px;
    padding: 20px;
  }

  .review {
    max-width: 90%;
  }

  .footer__header {
    flex-direction: column;
    margin-bottom: 50px;
  }

  footer .title {
    text-align: center;
    text-wrap: balance;
  }

}

@media (max-width: 445px) {
  .melhor-oferta .custom-container {
    --padding: 8px;
  }

  .card__header span {
    font-size: 20px;
  }

  .icon-box {
    width: 45px;
    height: 45px;
  }

  .num-box {
    font-size: 26px;
  }

  .card {
    padding-inline: 30px;
  }

  .card p {
    font-size: 15px;
  }
}

@media (max-width: 405px) {
  .nav .cta {
    padding: 0 15px;
  }

  .melhor-oferta {
    margin-top: 340px;
  }
}

@media (max-width: 395px) {
  .melhor-oferta {
    margin-top: 400px;
  }

  .review-footer img {
    height: 16px;
  }

  .review-body {
    margin-bottom: 15px;
  }
}

@media (max-width: 350px) {
  .nav-menu ul li:last-of-type {
    display: none;
  }

  .nav-logo {
    width: 100%;
    text-align: center;
  }

  .nav .container {
    max-width: 70%;
  }

  .melhor-oferta {
    margin-top: 450px;
  }

  .card {
    height: 265px;
  }


  .results-labels p {
    font-size: 14px;
  }

  .results-values p {
    font-size: 16px;
  }

  .sim-header h5 {
    font-size: 16px;
  }
}