/* ===========================
CONFIGURAÇÕES GERAIS
=========================== */

* {
  margin: 0;
  padding: 0;

  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  background: #f5f6fa;

  color: #55556d;

  font-family: "Poppins", sans-serif;
}


/* ===========================
CABEÇALHO
=========================== */

.terms-header {
  position: sticky;

  top: 0;

  z-index: 100;

  border-bottom: 1px solid rgba(82, 82, 209, 0.1);

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


.terms-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: min(1120px, calc(100% - 48px));

  min-height: 78px;

  margin: 0 auto;
}


/* LOGO */

.terms-logo {
  color: #5252d1;

  font-size: 25px;
  font-weight: 800;

  text-decoration: none;
}


.terms-logo span {
  color: #373761;

  font-weight: 600;
}


/* VOLTAR */

.terms-back {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: #5252d1;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}


.terms-back:hover {
  gap: 12px;

  color: #373761;
}


/* ===========================
CONTEÚDO PRINCIPAL
=========================== */

.terms-main {
  padding: 70px 24px 100px;
}


.terms-container {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;
  padding: 60px;

  border: 1px solid rgba(82, 82, 209, 0.08);
  border-radius: 24px;

  background: #ffffff;

  box-shadow:
    0 24px 65px rgba(31, 31, 70, 0.08);
}


/* CABEÇALHO DO DOCUMENTO */

.terms-heading {
  margin-bottom: 55px;
  padding-bottom: 40px;

  border-bottom: 1px solid #e8e8f1;
}


.terms-tag {
  display: inline-block;

  margin-bottom: 14px;

  color: #5252d1;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.terms-heading h1 {
  max-width: 720px;

  margin-bottom: 16px;

  color: #29294f;

  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;

  line-height: 1.18;
}


.terms-heading p {
  color: #8a8a9d;

  font-size: 13px;
}


/* SEÇÕES */

.terms-section {
  margin-bottom: 42px;
}


.terms-section h2 {
  margin-bottom: 18px;

  color: #35355f;

  font-size: 22px;
  font-weight: 700;

  line-height: 1.35;
}


.terms-section h3 {
  margin-top: 26px;
  margin-bottom: 12px;

  color: #44446b;

  font-size: 17px;
  font-weight: 700;
}


.terms-section p {
  margin-bottom: 15px;

  color: #65657b;

  font-size: 14px;

  line-height: 1.9;
}


.terms-section ul {
  margin: 18px 0 22px;
  padding-left: 24px;
}


.terms-section li {
  margin-bottom: 10px;

  color: #65657b;

  font-size: 14px;

  line-height: 1.75;
}


.terms-section li::marker {
  color: #5252d1;
}


/* CONTATO */

.terms-contact {
  display: flex;
  align-items: flex-start;

  gap: 17px;

  margin-top: 24px;
  padding: 22px;

  border: 1px solid rgba(82, 82, 209, 0.14);
  border-radius: 14px;

  background: rgba(82, 82, 209, 0.05);
}


.terms-contact > i {
  color: #5252d1;

  font-size: 27px;
}


.terms-contact strong {
  display: block;

  margin-bottom: 5px;

  color: #35355f;

  font-size: 14px;
}


.terms-contact p {
  margin: 0;
}


/* AVISO FINAL */

.terms-notice {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  margin-top: 50px;
  padding: 22px;

  border-left: 4px solid #fca038;
  border-radius: 8px;

  background: rgba(252, 160, 56, 0.09);
}


.terms-notice i {
  flex: 0 0 auto;

  color: #d8811f;

  font-size: 21px;
}


.terms-notice p {
  margin: 0;

  color: #69636a;

  font-size: 12px;

  line-height: 1.8;
}


/* ===========================
RODAPÉ
=========================== */

.terms-footer {
  padding: 28px 24px;

  background: #29294f;

  text-align: center;
}


.terms-footer p {
  color: rgba(255, 255, 255, 0.7);

  font-size: 12px;
}


/* ===========================
RESPONSIVIDADE
=========================== */

@media screen and (max-width: 700px) {

  .terms-header-container {
    width: calc(100% - 32px);

    min-height: 68px;
  }


  .terms-logo {
    font-size: 21px;
  }


  .terms-back {
    font-size: 12px;
  }


  .terms-main {
    padding: 35px 14px 65px;
  }


  .terms-container {
    padding: 35px 22px;

    border-radius: 17px;
  }


  .terms-heading {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }


  .terms-heading h1 {
    font-size: 31px;
  }


  .terms-section {
    margin-bottom: 34px;
  }


  .terms-section h2 {
    font-size: 19px;
  }


  .terms-contact {
    padding: 18px;
  }

}