* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --color-primary: #ff5a00;
  --color-highlight: #ff6a1a;
  --color-accent: #ff7a2f;

  /* Neutras */
  --color-background: #ffffff;
  --color-section: #f2f2f2;
  --color-text: #333333;
}

body {
  background: var(--color-section);
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

h1 {
  color: var(--color-primary);
}

button {
  background: var(--color-primary);
}

button:hover {
  background: var(--color-highlight);
}

.section {
  background: var(--color-section);
}

main {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;

  .hero-shape {
    position: absolute;
    right: -250px;
    top: -900px;
    transform: rotate(65deg);
    width: 95%;
    height: 140%;
    z-index: -1;
  }

  .hero-shape svg {
    width: 100%;
    height: 100%;
    
  }

  .esquerdo {
    display: flex;
    flex-direction: column;
    gap: 30px;

    h1 {
      font-size: 5vw;
    }

    p {
      font-size: 1.4vw;
      width: 23vw;
    }

    a {
      button {
        position: relative;
        padding: 18px 20px;
        font-size: 22px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        color: var(--color-background);
        background: var(--color-accent);
        overflow: hidden;

        &::after {
          content: "";
          position: absolute;
          top: 0;
          left: -75%;
          width: 50%;
          height: 100%;

          background: linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
          );

          transform: skewX(-25deg);

          animation: shine 3s infinite;
        }

        span {
          color: var(--color-background);
          font-weight: 500;
        }
      }
    }

    .redes-sociais {
      display: flex;
      gap: 20px;

      .social {
        display: flex;
        background-color: var(--color-highlight);
        width: max-content;
        padding: 8px;
        border-radius: 50%;
        transition:
          background 0.3s,
          border 0.3s,
          border-radius 0.3s,
          box-shadow 0.3s,
          transform var(--e-transform-transition-duration, 0.4s);

        img {
          width: 1vw;
        }
      }
    }
  }

  .direito {
    img {
      width: 20vw;
      position: relative;
    }
  }
}

@media (max-width: 1000px) {
  main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    padding: 0 20px;

    .hero-shape {
      position: absolute;
      right: -170px;
      top: -150px;
      transform: rotate(60deg);
      width: 150%;
      height: 80%;
      
    }

    .esquerdo {
      display: flex;
      flex-direction: column;
      gap: 30px;

      h1 {
        font-size: 15vw;
        line-height: 90%;
        font-weight: 800;
      }

      p {
        font-size: 5vw;
        width: 40vw;
      }

      a {
        button {
          position: relative;
          padding: 10px 12px;
          font-size: 18px;
          border: none;
          border-radius: 6px;
          cursor: pointer;
          color: var(--color-background);
          background: var(--color-accent);
          overflow: hidden;

          &::after {
            content: "";
            position: absolute;
            top: 0;
            left: -75%;
            width: 50%;
            height: 100%;

            background: linear-gradient(
              120deg,
              transparent,
              rgba(255, 255, 255, 0.4),
              transparent
            );

            transform: skewX(-25deg);

            animation: shine 3s infinite;
          }

          span {
            color: var(--color-background);
            font-weight: 500;
          }
        }
      }

      .redes-sociais {
        display: flex;
        gap: 20px;

        .social {
          display: flex;
          background-color: var(--color-highlight);
          width: max-content;
          padding: 8px;
          border-radius: 50%;
          transition:
            background 0.3s,
            border 0.3s,
            border-radius 0.3s,
            box-shadow 0.3s,
            transform var(--e-transform-transition-duration, 0.4s);

          img {
            width: 3vw;
          }
        }
      }
    }

    .direito {
      img {
        width: 45vw;
      }
    }
  }
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}
