/* Seção Nossos Valores - Layout conforme design */
.nossos-valores {
  padding: 80px 0;
  background: #0f1419;
  color: white;
}

.nossos-valores .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.nossos-valores h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #00E5CC;
  margin-bottom: 60px;
  font-weight: 700;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1000px;
}

.valor-item {
  position: relative;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  cursor: default; /* Remove o cursor de mão */
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.valor-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 229, 204, 0.1) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.valor-item:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.valor-content {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  color: white;
  text-align: left;
  transition: all 0.2s ease;
  z-index: 3;
}

.valor-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #00E5CC;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.valor-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
  font-weight: 400;
  transition: all 0.3s ease;
}

/* Botões CTA */
.valores-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.btn-cta {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, #00D4B8, #00A693);
  color: #0f1419;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 212, 184, 0.3);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #00E5CC, #00B8A9);
  color: #0f1419;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 229, 204, 0.4);
  text-decoration: none;
  border-color: #00E5CC;
}

/* Responsividade */
@media (max-width: 1024px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .valor-item {
    height: 420px;
  }
  
  .valor-content {
    padding: 30px;
  }
  
  .valor-content h3 {
    font-size: 1.4rem;
  }
  
  .valor-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .nossos-valores {
    padding: 60px 0;
  }
  
  .nossos-valores h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .valores-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .valor-item {
    height: 380px;
  }
  
  .valor-content {
    padding: 25px;
  }
  
  .valor-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .valor-content p {
    font-size: 0.95rem;
  }
  
  .valores-cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
  }
  
  .btn-cta {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nossos-valores .container {
    padding: 0 15px;
  }
  
  .valor-content {
    padding: 15px;
  }
  
  .valor-content h3 {
    font-size: 1rem;
  }
  
  .valor-content p {
    font-size: 0.8rem;
  }
}

/* Preparação para parallax - Remove animações que interferem */
.valor-item {
  opacity: 1 !important;
  transform: none !important;
  /* animation: fadeInUp 0.8s ease forwards; - REMOVIDO TEMPORARIAMENTE */
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Animação desabilitada temporariamente para debug do parallax
.valor-item:nth-child(1) { animation-delay: 0.1s; }
.valor-item:nth-child(2) { animation-delay: 0.2s; }
.valor-item:nth-child(3) { animation-delay: 0.3s; }
.valor-item:nth-child(4) { animation-delay: 0.4s; }
*/

/* Quando o parallax está ativo, sobrescreve a animação */
.valor-item.parallax-active {
  animation: none !important;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efeito hover adicional */
.valor-item:hover .valor-content h3 {
  color: #00F5DD;
  text-shadow: 0 3px 12px rgba(0, 229, 204, 0.5);
}

.valor-item:hover .valor-content p {
  opacity: 1;
}
