/* ============================================
   VARIABLES ET UTILITAIRES COMMUNS
   ============================================ */

:root {
    --primary-color: #4361ee;
    --secondary-color: #9c27b0;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --medium-bg: #e9ecef;
}

.max-w-800 {
    max-width: 800px;
}

.x-small {
    font-size: 0.8rem;
}

/* Couleurs spécifiques */
.text-purple { color: #9c27b0 !important; }
.bg-purple { background-color: #9c27b0 !important; }
.text-primary { color: #4361ee !important; }
.bg-primary { background-color: #4361ee !important; }
.text-success { color: #2ecc71 !important; }
.bg-success { background-color: #2ecc71 !important; }
.text-warning { color: #f39c12 !important; }
.bg-warning { background-color: #f39c12 !important; }
.text-info { color: #3498db !important; }
.bg-info { background-color: #3498db !important; }

/* ============================================
   ANIMATIONS GLOBALES
   ============================================ */

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

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

@keyframes progressAnimation {
    from { width: 0; }
}

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

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

/* ============================================
   STYLES DE SECTION COMMUNS
   ============================================ */

.routes-nationales-section,
.ports-section {
    background-color: var(--light-bg);
    position: relative;
    padding: 3rem 0;
}

/* En-tête de section */
.routes-nationales-section .section-label,
.ports-section .section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.routes-nationales-section .section-label {
    background-color: #9c27b0;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.ports-section .section-label {
    background-color: #4361ee;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

/* Icônes de section */
.routes-nationales-section .section-icon-wrapper,
.ports-section .port-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.routes-nationales-section .section-icon-wrapper {
    background-color: rgba(156, 39, 176, 0.1);
}

.ports-section .port-icon-wrapper {
    background-color: rgba(33, 150, 243, 0.1);
}

.ports-section .port-card:nth-child(2) .port-icon-wrapper {
    background-color: rgba(255, 152, 0, 0.1);
}

/* Badges et indicateurs */
.trend-badge,
.status-badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 1rem;
    border-radius: 20px;
}

.trend-badge {
    color: white;
}

.status-badge {
    color: white;
}

/* Cartes de statistiques */
.stat-circle,
.stat-circle-port {
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-circle:hover,
.stat-circle-port:hover {
    transform: scale(1.05);
}

.stat-circle {
    width: 120px;
    height: 120px;
}

.stat-circle-port {
    width: 100px;
    height: 100px;
}

.stat-circle .display-4,
.stat-circle-port .display-4 {
    line-height: 1;
    font-weight: bold;
}

.stat-circle .display-4 {
    font-size: 2.8rem;
}

.stat-circle-port .display-4 {
    font-size: 2.2rem;
}

/* Cartes de contenu */
.port-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.port-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.port-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Images avec overlay */
.routes-image-container,
.port-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.routes-image-container img,
.port-image-container img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.routes-image-container:hover img,
.port-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

.routes-image-container:hover .image-overlay,
.port-image-container:hover .image-overlay {
    opacity: 1;
}

.destination-badges .badge {
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    padding: 0.35rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   STYLES SPÉCIFIQUES ROUTES NATIONALES
   ============================================ */

/* Itinéraires */
.route-item {
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.route-item:hover {
    transform: translateX(5px);
}

.route-badge {
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    margin-right: 0.5rem;
}

.route-details {
    background: white !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.route-details:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.route-step {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.route-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    position: absolute;
    left: -0.5rem;
    top: 0;
}

.step-header {
    margin-bottom: 0.75rem;
}

.route-summary {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.summary-item {
    text-align: center;
}

/* Variantes */
.route-variant {
    border: 1px solid #4caf50;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(232, 245, 233, 0.8);
}

.route-variant:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.variant-features .badge {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 15px;
}

/* Impact économique */
.impact-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

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

.impact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cartes statistiques */
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

.stat-value {
    line-height: 1;
    font-weight: bold;
    margin-bottom: 0.5rem;
    animation: countUp 0.8s ease-out forwards;
}

.stat-label {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.stat-source {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Progression des travaux */
.progress-tracking {
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(33, 150, 243, 0.1);
    padding: 1.5rem;
    background-color: rgba(227, 242, 253, 0.8);
    border-left: 4px solid #2196f3;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-item:last-child {
    margin-bottom: 0;
}

.progress {
    border-radius: 4px;
    overflow: hidden;
    height: 8px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
    animation: progressAnimation 1.5s ease-out forwards;
}

/* Tableau synthétique */
.routes-summary-card,
.comparison-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.routes-summary-card .card-header,
.comparison-card .card-header {
    border-bottom: none;
    padding: 1.5rem;
}

.summary-icon,
.comparison-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.table-routes-summary {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.table-routes-summary thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    vertical-align: middle;
    padding: 1rem;
}

.table-routes-summary tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #e9ecef;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.table-routes-summary tbody tr:hover {
    background-color: rgba(156, 39, 176, 0.05);
    transform: translateX(5px);
}

.table-routes-summary tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border-top: none;
}

.table-routes-summary .badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
}

.routes-summary-card .card-footer,
.comparison-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1rem;
}

.legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ============================================
   STYLES SPÉCIFIQUES PORTS
   ============================================ */

.port-content {
    flex: 1;
}

.port-highlight {
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
}

.port-highlight:hover {
    transform: translateX(5px);
}

.ports-section .port-highlight {
    background-color: rgba(227, 242, 253, 0.8);
}

.ports-section .port-card:nth-child(2) .port-highlight {
    background-color: rgba(255, 243, 224, 0.8);
}

.detail-item {
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.detail-item:hover {
    background-color: white;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(33, 150, 243, 0.1);
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.port-card:nth-child(2) .detail-icon {
    background-color: rgba(255, 152, 0, 0.1);
}

.synergy-item {
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

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

.synergy-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.opportunity-item {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.opportunity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.opportunity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

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

@media (max-width: 991.98px) {
    .routes-content {
        padding-right: 0 !important;
        margin-bottom: 3rem;
    }
    
    .port-card {
        margin-bottom: 2rem;
    }
    
    .port-card:last-child {
        margin-bottom: 0;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-circle .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-circle-port .display-4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .section-label {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .port-card,
    .stat-card,
    .route-details {
        padding: 1.5rem;
    }
    
    .port-image-container img {
        height: 200px;
    }
    
    .stat-card .display-5 {
        font-size: 2rem;
    }
    
    .table-routes-summary {
        font-size: 0.9rem;
    }
    
    .table-routes-summary thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .table-routes-summary tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .synergy-item {
        margin-bottom: 1rem;
    }
    
    .synergy-item:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .performance-highlight,
    .port-highlight {
        padding: 1.5rem !important;
    }
    
    .stat-circle {
        width: 80px;
        height: 80px;
        margin-top: 1rem;
    }
    
    .stat-circle .display-4 {
        font-size: 2rem;
    }
    
    .route-step {
        padding-left: 1.25rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        left: -0.25rem;
    }
    
    .legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   ANIMATIONS SPÉCIFIQUES
   ============================================ */

/* Routes Nationales */
.routes-nationales-section .route-item:nth-child(1) { animation-delay: 0.1s; }
.routes-nationales-section .route-item:nth-child(2) { animation-delay: 0.2s; }

.routes-nationales-section .stat-card:nth-child(1) { animation-delay: 0.1s; }
.routes-nationales-section .stat-card:nth-child(2) { animation-delay: 0.2s; }
.routes-nationales-section .stat-card:nth-child(3) { animation-delay: 0.3s; }
.routes-nationales-section .stat-card:nth-child(4) { animation-delay: 0.4s; }

.routes-nationales-section .table-routes-summary tbody tr:nth-child(1) { animation-delay: 0.1s; }
.routes-nationales-section .table-routes-summary tbody tr:nth-child(2) { animation-delay: 0.2s; }
.routes-nationales-section .table-routes-summary tbody tr:nth-child(3) { animation-delay: 0.3s; }
.routes-nationales-section .table-routes-summary tbody tr:nth-child(4) { animation-delay: 0.4s; }

/* Ports */
.ports-section .port-card:nth-child(1) { animation: slideInLeft 0.6s ease forwards; }
.ports-section .port-card:nth-child(2) { animation: slideInRight 0.6s ease forwards; }

/* Désactivation des animations sur mobile */
@media (max-width: 991.98px) {
    .routes-nationales-section .routes-content > *,
    .routes-nationales-section .routes-visual > *,
    .routes-nationales-section .table-routes-summary tbody tr {
        animation: fadeInUp 0.6s ease forwards;
        animation-delay: 0s;
    }
}

/* ============================================
   COULEURS AÉROPORT - PALETTE AMÉLIORÉE
   ============================================ */
:root {
    --aeroport-primary: #4361ee;    /* Bleu principal plus doux */
    --aeroport-light: #eef2ff;      /* Bleu très clair pour fonds */
    --aeroport-dark: #3730a3;       /* Bleu foncé pour titres */
    --aeroport-gradient-start: #4f46e5;
    --aeroport-gradient-end: #3b82f6;
}

/* ============================================
   UTILITAIRES DE COULEUR
   ============================================ */
.text-aeroport { color: var(--aeroport-primary) !important; }
.text-aeroport-dark { color: var(--aeroport-dark) !important; }
.bg-aeroport { background-color: var(--aeroport-primary) !important; }
.bg-aeroport-light { background-color: var(--aeroport-light) !important; }
.border-aeroport { border-color: var(--aeroport-primary) !important; }
.border-aeroport-light { border-color: var(--aeroport-light) !important; }

.bg-aeroport-gradient {
    background: linear-gradient(135deg, var(--aeroport-gradient-start) 0%, var(--aeroport-gradient-end) 100%) !important;
}

/* Couleurs d'accompagnement harmonisées */
.bg-info-light { background-color: rgba(59, 130, 246, 0.08) !important; }
.bg-success-light { background-color: rgba(34, 197, 94, 0.08) !important; }
.bg-warning-light { background-color: rgba(245, 158, 11, 0.08) !important; }

/* ============================================
   SECTION AÉROPORT
   ============================================ */
.aeroport-section {
    background-color: rgba(67, 97, 238, 0.03)!important;
}

.aeroport-section .section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--aeroport-gradient-start), var(--aeroport-gradient-end));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.aeroport-content .stat-card {
    transition: all 0.3s ease;
    border-color: var(--aeroport-primary) !important;
}

.aeroport-content .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.15) !important;
}

.feature-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb !important;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--aeroport-primary) !important;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(67, 97, 238, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: rgba(67, 97, 238, 0.15);
    transform: scale(1.05);
}

.stat-indicator {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.stat-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.aeroport-image-container .card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.aeroport-image-container img {
    transition: transform 0.6s ease;
}

.aeroport-image-container:hover img {
    transform: scale(1.08);
}

.airlines-card .badge,
.destinations-card .badge {
    font-weight: 500;
    transition: all 0.3s ease;
}

.airlines-card .badge:hover,
.destinations-card .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.projects-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(67, 97, 238, 0.2) !important;
}

.projects-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.15);
    border-color: var(--aeroport-primary) !important;
}

/* CTA amélioré */
.cta-section {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.25);
}

.btn-light {
    background-color: white !important;
    color: var(--aeroport-primary) !important;
    font-weight: 600;
    border: 2px solid white !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .aeroport-content {
        margin-bottom: 3rem;
    }
    
    .aeroport-image-container img {
        height: 250px !important;
    }
}

@media (max-width: 767.98px) {
    .aeroport-section .section-label {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .stat-card,
    .feature-item,
    .airlines-card,
    .destinations-card,
    .projects-card {
        padding: 1.5rem !important;
    }
    
    .feature-value {
        font-size: 1rem;
    }
    
    .cta-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section .text-lg-start {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
    }
}

@media (max-width: 575.98px) {
    .aeroport-stat .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-indicator {
        margin-bottom: 0.75rem;
    }
    
    .btn-light {
        width: 100%;
        max-width: 300px;
    }
}

.max-w-800 {
    max-width: 800px;
}

/* ============================================
   COULEURS ÉNERGIE - PALETTE THÉMATIQUE
   ============================================ */
:root {
    --energy-primary: #10b981;      /* Vert énergétique principal */
    --energy-light: #d1fae5;        /* Vert très clair */
    --energy-dark: #047857;         /* Vert foncé */
    --energy-gradient-start: #10b981;
    --energy-gradient-end: #059669;
}

/* ============================================
   UTILITAIRES DE COULEUR
   ============================================ */
.text-energy { color: var(--energy-primary) !important; }
.text-energy-dark { color: var(--energy-dark) !important; }
.bg-energy { background-color: var(--energy-primary) !important; }
.bg-energy-light { background-color: var(--energy-light) !important; }
.border-energy { border-color: var(--energy-primary) !important; }
.border-energy-light { border-color: var(--energy-light) !important; }

.bg-energy-gradient {
    background: linear-gradient(135deg, var(--energy-gradient-start) 0%, var(--energy-gradient-end) 100%) !important;
}

.bg-warning-light { background-color: rgba(245, 158, 11, 0.08) !important; }
.bg-info-light { background-color: rgba(59, 130, 246, 0.08) !important; }
.bg-success-light { background-color: rgba(34, 197, 94, 0.08) !important; }

/* ============================================
   SECTION ÉNERGIE
   ============================================ */
.energy-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.energy-section .section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--energy-gradient-start), var(--energy-gradient-end));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Statistique principale */
.stat-card {
    transition: all 0.3s ease;
    border-color: var(--energy-primary) !important;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15) !important;
}

/* Projets énergétiques */
.project-item {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.project-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--energy-primary) !important;
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(16, 185, 129, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-item:hover .project-icon {
    background-color: rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
}

/* Mix énergétique */
.mix-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mix-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Image */
.energy-image-container .card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.energy-image-container img {
    transition: transform 0.6s ease;
}

.energy-image-container:hover img {
    transform: scale(1.08);
}

/* Chiffres clés */
.fact-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.1);
    border-color: var(--energy-primary) !important;
}

.fact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(16, 185, 129, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prochaines étapes */
.next-steps {
    transition: all 0.3s ease;
}

.next-steps:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.1);
}

/* CTA */
.cta-section {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
}

.btn-light {
    background-color: white !important;
    color: var(--energy-dark) !important;
    font-weight: 600;
    border: 2px solid white !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .energy-content {
        margin-bottom: 3rem;
    }
    
    .energy-image-container img {
        height: 250px !important;
    }
}

@media (max-width: 767.98px) {
    .energy-section .section-label {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .stat-card,
    .project-item,
    .fact-card,
    .next-steps {
        padding: 1.5rem !important;
    }
    
    .cta-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section .text-lg-start {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .energy-stat .display-4 {
        font-size: 2.5rem;
    }
    
    .mix-item,
    .fact-card {
        margin-bottom: 1rem;
    }
    
    .btn-light {
        width: 100%;
        max-width: 300px;
    }
}

.max-w-800 {
    max-width: 800px;
}

/* ============================================
   COULEURS SANTÉ - PALETTE THÉMATIQUE
   ============================================ */
:root {
    --health-primary: #dc2626;      /* Rouge médical principal */
    --health-light: #fee2e2;        /* Rouge très clair */
    --health-dark: #b91c1c;         /* Rouge foncé */
    --health-gradient-start: #dc2626;
    --health-gradient-end: #b91c1c;
}

/* ============================================
   UTILITAIRES DE COULEUR
   ============================================ */
.text-health { color: var(--health-primary) !important; }
.text-health-dark { color: var(--health-dark) !important; }
.bg-health { background-color: var(--health-primary) !important; }
.bg-health-light { background-color: var(--health-light) !important; }
.border-health { border-color: var(--health-primary) !important; }
.border-health-light { border-color: var(--health-light) !important; }

.bg-health-gradient {
    background: linear-gradient(135deg, var(--health-gradient-start) 0%, var(--health-gradient-end) 100%) !important;
}

.bg-primary-light { background-color: rgba(59, 130, 246, 0.08) !important; }
.bg-success-light { background-color: rgba(34, 197, 94, 0.08) !important; }
.bg-warning-light { background-color: rgba(245, 158, 11, 0.08) !important; }
.bg-info-light { background-color: rgba(59, 130, 246, 0.08) !important; }

/* ============================================
   SECTION SANTÉ
   ============================================ */
.health-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 1%, #f8fafc 100%);
}

.health-section .section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--health-gradient-start), var(--health-gradient-end));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cartes principales */
.stat-card {
    transition: all 0.3s ease;
    border-color: var(--health-primary) !important;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15) !important;
}

.hospital-card, .csb-card, .private-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.hospital-card:hover, .csb-card:hover, .private-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
    border-color: var(--health-primary) !important;
}

.hospital-icon, .csb-icon, .private-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(220, 38, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hospital-card:hover .hospital-icon,
.csb-card:hover .csb-icon,
.private-card:hover .private-icon {
    background-color: rgba(220, 38, 38, 0.15);
    transform: scale(1.05);
}

/* Indicateurs */
.indicator-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.indicator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Image */
.health-image-container .card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.health-image-container img {
    transition: transform 0.6s ease;
}

.health-image-container:hover img {
    transform: scale(1.08);
}

/* Cartes défis et opportunités */
.challenge-card, .opportunity-card {
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.1);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.1);
}

/* Boutons santé */
.btn-health {
    background: linear-gradient(135deg, var(--health-gradient-start), var(--health-gradient-end));
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-health:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    color: white !important;
}

/* CTA principal */
.cta-section {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.25);
}

.btn-light {
    background-color: white !important;
    color: var(--health-dark) !important;
    font-weight: 600;
    border: 2px solid white !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .health-content {
        margin-bottom: 3rem;
    }
    
    .health-image-container img {
        height: 250px !important;
    }
}

@media (max-width: 767.98px) {
    .health-section .section-label {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .stat-card,
    .hospital-card,
    .csb-card,
    .private-card {
        padding: 1.5rem !important;
    }
    
    .challenge-card,
    .opportunity-card {
        margin-bottom: 1rem;
    }
    
    .cta-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section .text-lg-start {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .health-stat .display-4 {
        font-size: 2.5rem;
    }
    
    .indicator-card {
        margin-bottom: 0.5rem;
    }
    
    .btn-health,
    .btn-light {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.max-w-800 {
    max-width: 800px;
}

/* Amélioration des listes */
ul {
    padding-left: 1.2rem;
}

ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

ul li::marker {
    color: var(--health-primary);
}

/* ============================================
   COULEURS ÉDUCATION - PALETTE THÉMATIQUE
   ============================================ */
:root {
    --education-primary: #3b82f6;      /* Bleu éducatif principal */
    --education-light: #dbeafe;        /* Bleu très clair */
    --education-dark: #1d4ed8;         /* Bleu foncé */
    --education-gradient-start: #3b82f6;
    --education-gradient-end: #2563eb;
}

/* ============================================
   UTILITAIRES DE COULEUR
   ============================================ */
.text-education { color: var(--education-primary) !important; }
.text-education-dark { color: var(--education-dark) !important; }
.bg-education { background-color: var(--education-primary) !important; }
.bg-education-light { background-color: var(--education-light) !important; }
.border-education { border-color: var(--education-primary) !important; }
.border-education-light { border-color: var(--education-light) !important; }

.bg-education-gradient {
    background: linear-gradient(135deg, var(--education-gradient-start) 0%, var(--education-gradient-end) 100%) !important;
}

.bg-primary-light { background-color: rgba(59, 130, 246, 0.08) !important; }
.bg-success-light { background-color: rgba(34, 197, 94, 0.08) !important; }
.bg-warning-light { background-color: rgba(245, 158, 11, 0.08) !important; }
.bg-info-light { background-color: rgba(59, 130, 246, 0.08) !important; }

/* ============================================
   SECTION ÉDUCATION
   ============================================ */
.education-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 1%, #f8fafc 100%);
}

.education-section .section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--education-gradient-start), var(--education-gradient-end));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cartes principales */
.stat-card {
    transition: all 0.3s ease;
    border-color: var(--education-primary) !important;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15) !important;
}

.school-card, .training-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.school-card:hover, .training-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
    border-color: var(--education-primary) !important;
}

.school-icon, .training-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(59, 130, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.school-card:hover .school-icon,
.training-card:hover .training-icon {
    background-color: rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}

/* Indicateurs */
.indicator-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.indicator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Secteurs de formation */
.sector-badge {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sector-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--education-primary) !important;
}

/* Image */
.education-image-container .card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

.education-image-container img {
    transition: transform 0.6s ease;
}

.education-image-container:hover img {
    transform: scale(1.08);
}

/* Cartes défis et opportunités */
.challenge-card, .opportunity-card {
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.1);
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

/* Boutons éducation */
.btn-education {
    background: linear-gradient(135deg, var(--education-gradient-start), var(--education-gradient-end));
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-education:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white !important;
}

/* CTA principal */
.cta-section {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
}

.btn-light {
    background-color: white !important;
    color: var(--education-dark) !important;
    font-weight: 600;
    border: 2px solid white !important;
    border-radius: 12px !important;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .education-content {
        margin-bottom: 3rem;
    }
    
    .education-image-container img {
        height: 250px !important;
    }
}

@media (max-width: 767.98px) {
    .education-section .section-label {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .stat-card,
    .school-card,
    .training-card {
        padding: 1.5rem !important;
    }
    
    .challenge-card,
    .opportunity-card {
        margin-bottom: 1rem;
    }
    
    .cta-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section .text-lg-start {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .education-stat .display-4 {
        font-size: 2.5rem;
    }
    
    .indicator-card {
        margin-bottom: 0.5rem;
    }
    
    .sector-badge {
        margin-bottom: 0.5rem;
    }
    
    .btn-education,
    .btn-light {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.max-w-800 {
    max-width: 800px;
}

/* Amélioration des listes */
ul {
    padding-left: 1.2rem;
}

ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

ul li::marker {
    color: var(--education-primary);
}