/* unified-sections.css - CSS unifié pour toutes les sections de développement durable */

/* ============================================
   1. FONDAMENTAUX & CLASSES UTILITAIRES
   ============================================ */

/* Classes utilitaires globales */
.max-w-800 { max-width: 800px; }
.max-w-600 { max-width: 600px; }
.max-w-900 { max-width: 900px; }
.opacity-90 { opacity: 0.9; }
.opacity-80 { opacity: 0.8; }
.opacity-70 { opacity: 0.7; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.z-3 { z-index: 3; }
.w-30 { width: 30%; }
.h-50 { height: 50%; }

/* Effet de levage */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   2. STRUCTURE COMMUNE DES SECTIONS
   ============================================ */

.environment-section,
.resources-section,
.energy-section,
.education-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* Labels de section */
.environment-section .section-label {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
}

.resources-section .section-label {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.25);
}

.energy-section .section-label {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.25);
}

.education-section .section-label {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.25);
}

/* Style commun des labels */
.environment-section .section-label,
.resources-section .section-label,
.energy-section .section-label,
.education-section .section-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

/* Animation de brillance pour labels */
.environment-section .section-label::before,
.resources-section .section-label::before,
.energy-section .section-label::before,
.education-section .section-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.environment-section .section-label:hover::before,
.resources-section .section-label:hover::before,
.energy-section .section-label:hover::before,
.education-section .section-label:hover::before {
    left: 100%;
}

.environment-section .section-label:hover,
.resources-section .section-label:hover,
.energy-section .section-label:hover,
.education-section .section-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Icônes de section */
.section-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.section-icon-wrapper:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Icônes thématiques par section */
.environment-section .section-icon-wrapper {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
}

.resources-section .section-icon-wrapper {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.1));
}

.energy-section .section-icon-wrapper {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(245, 124, 0, 0.1));
}

.education-section .section-icon-wrapper {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(123, 31, 162, 0.1));
}

/* ============================================
   3. COMPOSANTS COMMUNS
   ============================================ */

/* Cercle de statistiques */
.stat-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px dashed;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-circle:hover::before {
    opacity: 1;
}

.stat-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-circle .display-4 {
    line-height: 1;
    margin-bottom: 5px;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, currentColor 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-circle small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Statistiques par section */
.environment-section .stat-circle { border-color: rgba(76, 175, 80, 0.2); }
.environment-section .stat-circle .display-4 { color: #4caf50; }

.resources-section .stat-circle { border-color: rgba(33, 150, 243, 0.2); }
.resources-section .stat-circle .display-4 { color: #2196f3; }

.energy-section .stat-circle { border-color: rgba(255, 152, 0, 0.2); }
.energy-section .stat-circle .display-4 { color: #ff9800; }

.education-section .stat-circle { border-color: rgba(156, 39, 176, 0.2); }
.education-section .stat-circle .display-4 { color: #9c27b0; }

/* Cartes d'éléments */
.species-item,
.tech-item,
.timeline-item,
.event-item {
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
}

.species-details,
.tech-details,
.timeline-details,
.event-details {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
}

.species-details:hover,
.tech-details:hover,
.timeline-details:hover,
.event-details:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* En-têtes avec icônes */
.species-icon,
.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.environment-section .species-icon {
    background: rgba(139, 195, 74, 0.1);
}

.energy-section .tech-icon {
    background: rgba(255, 179, 0, 0.1);
}

/* Cartes de statistiques */
.stat-card {
    height: 100%;
    border: none;
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-value {
    font-size: 2.5rem;
    margin: 0.5rem 0 0.25rem;
    line-height: 1;
    font-weight: 800;
    color: #333;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

/* Cartes détaillées */
.detail-card {
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0.3;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Conteneurs d'images */
.environment-image-container,
.resources-image-container,
.energy-image-container,
.education-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    min-height: 300px;
    background-color: #f5f5f5;
}

.environment-image-container:hover,
.resources-image-container:hover,
.energy-image-container:hover,
.education-image-container:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.environment-image-container img,
.resources-image-container img,
.energy-image-container img,
.education-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.environment-image-container:hover img,
.resources-image-container:hover img,
.energy-image-container:hover img,
.education-image-container:hover img {
    transform: scale(1.05);
}

/* Bordures colorées par section */
.environment-image-container {
    border-color: rgba(76, 175, 80, 0.2);
}

.resources-image-container {
    border-color: rgba(33, 150, 243, 0.2);
}

.energy-image-container {
    border-color: rgba(255, 152, 0, 0.2);
}

.education-image-container {
    border-color: rgba(156, 39, 176, 0.2);
}

/* Overlay d'image */
.environment-image-container .image-overlay,
.resources-image-container .image-overlay,
.energy-image-container .image-overlay,
.education-image-container .image-overlay {
    background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    z-index: 2;
    pointer-events: none;
}

/* Groupes de badges */
.environment-image-container .image-badges,
.resources-image-container .image-badges,
.energy-image-container .image-badges,
.education-image-container .image-badges {
    margin-bottom: 1rem;
    pointer-events: auto;
}

/* Barres de progression */
.progress-item {
    position: relative;
}

.progress-item .progress {
    border-radius: 4px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
}

.progress-bar {
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Cartes d'impact */
.impact-environmental,
.impact-resources,
.impact-energy,
.impact-educational {
    border: 1px solid rgba(156, 39, 176, 0.1);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.impact-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    transition: transform 0.3s ease;
}

.impact-item:hover .impact-icon {
    transform: scale(1.2);
}

/* ============================================
   4. COMPOSANTS CTA & BOUTONS
   ============================================ */

/* Boutons thématiques */
.btn-theme {
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-theme::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-theme:hover::before {
    width: 300px;
    height: 300px;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.btn-purple {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
}

.btn-theme:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-success:hover { background: linear-gradient(135deg, #66bb6a, #388e3c); }
.btn-primary:hover { background: linear-gradient(135deg, #42a5f5, #1565c0); }
.btn-warning:hover { background: linear-gradient(135deg, #ffb74d, #f57c00); }
.btn-purple:hover { background: linear-gradient(135deg, #ba68c8, #7b1fa2); }

/* Boutons par défaut par section */
.environment-section .btn-theme:not([class*="btn-"]) {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
}

.resources-section .btn-theme:not([class*="btn-"]) {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.energy-section .btn-theme:not([class*="btn-"]) {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.education-section .btn-theme:not([class*="btn-"]) {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
}

/* CTA sections */
.cta-environment,
.cta-resources,
.cta-energy,
.cta-education {
    border: 1px solid rgba(255, 152, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: 0.5s;
}

.cta-environment::before,
.cta-resources::before,
.cta-energy::before,
.cta-education::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: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* ============================================
   5. TABLEAUX SYNTHÉTIQUES
   ============================================ */

.environment-summary-card,
.resources-summary-card,
.energy-summary-card,
.education-summary-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.environment-summary-card:hover,
.resources-summary-card:hover,
.energy-summary-card:hover,
.education-summary-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.table-environment-summary,
.table-resources-summary,
.table-energy-summary,
.table-education-summary {
    margin-bottom: 0;
}

.table-environment-summary thead th,
.table-resources-summary thead th,
.table-energy-summary thead th,
.table-education-summary thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table-environment-summary tbody td,
.table-resources-summary tbody td,
.table-energy-summary tbody td,
.table-education-summary tbody td {
    vertical-align: middle;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.table-environment-summary tbody tr:hover td {
    background-color: rgba(76, 175, 80, 0.03);
}

.table-resources-summary tbody tr:hover td {
    background-color: rgba(33, 150, 243, 0.03);
}

.table-energy-summary tbody tr:hover td {
    background-color: rgba(255, 152, 0, 0.03);
}

.table-education-summary tbody tr:hover td {
    background-color: rgba(156, 39, 176, 0.03);
}

/* Badges dans les tableaux */
.table-environment-summary .badge,
.table-resources-summary .badge,
.table-energy-summary .badge,
.table-education-summary .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Légende */
.legend-color {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* ============================================
   6. SYSTÈME DE BADGES UNIFIÉ
   ============================================ */

/* Badge de base */
.environment-badge,
.resources-badge,
.energy-badge,
.education-badge,
.trend-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.trend-badge {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Badges par section */
.environment-section .trend-badge {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
}

.resources-section .trend-badge {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.energy-section .trend-badge {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.education-section .trend-badge {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    color: white;
}

/* Effet hover unifié pour tous les badges */
.environment-badge:hover,
.resources-badge:hover,
.energy-badge:hover,
.education-badge:hover,
.trend-badge:hover,
.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Effet de brillance pour les badges */
.trend-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.trend-badge:hover::after {
    width: 200px;
    height: 200px;
}

/* ============================================
   7. COULEURS THÉMATIQUES
   ============================================ */

/* Vert - Environnement, Succès */
.text-success { color: #4caf50 !important; }
.bg-success { background-color: #4caf50 !important; }
.bg-success-light { background-color: rgba(76, 175, 80, 0.1) !important; }

/* Orange - Énergie, Avertissements */
.text-warning { color: #ff9800 !important; }
.bg-warning { background-color: #ff9800 !important; }
.bg-warning-light { background-color: rgba(255, 152, 0, 0.1) !important; }

/* Violet - Éducation */
.text-purple { color: #9c27b0 !important; }
.bg-purple { background-color: #9c27b0 !important; }
.bg-purple-light { background-color: rgba(156, 39, 176, 0.1) !important; }

/* Bleu - Ressources, Information */
.text-info { color: #2196f3 !important; }
.bg-info { background-color: #2196f3 !important; }
.bg-info-light { background-color: rgba(33, 150, 243, 0.1) !important; }

/* Rose - Événements */
.text-pink { color: #e91e63 !important; }
.bg-pink { background-color: #e91e63 !important; }
.bg-pink-light { background-color: rgba(233, 30, 99, 0.1) !important; }

/* ============================================
   8. ALERTES & NOTIFICATIONS
   ============================================ */

.alert {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 1.25rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.alert-success .alert-heading {
    color: #2e7d32;
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.08);
    border-color: rgba(33, 150, 243, 0.2);
    color: #1565c0;
    border-radius: 12px;
    padding: 1.25rem;
}

.alert-info .alert-heading {
    color: #1565c0;
}

.alert-warning {
    background-color: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.2);
    color: #f57c00;
    border-radius: 12px;
    padding: 1.25rem;
}

.alert-warning .alert-heading {
    color: #f57c00;
}

.alert-purple {
    background-color: rgba(156, 39, 176, 0.08);
    border-color: rgba(156, 39, 176, 0.2);
    color: #7b1fa2;
    border-radius: 12px;
    padding: 1.25rem;
}

.alert-purple .alert-heading {
    color: #7b1fa2;
}

/* ============================================
   9. ANIMATIONS
   ============================================ */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Application des animations */
.animate-up { animation: fadeInUp 0.6s ease-out; }
.animate-left { animation: fadeInLeft 0.6s ease-out; }
.animate-right { animation: fadeInRight 0.6s ease-out; }
.animate-scale { animation: scaleIn 0.6s ease-out; }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Délais d'animation */
.species-item:nth-child(1),
.tech-item:nth-child(1),
.timeline-item:nth-child(1),
.event-item:nth-child(1) { 
    animation-delay: 0.1s; 
}

.species-item:nth-child(2),
.tech-item:nth-child(2),
.timeline-item:nth-child(2),
.event-item:nth-child(2) { 
    animation-delay: 0.2s; 
}

/* Animation de pulsation */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(33, 150, 243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

@keyframes pulse-purple {
    0% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(156, 39, 176, 0); }
    100% { box-shadow: 0 0 0 0 rgba(156, 39, 176, 0); }
}

/* Pulsation par section */
.environment-section .pulse-animation { animation: pulse-green 2s infinite; }
.resources-section .pulse-animation { animation: pulse-blue 2s infinite; }
.energy-section .pulse-animation { animation: pulse-orange 2s infinite; }
.education-section .pulse-animation { animation: pulse-purple 2s infinite; }

/* ============================================
   10. GRID SYSTEM
   ============================================ */

/* Grilles de cartes */
.cards-grid {
    display: grid;
    gap: 1.5rem;
}

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

/* ============================================
   11. PARTENAIRES & LOGOS
   ============================================ */

.partner-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

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

.partner-item {
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    padding: 1.5rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-icon {
    transform: scale(1.1);
}

/* Icônes partenaires par section */
.environment-section .partner-icon {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
    color: #4caf50;
}

.resources-section .partner-icon {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.1));
    color: #2196f3;
}

.energy-section .partner-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(245, 124, 0, 0.1));
    color: #ff9800;
}

.education-section .partner-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(123, 31, 162, 0.1));
    color: #9c27b0;
}

/* Logos partenaires */
.partner-logo {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.partner-logo i {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

/* Couleurs des logos par section */
.environment-section .partner-logo i { color: #4caf50; }
.resources-section .partner-logo i { color: #2196f3; }
.energy-section .partner-logo i { color: #ff9800; }
.education-section .partner-logo i { color: #9c27b0; }

/* ============================================
   12. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
    .environment-section .display-5,
    .resources-section .display-5,
    .energy-section .display-5,
    .education-section .display-5 {
        font-size: 2.5rem;
    }
    
    .stat-circle {
        width: 120px;
        height: 120px;
    }
    
    .stat-circle .display-4 {
        font-size: 2.5rem;
    }
    
    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    /* Correction responsive pour les images */
    .environment-image-container,
    .resources-image-container,
    .energy-image-container,
    .education-image-container {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .environment-section .section-label,
    .resources-section .section-label,
    .energy-section .section-label,
    .education-section .section-label {
        font-size: 0.8rem;
        padding: 6px 18px;
        margin-bottom: 1.25rem;
    }
    
    .environment-section .display-5,
    .resources-section .display-5,
    .energy-section .display-5,
    .education-section .display-5 {
        font-size: 2rem;
    }
    
    /* Images responsives */
    .environment-image-container,
    .resources-image-container,
    .energy-image-container,
    .education-image-container {
        min-height: 200px;
    }
    
    .cards-grid-2,
    .cards-grid-3,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .partner-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .stat-icon,
    .partner-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
    
    /* Overlay responsive */
    .environment-image-container .image-overlay,
    .resources-image-container .image-overlay,
    .energy-image-container .image-overlay,
    .education-image-container .image-overlay {
        padding: 1.25rem;
    }
    
    .species-details,
    .tech-details,
    .timeline-details,
    .event-details {
        padding: 1.5rem !important;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .environment-section,
    .resources-section,
    .energy-section,
    .education-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-icon-wrapper {
        margin: 0 auto 1rem;
    }
    
    .trend-badge {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
        margin-top: 1rem;
    }
    
    .stat-circle .display-4 {
        font-size: 2rem;
    }
    
    /* Images mobiles */
    .environment-image-container,
    .resources-image-container,
    .energy-image-container,
    .education-image-container {
        min-height: 180px;
    }
    
    .btn-theme {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .environment-image-container .image-overlay,
    .resources-image-container .image-overlay,
    .energy-image-container .image-overlay,
    .education-image-container .image-overlay {
        padding: 1rem;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin: 0 auto 0.5rem;
        min-width: auto;
    }
    
    /* Badges sur mobile */
    .environment-badge,
    .resources-badge,
    .energy-badge,
    .education-badge,
    .trend-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .impact-item {
        margin-bottom: 10px;
    }
}

/* Desktop large */
@media (min-width: 1400px) {
    .environment-section,
    .resources-section,
    .energy-section,
    .education-section {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
    
    /* Images grandes écrans */
    .environment-image-container,
    .resources-image-container,
    .energy-image-container,
    .education-image-container {
        min-height: 350px;
    }
}

/* ============================================
   13. STYLES SPÉCIFIQUES POUR LES BADGES
   ============================================ */

/* Dégradés pour les badges */
.environment-badge {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
    color: white;
    border: 1px solid rgba(56, 142, 60, 0.3);
}

.resources-badge {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%) !important;
    color: white;
    border: 1px solid rgba(25, 118, 210, 0.3);
}

.energy-badge {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    color: white;
    border: 1px solid rgba(245, 124, 0, 0.3);
}

.education-badge {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%) !important;
    color: white;
    border: 1px solid rgba(123, 31, 162, 0.3);
}

/* Animation spécifique pour les badges */
@keyframes badge-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.environment-badge.animated,
.resources-badge.animated,
.energy-badge.animated,
.education-badge.animated {
    animation: badge-fadeIn 0.5s ease-out forwards;
}