@charset "utf-8";

@import "fonts.css";

:root {
  --font-size: 18px;
  --main-bg-color: #5b4b9e;
  --main-txt-color: #ffffff;
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: var(--font-size);
  font-weight: 300;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  color: var(--main-txt-color);
  background-color: var(--main-bg-color);
  overflow: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  color: #fff;
}

h3 {
  font-size: 2.2em;
  margin: 0;
}

h4 {
  font-size: 1.4em;
  margin: 0;
}

.font-fjalla {
  font-family: "Fjalla One", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
}

b {
  font-weight: 700;
}

p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6em;
}

section {
  margin: 0 auto;
}

.aligner {
  display: flex;
  justify-content: center;
}

.flex--vertical {
  display: flex;
  flex-direction: column;
}

.flex--horizontal {
  display: flex;
  flex-direction: row;
}

.aligner_item--bottom {
  align-self: flex-end;
}

.aligner_item--middle {
  align-self: center;
}

/* NAV */
#main-nav {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 1.5rem;
  z-index: 100;
}

#logo_nav {
  display: none;
  margin-left: -4rem;
  margin-right: 6rem;
  height: 1.1rem;
  padding: 0.2rem;
}

body.fixedNav {
  padding-top: 5rem;
}

body.fixedNav #main-nav {
  position: fixed;
  background-color: var(--main-bg-color);
  margin-top: -5rem;
  padding: 0.5rem 1.5rem;
}

body.fixedNav #logo_nav {
  display: block;
}

#main-nav a {
  display: inline-block;
  color: white;
  text-decoration: none;
  position: relative;
  background-color: #5b4b9e;
  padding: 0.4rem;
}

#main-nav a:hover::before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

#main-nav a::before {
  transition: 0.5s all ease;
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: "";
  height: 2px;
  background-color: #c0b2fc;
}

#main-nav a:not(:last-child) {
  margin-right: 2rem;
}

#main-nav #lang-selection {
  position: absolute;
  right: calc((100% - 960px) / 2 + 1.5rem);
}

#main-nav #lang-selection a.selected {
  background-color: #fff;
  color: #5b4b9e;
  border: 0;
}

#main-nav #lang-selection a:not(:last-child) {
  margin-right: 0;
}

@media (max-width: 960px) {
  #logo_nav {
    margin-right: 4rem;
  }

  #main-nav #lang-selection {
    right: 3rem;
  }
}

/* HERO */

#hero {
  opacity: 0;
}

body.loaded #hero {
  opacity: 1;
  transition: opacity 2s;
}

.section--logo {
  max-width: 960px;
  position: relative;
  top: -3.6rem;
  margin-bottom: -3.6rem;
}

.section--logo img {
  position: absolute;
  max-width: 100%;
  width: 100%;
  top: 0;
  display: block;
}

.section--logo img:last-child {
  position: relative;
  opacity: 0;
}

.section--logo img:nth-child(1) {
  transform: rotate(20deg) skew(30deg, 20deg);
}

.section--logo img:nth-child(2) {
  transform: rotate(30deg);
}

.section--logo img:nth-child(3) {
  transform: rotate(-80deg);
}

.section--logo img:nth-child(4) {
  transform: rotate(80deg);
}

.section--logo img:nth-child(5) {
  transform: rotate(-60deg);
}

.section--logo img:nth-child(6) {
  transform: rotate(20deg);
}

body.loaded .section--logo img {
  transform: rotate(0deg);
  transition: transform 3s;
}

/* SUMMARY */
.section--apresentacao {
  max-width: 960px;
  position: relative;
  margin-top: 0rem;
  background-color: white;
  color: #575757;
  box-shadow: 0 2px 11px 0 rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.section--apresentacao .flex_child--vertical {
  padding: 3rem 2.4rem;
}

.section--apresentacao .summary__lists > * {
  flex: 1;
}

.flex_child--vertical.flex--horizontal.summary__lists {
  border-bottom: 1px solid #eaeaea;
}

.section--apresentacao .summary__list img {
  align-self: flex-start;
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  margin-top: 1rem;
}

.section--apresentacao .summary__list:first-of-type {
  padding-right: 1rem;
}

.section--apresentacao .summary__list:nth-of-type(2) {
  border-right: 1px solid #eaeaea;
  border-left: 1px solid #eaeaea;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section--apresentacao .summary__list:last-of-type {
  padding-left: 1rem;
}

.section--apresentacao .flex_child--vertical:last-of-type p {
  flex: 2;
}

.section--apresentacao .flex_child--vertical:last-of-type .destaque {
  flex: 1;
  text-align: right;
  align-content: flex-end;
  padding-left: 1rem;
  margin: 0 0 0 1rem;
}

.section--apresentacao .flex_child--vertical:last-of-type .destaque h2 {
  font-size: 2.4em;
}

.section--apresentacao .icon {
  width: 100px;
  height: 100px;
}

/* SNIPPETS */
.section--snippets {
  max-width: 760px;
  margin: 4rem auto 0rem auto;
  position: relative;
}

.section--snippets .snippets__cards {
  transform: translate3d(-2rem, 0rem, 0);
  align-self: flex-start;
  flex: 1;
}

.section--snippets .snippets__title {
  margin-bottom: 1rem;
}

.section--snippets .snippets__card {
  background-color: #27253f;
  border: 1px solid #6146d7;
  border-radius: 3px;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: 0.3s;
}

.section--snippets .snippets__card > h4 {
  flex: 1;
  margin-right: 1rem;
}

.section--snippets .snippets__content {
  background-color: #43328a;
  padding: 2rem;
  flex: 1;
  align-self: flex-start;
}

.section--snippets object {
  width: 15px;
}

.section--snippets .snippets__card.flex--horizontal object {
  width: 40px;
}

.section--snippets p {
  margin: 1rem 0;
}

/* FEATURES */
.section--servicos {
  max-width: 960px;
  position: relative;
  padding: 4rem 0;
  /* padding-bottom: 4rem;
    padding-top: 4rem; */
}

.section__title {
  margin: 0 auto 3rem auto;
  width: 80%;
  text-align: center;
}

.section--servicos > .flex--horizontal {
  justify-content: center;
  align-items: flex-start;
}

.section--servicos .features__left {
  text-align: right;
  padding-right: 2rem;
}

.section--servicos .features__left,
.section--servicos .features__right {
  width: 35%;
  font-size: 0.9em;
}

.section--servicos .features__right {
  text-align: left;
  padding-left: 2rem;
}

.section--servicos .features__left object,
.section--servicos .features__right object {
  width: 30px;
  height: 30px;
  margin-bottom: 0.5rem;
}

.section--servicos .features__left {
  text-align: right;
}

.section--servicos .features__left > .flex--vertical {
  align-items: flex-end;
  margin: 2rem 0;
}

.section--servicos .features__right > .flex--vertical {
  align-items: flex-start;
  margin: 2rem 0;
}

/* INTEGRATIONS */
.section--parceiros {
  text-align: center;
  padding: 5rem 5rem 0 5rem;
  background-color: #43328a;
  overflow: hidden;
}

.section--parceiros .inner {
  max-width: 960px;
  margin: 0 auto;
}

.section--parceiros .inner .confidencialidade {
  font-size: 1.2rem;
}

.section--parceiros > img {
  position: relative;
  max-width: 100%;
  padding: 1rem 0 0 0;
  bottom: -5px;
}

/* COSTUMERS */
.section--quemsomos {
  margin: 0;
  padding: 5rem 0;
  background-color: #f6f2fe;
  max-width: none;
}

.section--quemsomos > .section__container {
  max-width: 760px;
  margin: auto;
}

.section--quemsomos .title {
  color: #1d1a2b;
  text-align: center;
  font-weight: 100;
  margin-bottom: 2rem;
}

.section--quemsomos .info {
  color: #1d1a2b;
  text-align: left;
  padding: 3rem;
  background-color: #fff;
  align-self: center;
}

.section--quemsomos .illustration {
  padding: 1rem 0;
}

.section--quemsomos .illustration img {
  width: 400px;
}

/* CONTACTS */
.section--contactos {
  margin: 0;
  padding: 5rem 0;
  background-color: #f6f2fe;
  max-width: none;
}

.section--contactos .title {
  color: #1d1a2b;
  text-align: center;
  font-weight: 100;
  margin-bottom: 2rem;
}

/* CONTACT */
.section--contact {
  padding: 8rem 3rem;
  margin: 0;
  max-width: none;
}

.form-group {
  display: flex;
  align-items: stretch;
  max-width: 600px;
  margin: 2rem auto;
}

label {
  font-weight: 600;
  margin: 0.7rem;
  font-size: 0.8rem;
  width: 4.4rem;
  text-align: right;
}

.input,
textarea {
  border: 1px solid #ced4da;
  flex: 1 1 auto;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  background-clip: padding-box;
  border-radius: 3px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-button {
  padding: 0.5rem 1rem;
  margin-left: -1px;
  border: none;
  font-size: 0.8rem;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: #43328a;
  color: white;
  font-weight: 700;
  width: 15%;
  cursor: pointer;
}

.privacy_list {
  text-align: left;
  font-size: 0.7rem;
  height: 6rem;
  overflow: auto;
  border-top: 1px solid #43328a;
  border-bottom: 1px solid #43328a;
  padding: 1rem 0;
}

.privacy_list li {
  margin: 0.3rem 1rem;
}

.accept_checkbox {
  justify-content: center;
  font-weight: 700;
}

.accept_checkbox label {
  display: inline;
  margin: 0;
  padding: 0 0.2rem;
  font-weight: 700;
  text-align: left;
}

/* FOOTER */
.section--footer {
  text-align: center;
  padding: 5rem;
  background-color: #43328a;
}

.section--footer img {
  width: 8rem;
  margin: 1rem;
}

#form_response {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem;
}

#form_response img {
  height: 2.1rem;
}

#form_response a {
  padding: 0.5rem 1rem;
  margin-left: -1px;
  border: none;
  font-size: 0.8rem;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: #43328a;
  color: white;
  font-weight: 700;
  width: 15%;
  cursor: pointer;
}

@media (min-width: 768px) and (max-width: 960px) {
  .section--snippets .snippets__cards {
    transform: none;
    flex: 0.7;
    padding: 0 1rem;
  }

  .section--snippets .snippets__content {
    margin: 0 1rem 0 0;
  }
}

@media (max-width: 767px) {
  #main-nav {
    display: none;
  }

  .section--logo {
    top: 0;
    margin-bottom: 0;
  }

  #apresentacao
    > div
    > div.flex_child--vertical.flex--horizontal.summary__lists {
    flex-direction: column;
  }

  #apresentacao
    > div
    > div.flex_child--vertical.flex--horizontal.summary__lists
    > .summary__list {
    padding: 1rem 0;
  }

  #apresentacao
    > div
    > div.flex_child--vertical.flex--horizontal.aligner.fadeIn {
    flex-direction: column-reverse;
  }

  #apresentacao
    > div
    > div.flex_child--vertical.flex--horizontal.aligner.fadeIn
    > div {
    text-align: center;
    padding: 0 0 1rem 0;
    margin: 0;
  }

  #apresentacao
    > div
    > div.flex_child--vertical.flex--horizontal.aligner.fadeIn
    > div
    h2 {
    margin-top: 0;
  }

  body > section.section--snippets > div {
    flex-direction: column;
  }

  body > section.section--snippets > div > div.snippets__cards.flex--vertical {
    transform: none;
    align-self: center;
  }

  body
    > section.section--snippets
    > div
    > div.snippets__content.animated.fadeInDown
    > h3 {
    text-align: center;
  }

  #servicos > div.flex--horizontal {
    flex-direction: column;
  }

  #servicos > div.flex--horizontal > div.features__left.aligner.flex--vertical,
  #servicos
    > div.flex--horizontal
    > div.features__right.aligner.flex--vertical {
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    padding: 0 1rem;
  }

  #servicos
    > div.flex--horizontal
    > div.features__left.aligner.flex--vertical
    > div.flex--vertical {
    align-items: flex-start;
  }

  #parceiros {
    padding: 5rem 2rem 0 2rem;
  }

  .section--quemsomos {
    padding: 5rem 0 0 0;
  }

  #contactos > div:nth-child(2) > div {
    flex-direction: column-reverse;
  }

  #contactos > div:nth-child(2) > div > div.section--quemsomos.illustration {
    padding: 0;
    width: 100%;
  }

  .section--contact {
    padding: 5rem 1rem;
  }

  body > section.section--contact.js-section > div {
    width: auto;
  }

  body > section.section--contact.js-section > div > form > button {
    width: auto;
  }

  .snippets__cards.flex--vertical {
    padding-bottom: 2rem;
    width: 70%;
  }

  .section--apresentacao .summary__list:nth-of-type(2) {
    border-right: 0;
    border-left: 0;
  }
}
