/* Fonte */
@font-face {
  font-family: 'Afacard';
  src: url('../fonte/Afacad-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Afacard SemiBold';
  src: url('../fonte/Afacad-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Afacard Bold';
  src: url('../fonte/Afacad-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Afacard Medium';
  src: url('../fonte/Afacad-Medium.ttf') format('truetype');
}

/* Tags */
h1, h2, h3, h4, h5 {
  font-family: 'Afacard Bold';
}

p, span, body, small {
  font-family: 'Afacard' !important;
}

h1 {
  font-size: 64px !important;
}

h2 {
  font-size: 48px !important;
}

h3 {
  font-size: 28px !important;
}

h5 {
  font-size: 22px !important;
} 

p {
  font-size: 18px !important;
}

footer {
  text-align: center;
  padding: 2rem 0;
}

/* Botões */
.btn-primary, .btn-secondary {
  padding: 1.5rem 2rem;
  border-radius: 5px;
  font-family: 'Afacard Medium';
  display: inline-block;
}

/* Cores */
.btn-primary, .contato {
  background-color: #11111F;
}

.btn-secondary {
  background-color: #203363;
}

.org, .form-check-input:checked {
  background-color: #DE2E03 !important;
}

.form-check-input:checked {
  border-color: #DE2E03 !important;
}

main h1, .beneficios h5, .portal h3, .cta h3, .faq h2, .top-faq h3 {
  color: #11111F;
}

main p, .beneficios p, .portal p, .cta p, .top-faq p, footer small {
  color: #494949;
}

.org h3, .org p, .contato h2, .contato p, .btn-primary, .btn-secondary, .contato label, .float-placeholder {
  color: #fff;
}

/* Scrollbar */
#scroll::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

#scroll::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

#scroll::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #11111F;
}

/* Classes */
.flex1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.flex3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbar-brand img {
  width: auto;
  height: 72px;
}

.error {
  color: #E33E38;
}

.error-input {
  border: 1px solid #E33E38 !important;
}

/* Header */
main {
  padding: 7rem 0;
}

main .btn-primary {
  margin-top: 1.5rem;
  width: 11rem;
  text-align: center;
}

main h1 {
  line-height: 1;
}

/* Beneficios */
.beneficios p {
  text-align: justify;
  max-width: 300px;
}

.beneficios svg {
  fill: #DE2E03;
  height: 24px;
  width: auto;
  margin-right: .5rem;
}

/* Portal Gestor/Corretor */
.portal {
  padding: 7rem 0;
}

.portal svg {
  width: auto;
  height: 24px;
  fill: #fff;
}

.portal p {
  text-align: justify;
  margin-top: 1rem;
}

.tag-portal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #203363;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .7rem;
}

/* CTA */
.cta {
  background-color: #fafafa;
  background-image: url('../img/laranja.webp'), url('../img/azul.webp');
  background-repeat: no-repeat, no-repeat;
  background-position: -24% -227%, 140% 660%;
  padding: 7rem 0;
}

.cta p {
  text-align: justify;
}

/* FAQ */
.faq {
  padding: 7rem 0;
}

.faq h2 {
  margin-bottom: 2rem;
}

.top-faq {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.top-faq h3 {
  margin-bottom: 1rem;
}

/* Contato */
.contato {
  padding: 4rem;
  border-radius: 8px;
  background-image: url('../img/laranja.webp'), url('../img/azul.webp');
  background-repeat: no-repeat, no-repeat;
  background-position: -43% 804%, 160% 1110%;
}

.contato h2, .contato p {
  text-align: center;
}

.contato p {
  margin-bottom: 3rem !important;
}

.form-control {
  border-radius: 0 !important;
}

.contato .btn-secondary {
  margin: 1rem auto 0;
  display: block;
}

.form-check-input[type=checkbox] {
  border-radius: 0 !important;
}

.form-check-input:focus,
.form-control:focus {
  box-shadow: none !important;
  border: 1px solid #203363 !important;
}

/* RESPONSIVO */
@media screen and (max-width: 768px) {
  .beneficios .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .beneficios .d-flex {
    width: 300px;
  }

  .orde1 {
    order: 1;
  }

  .orde2 {
    order: 2;
  }

  .cta img {
    margin-bottom: 2rem;
  }

  .contato {
    background-repeat: -21rem 21rem, 12rem -18rem;
  }

  .cta {
    background-position: -23rem -8rem, 30rem 27rem;
  }
}

@media screen and (max-width: 430px) {
  .navbar-brand img {
    height: 40px;
  }

  .btn-primary, .btn-secondary {
    padding: .5rem 1rem;
  }

  .portal {
    padding: 4rem 0;
  }

  .contato {
    background-position: -22rem 24rem, 7rem -15rem;
  }

  .cta {
    background-position: -24rem -16rem, 9rem 31rem;
  }
}