:root {
  --bg: #ffffff;
  --ink: #160d2b;
  --muted: #6b6b80;
  --primary: #7e6fb1; /* roxo */
  --primary-600: #816adc;
  --primary-100: #f1ecff;
  --accent: #00c2ff;
  --radius: 16px;
  --container: 1120px;
  --shadow: 0 8px 24px rgba(17, 12, 34, 0.1);
  --w: 1120px; /* já tem --container, pode reaproveitar */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #160d2b;
  background: #ffffff;
}

@media (max-width: 768px) {
  html {
    font-size: 14px; /* 1rem = 14px em tablets */
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px; /* 1rem = 12px em celulares */
  }
}

a {
  text-decoration: none;
  color: black;
}

.navbar {
  display: flex;
  align-items: center;
  background-color: var(--primary);
  width: 100%;
  justify-content: center;
  margin: 0;
  padding-bottom: 1rem;
}

.brand-logo {
  margin-right: 4rem;
  height: 11.5rem;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;

  margin-bottom: 2rem;
}

.menutext {
  color: white;
  font-size: 1rem;
}

.btn {
  border: 1px solid white;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: 700;
  text-align: center;
  font-size: 0.625rem;
}

.primary {
  color: black;
  background-color: white;
  font-size: 0.625rem;
}
.textpurple {
  color: var(--primary);
}

#first-block {
  background-color: var(--primary);
  justify-content: center;
  display: flex;
  gap: 30rem;
  position: relative;
  height: 500px;
  align-items: center;
  .btn {
    font-size: 16px;
    width: 200px;
  }
}

.textleft {
  margin: 0;
  color: white;
  font-size: 1.5rem;
}

.textright {
  max-width: 315px;
  display: flex;
  flex-direction: column;
}

.textright-p {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bigtext {
  font-size: 4.375rem;
  font-weight: 700;
}

.img-homem {
  width: 835.14px;
  height: 844px;
  position: absolute;
  top: -48px;
}

@media (max-width: 1200px) {
  .textleft {
    padding-left: 2rem;
  }
  .bigtext {
    font-size: 3rem;
  }

  .img-homem {
    left: 8%;
  }
}

#como-funciona {
  padding-top: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.titlepurple {
  color: var(--primary);
  font-size: 4rem;
  font-weight: 800;
  line-height: normal;
}

#cards {
  display: flex;
  gap: 10rem;
  width: 100%;
  justify-content: center;
  padding-left: 4rem;
  margin-top: 4rem;
}

@media (max-width: 1380px) {
  #cards {
    gap: 6rem;
  }
}

@media (max-width: 1380px) {
  #cards {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.card {
  width: 314px;
  height: 334px;
  border-radius: 37px;
  background: #fff;

  box-shadow: 0 0.25px 18px 0 rgba(0, 0, 0, 0.25);
  padding: 4rem 1.5rem 4rem 6rem;
  font-size: 1.25rem;

  position: relative;
}

.bignumbercard {
  font-size: 300px;
  font-weight: 800;
  color: var(--primary);

  position: absolute;
  left: -30%;
  top: -15%;

  margin: 0;
}

#beneficios {
  padding-top: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.carousel {
  width: min(100%, var(--w));
  margin: 32px auto;
  padding: 16px;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* slide com 3 colunas: [texto1] [imagem] [texto2] */
.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.8fr; /* esquerda | imagem | direita */
  gap: 24px;
  padding: 32px clamp(16px, 4vw, 40px);
  align-items: center;
  min-height: 520px;
}

/* imagem central */
.col--media {
  display: grid;
  place-items: center;
}
.col--media img {
  width: 100%; /* ocupa toda a coluna central */
  max-width: 600px; /* limite máximo opcional */
  border-radius: 22px;
  background: #fff;
}

/* opções (links) */
.carousel__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 14px 6px;
}
.option {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1b1b27;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.875rem;
}
.option:hover {
  background: #232335;
}
.option.is-active {
  background: var(--primary);
  border-color: transparent;
}

.titlecarrosel {
  color: var(--primary-600);

  text-align: right;
  font-size: 4rem;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .menutext {
    display: none;
  }
}
@media (max-width: 1080px) {
  .titlecarrosel {
    text-align: center;
    font-size: 2.5rem;
  }
}

.textcarrosel {
  color: #000;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.4px;
}

.appstore {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

#parceiros {
  padding-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--primary);
}

.blocoparceiros {
  display: flex;
  /* justify-content: space-between; */
  max-width: 100%;
}

.parceirostxt {
  padding-left: 15%;
}

.parceirostxt1 {
  font-size: 1.75rem;
  font-weight: 400;
  color: white;
}

.parceirostxt2 {
  color: #fff;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 4.5rem;
  letter-spacing: -2.8px;
}

.parceirostxt3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 32px;
}

.partners {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Carrossel de Parceiros ===== */
.p-carousel {
  width: min(100%, var(--w));
  padding: 1rem;
  color: #fff; /* contraste no fundo roxo */
}

.p-viewport {
  overflow: hidden;
}

.p-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.p-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-rows: auto auto; /* [imagem] [texto] */
  gap: 1rem;
  justify-items: center;
}

.p-col--media {
  display: grid;
  place-items: center;
}
.p-col--media img {
  width: clamp(12rem, 40vw, 28rem); /* cresce com viewport, limitado */
  height: auto;
}

.p-col--text {
  text-align: center;
  max-width: 60ch;
}
.p-desc {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
}

/* Opções */
.p-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.p-option {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.95rem;
}
.p-option:hover {
  background: rgba(0, 0, 0, 0.25);
}
.p-option.is-active {
  background: #fff;
  color: var(--primary);
  border-color: transparent;
}

/* Responsivo extra (se quiser encurtar altura em telas menores) */
@media (max-width: 480px) {
  .p-slide {
    padding: 1.5rem 1rem;
  }
}

#porque {
  padding-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.img-mulher {
  position: absolute;
  top: 12rem;
}

.iconsbox {
  display: flex;
  align-items: center;
}

.iconstext {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 400;
}

.icontxtleft {
  margin-right: 2rem;
}

.icontxtright {
  margin-left: 2rem;
  text-align: left;
}

.icon {
  background-color: var(--primary-600);
  border-radius: 999px;
  padding: 0.5rem;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icone1 {
  position: absolute;
  top: 22rem;
  left: 17%;
}

.icone2 {
  position: absolute;
  top: 32rem;
  left: 14%;
}

.icone3 {
  position: absolute;
  top: 27rem;
  right: 3%;
}

.icone4 {
  position: absolute;
  top: 37rem;
  right: 3%;
}

.comunidade {
  background-color: var(--primary);
  padding: 12.5rem 4rem 7rem;
  margin-top: 47.5rem;
  width: 100%;
}

.title-comunidade {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  width: 100%;
  margin: 0;
  color: #fff;
}

.texts {
  display: flex;
  padding-inline: 15rem;
  justify-content: space-between;
  margin-top: 4rem;
}

.comunidade-num {
  font-size: 54px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  color: #fff;
}

.text-comunidade {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
}

#faq {
  padding: 5rem 0rem;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.faq-items {
  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.faq-item + .faq-item {
  margin-top: 2rem;
}

.faq-number {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: normal;
  margin-right: 2.5rem;
}

.faq-text {
  font-size: 1.5rem;
}

footer {
  background-color: var(--primary);
  padding: 5rem;
}

.footer-inline {
  display: flex;
  justify-content: space-around;
  gap: 4.25rem;
}

.footer-item {
  width: 30%;
}

.footer-item + .footer-item {
  margin-top: 3.5rem;
}

.footer-text {
  font-size: 1.5rem;
  font-weight: 400;
}

.text-white {
  color: #fff;
}

.last-text {
  text-align: center;
}
