:root {
  --white-color: #fff;
  --light-color: #ededed;
  --dark-color: #0637a2;
  --darker-color: #021745;
  --primary-color: #c6006d;
  --secondary-color: #2ca8a5;
  --tertiary-color: #f17515;
  --font-family-default: "Montserrat", sans-serif;
  --font-family-details: "Lato", sans-serif;
  --font-size: 20px;
}

* {
  box-sizing: border-box;
  color: var(--darker-color);
  font-family: var(--font-family-default);
  font-size: var(--font-size);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

#top-of-site-pixel-anchor {
  height: 1px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 1px;
}

body {
  display: flex;
  flex-flow: column nowrap;
  min-height: 100vh;
  position: relative;
}

header {
  position: sticky;
  transition: all .6s ease-in-out;
}

main section,
aside section {
  padding: 32px;
}

aside {
  background-color: var(--light-color);
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

footer {
  background-color: var(--darker-color);
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: inherit;
  font-weight: inherit;
}

h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin: 16px auto 48px;
  position: relative;
  width: fit-content;
}

h1::after {
  background-color: var(--primary-color);
  bottom: -21px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  width: 100%;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1.05rem;
}

p,
p * {
  font-family: var(--font-family-details)
}

input {
  accent-color: var(--primary-color);
  background-color: transparent;
  border: .15rem solid var(--white-color);
  border-radius: 4rem;
  color: var(--white-color);
  font-size: var(--font-size);
  font-weight: bolder;
  margin: 10px auto;
  padding: .4rem .6rem;
  text-align: center;
}

input::placeholder {
  color: var(--light-color);
  font-weight: normal;
}

header {
  border-bottom: .25rem solid transparent;
  min-width: 100vw;
  padding: .875rem;
  position: fixed;
  text-align: center;
  top: 0;
  transition: all .6s ease-in-out;
  z-index: 1;
}

footer {
  min-width: 100vw;
  padding: .875rem;
  text-align: center;
}

.header__title {
  background-color: transparent;
  color: var(--white-color);
  font-size: .75rem;
  font-weight: bolder;
  line-height: 1.75;
  max-width: 100%;
  transition: all .6s ease-in-out;
  text-align: center;
}

.header-not-at-top header {
  background-color: var(--darker-color);
  border-bottom: .25rem solid var(--secondary-color);
}

.header-not-at-top .header__title {
  margin-right: auto;
  font-size: .66rem;
  line-height: 1.5;
  max-width: 330px;
}

.main-banner {
  align-items: center;
  background-attachment: scroll;
  background-blend-mode: soft-light;
  background-color: var(--darker-color);
  background-image: url('main-banner-bg-360x640.jpg');
  background-position: center 75%;
  background-size: cover;
  border-bottom: .25rem solid var(--secondary-color);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 3rem;
}

.main-banner__logo {
  margin: 0 0 0.5rem;
  order: -1;
}

.main-banner__title {
  color: var(--white-color);
  font-size: 1.875rem;
  margin: .8rem auto .4rem;
  text-align: center;
}

.main-banner__description {
  color: var(--white-color);
  font-weight: bolder;
  line-height: 1.75;
  text-align: center;
  font-size: 40px;
}

.main-banner__cta {
  background-color: var(--secondary-color);
  border-radius: 4rem;
  color: var(--white-color);
  font-size: var(--font-size);
  font-weight: bolder;
  margin: 2.33rem auto;
  padding: .8rem 1rem;
  text-align: center;
  transition: all .3s ease-in-out;
}

.main-banner__cta:hover {
  background-color: var(--primary-color);
}

.services {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.services__title {
  color: var(--secondary-color);
  flex: 1 0 100%;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 1rem 0 0;
  text-align: left;
  text-transform: uppercase;
}

.services__description {
  color: var(--darker-color);
  flex: 1 0 100%;
  font-size: .875rem;
  padding: .5rem 0 2.5rem;
  text-align: left;
}

.services__description strong {
  font-size: .875rem;
}

.service {
  flex: 1 0 100%;
  padding: 0;
  margin: 0 auto 2rem;
  position: relative;
}

.service__content {
  align-items: center;
  background-color: var(--primary-color);
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  min-height: 240px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.service.card--formacao .service__content::after,
.service.card--palestra .service__content::after,
.service.service.card--consultoria .service__content::after,
.service.service.card--assessoria .service__content::after {
  height: auto;
  opacity: .2;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: scale(2);

}

.service.card--formacao .service__content::after {
  content: url('icon-formacao.png');
}

.service.card--palestra .service__content::after {
  content: url('icon-palestra.png');
}

.service.card--consultoria .service__content::after {
  content: url('icon-consultoria.png');
}

.service.card--assessoria .service__content::after {
  content: url('icon-assessoria.png');
}

h2.service__title,
.service__description {
  color: var(--white-color);
  text-align: left;
  width: 100%;
}

h2.service__title {
  margin-bottom: 1rem;
}

.author {
  align-items: center;
  display: flex;
  flex: 0 1 100vw;
  flex-flow: column nowrap;
  justify-content: center;
  padding: 32px;
}

.author__title {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: bold;
  justify-self: baseline;
  margin-right: auto;
  padding: 1rem 0;
  text-align: left;
  text-transform: uppercase;
}

.author__avatar {
  border: .25rem solid var(--secondary-color);
  border-radius: 50%;
  margin: .875rem auto 1rem;
}

p.author__role {
  color: var(--dark-color);
  margin: .5rem auto 1.5rem;
  text-align: center;
}

.ebook {
  background-color: var(--secondary-color);
  align-items: center;
  display: flex;
  flex: 0 1 100vw;
  flex-flow: column nowrap;
  justify-content: space-between;
  padding: 32px;
}

.ebook__title {
  color: var(--darker-color);
  font-size: 1.25rem;
  font-weight: bold;
  justify-self: baseline;
  margin-right: auto;
  padding: 1rem 0;
  text-align: left;
  text-transform: uppercase;
}

.ebook__description {
  color: var(--white-color);
  font-size: var(--font-family-details);

  padding: 1rem 0;
}

.ebook__form {
  align-items: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  margin: .875rem auto 1rem;
}

.ebook__form [type="email"] {
  margin-bottom: 0;
}

.ebook__form .form__label--checkbox {
  color: var(--white-color);
  font-size: .8rem;
}

.form__submit {
  background-color: var(--primary-color);
  border: none;
  border-radius: 4rem;
  color: var(--white-color);
  font-size: var(--font-size);
  font-weight: bolder;
  margin: 2.33rem auto;
  padding: 0.8rem 1rem;
  text-align: center;
  transition: all .3s ease-in-out;
  display: inline-block
}

.form__submit:hover {
  background-color: var(--darker-color);
}
.ebook__form button{
  background-color: var(--primary-color);
  border: none;
  border-radius: 4rem;
  color: var(--white-color);
  font-size: var(--font-size);
  font-weight: bolder;
  margin: 2.33rem auto;
  display: inline-block;
  padding: 0.8rem 1rem;
  text-align: center;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

.ebook__form button:hover {
  background-color: var(--darker-color);
}

.footer__copy,
.footer__copy sup {
  color: var(--light-color);
  font-size: .75rem;
  font-weight: normal;
  line-height: 1.25rem;
  text-align: center;
}

.footer__copy sup {
  font-size: .5rem;
}

@media only screen and (min-width: 412px) {
  .main-banner {
    background-image: url('main-banner-bg-412x915.jpg');
  }
}

@media only screen and (min-width: 600px) {
  .header__title {
    font-size: .9rem;
    line-height: 1.5;
  }

  .main-banner {
    background-image: url('main-banner-bg-600x1024.jpg');
  }

  .main-banner__title {
    font-size: 1.9rem;
  }
}

@media screen and (min-width: 768px) {
  .header__title {
    font-size: 1rem;
    line-height: 1.66;
  }

  .main-banner {
    background-image: url('main-banner-bg-768x1024.jpg');
    padding-top: 6rem;
  }

  .services__title {
    padding: 1rem 1rem 0;
  }

  .services__description {
    padding: .5rem 1rem 2.5rem;
  }

  .service {
    flex: 0 1 50%;
    margin: auto;
    padding: 1rem;
  }

  .service__content {
    min-height: calc(21vw - 96px);
  }

}

@media only screen and (min-width: 800px) {
  .main-banner {
    background-image: url('main-banner-bg-800x1334.jpg');
  }

  .main-banner__title {
    font-size: 2rem;
  }

}

@media only screen and (min-width: 1024px) {
  h1::after {
    height: 10px;
  }

  .header__title {
    font-size: 1.125rem;
    line-height: 1.75;
  }

  .main-banner {
    background-image: url('main-banner-bg-1024x768.jpg');
  }

  .main-banner__title {
    font-size: 2.125rem;
    max-width: 77vw;
  }

  .main-banner__description {
    max-width: 77vw;
  }
}

@media only screen and (min-width: 1280px) {

  .header__title {
    font-size: 1.25rem;
  }

  .main-banner__title {
    font-size: 2.25rem;
  }

  .author {
    flex: 0 1 50%;
  }

  .ebook {
    flex: 0 1 50%;
  }
}

@media only screen and (min-width: 1366px) {

  .header__title {
    font-size: 1.25rem;
  }

  .main-banner {
    background-image: url('main-banner-bg-1366x768.jpg');
    min-height: 66vh;
  }

  .main-banner__title {
    font-size: 2.33rem;
  }
}

@media only screen and (min-width: 1480px) {

  .header__title {
    font-size: 1.5rem;
  }

  .main-banner {
    min-height: 66vh;
  }

  .main-banner__title {
    font-size: 2.5rem;
  }

  .service {
    flex: 0 1 25%;
    padding: 0 1rem;
  }

  .service__content {
    min-height: calc(25vw - 96px);
  }


  .author {
    flex: 1 1 640px;
  }

  .ebook {
    flex: 1 1 calc(100% - 640px);
  }
}

@media only screen and (min-width: 1536px) {
  .main-banner {
    background-image: url('main-banner-bg-1536x864.jpg');
    min-height: 66vh;
  }
}

@media only screen and (min-width: 1920px) {

  .header__title {
    font-size: 2rem;
  }

  .main-banner {
    background-image: url('main-banner-bg-1920x1080.jpg');
    min-height: 66vh;
  }

  .main-banner__title {
    font-size: 2.66rem;
  }
}

@media only print {
  * {
    background-color: transparent !important;
    color: var(--darker-color) !important;
  }

  body {
    display: block;
    margin: auto;
    text-align: left !important;
  }

  main,
  aside {
    display: block;
    padding: 1.5cm;
  }

  .main-banner,
  .services,
  .author {
    display: block;
    margin: 1.5cm auto;
    max-height: 90vh;
    min-height: 90vh;
    padding: 0;
  }

  script,
  style,
  head,
  header,
  footer,
  img,
  .main-banner__cta,
  .ebook {
    border: none;
    color: transparent;
    display: none !important;
    height: 0;
    margin: 0;
    max-height: 0;
    max-width: 0;
    opacity: 0;
    padding: 0;
    width: 0;
  }
}