/* Page À Propos - Styles spécifiques */

/* Values Section */
.values {
    background: var(--light-color);
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(44, 80, 159, 0.1);
    height: 100%;
}

.value-item:hover {
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: var(--gradient-cool);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
}

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

.value-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Carousel Section */
.team-carousel-section {
    padding: 100px 0;
}

.team-scroll {
    position: relative;
    margin-top: 3rem;
}

.team-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 1rem 0;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.team-card {
    scroll-snap-align: center;
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(44, 80, 159, 0.1);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
}

.team-img {
    height: 250px;
    background: var(--gradient-cool);
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin: 1rem 1rem 0.25rem;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 1rem 1rem;
}

.team-card a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.team-card a:hover {
    background: var(--primary-color);
}

.team-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-nav button,
.testi-mobile-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-nav button:hover,
.testi-mobile-nav button:hover {
    opacity: 0.8;
}

.tm-dots,
.ts-dots {
    display: flex;
    gap: 0.4rem;
}

.tm-dots span,
.ts-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.25;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.tm-dots span.active,
.ts-dots span.active {
    opacity: 1;
}

/* Partners Scrolling Section */
.partners-scroll-section {
    padding: 80px 0;
    background: var(--light-color);
}

.logo-track-wrap {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

.logo-track-wrap::before,
.logo-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--light-color) 0%, transparent 100%);
}

.logo-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--light-color) 0%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 2rem;
    width: calc(150px * 14 + 2rem * 13);
    animation: logoScroll 35s linear infinite;
}

.logo-slide {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-slide img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-slide img:hover {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(44, 80, 159, 0.08);
    display: flex;
    flex-direction: column;
}

.testi-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testi-text {
    font-style: italic;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 1.5rem;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testi-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.testi-author span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.testi-mobile-nav {
    display: none;
}

/* Enhanced About Section */
.about-text {
    max-width: 600px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-stats {
    margin-top: 3rem;
}

.about-stats-simple {
    margin-top: 2rem;
}

.about-stats-simple p {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-arrow {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-item {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .values,
    .team-carousel-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .partners-scroll-section {
        padding: 50px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        flex: 0 0 calc(100% - 1.5rem);
        scroll-snap-align: center;
    }

    .team-img {
        height: 200px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 1.5rem;
        scroll-behavior: smooth;
        padding: 0.5rem 0;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testi-card {
        flex: 0 0 calc(100% - 1.5rem);
        scroll-snap-align: center;
    }

    .testi-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .value-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .about-text {
        max-width: none;
    }

    .logo-track-wrap::before,
    .logo-track-wrap::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .values,
    .team-carousel-section,
    .testimonials-section {
        padding: 40px 0;
    }

    .partners-scroll-section {
        padding: 30px 0;
    }

    .value-item {
        padding: 1.25rem;
    }

    .team-img {
        height: 180px;
    }

    .value-icon {
        font-size: 1.8rem;
    }
}
