*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Heebo', sans-serif;
  line-height: 1.6;
}

img {
  width: 40%;
  /* max-width: 100%; */
  /* display: block; */
}

h1,
h2,
h3,
p {
  margin: 0;
}

section {
  padding: 4em 0;
}

.container {
  width: 85%;
  max-width: 65em;
  margin: 0 auto;
}

.split {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.split > * {
  -ms-flex-preferred-size: 30%;
  flex-basis: 30%;
  min-width: 15em;
}

.spacing > * + * {
  margin-top: var(--spacer, 2rem);
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.125rem;
  padding: 0.5em 1.25em;
  background: #00a394;
  border-radius: 0.25em;
  transition: transform 250ms ease-in-out, filter 250ms linear;
}

.btn:hover,
.btn:focus {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.primary-title {
  font-family: 'Arvo', serif;
  font-size: 4rem;
  font-size: clamp(3rem, 5vw + 1rem, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw + 1rem, 3rem);
  line-height: 1;
  color: #00a394;
  margin-bottom: 5rem;
}

.hero {
  display: flex;
  align-items: center;
  height: 50vh;
  color: white;
  text-align: center;
  padding: 15em 0;
  background-color: #222;
  position: relative;
}

.arrow {
  display: none;
}

@supports (background-blend-mode: multiply) {
  .hero {
    background: url(../img/logo-green.png), radial-gradient(#444, #333);
    background-size: 70%, contain;
    background-blend-mode: multiply;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
    background-position: center;
  }
}

.featured {
  /* background: #eee; */
  background: #fff;
}

.featured__item {
  display: block;
  position: relative;
  transform: scale(0.85);
  transition: transform 250ms ease-in-out;
  text-decoration: none;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

.featured__item:hover,
.featured__item:focus {
  transform: scale(1);
}

/* .featured__item::after {
  content: '';
  position: absolute;
  top: 0%;
  left: 10%;
  padding: 75% 75% 0 0;
  border-radius: 50%;
  background: #00a394;
  z-index: -1;
} */

.featured__item span {
  display: block;
  font-weight: 700;
  font-size: 2.5rem;
}

.featured__img {
  width: 50%;
  margin: 0 auto;
}

.featured__details {
  opacity: 0;
  transition: opacity 250ms linear;
}

.featured__item:hover .featured__details,
.featured__item:focus .featured__details {
  opacity: 1;
  text-shadow: 0 0 2em white;
}

.application {
  font-family: 'Arvo', serif;
}

.aplicacoes {
  background: #eee;
}

.product {
  padding: 3em;
  border-radius: 1em;
  margin-bottom: 5em;
  text-align: center;
  box-shadow: 3px 3px 3px 1px rgba(0, 0, 0, 0.2);
}

.product__image {
  margin: -5em 0 0 0;
  filter: contrast(200%);
}

.product__title {
  font-family: 'Arvo', serif;
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 0.2);
}

.product__description {
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 1.4rem;
}

@media (min-width: 65em) {
  .split {
    flex-wrap: nowrap;
  }

  .grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 2rem;
    justify-content: center;
  }

  .arrow {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .arrow a img {
    filter: contrast(200%);
    width: 30px;
    margin: 25px;
  }

  .primary-description {
    padding: 0 50px;
  }

  .product {
    text-align: left;
    margin-bottom: 0;
  }
  .product__title {
    margin: 0;
    padding-bottom: 1.5rem;
  }
  .product__image {
    float: right;
    width: 30%;
    /* shape-outside: url(../img/zadf.svg); */
    shape-margin: 1em;
    margin: 0 -1.5em 0 0;
  }

  .grid-footer {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 2rem;
    justify-content: space-around;
    padding: 30px 30px;
    text-align: center;
  }

  .grid-footer h6 {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  /* .product.card-left .product__image {
    float: left;
    shape-outside: url(../img/cf.svg);
    margin: 0 0 0 -1.5em;
    shape-margin: 2em;
  } */
}

.card-blue {
  background: #536dfe;
}

.card-blue-light {
  background: #00b8d4;
}

.card-orange {
  background: #ffa000;
}

.card-purple {
  background: #8e24aa;
}

/* FOOTER */
@media only screen and (min-width: 360px) and (max-width: 979px) {
  .grid-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
  }

  h6,
  ul {
    margin: 0;
  }

  .footer-site,
  .footer-redes,
  .footer-address {
    margin: 1.5rem 0;
  }
}

.img-footer img {
  width: 100%;
  margin-top: 16px;
}

.img-footer,
.footer-site > *,
.footer-redes > *,
.footer-address > * {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-redes ul {
  padding: 0.4rem 0 0 0;
}

.footer-redes ul li {
  display: inline-block;
  padding: 0;
}
.footer-redes ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.footer-redes ul li a img {
  width: 25px;
  height: 25px;
}

.footer-address p {
  font-size: 1rem;
  padding-top: 10px;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #eee;
  padding: 20px 0;
}
