/* ============================================================================
   SECTION ABOUT - REFONTE ULTRA PREMIUM
   Analyse des meilleurs éléments des sections about concurrentes
   ============================================================================ */

:root {
    --primary: #d32f2f;
    --secondary: #010101;
    --accent: #f59e0b;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
}

/* ============================================================================
   SECTION ABOUT - HERO BACKGROUND ANIMÉ
   ============================================================================ */

.about-section-modern {
    position: relative;
    padding: 150px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 50%, #fef7f1 100%);
    overflow: hidden;
    margin-top: 0;
}

/* Animated background layers */
.about-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundFloat 30s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.about-section-modern .container {
    position: relative;
    z-index: 2;
}

/* ============================================================================
   SECTION HEADER - PREMIUM WITH DECORATIVE ELEMENTS
   ============================================================================ */

.section-header-modern {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.section-header-modern::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    border-radius: 2px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 25px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 2px solid rgba(211, 47, 47, 0.2);
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-subtitle:hover::before {
    left: 100%;
}

.section-subtitle:hover {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(211, 47, 47, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.12);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--black);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
}

.section-description-modern {
    font-size: 1.1rem;
    color: var(--black);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.section-description-modern m {
    color: var(--black);
    font-weight: 700;
    text-decoration: none;
}

/* ============================================================================
   EXPERTISE SHOWCASE - PREMIUM CARDS WITH 3D EFFECTS
   ============================================================================ */

.expertise-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 120px;
}

.expertise-card-modern {
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 2px solid rgba(211, 47, 47, 0.1);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.expertise-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.expertise-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(211, 47, 47, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.expertise-card-modern:hover::after {
    opacity: 1;
}

.expertise-card-modern:hover {
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 30px 80px rgba(211, 47, 47, 0.12);
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.expertise-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 16px;
}

.expertise-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(245, 158, 11, 0.08));
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expertise-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.expertise-card-modern:hover .expertise-icon-bg {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.expertise-card-modern:hover .expertise-icon {
    color: white;
    transform: scale(1.15) rotate(-8deg);
}

.expertise-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

.expertise-description {
    font-size: 1rem;
    color: var(--black);
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* ============================================================================
   ABOUT MAIN CONTENT - 2 COLUMN ASYMMETRIC LAYOUT
   ============================================================================ */

.about-main-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 100px;
}

/* ============================================================================
   IMAGES CONTAINER - ADVANCED 3D STACKING
   ============================================================================ */

.about-left-column {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.images-container-modern {
    position: relative;
    height: 650px;
    perspective: 1200px;
}

.image-wrapper-primary,
.image-wrapper-secondary {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper-primary {
    width: 420px;
    height: 480px;
    top: 60px;
    left: 0;
    z-index: 5;
    transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
}

.image-wrapper-primary:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(0deg) translateY(-25px);
    box-shadow: 0 50px 120px rgba(211, 47, 47, 0.25);
}

.image-wrapper-secondary {
    width: 380px;
    height: 440px;
    top: 0;
    right: 0;
    z-index: 4;
    transform: perspective(1000px) rotateY(8deg) rotateX(-1deg);
}

.image-wrapper-secondary:hover {
    transform: perspective(1000px) rotateY(3deg) rotateX(0deg) translateY(-30px);
    box-shadow: 0 50px 120px rgba(211, 47, 47, 0.25);
}

.about-img-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.95) contrast(1.08);
}

.image-wrapper-primary:hover .about-img-modern,
.image-wrapper-secondary:hover .about-img-modern {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.15);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.8), rgba(245, 158, 11, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

.image-wrapper-primary:hover .image-overlay,
.image-wrapper-secondary:hover .image-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(20px) translateX(10px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-wrapper-primary:hover .overlay-text,
.image-wrapper-secondary:hover .overlay-text {
    transform: translateY(0) translateX(0);
}

.overlay-content {
    position: relative;
    z-index: 2;
}

/* ============================================================================
   SERVICES MODERN - PREMIUM CARDS
   ============================================================================ */

.services-modern-container {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.02), rgba(245, 158, 11, 0.02));
    border: 2px solid rgba(211, 47, 47, 0.08);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-modern-container:hover {
    border-color: rgba(211, 47, 47, 0.15);
    box-shadow: 0 20px 60px rgba(211, 47, 47, 0.08);
}

.section-mini-header {
    margin-bottom: 30px;
}

.mini-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
}

.mini-icon {
    font-size: 1.3rem;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-item-modern {
    padding: 18px 20px;
    border-radius: 12px;
    background: white;
    border: 1px solid rgba(211, 47, 47, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    color: var(--black);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item-modern:hover::before {
    left: 100%;
}

.service-item-modern:hover {
    border-color: rgba(211, 47, 47, 0.3);
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.04), rgba(245, 158, 11, 0.04));
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.1);
}

.service-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-item-modern:hover .service-bullet {
    width: 12px;
    height: 12px;
}

.service-text {
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-arrow {
    color: var(--primary);
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateX(-10px);
}

.service-item-modern:hover .service-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* ============================================================================
   STATS MODERN - PREMIUM COUNTER CARDS
   ============================================================================ */

.stats-modern-container {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.03), rgba(245, 158, 11, 0.03));
    border: 2px solid rgba(211, 47, 47, 0.08);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card-modern {
    padding: 30px;
    border-radius: 16px;
    background: white;
    border: 2px solid rgba(211, 47, 47, 0.08);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(211, 47, 47, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-card-modern:hover {
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 30px 80px rgba(211, 47, 47, 0.12);
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.04), rgba(245, 158, 11, 0.04));
}

.stat-number-modern {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.stat-card-modern:hover .stat-number-modern {
    transform: scale(1.15);
}

.stat-label-modern {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-decoration {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary) 50%, transparent);
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card-modern:hover .stat-decoration {
    opacity: 1;
}

/* ============================================================================
   ABOUT TEXT - RIGHT COLUMN
   ============================================================================ */

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-family: 'Playfair Display', serif;
}

.about-description-main {
    font-size: 1.05rem;
    color: var(--black);
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.3px;
}

.about-description-main strong {
    color: var(--black);
    font-weight: 700;
}

/* ============================================================================
   NETWORK CARDS - PREMIUM LAYOUT
   ============================================================================ */

.network-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.network-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 2px solid rgba(211, 47, 47, 0.1);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.network-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.network-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(211, 47, 47, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.network-card:hover::after {
    opacity: 1;
}

.network-card:hover {
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 30px 80px rgba(211, 47, 47, 0.12);
    transform: translateY(-15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.network-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.12), rgba(245, 158, 11, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.network-card:hover .network-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3);
}

.network-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

.network-card-text {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.network-card .btn {
    position: relative;
    z-index: 1;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1200px) {
    .about-main-content {
        gap: 60px;
    }

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

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

    .image-wrapper-primary {
        width: 380px;
        height: 440px;
    }

    .image-wrapper-secondary {
        width: 340px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .about-section-modern {
        padding: 100px 0 80px;
    }

    .about-main-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .images-container-modern {
        height: 500px;
        order: 2;
    }

    .about-left-column {
        order: 1;
    }

    .expertise-showcase {
        grid-template-columns: 1fr;
    }

    .services-grid-modern,
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }

    .network-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section-modern {
        padding: 80px 0 60px;
    }

    .section-header-modern {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-left-column {
        gap: 40px;
    }

    .images-container-modern {
        height: 400px;
    }

    .image-wrapper-primary {
        width: 300px;
        height: 350px;
        top: 30px;
        left: 20px;
    }

    .image-wrapper-secondary {
        width: 260px;
        height: 320px;
        right: 20px;
    }

    .services-modern-container,
    .stats-modern-container {
        padding: 30px;
    }

    .services-grid-modern,
    .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .network-cards {
        gap: 20px;
    }

    .network-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-section-modern {
        padding: 60px 0 40px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .expertise-card-modern,
    .network-card {
        padding: 25px 20px;
    }

    .expertise-icon {
        font-size: 1.5rem;
    }

    .network-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .stat-number-modern {
        font-size: 1.8rem;
    }
}
