/* =====================
   HERO
===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 6rem;

  background:
    linear-gradient(
      rgba(14, 14, 14, 0.75),
      rgba(14, 14, 14, 0.9)
    ),
    url("./assets/hero-bg.jfif");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero p {
  margin-top: 2rem;
  max-width: 600px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =====================
   METHOD
===================== */

.method-section {
  padding: 8rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  position: relative;
}

.method-section h2 {
  grid-column: 1 / -1;
  font-size: 2.8rem;
  color: #a38bff;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: -1px;
}

.method-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, #48dacb, transparent);
  border-radius: 999px;
}

.method-item {
  position: relative;
  padding: 2.6rem 2.2rem;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.method-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, #6659b0, #48dacb);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.method-item:hover::before {
  opacity: 1;
}

.method-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  transition: color 0.3s ease;
}

.method-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
}

.method-item:hover h3 {
  color: #48dacb;
}

.method-item:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* =====================
   PROJECTS
===================== */

.projects-section {
  padding: 8rem 2rem;
}

.projects-section h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
  color: #a38bff;
  position: relative;
}

.projects-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #48dacb,
    transparent
  );
  border-radius: 999px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 4rem;
  max-width: 1100px;
}

.project-item h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  transition: color 0.35s ease;
}

.project-item p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.35s ease;
}

.project-item:hover h3 {
  color: #48dacb;
}

.project-item:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* =====================
   DESKTOP SCALE MODE
===================== */

@media (min-width: 1200px) {

  /* Seções mais altas */
  section {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
  }

  /* HERO */
  .hero {
    padding-top: 14rem;
    padding-bottom: 12rem;
  }

  .hero-title {
    font-size: 6rem;
    line-height: 1.05;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 1.35rem;
    max-width: 720px;
  }

  /* TÍTULOS DE SEÇÃO */
  .method-section h2,
  .projects-section h2 {
    font-size: 3.6rem;
    letter-spacing: -1.5px;
  }

  /* METHOD */
  .method-item h3 {
    font-size: 1.45rem;
  }

  .method-item p {
    font-size: 1.05rem;
  }

  /* PROJECTS */
  .projects-section h3 {
    font-size: 1.7rem;
  }

  .projects-section p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 9rem 2rem;
  }

  .method-section {
    padding: 1rem 2rem;
    gap: 1px;
  }

  .projects-section {
    padding: 1px 2rem;
  }

  .projects-section h2 {
    margin-bottom: 1rem;
  }

  .projects-grid {
    gap: 2rem;
  }
}
