@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

:root {
  --clr-accent: #009689;
  --dark-green: #23776E;
  --bg-green: #F0FDFA;
  --bg-grey: #F9FAFC;
  --blue: #15326C;
  --yellow: #F9BA00;
  --white: #fff;
  --placeholder: #ABABAB;
  --grey: #808080;
  --light-grey: #F5F5F5;
  --ff-primary: 'Sora';
  --space-xl: 100px;
  --space-l: 60px;
}

html,
body {
  margin: 0;
  padding: 0 !important;
  font-family: var(--ff-primary), sans-serif;
  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: 1140px;
  --padding: 2rem;
  width: min(var(--max-width), 100% - (2 * var(--padding)));
  margin-inline: auto;
}

.custom-container-xl {
  --max-width: 1320px;
}

.cta {
  padding-block: 10px;
  padding-inline: 20px;
  border-radius: 16px;
  background: var(--clr-accent);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.6s ease;

  display: flex;
  align-items: center;
  gap: 8px;
}

.cta img {
  height: 16px;
}

.cta:hover {
  transform: scale(1.1);
  box-shadow: var(--box-shadow);
}

.bold {
  font-weight: 700;
}

.txt-white {
  color: var(--white);
}

.title-xl {
  font-size: 60px;
}

.text-accent {
  color: var(--clr-accent);
}

/* Logo */
logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

logo img {
  height: 35px;
}

logo span {
  color: var(--clr-accent);
  font-size: 20px;
}

/* Navbar */
nav {
  width: 100%;
  padding-block: 16px;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .cta {
  font-size: 14px;
}

.arrow-wrapper {
  height: 30px;
  width: 30px;
  background-color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.nav-arrow img {
  height: 13px;
}

.arrow-up {
  filter: brightness(0) invert(1);
}

/* badge */
.badge {
  padding-block: 8px;
  padding-inline: 16px;
  background-color: var(--bg-green);
  border: 1px solid var(--clr-accent);
  border-radius: 20px;

  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge img {
  height: 25px;
  width: 22px;
}

.badge span {
  color: var(--clr-accent);
  font-size: 14px;
  line-height: 1.1;
}

/* hero */
.hero-section {
  padding-block: var(--space-xl);
  background: url('/img/hero.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.hero--wrapper {
  display: flex;
  justify-content: space-between;
}

.hero-txt {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  max-width: 465px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullets li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 26px;
}

.bullets li::before {
  content: "";
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 25px;
  height: 25px;
  background-image: url('/img/icons/bullets.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hero-form {
  width: 100%;
  max-width: 380px;
  min-height: 430px;
}

.hero-form-box {
  z-index: 2;
  border-radius: 20px;
  border: 0.5px solid var(--clr-accent);
  background: var(--white);
  width: 100%;
  overflow: hidden;
}

.step {
  width: 100%;
}

.form-inner {
  display: flex;
  flex-direction: column;
}

.form-header {
  background-color: var(--clr-accent);
  width: 100%;
  padding-block: 34px 28px;
  padding-inline: 28px;
  text-align: center;
}

.question {
  font-size: 18px;
}

.form-body {
  padding-block: 35px;
  padding-inline: 40px;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.option {
  position: relative;
  cursor: pointer;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option span {
  min-height: 55px;
  width: 100%;
  border: 1px solid rgba(0, 150, 137, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--clr-accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: all 0.25s ease;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.option input:checked+span {
  background: rgba(0, 150, 137, 0.08);
  border-color: var(--clr-accent);
}

.option:hover span {
  border-color: var(--clr-accent);
  background: rgba(0, 150, 137, 0.04);
}

.option-link {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 25px;
  background-color: #fff;
  border: 1px solid rgba(0, 150, 137, 0.20);
  color: var(--clr-accent);
  border-radius: 100px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.option-link:hover {
  background-color: var(--clr-accent);
  color: #fff;
}

.form-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.form-cta .cta {
  border-radius: 999px;
  padding-inline: 18px;
  padding-block: 14px;
  min-width: 132px;
  justify-content: center;
}

.title-slider {
  text-align: center;
  margin-block: 20px 50px;
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 150, 137, 0.2);
  border-bottom: 1px solid rgba(0, 150, 137, 0.2);
}

.title-slider h2 {
  padding-block: 32px;
  font-size: 28px;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.title-slider-track {
  display: flex;
  width: max-content;
  animation: marquee-left 18s linear infinite;
}

.title-slider-item {
  flex-shrink: 0;
  padding-right: 80px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Advantages */
.advantages {}

.advantages-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages-title {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.advantages-title h2 {
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.1;
}

.advantages-title p {
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.50);
}

.advantages-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}

.advantage-card {
  background: rgba(0, 150, 137, 0.05);
  border: .5px solid var(--clr-accent);
  border-radius: 18px;
  padding: 28px 24px 24px;
  text-align: center;
  min-height: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 150, 137, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.advantage-card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.advantage-card-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.advantage-card-heading .value {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  color: var(--clr-accent);
}

.advantage-card-heading .label {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--clr-accent);
  margin-top: 4px;
}

.advantage-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #8a8a8a;
  max-width: 240px;
}

.simulador {
  padding-top: 80px;
}

.simulador .badge {
  margin-bottom: 22px;
}

.simulador-box {
  background: #f2f2f2;
  border-radius: 24px;
  padding: 60px 90px;
}

.simulador-header {
  margin: 0 auto 50px;
  text-align: center;
}

.simulador .title {
  font-size: 35px;
}

.steps-slider {
  overflow: hidden;
}

.steps-slider .swiper-wrapper {
  align-items: stretch;
}

.steps-slider .swiper-slide {
  height: auto;
}

.step-card {
  background: #fff;
  border: 1px solid var(--clr-accent);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.step-card-body {
  padding-block: 36px;
  padding-inline: 30px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 6px 22px;
  border-radius: 50px;
  background: #DEECEB;
  color: var(--clr-accent);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.step-title {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--clr-accent);
}

.step-text {
  margin: 0;
  font-size: 14px;
  color: var(--grey);
  text-wrap: auto;
}

.step-image {
  margin-top: auto;
  height: 145px;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.simulador-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.steps-pagination {
  display: none;
}

/* News Section */
.news {
  padding: 80px 0;
}

.news-wrapper {
  background: rgba(128, 128, 128, 0.07);
  border-radius: 30px;
  padding: 60px 90px;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header .badge {
  margin-bottom: 14px;
}

.news-header .title {
  font-size: 38px;
  line-height: 1.1;
}

.news-slider {
  overflow: hidden;
}

.news-slider .swiper-wrapper {
  align-items: stretch;
}

.news-slider .swiper-slide {
  height: auto;
}

.news-slider .swiper-slide .news-card {
  height: 100%;
}

.news-card {
  background: var(--white);
  border: 0.5px solid var(--clr-accent);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card-image {
  height: 120px;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card p {
  padding-block: 26px 28px;
  padding-inline: 10px;
  line-height: 1.35;
  text-align: center;
  color: #808080;
}

/* testemunhos */
.testemunhos {
  padding-top: var(--space-l);
}

.testemunhos-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.testemunhos-image img {
  display: block;
  width: 100%;
  max-width: 465px;
  margin: 0 auto;
}

.testemunhos-wrapper .badge {
  margin-bottom: 18px;
}

.testemunhos-wrapper .title {
  margin-bottom: 20px;
  font-size: 35px;
}

.testemunhos-list {
  display: flex;
  flex-direction: column;
}

.testemunho-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 150, 137, 0.25);
}

.testemunho-head {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.testemunho-body {
  max-height: 0;
  overflow: hidden;
  transition: all 0.65s ease;
}

.testemunho-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(0, 150, 137, 0.8);
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testemunho-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.testemunho-name {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.testemunho-location {
  font-size: 14px;
  color: var(--grey);
}

.testemunho-text {
  margin-top: 12px;
  margin-left: 50px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--grey)
}

.testemunho-item.active .testemunho-body {
  max-height: 300px;
}

/* Footer */
.footer-cta {
  padding-top: var(--space-l);
}

.footer-cta-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--clr-accent);
  padding: 48px 20px 42px;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-cta-wrapper::before,
.footer-cta-wrapper::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.footer-cta-wrapper::before {
  width: 250px;
  height: 250px;
  left: -90px;
  bottom: -90px;
}

.footer-cta-wrapper::after {
  width: 280px;
  height: 280px;
  right: -110px;
  top: -110px;
}

.footer-cta .badge {
  position: relative;
  z-index: 1;
  height: 50px;
  width: 50px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
}

.footer-cta .badge img {
  display: block;
}

.footer-cta .title {
  position: relative;
  z-index: 1;
  font-size: 35px;
  margin-bottom: 10px;
}

.footer-cta p {
  position: relative;
  z-index: 1;
  max-width: 580px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-cta .cta {
  position: relative;
  z-index: 1;
  background: var(--white);
  color: var(--clr-accent);
  padding-inline: 18px;
  padding-block: 12px;
  border-radius: 100px;
  font-size: 20px;
}

.footer-cta .cta img {
  height: 14px;
}

.footer-cta-note {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.8);
}

/* Desktop */
@media (min-width: 992px) {
  .steps-slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    transform: none !important;
  }

  .steps-slider .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }

  .news-slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    transform: none !important;
  }

  .news-slider .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }

  .news-pagination {
    display: none;
  }
}

@media (max-width: 991px) {
  .title-xl {
    font-size: 42px;
    line-height: 1.1;
  }

  .bullets li {
    margin-bottom: 17px;
    text-wrap: auto;
    font-size: 14px;
  }

  .bullets li::before {
    top: -2px;
    width: 20px;
    height: 20px;
  }

  .form-header {
    padding-block: 20px;
  }

  .hero-txt {
    max-width: 400px;
  }

  .advantages-title h2 {
    font-size: 32px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .steps-slider .swiper-slide {
    width: 320px;
  }

  .steps-pagination {
    display: flex;
    justify-content: center;
    margin-top: 18px;
  }

  .steps-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(0, 150, 137, 0.25);
    opacity: 1;
    margin: 0 4px !important;
  }

  .steps-pagination .swiper-pagination-bullet-active {
    background: var(--clr-accent);
  }

  .news-slider .swiper-wrapper {
    display: flex;
    gap: 0;
  }

  .news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 18px;
  }

  .news-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(0, 150, 137, 0.25);
    opacity: 1;
    margin: 0 4px !important;
  }

  .news-pagination .swiper-pagination-bullet-active {
    background: var(--clr-accent);
  }
}

@media (max-width: 768px) {
  logo span {
    font-size: 16px;
    max-width: 130px;
    line-height: 16px;
  }

  nav .cta {
    font-size: 12px;
  }

  .cta img {
    height: 14px;
  }

  nav .cta {
    padding-inline: 14px
  }

  .hero-section {
    padding-block: var(--space-l);
  }

  .hero--wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
  }

  .hero-txt {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .form-inner {
    gap: 0;
  }

  .form-body {
    padding-block: 30px;
  }

  .option span {
    min-height: unset;
    font-size: 16px;
  }

  .bullets {
    text-align: start;
  }

  .title-slider h2 {
    padding-block: 20px;
    font-size: 18px;
  }

  .simulador-box {
    padding: 60px;
  }

  .testemunhos-content {
    grid-template-columns: 1fr;
  }

  .testemunhos-wrapper {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  .testemunhos-image {
    order: 2;
  }

  .testemunhos-wrapper .badge {
    margin-inline: auto;
  }

  .testemunhos-wrapper .title {
    text-align: center;
  }

  .footer-cta-wrapper {
    padding: 36px 18px 30px;
  }

  .footer-cta .title {
    font-size: 25px;
    line-height: 1.1;
    margin-bottom: 20px;
  }

  .footer-cta p {
    font-size: 16px;
  }

  .footer-cta-wrapper::before {
    width: 130px;
    height: 130px;
    left: -65px;
    bottom: -65px;
  }

  .footer-cta-wrapper::after {
    width: 160px;
    height: 160px;
    right: -80px;
    top: -80px;
  }

  .footer-cta .cta {
    font-size: 18px;
  }

  .footer-cta-note {
    font-size: 11px;
  }
}

@media (max-width: 575px) {

  .custom-container-xl,
  .custom-container {
    --padding: 25px;
  }

  .badge img {
    height: 19px;
  }

  .advantages {
    padding: 50px 0;
  }

  .advantages-title h2 {
    font-size: 26px;
  }

  .advantage-card {
    padding: 24px 18px;
    min-height: auto;
  }

  .advantage-card-heading .value {
    font-size: 34px;
  }

  .advantage-card-heading .label {
    font-size: 18px;
  }

  .simulador-header {
    margin: 0 auto 35px;
  }

  .simulador-box {
    padding: 50px 35px;
  }

  .simulador .title {
    font-size: 25px;
    line-height: 1.2;
  }

  .steps-slider .swiper-slide {
    width: 280px;
  }

  .step-card-body {
    padding: 25px;
  }

  .step-number {
    font-size: 12px;
  }

  .step-text {
    font-size: 12px;
  }

  .news {
    padding: 56px 0;
  }

  .news-wrapper {
    padding: 24px 35px;
    border-radius: 18px;
  }

  .news-header .title {
    font-size: 26px;
  }

  .news-card-image {
    height: 105px;
  }

  .testemunho-name {
    font-size: 20px;
  }

  .testemunho-text {
    font-size: 12px;
  }

  .testemunho-item {
    padding: 15px 0;
  }
}

@media (max-width: 415px) {
  nav .cta {
    display: none;
  }

  .nav-wrapper {
    justify-content: center;
  }
}