/* ===== Page Qui Sommes-Nous Styles ===== */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--ats-blue-dark) 0%, var(--ats-blue-light) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--ats-white);
    position: relative;
    overflow: hidden;
}

.about-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 200px 200px;
    opacity: 0.2;
    animation: rotate 60s linear infinite;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    background: var(--ats-red);
    color: var(--ats-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Notre Histoire */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 42px;
    color: var(--ats-blue-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

.story-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--ats-red);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--ats-red);
    color: var(--ats-white);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: pulse 2s infinite;
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nos Valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    background: var(--ats-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--ats-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(227, 17, 47, 0.1);
}

.value-item:hover:before {
    transform: scaleX(1);
}

.value-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--ats-white);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(360deg);
}

.value-item h3 {
    font-size: 22px;
    color: var(--ats-blue-dark);
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    line-height: 1.7;
}

/* Notre Équipe */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-item {
    background: var(--ats-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(227, 17, 47, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-item:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom 0.3s ease;
}

.team-item:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--ats-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ats-red);
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background: var(--ats-red);
    color: var(--ats-white);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    color: var(--ats-blue-dark);
    margin-bottom: 5px;
}

.team-position {
    display: block;
    color: var(--ats-red);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.certification-card {
    background: var(--ats-white);
    border-radius: 15px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(227, 17, 47, 0.1);
}

.cert-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
}

.cert-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.certification-card:hover .cert-logo img {
    filter: grayscale(0);
}

.cert-info h4 {
    font-size: 16px;
    color: var(--ats-blue-dark);
    margin-bottom: 5px;
}

.cert-level {
    font-size: 13px;
    color: var(--ats-red);
    font-weight: 500;
}

/* Notre Approche */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-content h2 {
    font-size: 42px;
    color: var(--ats-blue-dark);
    margin: 20px 0 30px;
    line-height: 1.2;
}

.approach-steps {
    margin-top: 40px;
}

.step-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: var(--ats-white);
    box-shadow: 0 10px 30px rgba(227, 17, 47, 0.1);
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--ats-red);
    color: var(--ats-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    color: var(--ats-blue-dark);
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.approach-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.approach-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.approach-image:hover img {
    transform: scale(1.05);
}

/* Témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--ats-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:after {
    content: '"';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--ats-red);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(227, 17, 47, 0.1);
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ddd;
    margin-right: 3px;
    font-size: 18px;
}

.testimonial-rating i.filled {
    color: #ffc107;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ats-red);
}

.author-info h4 {
    font-size: 16px;
    color: var(--ats-blue-dark);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 13px;
    color: #999;
}

/* Chiffres Clés */
.about-stats {
    background: linear-gradient(135deg, var(--ats-blue-dark), var(--ats-blue-light));
    padding: 80px 0;
    color: var(--ats-white);
    position: relative;
    overflow: hidden;
}

.about-stats:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 60s linear infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--ats-white);
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ats-white);
}

.stat-card .stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, var(--ats-red) 0%, var(--ats-red-light) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--ats-white);
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-light {
    border: 2px solid var(--ats-white);
    color: var(--ats-white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--ats-white);
    color: var(--ats-red);
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes moveBackground {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(50px, 50px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 17, 47, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(227, 17, 47, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(227, 17, 47, 0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-hero h1 {
        font-size: 42px;
    }
    
    .story-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }
    
    .story-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid,
    .team-grid,
    .certifications-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .story-content h2,
    .approach-content h2 {
        font-size: 32px;
    }
}