/* Qui Sommes-Nous Page - Modern Design */

.about-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.about-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
}

.about-header h2 .highlight {
    color: #8B1538;
    position: relative;
    display: inline-block;
}

.about-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
    border-radius: 2px;
}

.about-header .subtitle {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
}

.about-intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
    animation: iconPulse 2s infinite;
}

.about-intro-icon i {
    font-size: 36px;
    color: white;
}

.about-intro h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

.about-intro strong {
    color: #8B1538;
    font-weight: 600;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease both;
}

.service-card:nth-child(1) {
    animation-delay: 0.3s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-card-icon {
    transform: rotate(5deg) scale(1.05);
}

.service-card-icon i {
    font-size: 32px;
    color: white;
}

.service-card-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #8B1538;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-card-title h4 {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.service-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-content li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #495057;
}

.service-card-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(169, 29, 74, 0.1));
    border-radius: 50%;
    color: #8B1538;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-content li:last-child {
    margin-bottom: 0;
}

.legal-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.legal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B1538 0%, #A91D4A 100%);
}

.legal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(169, 29, 74, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.legal-icon i {
    font-size: 28px;
    color: #8B1538;
}

.legal-section h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
    margin: 0;
}

.legal-section strong {
    color: #8B1538;
    font-weight: 600;
}

/* ============================================================ */
/* Éléments de section partagés                                 */
/* ============================================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #A91D4A;
    margin-bottom: 10px;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0;
}

.section-sub {
    font-size: 16px;
    color: #6c757d;
    max-width: 640px;
    margin: 15px auto 0;
    line-height: 1.7;
}

.accent {
    color: #8B1538;
}

/* ============================================================ */
/* BLOC 1 : Accroche / Pitch                                    */
/* ============================================================ */
.about-hero {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    box-shadow: 0 18px 40px rgba(139, 21, 56, 0.28);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.about-hero-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.about-hero-icon i {
    font-size: 30px;
    color: #fff;
}

.about-hero-pitch {
    font-size: 21px;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 30px;
    font-weight: 400;
    color: #fff;
}

.about-hero-pitch strong {
    font-weight: 700;
    color: #fff;
}

.about-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Boutons Sherpa */
.btn-sherpa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sherpa i {
    font-size: 15px;
}

.btn-sherpa--primary {
    background: #fff;
    color: #8B1538;
}

.btn-sherpa--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #8B1538;
}

.btn-sherpa--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-sherpa--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

.btn-sherpa--light {
    background: #fff;
    color: #8B1538;
}

.btn-sherpa--light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    color: #8B1538;
}

.btn-sherpa--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-sherpa--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ============================================================ */
/* BLOC 2 : Notre histoire                                      */
/* ============================================================ */
.about-story {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease both;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.about-story-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.about-story-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(139, 21, 56, 0.4);
}

.about-story-text h3 {
    font-size: 30px;
    font-weight: 700;
    color: #2C3E50;
    margin: 8px 0 18px;
}

.about-story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 16px;
}

.about-story-text strong {
    color: #8B1538;
    font-weight: 600;
}

/* ============================================================ */
/* BLOC 3 : Mission & Vision                                    */
/* ============================================================ */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.mv-card {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #8B1538;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.mv-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.1), rgba(169, 29, 74, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.mv-card-icon i {
    font-size: 28px;
    color: #8B1538;
}

.mv-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 14px;
}

.mv-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
    margin: 0;
}

/* ============================================================ */
/* BLOC 4 : Nos valeurs                                         */
/* ============================================================ */
.values-section {
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: white;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotate(5deg) scale(1.05);
}

.value-icon i {
    font-size: 28px;
    color: #fff;
}

.value-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #6c757d;
    margin: 0;
}

/* ============================================================ */
/* BLOC 5 : Ce qui nous distingue                               */
/* ============================================================ */
.distinct-intro {
    background: white;
    border-radius: 20px;
    padding: 38px 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    animation: fadeInUp 0.8s ease both;
}

.distinct-intro > i {
    font-size: 30px;
    color: rgba(139, 21, 56, 0.25);
    margin-bottom: 14px;
    display: block;
}

.distinct-intro p {
    font-size: 19px;
    line-height: 1.7;
    color: #2C3E50;
    max-width: 820px;
    margin: 0 auto;
}

.distinct-intro strong {
    color: #8B1538;
    font-weight: 700;
}

/* ============================================================ */
/* BLOC 6 : La confiance en chiffres                            */
/* ============================================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, #2C3E50 0%, #1a2733 100%);
    border-radius: 20px;
    padding: 45px 20px;
    margin-bottom: 50px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    animation: fadeInUp 0.8s ease both;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 54px;
    height: 54px;
    background: rgba(169, 29, 74, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon i {
    font-size: 22px;
    color: #ff7ba3;
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ============================================================ */
/* BLOC 7 : Notre équipe                                        */
/* ============================================================ */
.team-section {
    margin-bottom: 50px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    flex: 0 1 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 21, 56, 0.15);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 5px solid rgba(139, 21, 56, 0.15);
    box-shadow: 0 10px 26px rgba(139, 21, 56, 0.22);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 6px;
}

.team-role {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #A91D4A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.65;
    color: #6c757d;
    margin: 0;
}

/* ============================================================ */
/* BLOC 8b : Nos partenaires                                    */
/* ============================================================ */
.partners-section {
    margin-bottom: 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.partner-logo {
    background: white;
    border-radius: 14px;
    padding: 26px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 110px;
    /* Aspect provisoire : remplacer par <img> du logo partenaire */
    border: 1px dashed rgba(139, 21, 56, 0.2);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(139, 21, 56, 0.12);
    border-style: solid;
}

.partner-logo i {
    font-size: 26px;
    color: rgba(139, 21, 56, 0.4);
}

.partner-logo span {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
}

/* ============================================================ */
/* Appel à l'action final                                       */
/* ============================================================ */
.final-cta {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%);
    border-radius: 24px;
    padding: 55px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 18px 40px rgba(139, 21, 56, 0.28);
    animation: fadeInUp 0.8s ease both;
}

.final-cta h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.final-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Badge agrément sur la section légale */
.legal-section {
    /* la section existe déjà ; on ménage la place pour le badge */
}

.legal-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8B1538, #A91D4A);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(139, 21, 56, 0.35);
}

.legal-badge i {
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(139, 21, 56, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(139, 21, 56, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-header h2 {
        font-size: 36px;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-intro,
    .service-card,
    .legal-section {
        padding: 30px 25px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card {
        flex: 0 1 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-story-image img {
        min-height: 240px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 40px 0;
    }
    
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-header h2 {
        font-size: 30px;
    }
    
    .about-header .subtitle {
        font-size: 16px;
    }
    
    .about-intro h3 {
        font-size: 24px;
    }
    
    .service-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-card-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .service-card-title h4 {
        font-size: 20px;
    }
    
    .service-card-content li {
        font-size: 14px;
    }

    .section-head h3,
    .about-story-text h3,
    .final-cta h3 {
        font-size: 26px;
    }

    .about-hero {
        padding: 40px 25px;
    }

    .about-hero-pitch {
        font-size: 18px;
    }

    .distinct-intro p {
        font-size: 17px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
        padding: 38px 15px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .legal-badge {
        position: static;
        margin-bottom: 18px;
    }
}

@media (max-width: 576px) {
    .values-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card {
        flex: 0 1 100%;
        max-width: 320px;
    }

    .about-hero-cta .btn-sherpa,
    .final-cta-buttons .btn-sherpa {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 24px;
    }

    .about-intro,
    .service-card,
    .legal-section {
        padding: 25px 20px;
    }
    
    .about-header h2 {
        font-size: 26px;
    }
    
    .about-intro-icon {
        width: 70px;
        height: 70px;
    }
    
    .about-intro-icon i {
        font-size: 32px;
    }
    
    .service-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-card-icon i {
        font-size: 28px;
    }
}
