:root {
  --primary-color: #e8585c;
  --primary-blue: #182029;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: var(--primary-blue);
  color: #333;
}

.hero {
  height: 1318px;
  display: flex;
  .col {
    height: 100%;
    &.left {
      flex: 1;
      background-image: url("../../assets/img/modelo.png");
      background-repeat: no-repeat;
      background-position: 0 0;
      background-size: cover;
      display: flex;
      align-items: flex-start;
      justify-content: flex-end;
      padding-right: 2rem;

      .col-content {
        width: 570px;
        margin-top: 10rem;
        display: flex;
        flex-direction: column;
        /* border: solid 1px red; */

        /* title */
        .title {
          font-family: "Roboto";
          font-weight: 800;
          display: block;
          text-transform: uppercase;
          color: var(--primary-color);
          font-size: 160px;
          line-height: 1;
        }

        .subtitle {
          font-family: "Roboto";
          font-weight: 800;
          text-transform: uppercase;
          font-size: 2.25rem;
        }

        .descr {
          color: #163f53;
          font-size: 0.75rem;
          letter-spacing: 0.625rem;
          text-transform: uppercase;
          font-weight: 600;
          margin-top: 1rem;
          line-height: 1.5;
        }

        .video {
          width: 100%;
          height: 20rem;
          aspect-ratio: 16/9;
          background-color: #000;
          margin-top: 2rem;
          iframe {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        span {
          font-size: 1.2em;
          display: block;
        }
      }
    }
    &.right {
      flex: 0 0 30%;
      background: #182029;

      .col-content {
        padding: 2rem;

        .title {
          display: block;
          color: var(--primary-color);
          text-transform: uppercase;
          margin-bottom: 2rem;
          font-size: 1.5rem;
          line-height: 1.5;
          letter-spacing: 1rem;
        }
        .descr {
          color: #fff;
          line-height: 1.5;
          font-size: 1.5rem;
        }
      }
    }
  }
}

/* Grid de imagens */
.image-grid-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  margin-top: -180px;
  /* padding-top: 120px; */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1410px;
  width: 100%;
}

.grid-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-5px);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  margin-top: 80px;
  a {
    display: block;
    text-align: center;
    padding: 2rem;
    text-decoration: none;
    background-color: var(--primary-color);
    font-size: 40px;
    color: #fff;
    font-weight: 800;
    transition: all 0.3s ease;
    &:hover {
      background-color: #e2656a;
    }
  }
}

.icon-whatsapp {
  display: inline-block;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  transition: all 0.3s ease;
  img {
    width: 100%;
    height: 100%;
  }
  &:hover {
    transform: scale(1.1);
  }
  a {
    text-decoration: none;
  }
}

.copyright {
  font-size: 14px;
  margin: 2rem;
  text-align: center;
  color: #fff;
  display: block;
}

/* Responsividade */
@media screen and (max-width: 1200px) {
  .hero {
    .col {
      &.left {
        .col-content {
          .title {
            font-size: 120px;
          }
          .subtitle {
            font-size: 1.8rem;
          }
        }
      }
      &.right {
        padding-bottom: 100px;
        .col-content {
          .title {
            font-size: 1.2rem;
            letter-spacing: 0.5rem;
          }
          .descr {
            font-size: 1.2rem;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .hero {
    flex-direction: column;
    height: auto;

    .col {
      &.left {
        min-height: 100vh;
        justify-content: center;
        padding-right: 0;
        padding: 2rem;

        .col-content {
          margin-top: 5rem;
          align-items: center;
          text-align: center;
          width: 100%;
          max-width: 570px;
        }
      }
      &.right {
        flex: 1;
        min-height: 50vh;

        .col-art {
          max-width: 100%;
          height: auto;
        }
      }
    }
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid-container {
    margin-top: -100px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    .col {
      &.left {
        .col-content {
          .title {
            font-size: 80px;
          }
          .subtitle {
            font-size: 1.5rem;
          }
          .descr {
            letter-spacing: 0.3rem;
          }
          .video {
            height: 15rem;
          }
        }
      }
      &.right {
        .col-content {
          .title {
            letter-spacing: 0.3rem;
            font-size: 1rem;
          }
          .descr {
            font-size: 1rem;
          }
        }
      }
    }
  }

  footer {
    font-size: 30px;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    .col {
      &.left {
        .col-content {
          .title {
            font-size: 60px;
          }
          .subtitle {
            font-size: 1.2rem;
          }
          .descr {
            letter-spacing: 0.2rem;
            font-size: 0.6rem;
          }
        }
      }
      &.right {
        .col-content {
          padding: 1.5rem;
        }
      }
    }
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid-container {
    padding: 20px 10px;
    margin-top: -60px;
  }

  footer {
    font-size: 24px;
    padding: 1.5rem;
  }

  .copyright {
    font-size: 12px;
    margin: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    .col {
      &.left {
        .col-content {
          .title {
            font-size: 48px;
          }
          .video {
            height: 12rem;
          }
        }
      }
    }
  }
}
