* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
}

/* Home/Header */
.containerHeader {
  padding: 40px 24px;
}

.titleHeader {
  color: #101828;
  font-size: 36px;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 32px;
}

.underline {
  background-image: url(/img/underline-header.svg);
  background-repeat: no-repeat;
  background-position: 0 100%;
}

.imgHeaderSmall {
  width: 100%;
}

.imgHeaderLarge {
  display: none;
}

.balloon-container {
  background-repeat: no-repeat;
  background-size: contain;
}

.balloon-container--desktop {
  display: none;
  height: 48px;
  width: 448px;
  padding-left: 48px;
  background-image: url('../img/balloon-desktop.png');
}

.balloon-container--mobile {
  background-image: url('../img/balloon-mobile.png');
  height: 72px;
  max-width: 345px;
  padding-left: 48px;
}

.typewriter {
  padding: 10px 8px;
}

.typewriter-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #667085;

  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
  visibility: hidden;
  animation-fill-mode: forwards;
}

.typewriter-text:nth-child(1) {
  animation-delay: 0s;
}

.typewriter-text:nth-child(2) {
  animation-delay: 2s;
}

@keyframes typing {
  from {
    width: 0;
    visibility: hidden;
  }
  to {
    width: 100%;
    visibility: visible;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: transparent;
  }
}

.formHeader {
  display: flex;
  position: relative;
}

.inputHeader {
  width: 100%;
  padding: 18px 16px 16px 48px;
  margin-top: 24px;
  border-radius: 12px;
  border: 1px solid #ff5a1f;
  background-image: url(/img/star-chat.svg);
  background-repeat: no-repeat;
  background-position: 18px 52%;
}

.inputHeader::placeholder {
  color: #98a2b3;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.contentText {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.doubtText {
  font-family: 'Comic Neue', cursive;
  color: #98a2b3;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
}

.imageWomanHeader {
  display: none;
}

.buttonHeader {
  display: flex;
  position: absolute;
  top: 28px;
  right: 4px;
  background-color: #d03801;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

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

/* Card */
.containerComparative {
  background: #d03801;
  padding: 32px 16px;
}

.comparativeTitle {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.contentCards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 160px;
  height: 152px;
  padding: 16px;
  background-color: white;
  border-radius: 8px;
}

.imgCards {
  width: 40px;
  margin-bottom: 8px;
}

.descriptionsCard {
  color: #344054;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.containerButtonsCard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buttonCards {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  text-decoration: none;

  color: #344054;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

/* UtuaAi */
.containerUtuaAi {
  border-bottom: 1px solid #d0d5dd;
}

.contentUtuaAi {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 24px 16px 0;
  overflow: hidden;
}

.imgCellphone {
  width: 280px;
  height: auto;

  position: relative;
  top: 48px;

  background: radial-gradient(#fdf7f5, #fff);
  margin-bottom: 8px;
}

.tagNew {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  background-color: #d03801;
  color: white;

  padding: 4px 12px;
  border-top: 4px solid #feecdc;
  border-bottom: 4px solid #feecdc;
  border-left: 6px solid #feecdc;
  border-right: 6px solid #feecdc;
  border-radius: 999px;
}

.titleFinances {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: #101828;

  margin: 16px 0 8px;
}

.descriptionFinances {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #475467;

  margin-bottom: 8px;
}

.imgApp {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.imgApp img {
  width: 100%;
  height: 46px;
}

/* CrediCard */
.containerCreditCard {
  padding: 24px 16px 48px;
}

.containerBoxCreditCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.titleCard {
  color: #101828;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 24px;
}

.boxCreditCard {
  width: 328px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 16px;

  border-radius: 8px;
  border: 1px solid #d0d5dd;
  box-shadow: 0px 12px 16px -4px #10182814, 0px 4px 6px -2px #10182808;
}

.boxInvisible {
  display: none;
}

.titleCreditCard {
  color: #344054;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;

  padding: 24px 0 12px;
}

.descriptionCreditCard {
  color: #667085;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.contentLinks {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.linkCreditCard {
  display: inline-flex;
  text-decoration: none;
  color: #d03801;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-bottom: 2px solid red;
}

.imageCreditCard {
  width: 90px;
  height: 90px;
}

.imageCardNeon {
  max-width: 275px;
}

.imageCardPaoDeAcucar {
  max-width: 300px;
}

/* Home/Chat */
.containerChat {
  display: flex;
  justify-content: center;
  background-color: #fff8f1;
}

.contentChat {
  padding: 24px;
}

.contentSubtitle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.contentSubtitle svg {
  width: 20px;
  height: 20px;
}

.titlesChat {
  color: #101828;
}

.titleQuiz {
  color: #344054;
  margin-bottom: 16px;
}

.titleChat,
.titleQuiz {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.descriptionChat,
.secureDescription {
  color: #475467;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.linkChat {
  display: inline-flex;
  gap: 4px;
  color: #d03801;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  border-bottom: 1px solid #d03801;
}

/* Utua */
.containerUtua {
  background: #f2f4f7;
  padding: 40px 24px;
}

.containerGuideUtua {
  padding: 48px 24px 56px;
}

.aboutUtua {
  margin-bottom: 8px;
}

.aboutUtua,
.secureTitle,
.guideTitle {
  color: #101828;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.descriptionUtua {
  color: #475467;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 24px;
}

.contentUtua {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
}

.subtitleUtua {
  color: #344054;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  margin: 8px 0;
}

.descriptionUtuaContent {
  color: #667085;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
}

.border {
  width: 230px;
  border: 1px solid #f1f1f1;
  margin: 16px 0;
}

/* Secure */
.containerSecure {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.secureTitle {
  margin-bottom: 16px;
}

.imagePadlock {
  width: 144px;
  margin-bottom: 24px;
}

.imageCell {
  width: 195px;
  margin-bottom: 32px;
}

/* Guide */
.guideTitle {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .containerHeader,
  .contentChat,
  .contentQuiz,
  .utua,
  .containerSecure,
  .contentGuide,
  .contentComparative {
    max-width: 600px;
  }

  .containerHeader,
  .contentQuiz,
  .utua,
  .containerSecure,
  .contentGuide,
  .contentComparative,
  .containerCreditCard {
    margin: 0 auto;
  }

  .imgHeaderSmall {
    display: none;
  }

  .imgHeaderLarge {
    display: block;
  }

  .containerButtonsCard {
    flex-direction: row;
    justify-content: center;
  }

  .buttonCards {
    width: auto;
    padding: 10px 16px;
  }

  .containerBoxCreditCard {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .imgCellphone {
    width: 300px;
  }
  
  .balloon-container--desktop {
    display: block;
  }

  .balloon-container--mobile {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .contentChat,
  .containerHeader,
  .contentUtua {
    max-width: 800px;
    padding: 0;
    display: flex;
  }

  .utua,
  .contentComparative,
  .containerCreditCard,
  .containerSecure,
  .contentGuide {
    max-width: 800px;
  }

  .containerHeader {
    margin: 72px auto;
  }

  .imageWomanHeader {
    display: block;
    width: 315px;
  }

  .contentChat {
    margin-bottom: 40px;
    padding: 40px 0;
  }

  .containerSecure {
    gap: 48px;
    padding-top: 40px;
  }

  .titlesChat {
    flex: 1;
    align-self: center;
  }

  .textAndLinkChat {
    flex: 2;
  }

  .contentUtua {
    display: flex;
    padding: 16px 0;
  }

  .boxUtua {
    width: 265px;
    padding: 0 24px;
  }

  .boxUtua:nth-child(1),
  .boxUtua:nth-child(2) {
    border-right: 1px solid #d0d5dd;
  }

  .border {
    display: none;
  }

  .boxInvisible {
    display: flex;
  }

  .comparativeTitle {
    text-align: center;
  }

  .cards {
    width: 188px;
  }

  .containerComparative {
    display: flex;
    align-items: center;
  }

  .containerCreditCard {
    padding: 24px 0 48px;
  }

  .boxCreditCard {
    width: 388px;
    height: 356px;
    padding: 26px 16px;
  }

  .contentSecureLocked {
    display: flex;
    gap: 68px;
    padding-top: 60px;
  }

  .contentSecurePhone {
    display: flex;
    flex-direction: row-reverse;
    gap: 84px;
  }

  .imagePadlock {
    width: 250px;
  }

  .containerGuideUtua {
    display: flex;
    padding: 56px 0;
  }

  .formHeader {
    max-width: 560px;
  }

  .contentUtuaAi {
    max-width: 800px;
    height: 386px;
    margin: 0 auto;
    flex-direction: row;
    gap: 70px;
    padding: 0;
    overflow: hidden;
  }

  .imgCellphone {
    position: relative;
    top: 98px;
    width: 335px;
  }

  .imgApp {
    justify-content: flex-start;
  }

  .imgApp img {
    height: 32px;
  }
}
