/* ================================================
   STATISTIQUES PAGE - DARK MODE PREMIUM
   ================================================ */

/* Hero Stats Section */
.stats-hero {
    background: linear-gradient(135deg, #0B1929 0%, #1A2F4A 50%, #2C4A6B 100%);
    padding: 50px 0 30px !important;
    position: relative;
    overflow: hidden;
}

.stats-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(44, 74, 107, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.stats-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stats-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #B8C5D6;
}

.stats-breadcrumb a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.stats-breadcrumb a:hover {
    color: #E8C878;
}

.stats-breadcrumb i {
    font-size: 0.75rem;
    opacity: 0.5;
}

.stats-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFF0;
    margin-bottom: 25px;
    line-height: 1.2;
}

.stats-subtitle {
    display: block;
    font-size: 1.3rem;
    font-weight: 400;
    color: #D4AF37;
    margin-bottom: 15px;
    font-style: italic;
}

.stats-hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #E8EDF3;
    max-width: 750px;
    margin: 0 auto;
}

/* Main Stats Section */
.stats-main {
    background: #0F1419;
    padding: 80px 0 100px;
}

/* Stats Grid - Principales */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.stat-card {
    background: linear-gradient(135deg, #1E2537 0%, #1A1F2E 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #E8C878 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.stat-card.featured {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.stat-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2C4A6B 0%, #1A2F4A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    transition: all 0.4s ease;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.stat-icon i {
    font-size: 3rem;
    color: #D4AF37;
}

.stat-number-large {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: #FFFFF0;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.stat-label-large {
    font-size: 1.4rem;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.stat-detail {
    font-size: 1rem;
    color: #B8C5D6;
    line-height: 1.6;
}

/* Section Titles */
.stats-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.stats-section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFF0;
    margin-bottom: 15px;
}

.stats-section-title p {
    font-size: 1.15rem;
    color: #B8C5D6;
}

/* Stats Grid Secondary */
.stats-grid-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.stat-icon-small {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2C4A6B 0%, #1A2F4A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.15);
}

.stat-card:hover .stat-icon-small {
    transform: scale(1.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.stat-icon-small i {
    font-size: 2rem;
    color: #D4AF37;
}

.stat-number-medium {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFF0;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label-medium {
    font-size: 1.2rem;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 10px;
}

.stat-detail-small {
    font-size: 0.95rem;
    color: #B8C5D6;
}

/* Stats Grid Tertiary - Compact */
.stats-grid-tertiary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 100px;
}

.stat-card-compact {
    background: linear-gradient(135deg, #1E2537 0%, #1A1F2E 100%);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-compact:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.stat-icon-compact {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2C4A6B 0%, #1A2F4A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.stat-icon-compact i {
    font-size: 1.5rem;
    color: #D4AF37;
}

.stat-number-compact {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFF0;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label-compact {
    font-size: 1rem;
    font-weight: 500;
    color: #B8C5D6;
}

/* ROI Grid */
.stats-roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.roi-card {
    background: linear-gradient(135deg, #1E2537 0%, #1A1F2E 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px 35px;
    transition: all 0.4s ease;
}

.roi-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.roi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.roi-header i {
    font-size: 2.5rem;
    color: #D4AF37;
}

.roi-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFF0;
}

.roi-main {
    text-align: center;
    margin-bottom: 25px;
}

.roi-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.roi-label {
    display: block;
    font-size: 1.1rem;
    color: #E8EDF3;
    font-weight: 500;
}

.roi-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roi-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #B8C5D6;
}

.roi-detail-item i {
    color: #D4AF37;
    font-size: 0.9rem;
}

/* Stats CTA */
.stats-cta {
    background: linear-gradient(135deg, #2C4A6B 0%, #1A2F4A 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

.stats-cta-content {
    position: relative;
    z-index: 1;
}

.stats-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFFFF0;
    margin-bottom: 20px;
}

.stats-cta p {
    font-size: 1.2rem;
    color: #E8EDF3;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.animate {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Stats Image Sections */
.stats-image-section {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(11, 25, 41, 0.3);
}

.stats-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.stats-image-section:hover .stats-image {
    transform: scale(1.05);
}

/* Responsive Design */

/* Tablette paysage - 2 colonnes */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .stats-hero {
        padding: 45px 0 25px !important;
    }

    .stats-hero-title {
        font-size: 2.5rem;
    }

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

    .stats-hero-description {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }

    .stat-number-large {
        font-size: 4rem;
    }

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

    .stats-grid-secondary,
    .stats-grid-tertiary {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        margin-bottom: 70px;
    }

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

    .stats-cta {
        padding: 50px 30px;
    }

    .stats-cta h2 {
        font-size: 2rem;
    }

    .stats-cta p {
        font-size: 1.05rem;
    }
    
    .stats-image {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .stats-hero {
        padding: 40px 0 20px !important;
    }

    .stats-hero-title {
        font-size: 2rem;
    }

    .stats-subtitle {
        font-size: 1rem;
    }

    .stats-hero-description {
        font-size: 1rem;
    }

    .stat-card {
        padding: 35px 25px;
    }

    .stat-icon {
        width: 80px;
        height: 80px;
    }

    .stat-icon i {
        font-size: 2.5rem;
    }

    .stat-number-large {
        font-size: 3.5rem;
    }

    .stat-label-large {
        font-size: 1.2rem;
    }

    .stat-number-medium {
        font-size: 3rem;
    }

    .stats-section-title h2 {
        font-size: 1.75rem;
    }

    .stats-grid-tertiary {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .stat-number-compact {
        font-size: 2rem;
    }

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

    .roi-card {
        padding: 30px 25px;
    }

    .roi-number {
        font-size: 3rem;
    }

    .stats-cta {
        padding: 40px 20px;
    }

    .stats-cta h2 {
        font-size: 1.75rem;
    }

    .stats-cta p {
        font-size: 1rem;
    }
    
    .stats-image {
        height: 250px;
    }
    
    .stats-image-section {
        margin: 2.5rem auto;
    }
}
