/* 
 * VALUE PROPOSITION SECTION - Agência Precisão
 * Estilos para a seção de posicionamento/valor
 */

.value {
  position: relative;
  padding: 7rem 0;
  background: var(--gradiente-fundo);
  min-height: 90vh;
  overflow: hidden;
}

.value-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
}

.sphere-1 {
  width: 350px;
  height: 350px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.5) 0%, transparent 70%);
  animation: float-sphere 15s ease-in-out infinite alternate;
}

.sphere-2 {
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: 5%;
  background: radial-gradient(circle, rgba(249, 178, 51, 0.4) 0%, transparent 70%);
  animation: float-sphere 18s ease-in-out infinite alternate-reverse;
}

.value-content {
  position: relative;
  z-index: 2;
}

.value-header {
  max-width: 90%;
  margin: 0 10vw 5rem;
  text-align: center;
}

.value-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.value-header h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-header p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cor-texto-secundario);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 4rem;
}

.value-card {
  position: relative;
  background: rgba(16, 41, 66, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-padrao);
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-icon {
  font-size: 3rem;
  color: var(--cor-secundaria);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(249, 178, 51, 0.5));
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
  color: var(--cor-primaria);
  filter: drop-shadow(0 0 15px rgba(0, 209, 255, 0.7));
}

.value-description h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--cor-texto-principal);
  position: relative;
  display: inline-block;
}

.value-description h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cor-primaria);
  transition: width 0.4s ease;
}

.value-card:hover .value-description h4::after {
  width: 100%;
}

.value-description p {
  font-size: 1.1rem;
  color: var(--cor-texto-terciario);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.value-card:hover .value-description p {
  color: var(--cor-texto-secundario);
}

.value-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cor-primaria), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card:hover .value-accent {
  opacity: 1;
}

.value-card::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at center, rgba(0, 209, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  transform: rotate(30deg);
}

.value-card:hover::before {
  opacity: 1;
}

/* Responsividade Value Section */
@media screen and (max-width: 1024px) {
  .value-header h2 {
    font-size: 2.2rem;
  }

  .value-header h3 {
    font-size: 1.4rem;
  }

  .value-header p {
    font-size: 1.1rem;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
	margin: 0 5vw 0;
  }
}

@media screen and (max-width: 768px) {
  .value-header h2 {
    font-size: 1.8rem;
  }

  .value-header h3 {
    font-size: 1.2rem;
  }

  .value-header p {
    font-size: 1rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .value-card {
    padding: 30px 25px;
  }

  .value-icon {
    font-size: 2.6rem;
  }

  .value-description h4 {
    font-size: 1.3rem;
  }

  .value-description p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .value-header h2 {
    font-size: 1.6rem;
  }

  .value-header h3 {
    font-size: 1.1rem;
  }

  .value-header p {
    font-size: 0.9rem;
  }

  .value-card {
    padding: 25px 20px;
  }

  .value-icon {
    font-size: 2.2rem;
  }

  .value-description h4 {
    font-size: 1.2rem;
  }

  .value-description p {
    font-size: 0.9rem;
  }
}

/* Acessibilidade Value Section */
@media (prefers-reduced-motion: reduce) {
  .value-card:hover,
  .value-icon,
  .value-description h4::after,
  .value-accent,
  .value-card::before,
  .glow-sphere {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
