/* about.css - Page À Propos The Nava's Group */

/* ===== ABOUT HERO ===== */
.about-hero {
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
                url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Animation du contenu hero */
.hero-content h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content p {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== OUR STORY ===== */
.our-story {
    padding: 6rem 2rem;
    background: var(--black);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-content h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.story-content p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-content p strong {
    color: var(--cream);
    font-size: 1.1rem;
}

.vision-statement {
    background: rgba(201, 169, 106, 0.05);
    border-left: 3px solid var(--gold);
    padding: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.vision-statement.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-statement p {
    color: var(--cream);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.story-milestones {
    margin-top: 3rem;
}

.milestone {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 106, 0.1);
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.5s ease !important;
}

.milestone:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.milestone::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
}

.milestone-current {
    border: 2px solid var(--gold);
    position: relative;
    background: rgba(201, 169, 106, 0.05);
}

.milestone-current::before {
    background: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.2);
}

.milestone-current::after {
    content: '★';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gold);
    color: var(--black);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
}

.year {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.milestone h4 {
    color: var(--cream);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.milestone p {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.story-image {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease-out;
}

.story-image.parallax {
    will-change: transform;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.story-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gold);
    font-weight: 500;
}

.image-caption i {
    font-size: 1.2rem;
}

/* ===== OUR VALUES ===== */
.our-values {
    padding: 6rem 2rem;
    background: var(--dark-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--black);
    border: 1px solid rgba(201, 169, 106, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 2px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.value-card:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.value-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.value-icon i {
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    transform: rotate(15deg) scale(1.2);
}

.value-card h3 {
    color: var(--cream);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* ===== OUR TEAM ===== */
.our-team {
    padding: 6rem 2rem;
    background: var(--black);
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.team-member {
    background: var(--dark-gray);
    border: 1px solid rgba(201, 169, 106, 0.1);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.team-member:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.member-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-image::after {
    opacity: 1;
}

.member-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
    color: var(--gold);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    color: var(--cream);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member-badge {
    background: rgba(201, 169, 106, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

.member-badge[class*="fondatrice"] {
    background: var(--gold) !important;
    color: var(--black) !important;
}

.member-badge[class*="direction"] {
    background: rgba(26, 54, 93, 0.9) !important;
    color: white !important;
}

.member-badge[class*="finance"] {
    background: rgba(42, 67, 101, 0.9) !important;
    color: white !important;
}

.member-badge[class*="opérations"] {
    background: rgba(35, 78, 82, 0.9) !important;
    color: white !important;
}

.member-role {
    display: block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-info > p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-quote {
    background: rgba(201, 169, 106, 0.05);
    border-left: 2px solid var(--gold);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.member-quote i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.member-quote p {
    color: var(--cream);
    font-style: italic;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.expertise-tag {
    background: rgba(201, 169, 106, 0.1);
    color: var(--gold);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.expertise-tag:hover {
    background: rgba(201, 169, 106, 0.2) !important;
    transform: translateY(-2px);
}

/* ===== STATISTICS ===== */
.statistics {
    padding: 6rem 2rem;
    background: var(--dark-gray);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--black);
    border: 1px solid rgba(201, 169, 106, 0.1);
    border-radius: 2px;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-item:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: all 0.5s ease-out;
}

.stat-number.animating {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-label {
    display: block;
    color: var(--cream);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-sub {
    display: block;
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ===== ABOUT CTA ===== */
.about-cta {
    padding: 6rem 2rem;
    background: linear-gradient(rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.95)),
                url('https://images.unsplash.com/photo-1559925393-8be0ec4767c8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.cta-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.cta-buttons .btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* ===== ANIMATIONS ET TRANSITIONS GLOBALES ===== */
.animate {
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== COMPOSANTS SUPPLEMENTAIRES ===== */
/* Tooltips personnalisés */
.custom-tooltip {
    position: fixed;
    background: var(--black);
    color: var(--cream);
    padding: 8px 12px;
    border-radius: 2px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    white-space: nowrap;
    border: 1px solid var(--gold);
    font-family: var(--font-sans);
}

/* Message de bienvenue */
.welcome-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--black);
    border-left: 4px solid var(--gold);
    padding: 15px;
    border-radius: 2px;
    box-shadow: var(--shadow);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
    border: 1px solid rgba(201, 169, 106, 0.2);
}

.welcome-message.show {
    transform: translateX(0);
}

.welcome-content {
    position: relative;
}

.welcome-content h3 {
    margin: 0 0 5px 0;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1.1rem;
}

.welcome-content p {
    margin: 0;
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.close-welcome {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--black);
    border: 1px solid rgba(201, 169, 106, 0.3);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-welcome:hover {
    background: var(--gold);
    color: var(--black);
}

/* Barre de progression (optionnelle) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* ===== STYLES POUR LES RÉSEAUX SOCIAUX ===== */
.footer-social a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social a:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
}

/* ===== CHARGEMENT DES IMAGES ===== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .our-story,
    .our-values,
    .our-team,
    .statistics,
    .about-cta {
        padding: 4rem 1.5rem;
    }
    
    .story-content h2 {
        font-size: 2.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Optimisations mobiles pour les animations */
    .mobile-view .value-card,
    .mobile-view .team-member {
        transition-duration: 0.4s;
    }
    
    .mobile-view .value-card:hover,
    .mobile-view .team-member:hover {
        transform: translateY(-3px);
    }
    
    /* Désactiver le parallaxe sur mobile */
    .story-image {
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .welcome-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .milestone-current::after {
        top: -5px;
        right: -5px;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .story-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .member-info h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .about-hero,
    .about-cta {
        background: none !important;
        color: #000 !important;
    }
    
    .hero-overlay {
        display: none;
    }
    
    .welcome-message,
    .whatsapp-float {
        display: none;
    }
}