footer {
  background-color: #f5f5f5;
}

footer .main-links {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
}

footer .main-links>.images {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-direction: column;
  gap: 20px;
}

footer .main-links>div,
footer .main-links>img {
  padding: 1rem 0rem;
  flex: 1;
}

footer .main-links h3 {
  font-family: "Margem-medium";
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  color: #091e42;
}

footer .main-links .personalized-link {
  display: block;
  padding: 3px 0;
  font-family: "Margem-medium";
  font-size: 14px;
  font-weight: 500;
  line-height: 17.5px;
  text-align: left;
  color: #505f79;
}

footer .main-links p {
  font-family: "source sans pro";
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  color: #091e42;
}

footer .main-links .contato {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  flex: 1;
}

footer .main-links .contato .btn-outline-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: "Margem-medium";
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-align: left;
  color: #0057ff;
  padding: 15px 0px;
  border-color: #0057ff;
  border-radius: 8px;
}

footer .main-links .contato .btn-success {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: "Margem-medium";
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-align: left;
  background-color: #0AAE7C;
  padding: 15px 0px;
  border-radius: 8px;
  color: #044934;
}

footer .logos {
  display: flex;
  flex-direction: row;
  justify-content: left;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .logos div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer .logos div img {
  object-fit: contain;
}

footer .logos div p {
  font-family: "source sans pro";
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: left;
  color: #505f79;
  max-width: 135px;
  margin: 0;
}

footer .redes-sociais {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

footer .redes-sociais>a {
  font-family: "source sans pro";
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  color: #091e42;
  text-decoration: none;
  padding: 1rem 0 1rem 0;
}

footer .redes-sociais>p {
  font-family: "source sans pro";
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  color: #505f79;
  padding: 1rem 0 0 0;
}

footer .links-footer a {
  font-family: "Margem-medium";
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
  color: #091e42;
  padding-right: 15px;
}

footer .links-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 240px;
}

footer .icones-redes-sociais {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

footer .icones-redes-sociais a:hover {
  text-decoration: none;
}

footer .icones-redes-sociais span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 49px;
  height: 49px;
  border-radius: 12px;
  background-color: #EEEEEE;
  color: #091E42;
}

footer .icones-redes-sociais span i {
  font-weight: 600;
}

footer hr {
  margin: 2rem 0;
  color: #bdbdbd;
}

/* ----------------------------------------------------------------- */
#gran-footer-first {
  border-radius: 24px 0;
  background: #fff;
  padding: 1rem 5px;
}

#gran-footer-first .footer-container {
  padding: 1rem;
}

#gran-footer-first .footer-sessao-titulo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#gran-footer-first .form {
  width: 100%;
}

#gran-footer-first .footer-sessao-titulo p {
  color: #011a40;
  font-family: "Margem-medium";
  font-size: 16px;
  font-weight: 500;
  line-height: 25px;
  text-align: left;

  margin: 1rem 0 1rem 1rem;
  max-width: 420px;
}

.footer-sessao-titulo p span {
  color: #19A3A9;
}

.hs-form .field label span {
  color: #6D7474;
  font-family: "Margem-medium";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hs-form .field label span {
  color: #6D7474;
  font-family: "Margem-regular";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hs-form ul {
  color: #6D7474;
  font-family: "Margem-regular";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  list-style: none;
  padding: 0;
}

.hs-form .field ul {
  margin-bottom: 0;
}

.hbspt-form p {
  color: #505f79;
  text-decoration: none;
}

.hbspt-form p {
  color: #6D7474;
  text-decoration: none;
}

.hbspt-form p a {
  color: #006FE6;
  text-decoration: none;
}

.hs-form .field ul label {
  display: flex;
  color: #505f79;
}

.hs-form .field ul input {
  width: auto;
}

.hs-form .field ul p {
  color: #6D7474;
}

.hs-form select {
  width: 100%;
  margin-bottom: 15px;
  
  background-color: transparent;
}

/*--------------   Botão enviar -----------------*/
#gran-footer-first .hs-form .hs-button {
  white-space: nowrap;
}

.actions .hs-button {
  background-image: url(/assets/nova-assinatura-ilimitada/img/footer/arrow-right.png) !important;
  background-size: cover;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  border-radius: 12px;
  font-family: "Margem-regular";
  background: #1BB3BA;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1.5rem;
  width: 100%;
  border: none;
}

.hs-email input {
  display: flex;
}

.hs-form .hs-input {
  flex: 1;
  width: 100%;
  border: 1px solid #e2e2e3;
  padding: 10px;
  border-radius: 11px;

  color: #090e39;
  font-family: "Margem-regular";
  font-size: 12px;
}

.img-ra-oab {
  width: 100%;
  max-width: 300px;
  object-fit: contain !important;
}

.hs-form .hs_firstname,
.hs-form .hs_mobilephone {
  width: 50% ;
}

.hs-form-f8b8efea-0330-483c-bcc0-fa17a5cce3e6_edbcb171-66c2-4eb4-b935-1ac0b8750e7a fieldset.form-columns-1 .hs-input {
  width: 100%;
}

@media (min-width: 992px) {
  footer .main-links {
    flex-direction: row;
  }

  footer .logos {
    flex-direction: row;
    justify-content: space-between;
  }

  footer .logos div img {
    object-fit: none;
  }

  footer .redes-sociais {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
  }

  footer .links-footer {
    max-width: 100%;
  }

  footer .redes-sociais>p {
    padding: 2rem 0 0 0;
    max-width: 825px;
    text-align: center;
    margin: auto;
  }

  #gran-footer-first .footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  #gran-footer-first .footer-sessao-titulo p {
    font-size: 20px;
  }

  #gran-footer-first .footer-container .form .hs-form-private {
    max-width: 400px;
    margin: auto;
  }

  .actions .hs-button {
    background: #1BB3BA;
  }
}