/* Values / Points forts component */

.values-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--values-bg, linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%));
}

.values-section.is-colored::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.values-section.is-colored::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-values 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float-values {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.values-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown-values 0.8s ease-out;
    color: var(--values-title-color, var(--dark, #333));
}

.values-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp-values 0.8s ease-out 0.2s;
    animation-fill-mode: both;
    color: var(--values-subtitle-color, #6c757d);
}

@keyframes fadeInDown-values {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp-values {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.value-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.values-section.is-colored .value-card {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(136, 106, 181, 0.12);
    color: var(--primary, #886ab5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.values-section.is-colored .value-icon {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

.value-card:hover .value-icon {
    transform: rotate(6deg) scale(1.06);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--values-card-title-color, #2c3e50);
}

.values-section.is-colored .value-title {
    color: rgba(255,255,255,0.95);
}

.value-title a {
    color: inherit;
    text-decoration: none;
}

.value-description {
    margin: 0;
    line-height: 1.7;
    color: var(--values-card-text-color, #6c757d);
}

.values-section.is-colored .value-description {
    color: rgba(255,255,255,0.9);
}

@media (max-width: 992px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .values-section { padding: 3.5rem 0; }
    .values-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .values-title { font-size: 2rem; }
    .value-card { padding: 1.5rem 1.25rem; }
}
