* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0c0102;
}

@font-face {
  font-family: "stranger";
  src: url("assets/fonts/Benguiat\ Bold.ttf");
}

html, body{
  overflow-x: hiden;
}

body {
  color: rgba(255, 255, 255, 0.9);
  background-color: #0c0102;
}

body,
button {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-family: "stranger", sans-serif;
}

section {
  padding: 0 6vw;
  width: 100%;
  overflow: hidden;
}

/* PRELOADER */
#preloader {
  width: 100%;
  height: 100vh;
  inset: 0;
  position: fixed;
  background-color: #0c0102;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;

  .logoLoader {
    width: 400px;
    height: 400px;
  }
}
.logoLoader path {
  fill: #e92a2d23;
  stroke: #e92a2d;
  stroke-width: 0.1px;
  stroke-dasharray: 114;
  stroke-dashoffset: 114;
}

#smooth-content {
  opacity: 0;
}

body.loaded #smooth-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.botaoPrimario {
  display: flex;
  align-items: center;
  background-color: transparent;
  padding: 12px 16px;
  color: white;
  border: none;
  outline: none;
  border-bottom: 1px solid white;
  gap: 12px;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.092);
  transition: all 0.3s;
  margin-top: 4px;
  cursor: pointer;;

  svg {
    transition: all 0.3s;
  }

  &:hover {
    background-color: rgba(255, 255, 255, 1);
    color: black;
    svg {
      transform: rotate(16deg);
      path {
        stroke: black;
      }
    }
  }
}

a {
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0.8;

  &:hover {
    opacity: 1;
    cursor: pointer;
  }
}

p {
  opacity: 0.8;
}

.line {
  overflow: hidden;
}

.data {
  display: flex;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px 16px;

  p {
    color: rgb(24, 24, 24);
    font-weight: 600;
  }
}

.pagina {
  width: 100%;
}

.sec1 {
  height: 100vh;
  position: relative;

  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 12%;

  &:before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: linear-gradient(180deg, rgba(12, 1, 2, 0) 70.74%, #0c0102 100%),
      radial-gradient(
        50% 50% at 50% 50%,
        rgba(12, 1, 2, 0) 0%,
        rgba(12, 1, 2, 0.7) 100%
      );
    inset: 0;
    z-index: 1;
  }

  header {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 64px;
    left: 0;
    padding: 0 3vw;

    img:nth-child(2) {
      width: 88px;
    }
  }

  picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
    z-index: -1;
  }

  .esquerda,
  .direita {
    z-index: 2;
  }

  .esquerda {
    align-items: start;

    h2 {
      font-weight: 400;
      font-size: clamp(14px, 1.4vw, 1.4vw);

      opacity: 0.8;
    }
    h1 {
      font-size: 7vw;
    }

    .divIcones {
      margin-top: 12px;
      display: flex;
      flex-wrap: wrap;
      max-width: 380px;
      gap: 16px;
      opacity: 0.8;

      h3 {
        font-size: 14px;
        font-weight: 400;
      }

      .divIcone {
        display: flex;
        gap: 8px;

        img {
          width: 20px;
        }
      }
    }
  }

  .direita {
    align-items: end;
    width: 29%;
    min-width: 330px;
    gap: 40px;

    .tecnologias {
      opacity: 0.7;
    }
    p {
      font-size: clamp(16px, 1.3vw, 1.3vw);
      font-weight: 300;
      text-align: end;
    }
  }
}

.sec2 {
  z-index: 2;
  position: relative;
  background-color: var(--bg);
  background-image: url("assets/bg-sec2.webp");
  background-position: end;
  background-size: contain;
  margin-top: -1px;
  padding-bottom: 200px;

  h2 {
    font-size: 40px;
    font-weight: 500;
  }
  .divVideo {
    position: relative;
    width: 100%;
    .video-container {
      position: relative;
      max-height: 100vh;
      max-width: 1920px;
      aspect-ratio: 16 / 9;
      border-radius: 12px;
      overflow: hidden;
      margin: 2rem auto;
    }

    .video-container video {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
    }

    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.3s ease;
      z-index: 2;
    }

    .play-btn {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.2);
      color: white;
      font-size: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.3s ease;
    }

    .play-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: scale(1.1);
    }
  }
  .divAulas {
    gap: 40px;
    width: 100%;
    margin: 120px 0px;
    flex-direction: row;
    justify-content: space-between;

    .esquerda {
      max-width: 480px;

      p {
        margin: 8px 0px 20px;
      }
    }

    .direita {
      display: flex;
      justify-content: end;
      flex-direction: row;
      gap: 32px;

      .card {
        max-width: 240px;
        h3 {
          margin: 12px 0px 4px;
        }
      }
    }
  }

  .divDevart {
    gap: 40px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;

    .direita {
      display: flex;
      flex-direction: column;
      max-width: 540px;
      align-items: end;
      text-align: end;

      p {
        margin: 8px 0px 20px;
      }
    }

    .esquerda {
      display: flex;
      justify-content: end;
      flex-direction: row;
      gap: 32px;

      .card {
        max-width: 240px;
        h3 {
          margin: 12px 0px 4px;
        }
      }
    }
  }
}

.sec3 {
  background-image: url("assets/bg-footer.webp");
  background-position: center;
  background-size: cover;
  padding-top: 180px;

  .conteudo,
  .logos,
  .txtAnimado {
    width: 100%;
    flex-direction: row;
  }

  .conteudo,
  .logos {
    justify-content: space-between;
  }

  .conteudo {
    .esquerda {
      align-items: start;
      gap: 12px;
      h2 {
        font-family: "stranger", sans-serif;
        font-size: 52px;
        line-height: 56px;
      }
      h3 {
        font-size: 30px;
        letter-spacing: 8px;
        font-weight: 400;
        opacity: 0.8;
      }
    }

    .direita {
      flex-direction: row;
      align-items: start;
      gap: 80px;

      .info {
        align-items: start;
        gap: 16px;
      }

      h2 {
        font-size: 18px;
        font-weight: 600;
      }

      .info:nth-child(1) div {
        display: flex;
        flex-direction: row;
        gap: 12px;
      }
      .info:nth-child(2) {
        align-items: start;
        gap: 4px;
      }
    }
  }

  .logos {
    margin: 120px 0px 0px;

    .fever {
      width: 84px;
    }
  }

  .txtAnimado {
    width: max-content;
    mix-blend-mode: color-dodge;

    h3 {
      font-size: 12vw;
      font-family: "stranger", sans-serif;
      color: rgb(180, 180, 180);
      animation: faixaAnimada 16s infinite linear;
      padding-left: 3vw;
    }
  }
}

@keyframes faixaAnimada {
  to {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 1540px) {
  section {
    padding: 0 3vw;
  }
}

@media screen and (max-width: 1268px) {
  .sec2 {
    padding: 0 6vw 100px;

    .divAulas,
    .divDevart {
      flex-direction: column;
      align-items: start;
    }
    .divAulas {
      margin: 10% 0;
      .direita .card {
        max-width: none;
        width: 100%;
      }
    }
    .divDevart {
      .esquerda .card {
        max-width: none;
        width: 100%;
      }

      .direita {
        order: -1;
        align-items: start;
        text-align: start;
      }
    }
  }
}

@media screen and (max-width: 700px) {

  #preloader .logoLoader {
    width: 80vw;
    height: auto;
  }

  .data{
    font-size: 14px;
  }
  section {
    padding: 0 4vw;
  }
  .sec1 {
    height: 100lvh;
    flex-direction: column;
    justify-content: space-between;
    padding: 68px 4vw 40px;

    header {
      display: none;
    }

    .bg {
      object-position: 50% 100%;
    }
    .esquerda {
      align-items: center;

      h2 {
        font-size: 3.8vw;
      }
      h1 {
        font-size: 19vw;
      }

      .divIcones {
        .divIcone {
          gap: 2vw;
          img {
            width: 5vw;
          }

          h3 {
            font-size: 3.2vw;
          }
        }
      }
    }

    .direita {
      align-items: start;
      gap: 20px;
      width: 100%;
      min-width: auto;

      .tecnologias {
        width: 60%;
      }

      p {
        text-align: start;
        font-size: clamp(4.1vw, 4.1vw, 20px) ;
      }
    }
  }

  .sec2 {
    background-image: url("assets/bg-sec2-mobile.webp");
    background-size: cover;
    padding: 2vw 4vw 8vw;
    h2 {
      font-size: 9vw;
    }

    p {
      margin: 4px 0px 20px !important;
    }

    .divAulas {
      margin: 8vw;
      .direita {
        gap: 20px;
        flex-direction: column;
        .card {
          h3 {
            font-size: 6vw;
            font-weight: 500;
          }
          p {
            font-size: clamp(12px, 4.1vw, 20px);
          }
        }
      }

      
    }
    .divDevart {
        .direita p {
          font-size: clamp(12px, 4.1vw, 20px);
        }
        .esquerda {
        gap: 20px;
        flex-direction: column;
        .card {
          h3 {
            font-size: 6vw;
            font-weight: 500;
          }
          p {
            font-size: clamp(12px, 4.1vw, 20px);
          }
        }
      }
      }

  }

  .sec3{
    background-image: url("assets/bg-footer-mobile.webp");
    padding-top:  13vw;
    justify-content: start;
    .conteudo{
      flex-direction: column;
      gap: 7vw;
      
      .esquerda{
        align-items: center;
        text-align: center;
        h3{
          font-size: 6vw;
        }
        h2{
          font-size: 13vw ;
        }
      }
      .direita{
        align-items: center;
        
        gap: 4vw;
        flex-direction: column;

        .info{
          align-items: center !important;
          text-align: center;
        }
      }
    }

    .txtAnimado{
      h3{
        font-size: 24vw;

      }
    }
  }
}
