/* ============================================
   SECTION EXPERTISE - GNOVEX COMPACT PRO
   Design: Moderne, compact, professionnel
   ============================================ */

.expertise-section {
    position: relative;
    padding: 40px 5% 40px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    overflow: hidden;
}

/* Effet de lueur de fond */
.expertise-bg-glow {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 176, 213, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-expertise 12s ease-in-out infinite;
}

@keyframes float-expertise {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============= EN-TÊTE SECTION ============= */
.expertise-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 56px;
}

.expertise-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.expertise-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #25B0D5, #41CE9F);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.expertise-section .section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.expertise-section .section-title .highlight {
    background: linear-gradient(135deg, #25B0D5 0%, #41CE9F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.expertise-section .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #25B0D5, #41CE9F);
    border-radius: 2px;
}

.expertise-section .section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto;
}

/* ============= GRILLE DES EXPERTISES ============= */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ============= CARTE EXPERTISE COMPACTE ============= */
.expertise-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 24px;
    padding: 32px 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Ligne supérieure animée */
.card-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25B0D5, #41CE9F);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover .card-top-line {
    transform: scaleX(1);
}

/* Effet de lueur au survol */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 176, 213, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.expertise-card:hover .card-glow {
    opacity: 1;
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 176, 213, 0.25);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

/* En-tête de carte */
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Icône avec effet */
.card-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25B0D5, #41CE9F);
    border-radius: 18px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 24px rgba(37, 176, 213, 0.25);
}

.card-icon.eco {
    background: linear-gradient(135deg, #41CE9F, #25B0D5);
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(37, 176, 213, 0.2), rgba(65, 206, 159, 0.2));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(8px);
}

.expertise-card:hover .card-icon::before {
    opacity: 1;
}

.card-icon svg {
    color: #ffffff;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover .card-icon {
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 12px 36px rgba(37, 176, 213, 0.35);
}

.expertise-card:hover .card-icon svg {
    transform: scale(1.12);
}

/* Numéro de carte */
.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(37, 176, 213, 0.08), rgba(65, 206, 159, 0.08));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: all 0.5s ease;
}

.expertise-card:hover .card-number {
    background: linear-gradient(135deg, #25B0D5, #41CE9F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.05);
}

/* Titre de carte */
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.expertise-card:hover .card-title {
    color: #25B0D5;
}

/* Liste compacte */
.card-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-list li:hover {
    color: #0f172a;
    transform: translateX(4px);
}

.card-list li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(37, 176, 213, 0.08), rgba(65, 206, 159, 0.08));
    border-radius: 8px;
    stroke: #25B0D5;
    transition: all 0.3s ease;
}

.card-list li:hover svg {
    background: linear-gradient(135deg, #25B0D5, #41CE9F);
    stroke: #ffffff;
    transform: rotate(5deg) scale(1.05);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expertise-card {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .expertise-section {
        padding: 30px 5% 30px;
    }

    .expertise-header {
        margin-bottom: 48px;
    }

    .expertise-section .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 25px 5% 25px;
    }

    .expertise-header {
        margin-bottom: 40px;
    }

    .expertise-section .section-title {
        font-size: 2.2rem;
    }

    .expertise-section .section-subtitle {
        font-size: 1rem;
    }

    .expertise-card {
        padding: 28px 24px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-number {
        font-size: 2.2rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-list {
        gap: 10px;
    }

    .card-list li {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .expertise-section {
        padding: 20px 5% 20px;
    }

    .expertise-section .section-title {
        font-size: 1.9rem;
    }

    .expertise-section .section-subtitle {
        font-size: 0.95rem;
    }

    .expertise-card {
        padding: 24px 20px;
        gap: 16px;
        border-radius: 20px;
    }

    .card-header {
        margin-bottom: 0;
    }

    .card-icon {
        width: 56px;
        height: 56px;
    }

    .card-number {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-list li {
        font-size: 11px;
    }
}