* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  transition: .15s ease;
}

p {
  line-height: 1.5;
}

body {
  font-family: 'Trajan Pro', serif;
  background-color: #fff;
  color: #454545;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
  line-height: 1.6;
  font-size: 1.625em;

  margin: 2em 0;

  & strong {
    color: #F32228;
    font-size: 1.05em
  }

  @media(max-width: 768px) {
    font-size: 1.125em;
  }

}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.banner {
  aspect-ratio: 1850/400;
  width: 95%;
  max-width: 1850px;
  margin: 2em auto;
  border-radius: 1.125em;
  overflow: hidden;

  @media(max-width: 768px) {
    aspect-ratio: 1;
  }

  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    &.desktop {
      @media(max-width: 768px) {
        display: none !important;
      }
    }

    &.mobile {
      @media(min-width: 769px) {
        display: none !important;
      }
    }
  }




}

.container {
  width: 95%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  /* border: 1px dashed red; */
}

.cards {
  display: grid;
  gap: 1.5em;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  margin: 3em 0;

  @media(max-width: 768px) {
    grid-gap: 0.5em;
  }

  img {
    display: block;
    border-radius: 1em;
    margin: 0;
    width: 100%;
  }
}

.titulo-linha {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  font-size: 1.5em;
  margin-bottom: 1em;

  span {
    white-space: nowrap;
  }

  &::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #454545;
    margin-bottom: 0.375em;
  }

  @media(max-width: 768px) {
    font-size: 1.375em;
  }
}

.btn-verde {
  display: inline-block;
  text-decoration: none;
  border-radius: 0.625em;
  padding: 0.8em 1.5em 0.4em;
  color: #fff;
  background-color: #1edb3b;
  font-size: 1.1em;

  &:hover {
    background-color: #1db935;
  }
}

.lista-contatos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5em;
}

.card-contato {
  text-wrap: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.125em;

  p {
    margin-bottom: 0.2em;
  }

  a {
    text-wrap: nowrap;
    text-decoration: none;
    font-weight: bold;

    &:hover {
      text-decoration: underline;
    }
  }
}

.footer {
  background-color: #ececec;
  width: 95%;
  max-width: 1800px;
  border-radius: 1.125em;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}

.content-footer {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: 90%;
  gap: 4em;

  .coluna {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;

    h3 {
      font-size: 1.125em;
      margin-top: 0;
      margin-bottom: 1.25em;

      @media(max-width: 768px) {
        font-size: 1em;
      }
    }

    img {
      display: block;
      margin: 0;
      width: 100%;
      max-width: 400px;
      height: 100%;
      object-fit: contain;
    }
  }
}
