/**
 * VALORES SECTION CSS - NOSSOS PRINCÍPIOS
 * Responsabilidade: Cards de valores com animações épicas
 * @package Nuntius Theme
 */

.about-valores-section {
    position: relative;
    background: linear-gradient(180deg, #0f1419 0%, #1a1a2e 50%, #0a0a0f 100%);
    overflow: hidden;
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.valores-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.valores-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* HEADER */
.valores-header {
    text-align: center;
    margin-bottom: 80px;
}

.valores-badge {
    display: inline-block;
    background: linear-gradient(135deg, #5865F2, #43B581);
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.valores-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 900;
}

.highlight-neon {
    color: #43B581;
    text-shadow: 0 0 20px rgba(67, 181, 129, 0.8),
                 0 0 40px rgba(67, 181, 129, 0.4);
}

.valores-subtitle {
    font-size: 1.3rem;
    color: #B9BBBE;
    max-width: 700px;
    margin: 0 auto;
}

/* GRID DE VALORES */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.valor-card {
    background: rgba(47, 49, 54, 0.5);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 25px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.valor-card:hover::before {
    opacity: 1;
}

.valor-card:hover {
    border-color: #5865F2;
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(88, 101, 242, 0.5);
}

.valor-card-featured {
    border-color: #43B581;
    background: rgba(67, 181, 129, 0.05);
}

.valor-card-featured:hover {
    border-color: #43B581;
    box-shadow: 0 25px 70px rgba(67, 181, 129, 0.5);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FAA61A, #F04747);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(250, 166, 26, 0.4);
    animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.valor-card:hover .card-glow-effect {
    opacity: 1;
    animation: glowRotate 5s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ÍCONE */
.valor-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: iconGlowPulse 3s ease-in-out infinite;
}

@keyframes iconGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.valor-icon {
    font-size: 70px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(88, 101, 242, 0.8));
    animation: iconFloat 5s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

/* CONTEÚDO */
.valor-title {
    font-size: 1.9rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
    text-align: center;
}

.valor-description {
    font-size: 1.05rem;
    color: #B9BBBE;
    line-height: 1.9;
    text-align: center;
}

.valor-description strong {
    color: #fff;
    font-weight: 700;
}

.valor-description .highlight-text {
    color: #7289DA;
    font-weight: 700;
}

.valor-description .magic-text {
    color: #43B581;
    font-weight: 700;
    font-style: italic;
}

.valor-description .featured-text {
    display: block;
    margin-top: 15px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #43B581;
    text-shadow: 0 0 15px rgba(67, 181, 129, 0.6);
}

.card-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #5865F2, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.valor-card:hover .card-bottom-line {
    transform: scaleX(1);
}

.featured-line {
    background: linear-gradient(90deg, transparent, #43B581, transparent);
}

/* CTA */
.valores-cta {
    text-align: center;
    padding: 50px 40px;
    background: rgba(88, 101, 242, 0.1);
    border: 2px solid #5865F2;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.3);
}

.cta-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.cta-description {
    font-size: 1.2rem;
    color: #B9BBBE;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.cta-description strong {
    color: #fff;
    font-weight: 700;
}

/* PARTÍCULAS */
.valores-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.valores-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #43B581;
    border-radius: 50%;
    box-shadow: 0 0 15px #43B581;
    animation: valoresParticleFloat 18s infinite;
}

.valores-particles .particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.valores-particles .particle:nth-child(2) { top: 20%; right: 15%; animation-delay: 3s; }
.valores-particles .particle:nth-child(3) { top: 50%; left: 5%; animation-delay: 6s; }
.valores-particles .particle:nth-child(4) { top: 70%; right: 10%; animation-delay: 9s; }
.valores-particles .particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 12s; }
.valores-particles .particle:nth-child(6) { top: 85%; left: 40%; animation-delay: 15s; }

@keyframes valoresParticleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 0.9; }
    50% { transform: translate(100px, -100px) scale(1.5); opacity: 0.5; }
    90% { opacity: 0.9; }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .valores-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
    .about-valores-section { padding: 80px 0; }
    .valores-container { padding: 0 20px; }
    .valores-grid { grid-template-columns: 1fr; }
    .valores-title { font-size: 2.5rem; }
    .valor-card { padding: 35px 25px; }
    .valor-icon { font-size: 60px; }
    .valor-title { font-size: 1.6rem; }
    .cta-title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .valores-title { font-size: 2rem; }
    .valores-subtitle { font-size: 1.1rem; }
    .valor-icon { font-size: 50px; }
    .valor-title { font-size: 1.4rem; }
    .valor-description { font-size: 0.95rem; }
    .cta-title { font-size: 1.6rem; }
    .cta-description { font-size: 1rem; }
}
