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

:root {
  /* --branco: rgba(255, 255, 255, 0.9); */
  /* --branco-fraco: rgba(255, 255, 255, 0.75); */
  /* --preto: rgba(0, 0, 0, 0.9); */
  --side-padding: 2vw;
  --slate-color: #060811;
  --white-color: #fff7ed;
  --white-nuanced-color: rgba(255, 255, 255, 0.2);
}

@font-face {
  font-family: "SpaceGroteskRegular";
  src: url(/assets/fonts/static/SpaceGrotesk-Regular.ttf);
}

@font-face {
  font-family: "SpaceGroteskBold";
  src: url(/assets/fonts/static/SpaceGrotesk-Bold.ttf);
}

body {
  position: relative;
  font-family: "SpaceGroteskRegular", sans-serif;
  background-color: var(--slate-color);
  color: var(--white-color);
}

section,
footer {
  height: 100vh;
  width: 100%;
}

header {
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px;
  mix-blend-mode: color-dodge;
  z-index: 2;

  p {
    font-size: 1.4vw;
  }

  p span {
    font-family: "SpaceGroteskBold";
  }
}

.hero {
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 3;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 0;
  }

  img {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
  }

  .hero-content {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--side-padding) 16px var(--side-padding);
    gap: 64px;

    h1 {
      font-size: 56px;
      margin: 0;
    }

    h2 {
      font-size: 16px;
    }
  }
}

.content-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
  background-color: var(--slate-color);

  div {
    padding: 0 var(--side-padding) 0 var(--side-padding);

    /* Para evitar efeito de excesso de espaçamento entre */
    /* letras causado pelo SplitText */
    div {
      padding: 0;
      margin: 0;
    }

    p {
      font-size: 40px;

      span {
        font-family: "SpaceGroteskBold";
      }
    }
  }
}

.content-2 {
  display: flex;
  justify-content: center;
  align-items: center;

  h2 {
    position: absolute;
    font-size: 7vw;
  }
}

.projects {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  gap: 32px;

  a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project {
    width: 60%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6vw;
  }

  img {
    width: 100vw;
    object-fit: cover;
    filter: saturate(0);
  }

  div h3 {
    font-size: 32px;
  }
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: -2;

  #footer-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 0;
  }

  .footer-content {
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 var(--side-padding) 16px var(--side-padding);
    gap: 16vw;

    .company-name {
      display: flex;
      flex-direction: column;
      h3 {
        margin: 0;
        font-size: 72px;
        span {
          font-family: "SpaceGroteskBold";
        }
      }
    }
    .cta-part {
      display: flex;
      flex-direction: column;
      gap: 24px;

      .content {
        h3 {
          font-size: 2.5vw;
          margin: 0;
          padding: 12px 0;
        }
        p {
          font-size: 16px;
        }
      }

      .buttons {
        display: flex;
        gap: 32px;

        .secondaryButton {
          /* TODO: transparent? */
          background-color: transparent;
          color: var(--white-color);
          border: 1px solid var(--white-nuanced-color);
        }
      }

      .buttons a {
        text-decoration: none;
        font-size: 16px;
        color: var(--white-nuanced-color);
        background-color: var(--white-color);
        padding: 8px 8px 8px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        border-radius: 40px;
        color: var(--slate-color);
      }
    }
  }
}

a {
  text-decoration: none;
}
