@import url('https://cdnjs.cloudflare.com/ajax/libs/material-design-icons/3.0.1/iconfont/material-icons.min.css');

/* hero */
#hero {
  padding-top: 24px;
  padding-bottom: 24px;
}

.banner-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.banner-content__title {
  color: #303030;
  font-size: 40px;
  line-height: 52px;
  vertical-align: middle;
  margin-bottom: 8px;
}

.banner-content__badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.banner-content__description {
  color: #303030;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.25px;

  strong {
    font-family: 'Latam-Sans-Bold';
    font-weight: 700;
  }
}

.hero-card {
  margin-top: 40px;
  background-color: #F2F2F2;
  width: 100%;
  padding: 32px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-card__logo {
  height: 100px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    object-fit: contain;
    object-position: center;
    width: 117px;
    height: 32px;
  }
}

.hero-card__content {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-card__content h3 {
  color: #303030;
  font-size: 20px;
  line-height: 26px;
  vertical-align: middle;
  letter-spacing: 0.25px;
  text-align: center;
}

.hero-card__content small {
  color: #5C5C5C;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.25px;
  text-align: center;
}

.hero-card__content-values {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-card_spend-value {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;

  h4 {
    color: #303030;
    font-size: 32px;
    line-height: 42px;
    vertical-align: middle;
    letter-spacing: 0.25px;
  }

  p {
    color: #212121;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.25px;
    margin-bottom: 0;
  }
}

.hero-card_milles-converted {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 4px;

  .milles-description {
    color: #303030;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
  }

  .milles-values {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 8px;

    h4 {
      color: #303030;
      font-size: 32px;
      line-height: 42px;
      vertical-align: middle;
      letter-spacing: 0.25px;
    }

    .milles-description__text {
      font-size: 16px;
      line-height: 22px;
      letter-spacing: 0.25px;
      color: #212121;
    }
  }
}

.hero-card__action {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.banner-image picture img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

@media (min-width: 992px) {
  .banner-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-image picture img {
    aspect-ratio: 1 / 1;
  }

  .hero-card__content-values {
    gap: 32px;
  }
}

/* knowing the benefits */
.knowing-the-benefits__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px
}

.knowing-the-benefits__grid_card {
  &>img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    border-radius: 24px;
    aspect-ratio: 16 / 9;
  }


  &>h3 {
    font-size: 20px;
    font-family: 'Latam-Sans-Bold';
    line-height: 32px;
    font-weight: 700;
    margin: 40px 0;
    letter-spacing: 0.25px;
    vertical-align: middle;
    color: #303030;
  }

  &>p {
    font-family: 'Latam-Sans-Regular';
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.25px;
    vertical-align: middle;
    margin-bottom: 40px;
    color: #5C5C5C;
    height: calc(5 * 24px);
  }

  &>a {
    padding: 4px 0;
  }
}

@media (min-width: 600px) {
  .knowing-the-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .knowing-the-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Carrossel de Benefícios */
.knowing-the-benefits__carousel-container {
  position: relative;
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
}

.knowing-the-benefits__carousel-track {
  transition: transform 0.4s ease-in-out;
}

@media (max-width: 919.98px) {
  .knowing-the-benefits__carousel-track {
    display: flex;
    gap: 40px;
  }

  .knowing-the-benefits__carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
  }
}

@media (min-width: 600px) and (max-width: 919.98px) {
  .knowing-the-benefits__carousel-slide {
    flex: 0 0 calc((100% - 40px) / 2);
  }
}

.knowing-the-benefits__carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 32px;
}

.knowing-the-benefits__carousel-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, color 0.2s ease;
  color: #303030;
}

.knowing-the-benefits__carousel-arrow:hover:not(:disabled) {
  color: #2c31c9;
}

.knowing-the-benefits__carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.knowing-the-benefits__carousel-page-indicator {
  font-size: 16px;
  font-weight: 700;
  color: #303030;
}

@media (min-width: 920px) {
  .knowing-the-benefits__carousel-controls {
    display: none;
  }

  .knowing-the-benefits__carousel-slide {
    display: contents;
  }
}


/* how it works */
.how-it-works .section-title {
  text-align: center;
}

.how-it-works-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  column-gap: 128px;

  .media {
    img {
      aspect-ratio: 1 / 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: left center;
      border-radius: 24px;
    }
  }
}

.how-it-works-card__content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;

  .tabs {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
    flex-wrap: wrap;
  }

  h4 {
    color: #303030;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0.25px;
  }

  p {
    color: #303030;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.25px;
    margin-top: 24px;
  }

  .controls {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 32px;

    p {
      color: #000000;
      font-size: 23px;
      line-height: 28px;
      letter-spacing: 0.15px;
      margin-top: 0;
    }

    button.btn {
      padding: 12px 12px;

      img {
        width: 24px;
        height: 24px;
      }
    }
  }
}

@media (min-width: 768px) {
  .how-it-works-card__content {
    padding: 0 60px;
  }

  .how-it-works-card .media img {
    aspect-ratio: 4 / 3;
    max-height: 540px;
  }
}

@media (min-width: 920px) {
  .how-it-works-card {
    flex-direction: row;
    align-items: center;
  }

  .how-it-works-card__content {
    padding: 0 0;

    h4 {
      font-size: 32px;
      line-height: 42px;
    }
  }

  .how-it-works-card .media img {
    aspect-ratio: 4 / 5;
    max-height: 500px;
  }
}

@media (min-width: 1600px) {
  .how-it-works-card__content h4 {
    font-size: 40px;
    line-height: 52px;
  }
}

/* knew before reserve */
.knew-before-reserve__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 32px;
  column-gap: 80px;
}

.knew-before-reserve__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;

  &>li {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-top: 32px;

    &:first-child {
      margin-top: 0;
    }

    &>.media {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      width: 24px;
      height: 24px;
      border-radius: 8px;
      background-color: #FFF;
    }

    &>p {
      margin: 0;
      font-size: 16px;
      line-height: 22px;
      letter-spacing: 0.25px;
      font-weight: 400;
      color: #303030;

      &>strong {
        font-weight: 700;
      }
    }

    a {
      color: #2C31C9;
      transition: color 0.2s ease;

      &:hover {
        color: #0A0E80;
      }
    }
  }
}

@media (min-width: 1366px) {
  .knew-before-reserve__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* need help */
.need-help__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  row-gap: 32px;
  column-gap: 15px;
}

.need-help__grid_card {
  width: 100%;
  height: 100%;
  background-color: #FFF;
  border: 1px solid #E1E1E1;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 40px;


  .media {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background-color: #EEEDF9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
      object-fit: contain;
      object-position: center;
      width: 40px;
      height: 40px;
    }
  }

  .need-help-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    height: 100%;

    div {
      display: flex;
      flex-direction: column;
      align-items: start;
      justify-content: start;
      gap: 24px;
    }

    h3 {
      font-size: 24px;
      line-height: 32px;
      letter-spacing: 0.25px;
      color: #303030;
    }

    p {
      font-size: 16px;
      line-height: 22px;
      letter-spacing: 0.25px;
      color: #303030;
    }

    a {
      padding: 4px 0;
    }
  }
}

@media (min-width: 1366px) {
  .need-help__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .need-help__grid_card {
    flex-direction: row;

    .need-help-content h3 {
      font-size: 28px;
      line-height: 36px;
    }
  }
}

@media (min-width: 1600px) {
  .need-help__grid {
    column-gap: 40px;
  }
}

/* duvidas */
#duvidas {
  padding-top: 128px;
  padding-bottom: 128px;
}


@media (max-width: 992px) {
  #duvidas {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.duvidas__title {
  margin: 0;
  font-size: 40px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #303030;
}

@media (min-width: 992px) {
  .duvidas__title {
    font-size: 48px;
    line-height: 62px;
    letter-spacing: -0.5px;
  }
}

.duvidas__subtitle {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: #303030;
}

.duvidas__cta {
  margin-top: 24px;
  align-items: center;
}

.faq__content .accordion {
  background: #fff;
}

.faq__content .accordion-item {
  border-color: #e1e1e1;
}

.faq__content .accordion-button {
  font-weight: 700;
  color: #303030;
  font-size: 16px;
  font-style: bold;
}

.accordion-button:focus {
  box-shadow: unset;
}

.faq__content .accordion-item p {
  color: #000;
  margin: 0;
}

.faq__content .accordion-item p+p {
  margin-top: 12px;
}

.faq__content .accordion-body a {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.faq__content .accordion-item strong {
  font-weight: 700;
}