/* ===== PAGE À PROPOS - DESIGN MODERNE PROFESSIONNEL ===== */

/* Variables spécifiques à la page À propos */
:root {
    --about-primary: #0a1c3a;
    --about-secondary: #FFD700;
    --about-accent: #FFA500;
    --about-text: #333;
    --about-text-light: #666;
    --about-bg-light: #f8f9fa;
    --about-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --about-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
    --about-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --about-gradient-dark: linear-gradient(135deg, #0a1c3a 0%, #1e3a5f 100%);
    --about-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Container principal de la page À propos */
.about-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--about-gradient);
    z-index: 2;
}

/* ===== HERO À PROPOS ===== */
.about-hero {
    background: var(--about-gradient-dark);
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.about-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.about-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--about-transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--about-secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION HISTOIRE ===== */
.about-story-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--about-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--about-gradient);
    border-radius: 2px;
}

.story-intro {
    font-size: 1.2rem;
    color: var(--about-text);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-point {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--about-shadow);
    transition: var(--about-transition);
    border-left: 4px solid var(--about-secondary);
}

.timeline-point:hover {
    transform: translateX(10px);
    box-shadow: var(--about-shadow-hover);
}

.timeline-year {
    background: var(--about-gradient);
    color: var(--about-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.timeline-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--about-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--about-text-light);
    line-height: 1.6;
}

.story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--about-gradient-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.story-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1), transparent 70%);
}

.image-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.image-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.image-content p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== SECTION MISSION ===== */
.about-mission-section {
    background: var(--about-bg-light);
    padding: 6rem 2rem;
}

.mission-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.mission-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--about-primary);
    margin-bottom: 1rem;
}

.mission-subtitle {
    font-size: 1.2rem;
    color: var(--about-text-light);
    line-height: 1.6;
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--about-shadow);
    transition: var(--about-transition);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--about-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--about-shadow-hover);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.pillar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--about-primary);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--about-text-light);
    line-height: 1.6;
}

/* ===== SECTION ÉQUIPE ===== */
.about-team-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.team-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--about-primary);
    margin-bottom: 1rem;
}

.team-subtitle {
    font-size: 1.2rem;
    color: var(--about-text-light);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--about-shadow);
    transition: var(--about-transition);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--about-shadow-hover);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--about-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.team-member h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--about-primary);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--about-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: var(--about-text-light);
    line-height: 1.6;
}

/* ===== SECTION VALEURS ===== */
.about-values-section {
    background: var(--about-primary);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,215,0,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.values-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.values-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--about-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.value-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--about-transition);
}

.value-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.value-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--about-secondary);
    margin-bottom: 1rem;
    display: block;
}

.value-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== SECTION CTA ===== */
.about-cta-section {
    background: var(--about-bg-light);
    padding: 6rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--about-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--about-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--about-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-primary {
    background: var(--about-gradient);
    color: var(--about-primary);
    box-shadow: var(--about-shadow);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--about-shadow-hover);
}

.cta-secondary {
    background: transparent;
    color: var(--about-primary);
    border: 2px solid var(--about-primary);
}

.cta-secondary:hover {
    background: var(--about-primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); }
    100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet ripple pour les clics */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Animation d'entrée pour les éléments observés */
.about-hero-content,
.timeline-point,
.pillar-card,
.team-member,
.value-item,
.cta-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-hero-content.in-view,
.timeline-point.in-view,
.pillar-card.in-view,
.team-member.in-view,
.value-item.in-view,
.cta-content.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Support pour reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reduced-motion * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reduced-motion .about-hero-content,
    .reduced-motion .timeline-point,
    .reduced-motion .pillar-card,
    .reduced-motion .team-member,
    .reduced-motion .value-item,
    .reduced-motion .cta-content {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .about-hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-image-placeholder {
        height: 300px;
    }
    
    .timeline-point {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-year {
        align-self: flex-start;
    }
    
    .mission-pillars {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 1rem 2rem;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .story-title, .mission-title, .team-title, .values-title {
        font-size: 2rem;
    }
    
    .about-story-section,
    .about-mission-section,
    .about-team-section,
    .about-cta-section {
        padding: 4rem 1rem;
    }
    
    .about-values-section {
        padding: 4rem 1rem;
    }
}
