.key-themes {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.theme-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.theme-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.theme-card:hover .theme-icon {
    transform: scale(1.1);
}

.category-tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.img-fluid {
    transition: transform 0.5s ease;
}

.theme-card:hover .img-fluid {
    transform: scale(1.03);
}

.btn {
    transition: all 0.3s ease;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 12px;
}

/* Animation simple */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-lg-3 {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.col-lg-3:nth-child(1) { animation-delay: 0.1s; }
.col-lg-3:nth-child(2) { animation-delay: 0.2s; }
.col-lg-3:nth-child(3) { animation-delay: 0.3s; }
.col-lg-3:nth-child(4) { animation-delay: 0.4s; }

/* Couleurs spécifiques par thématique */
/* Plages - Doré/sable */
.theme-card:nth-child(1) .theme-icon,
.theme-card:nth-child(1) .category-tag,
.theme-card:nth-child(1) .btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

/* Mines - Terre/ocre */
.theme-card:nth-child(2) .theme-icon,
.theme-card:nth-child(2) .category-tag,
.theme-card:nth-child(2) .btn {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

/* Biodiversité - Vert */
.theme-card:nth-child(3) .theme-icon,
.theme-card:nth-child(3) .category-tag,
.theme-card:nth-child(3) .btn {
    background: linear-gradient(135deg, #228B22, #2E8B57);
}

/* Pêche - Bleu marine */
.theme-card:nth-child(4) .theme-icon,
.theme-card:nth-child(4) .category-tag,
.theme-card:nth-child(4) .btn {
    background: linear-gradient(135deg, #0077A6, #005073);
}

.opportunities-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
}

.title-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #005073, #2E8B57);
    border-radius: 2px;
}

.opportunity-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.opportunity-card.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}

.card-header {
    position: relative;
    overflow: hidden;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.opportunity-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0,0,0,0.02);
    transform: translateX(3px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 1.5rem;
    line-height: 1;
}

.opportunity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.opportunity-tags .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    transition: all 0.3s ease;
}

.opportunity-tags .badge:hover {
    transform: translateY(-2px);
}

.cta-band {
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-band .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-band .btn-light:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-lg-3, .col-md-6 {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.col-lg-3:nth-child(1), .col-md-6:nth-child(1) { animation-delay: 0.1s; }
.col-lg-3:nth-child(2), .col-md-6:nth-child(2) { animation-delay: 0.2s; }
.col-lg-3:nth-child(3), .col-md-6:nth-child(3) { animation-delay: 0.3s; }
.col-lg-3:nth-child(4), .col-md-6:nth-child(4) { animation-delay: 0.4s; }
.col-lg-3:nth-child(5), .col-md-6:nth-child(5) { animation-delay: 0.5s; }
.col-lg-3:nth-child(6), .col-md-6:nth-child(6) { animation-delay: 0.6s; }
.col-lg-3:nth-child(7), .col-md-6:nth-child(7) { animation-delay: 0.7s; }
.col-lg-3:nth-child(8), .col-md-6:nth-child(8) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
    .opportunity-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .card-header {
        padding: 20px 15px;
    }
    
    .cta-band {
        text-align: center;
    }
    
    .cta-band .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .opportunity-card {
        margin-bottom: 20px;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .section-header .lead-text {
        padding: 15px;
    }
    
    .section-header .fs-5 {
        font-size: 1rem !important;
    }
    
    .opportunity-tags .badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

.shadow-hover {
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .shadow-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .lift {
        transition: transform 0.3s ease;
    }
    .lift:hover {
        transform: translateY(-5px);
    }
    .bg-purple {
        background-color: #6f42c1;
    }
    .progress {
        background-color: #f8f9fa;
    }

 .bg-primary-soft {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}
.object-fit-cover {
    object-fit: cover;
}
.video-overlay {
    opacity: 0.8;
    transition: opacity 0.3s;
}
.video-overlay:hover {
    opacity: 1;
}
.play-button {
    cursor: pointer;
    transition: transform 0.2s;
}
.play-button:hover {
    transform: scale(1.1);
}