/* Page Qui sommes-nous */
.about-page {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-page h1 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.about-page h1:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background: #FF6600;
    border-radius: 2px;
}

.about-page h2 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.8rem;
}

.about-page h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #FF6600;
    border-radius: 2px;
}

.about-page p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Nouveau style pour les features */
.about-features {
    margin: 70px 0;
    position: relative;
}

.feature-box {
    text-align: center;
    padding: 20px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    position: auto;
    overflow: hidden;
    border: 1px solid rgba(255,102,0,0.1);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF6600, #FF8C00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255,102,0,0.15);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #FF6600, #FF8C00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-box h3 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 15px;
}

.feature-box h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #FF6600;
    transition: width 0.3s ease;
}

.feature-box:hover h3::after {
    width: 80px;
}

.feature-box p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.about-values ul {
    list-style-type: none;
    padding-left: 0;
}

.about-values li {
    padding: 12px 0;
    font-size: 16px;
    position: relative;
    padding-left: 35px;
    line-height: 1.6;
}

.about-values li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FF6600;
    position: absolute;
    left: 0;
    top: 12px;
}

.about-cta {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #FF6600 0%, #FF8C00 100%);
    border-radius: 8px;
    color: white;
}

.about-cta h3 {
    margin-bottom: 30px;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
}

.btn-primary {
    background-color: white !important;
    border-color: white !important;
    color: #FF6600 !important;
    margin-right: 15px;
    font-weight: 600;
    padding: 12px 30px;
}

.btn-primary:hover {
    background-color: rgba(255,255,255,0.9) !important;
    border-color: rgba(255,255,255,0.9) !important;
    color: #FF6600 !important;
}

.btn-outline-secondary {
    border-color: white !important;
    color: white !important;
    background-color: transparent !important;
    font-weight: 600;
    padding: 12px 30px;
}

.btn-outline-secondary:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: white !important;
}

/* Correction pour la barre de recherche dans le header */
.header-misc .input-group {
    border-radius: 4px;
    overflow: hidden;
}

.header-misc .input-group-text {
    padding: 0.375rem 0.75rem;
    border-right: none !important;
    background-color: white;
}

.header-misc .form-control {
    padding: 0.375rem 0.75rem;
    border-left: none !important;
    height: 38px;
    border-color: #ddd;
}

.header-misc .input-group.border {
    border-color: #ddd !important;
    transition: border-color 0.2s;
}

.header-misc .input-group.border:hover {
    border-color: #FF6600 !important;
}

.header-misc .form-control:focus {
    box-shadow: none !important;
    border-color: #ddd !important;
}

/* Statistiques */
.about-stats {
    margin: 50px 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* Images */
.about-section img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.about-section:hover img {
    transform: scale(1.02);
}

/* Section valeurs */
.about-values {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 991.98px) {
    .about-section .col-md-6 {
        margin-bottom: 30px;
    }
    
    .about-section img {
        max-width: 80%;
        display: block;
        margin: 0 auto;
    }
    
    .about-values .col-md-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .about-page {
        padding: 40px 0;
    }
    
    .about-page h1 {
        font-size: 2rem;
    }
    
    .about-features .col-md-4 {
        margin-bottom: 30px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 30px;
    }
    
    .about-cta {
        padding: 30px 20px;
    }
    
    .about-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0;
    }
}

@media (max-width: 575.98px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .about-values {
        padding: 25px 20px;
    }
    
    .feature-box h3 {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        font-size: 45px;
    }
}