/* =====================
   METHOD
===================== */

.method-section {
  padding: 8rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  max-width: 1400px;
  margin: 15px auto;
}

.method-section h2 {
  grid-column: 1 / -1;
  font-size: 2.8rem;
  color: #a38bff;
  margin-bottom: 3rem;
  position: relative;
  letter-spacing: -1px;
}

.method-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #48dacb, transparent);
  border-radius: 999px;
}

.method-item {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Barra lateral esquerda */
.method-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #6659b0, #48dacb);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Background pattern sutil */
.method-item::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(72, 218, 203, 0.03) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.method-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(72, 218, 203, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.method-item:hover::before {
  opacity: 1;
}

.method-item:hover::after {
  opacity: 1;
}

.method-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(72, 218, 203, 0.1);
  line-height: 1;
  transition: all 0.4s ease;
  font-family: 'Montserrat', sans-serif;
}

.method-item:hover .method-number {
  color: rgba(72, 218, 203, 0.2);
  transform: scale(1.1);
}

.method-icon svg {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  transition: all 0.4s ease;
  display: inline-block;
}

.method-item:hover .method-icon svg {
  opacity: 1;
  transform: scale(1.1) rotate(5deg);
}

.method-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #ffffff;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.method-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  margin: 0;
}

.method-item:hover h3 {
  color: #48dacb;
}

.method-item:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* =====================
   PRIMEIRO CARD DESTAQUE
===================== */

.method-item:first-of-type {
  border-color: rgba(72, 218, 203, 0.15);
  background: rgba(72, 218, 203, 0.03);
}

.method-item:first-of-type .method-number {
  color: rgba(72, 218, 203, 0.2);
}

/* =====================
   SERVICES SECTION
===================== */

.services {
  padding: 8rem 2rem;
}

.services h2 {
  font-size: 2.8rem;
  margin-bottom: 8rem;
  color: #a38bff;
  position: relative;
  letter-spacing: -1px;
}

.services h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.6rem;
  width: 25%;
  height: 3px;
  background: linear-gradient(90deg, #48dacb, transparent);
  border-radius: 999px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.5rem;
  width: 100%;
}

.service-card {
  padding: 2.8rem 2.4rem;
  border-radius: 22px;
  position: relative;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(102, 89, 176, 0.12),
    rgba(72, 218, 203, 0.08)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  z-index: 1;
}

.service-card:hover h3 {
  color: #48dacb;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

.service-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #48dacb;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.service-highlight {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #48dacb;
  opacity: 0.85;
}

.services-subtitle {
  margin-bottom: 4rem;
  max-width: 600px;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

.service-meta {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}

.service-meta li {
  position: relative;
  padding-left: 1rem;
}

.service-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* =====================
   fit-section
===================== */

.fit-section {
  padding: 120px 0;
  width: 100%;
  background: linear-gradient(
    180deg,
    #0e0e0e 0%,
    rgba(102, 89, 176, 0.08) 50%,
    #0e0e0e 100%
  );
  text-align: center;
}

.fit-section h2 {
  margin-bottom: 20px;
}

.fit-subtitle {
  max-width: 600px;
  margin: 0 auto 60px;
  opacity: 0.7;
  position: relative;
}

.fit-subtitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, #6659b0, #48dacb);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.fit-item {
  padding: 40px 30px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  background: rgba(255,255,255,0.01);
}

.fit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(102, 89, 176, 0.15),
    rgba(72, 218, 203, 0.15)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.fit-item:hover {
  transform: translateY(-6px);
  border-color: #6659b0;
}

.fit-item:hover::before {
  opacity: 1;
}

.fit-item h3 {
  margin-bottom: 15px;
}

.fit-section h2 {
  margin-bottom: 20px;
  background: linear-gradient(90deg, #6659b0, #48dacb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =====================
   DESKTOP SCALE MODE
===================== */

@media (min-width: 1200px) {
  .method-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 10rem 2rem 0;
  }

  .method-section h2 {
    font-size: 3.6rem;
    letter-spacing: -1.5px;
    margin-bottom: 4rem;
  }

  .method-item {
    padding: 3rem 2.5rem;
  }

  .method-item h3 {
    font-size: 1.45rem;
  }

  .method-item p {
    font-size: 1.05rem;
  }

  .method-number {
    font-size: 3.5rem;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }

  .service-card p {
    font-size: 1.15rem;
  }

  .fit-section {
    padding: 10rem 2rem;
  }

  .fit-section h2 {
    font-size: 3.4rem;
    letter-spacing: -1.5px;
    margin-bottom: 2rem;
  }

  .fit-subtitle {
    font-size: 1.2rem;
    max-width: 720px;
    margin-bottom: 5rem;
  }

  .fit-grid {
    gap: 3rem;
  }

  .fit-item {
    padding: 3rem 2.5rem;
  }

  .fit-item h3 {
    font-size: 1.4rem;
  }

  .fit-item p {
    font-size: 1.05rem;
  }
}

@media (min-width: 1600px) {
  .method-section {
    max-width: 1600px;
    gap: 3rem;
  }

  .fit-section {
    margin: 0 auto;
    padding: 12rem 2rem;
  }

  .fit-section h2 {
    font-size: 3.8rem;
  }

  .fit-subtitle {
    font-size: 1.25rem;
  }

  .fit-grid {
    gap: 3.5rem;
  }

  .fit-item {
    padding: 3.5rem 3rem;
  }

  .fit-item h3 {
    font-size: 1.5rem;
  }

  .fit-item p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .method-section {
    padding: 1rem 2rem;
    gap: 1.5rem;
  }

  .method-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .method-item {
    padding: 2rem 1.5rem;
  }

  .method-number {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }

  .method-icon svg {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .method-item h3 {
    font-size: 1.1rem;
  }

  .method-item p {
    font-size: 0.95rem;
  }

  .services {
    padding: 1rem 2rem;
  }
  .services h2 {
    margin-bottom: 2rem;
  }

  .service-grid {
    gap: 1rem;
  }
}
