/* ============================================
   VALUES SECTION - FORMAT VISUEL & DYNAMIQUE
   Section Engagements & Valeurs - Orientation Action
   ============================================ */

.values {
    background: linear-gradient(135deg, #0A0A0A 0%, #141414 100%);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 107, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.values .container {
    position: relative;
    z-index: 1;
}

.values .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values .section-subtitle {
    font-size: 1.2rem;
    color: #A1A1A1;
    font-weight: 400;
}

/* Grille des valeurs - Format visuel hexagonal */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(20, 20, 20, 0.8) 100%);
    border: 2px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

/* Effet de fond animé */
.value-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.value-card:hover::before {
    width: 400px;
    height: 400px;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FF6B00;
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.25);
}

/* Icône - Format visuel impactant */
.value-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #FF6B00 0%, rgba(255, 107, 0, 0.7) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.4);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.6);
}

/* Anneau externe autour de l'icône */
.value-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Titre de valeur */
.value-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Description */
.value-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #B0B0B0;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Note d'engagement - Format call-out visuel */
.engagement-note {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1) 0%, rgba(255, 107, 0, 0.05) 100%);
    border-left: 5px solid #FF6B00;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.engagement-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #FF6B00 0%, rgba(255, 107, 0, 0.5) 100%);
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
    }
}

.engagement-note p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E0E0E0;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.engagement-note i {
    color: #FF6B00;
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.engagement-note strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .value-title {
        font-size: 1.4rem;
    }
    
    .value-description {
        font-size: 1rem;
    }
    
    .engagement-note {
        padding: 1.5rem 1.5rem;
    }
    
    .engagement-note p {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .values .section-title {
        font-size: 1.6rem;
    }
    
    .value-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .value-title {
        font-size: 1.2rem;
    }
}
