/* ============================================
   STYLES SPÉCIFIQUES IRE (Indice Robustesse Environnementale)
   Complément à style.css
   Version avec calculs réels - 2024
   ============================================ */

/* Variables supplémentaires pour IRE */
:root {
    --ire-primary: #00d4aa;
    --ire-secondary: #0984e3;
    --ire-accent: #9b59b6;
    --ire-success: #2ecc71;
    --ire-warning: #f39c12;
    --ire-danger: #e74c3c;
    
    --ire-biodiversity: #27ae60;
    --ire-water: #3498db;
    --ire-soil: #d35400;
    --ire-air: #8e44ad;
    --ire-climate: #f1c40f;
    --ire-services: #1abc9c;
    
    --gradient-ire: linear-gradient(135deg, var(--ire-primary), var(--ire-secondary), var(--ire-accent));
    --gradient-biodiversity: linear-gradient(135deg, #27ae60, #2ecc71);
    --gradient-water: linear-gradient(135deg, #3498db, #2980b9);
    --gradient-soil: linear-gradient(135deg, #d35400, #e67e22);
    
    --shadow-ire: 0 10px 30px rgba(0, 212, 170, 0.3);
    --shadow-ire-lg: 0 20px 40px rgba(0, 212, 170, 0.4);
    
    /* Variables ajoutées pour calculs réels */
    --radius-xl: 20px;
    --gray-light: rgba(255, 255, 255, 0.6);
    --gradient-dark: linear-gradient(135deg, #0a0f1c, #1a2332);
}

/* Classe spécifique pour la page IRE */
.ire-page {
    background: var(--dark);
    font-family: 'Inter', sans-serif;
}

/* ============================================
   HERO SECTION IRE - Spéciale
   ============================================ */

.ire-hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.ire-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ire-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 170, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(9, 132, 227, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(108, 92, 231, 0.1) 0%, transparent 40%);
}

.ire-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.innovation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(155, 89, 182, 0.2);
    color: var(--ire-accent);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 89, 182, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.ire-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ire-hero-title .title-line {
    display: block;
}

.ire-hero-title .gradient-text {
    background: var(--gradient-ire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ire-hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Indicateur IRE Principal */
.ire-main-indicator {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin: 0 auto 3rem;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.indicator-score {
    text-align: center;
    margin-bottom: 2rem;
}

.score-value {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-ire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.score-label {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 500;
}

.indicator-scale {
    margin-top: 1.5rem;
}

.scale-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.scale-fill {
    height: 100%;
    background: var(--gradient-ire);
    border-radius: 6px;
    width: 0;
    animation: fillScale 2s ease-out forwards;
}

@keyframes fillScale {
    to { width: 86%; }
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}

.scale-labels span:first-child { color: var(--ire-danger); }
.scale-labels span:last-child { color: var(--ire-success); }

.ire-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.ire-key-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.key-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.key-indicator:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.key-indicator i {
    font-size: 2rem;
    color: var(--ire-primary);
}

.key-indicator h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.key-indicator p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Visualisation écosystème */
.ire-hero-visual {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.ire-visualization {
    position: relative;
    width: 400px;
    height: 400px;
}

.ecosystem-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-layer {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-base {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 212, 170, 0.3);
    animation: rotateSlow 40s linear infinite;
}

.eco-mid {
    width: 200px;
    height: 200px;
    border-color: rgba(9, 132, 227, 0.3);
    animation: rotateMedium 30s linear infinite reverse;
}

.eco-top {
    width: 100px;
    height: 100px;
    border-color: rgba(108, 92, 231, 0.3);
    animation: rotateFast 20s linear infinite;
}

.eco-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-ire);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.eco-element:hover {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 20px currentColor;
}

.eco-element[data-tooltip] {
    position: relative;
}

.eco-element[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.eco-element:hover::after {
    opacity: 1;
    visibility: visible;
}

.resilience-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: 
        radial-gradient(circle, transparent 30%, rgba(0, 212, 170, 0.1) 30%, 
        rgba(0, 212, 170, 0.1) 35%, transparent 35%),
        radial-gradient(circle, transparent 40%, rgba(9, 132, 227, 0.1) 40%, 
        rgba(9, 132, 227, 0.1) 45%, transparent 45%),
        radial-gradient(circle, transparent 50%, rgba(108, 92, 231, 0.1) 50%, 
        rgba(108, 92, 231, 0.1) 55%, transparent 55%);
    animation: pulseWaves 4s ease-in-out infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMedium {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes rotateFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseWaves {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.visual-legend {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ============================================
   SECTIONS SPÉCIFIQUES IRE
   ============================================ */

.ire-section {
    padding: 6rem 0;
    position: relative;
}

.ire-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 170, 0.3), 
        rgba(9, 132, 227, 0.3), 
        rgba(108, 92, 231, 0.3), 
        transparent
    );
}

/* Section Définition */
.definition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.definition-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.definition-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire);
}

.definition-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.definition-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.definition-card p {
    color: var(--gray);
    line-height: 1.6;
}

.definition-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.definition-list li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
}

.definition-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ire-primary);
    font-size: 1.2rem;
}

/* Tableau Comparatif IRE */
.comparison-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--light);
}

.feature-comparison {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.feature-comparison th,
.feature-comparison td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-comparison th {
    background: rgba(0, 212, 170, 0.1);
    color: var(--ire-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.feature-comparison th:first-child {
    border-top-left-radius: var(--radius-lg);
}

.feature-comparison th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.feature-comparison tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-comparison td:first-child {
    font-weight: 500;
    color: var(--light);
}

/* ============================================
   COMPOSANTES - Grid des 6 piliers
   ============================================ */

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.component-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-ire);
}

.component-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire-lg);
}

.component-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.component-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.component-weight {
    text-align: right;
}

.weight-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ire-primary);
    line-height: 1;
}

.weight-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.component-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.component-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.component-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.indicator {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-light);
    padding: 0.4rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.component-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Graphique de contribution */
.contribution-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.contribution-chart h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--light);
}

.contribution-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contribution-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-fill {
    height: 30px;
    border-radius: var(--radius);
    background: var(--gradient-ire);
    position: relative;
    transition: width 1s ease;
    min-width: 20px;
}

.bar-fill::after {
    content: attr(data-value) '%';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.bar-label {
    min-width: 140px;
    font-weight: 500;
    color: var(--light);
}

/* ============================================
   MÉTHODOLOGIE - Processus en 4 étapes
   ============================================ */

.methodology-process {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-ire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.step-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-sources,
.step-techniques,
.step-outputs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.source-tag,
.technique-tag,
.output-tag {
    background: rgba(0, 212, 170, 0.1);
    color: var(--ire-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.source-tag:hover,
.technique-tag:hover,
.output-tag:hover {
    background: rgba(0, 212, 170, 0.2);
}

.technique-tag {
    background: rgba(9, 132, 227, 0.1);
    color: var(--ire-secondary);
}

.technique-tag:hover {
    background: rgba(9, 132, 227, 0.2);
}

.output-tag {
    background: rgba(108, 92, 231, 0.1);
    color: var(--ire-accent);
}

.output-tag:hover {
    background: rgba(108, 92, 231, 0.2);
}

.step-formulas {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--ire-primary);
}

.formula {
    color: var(--ire-primary);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Échelles d'analyse */
.analysis-scales {
    margin: 4rem 0;
}

.analysis-scales h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.scales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.scale-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scale-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire);
}

.scale-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.scale-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.scale-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.scale-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.scale-features li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scale-features li:last-child {
    border-bottom: none;
}

/* Sources de données */
.data-sources {
    margin-top: 4rem;
}

.data-sources h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.source-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.source-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.source-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.source-logo-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.source-logo-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

.source-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.source-item p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   APPLICATIONS ENTREPRISES
   ============================================ */

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.application-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.application-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire-lg);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.application-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.application-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.app-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ire-primary);
    font-weight: 600;
}

/* Cas d'utilisation */
.use-cases {
    margin-top: 4rem;
}

.use-cases h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.case-industry {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--ire-primary);
    font-weight: 600;
}

.case-industry i {
    font-size: 1.2rem;
}

.case-study h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.case-study p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-results {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.result-badge {
    background: rgba(46, 204, 113, 0.1);
    color: var(--ire-success);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.result-badge.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--ire-success);
}

/* ============================================
   APPLICATIONS TERRITORIALES
   ============================================ */

.territorial-applications {
    margin-bottom: 4rem;
}

.territorial-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 968px) {
    .territorial-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.map-visualization {
    width: 100%;
    height: 400px;
    background: var(--gradient-dark);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.map-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(0, 212, 170, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(9, 132, 227, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(108, 92, 231, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 212, 170, 0.1) 75%);
    background-size: 20px 20px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(46, 204, 113, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(52, 152, 219, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(155, 89, 182, 0.3) 0%, transparent 50%);
    animation: mapPulse 8s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.territorial-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.territorial-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.territorial-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    font-size: 1.5rem;
    color: var(--ire-primary);
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.feature p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Outils pour collectivités */
.territorial-tools {
    margin-top: 4rem;
}

.territorial-tools h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.tool-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.tool-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tool-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-benefits li:last-child {
    border-bottom: none;
}

/* ============================================
   CALCULATEUR IRE - Outil interactif
   ============================================ */

.calculator-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-header {
    padding: 2rem;
    background: rgba(0, 212, 170, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calculator-header p {
    color: var(--gray);
    font-size: 1rem;
}

.calculator-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 600px;
}

@media (max-width: 968px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }
}

.calculator-sidebar {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition);
    cursor: pointer;
}

.step.active {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.step:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-ire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--light);
}

.step-info p {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.calculator-tips {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.calculator-tips h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculator-tips p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.calculator-main {
    padding: 2rem;
}

.calculator-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.calculator-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.calculator-step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--light);
}

/* Options de périmètre */
.perimeter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.perimeter-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.perimeter-option.active {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--ire-primary);
}

.perimeter-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-ire);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

.option-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.option-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.option-detail {
    font-size: 0.8rem;
    color: var(--ire-primary);
    font-weight: 600;
}

.perimeter-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.input-group input {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--ire-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Sélection des composantes */
.components-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.component-selector {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition);
}

.component-selector:hover {
    background: rgba(255, 255, 255, 0.05);
}

.selector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.selector-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selector-title i {
    font-size: 1.5rem;
    color: var(--ire-primary);
}

.selector-title h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--light);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--ire-primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.selector-details {
    padding-left: 3.5rem;
}

.selector-details p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.selector-weight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.selector-weight span:first-child {
    color: var(--gray);
    font-size: 0.9rem;
}

.weight-slider {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.weight-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--ire-primary);
    border-radius: 50%;
    cursor: pointer;
}

.weight-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--ire-primary);
}

/* Questions détaillées pour calculs réels */
.detailed-questions-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-questions-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detailed-questions {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.questions-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.questions-header i {
    font-size: 1.2rem;
    color: var(--ire-primary);
}

.questions-header h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--light);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.question {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.question label {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-weight: 500;
}

.detail-input {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.detail-input:focus {
    outline: none;
    border-color: var(--ire-primary);
    background: rgba(255, 255, 255, 0.08);
}

.detail-input[type="range"] {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    -webkit-appearance: none;
}

.detail-input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--ire-primary);
    border-radius: 50%;
    cursor: pointer;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--ire-primary);
    font-weight: 600;
    text-align: right;
}

/* Résultats du calculateur */
.results-container {
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
}

.results-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--light);
}

.results-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.score-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-progress {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-bar {
    fill: none;
    stroke: var(--ire-primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 339;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    to {
        stroke-dashoffset: 68; /* Pour 80% de remplissage */
    }
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light);
}

.score-category {
    text-align: center;
}

.score-category h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ire-primary);
}

.score-category p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.results-details {
    margin-bottom: 3rem;
}

.results-details h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.component-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.component-result {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.result-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 150px;
}

.result-label i {
    font-size: 1.2rem;
    color: var(--ire-primary);
}

.result-label span {
    font-weight: 500;
    color: var(--light);
}

.result-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-ire);
    border-radius: 5px;
    width: 0;
    animation: fillBar 1s ease-out forwards;
}

@keyframes fillBar {
    to {
        width: 78%;
    }
}

.result-value {
    min-width: 60px;
    text-align: right;
    font-weight: 600;
    color: var(--ire-primary);
}

/* Détails du calcul */
.calculation-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculation-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculation-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breakdown-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.breakdown-label {
    font-size: 0.95rem;
    color: var(--gray-light);
    font-weight: 500;
}

.breakdown-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ire-primary);
}

.breakdown-details small {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
}

.calculation-formula {
    background: rgba(0, 212, 170, 0.1);
    border-left: 3px solid var(--ire-primary);
    padding: 1rem;
    border-radius: var(--radius);
}

.calculation-formula p {
    margin: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.calculation-formula p strong {
    color: var(--light);
}

.calculation-formula small {
    font-size: 0.8rem;
    color: var(--gray);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.calculator-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Solutions Premium */
.premium-solutions {
    margin-top: 4rem;
}

.premium-solutions h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire-lg);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.solution-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.solution-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.solution-features li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* ============================================
   ÉCOSYSTÈME D'INDICATEURS - Visualisation réseau
   ============================================ */

.indicators-ecosystem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .indicators-ecosystem {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.ecosystem-visual {
    position: relative;
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.indicator-node {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--gradient-ire);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.indicator-node.central {
    width: 150px;
    height: 150px;
    background: var(--gradient-ire);
    z-index: 3;
    animation: pulseNode 3s infinite;
}

@keyframes pulseNode {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.indicator-node:not(.central) {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator-node:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.4);
}

.node-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.node-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.node-content p {
    font-size: 0.7rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.2;
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 212, 170, 0.5), 
        rgba(9, 132, 227, 0.5), 
        rgba(108, 92, 231, 0.5)
    );
    transform-origin: 0 0;
    animation: flow 2s linear infinite;
}

@keyframes flow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.ecosystem-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.ecosystem-description p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.synergy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.synergy-list li {
    padding: 1rem 0;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
}

.synergy-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--ire-primary);
    font-size: 1rem;
}

.synergy-list li strong {
    color: var(--light);
    font-weight: 600;
}

.integration-examples {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.integration-examples h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.example {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.example-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-ire);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.example p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.example p strong {
    color: var(--light);
    font-weight: 600;
}

/* ============================================
   TENDANCES & PERSPECTIVES - Timeline
   ============================================ */

.trends-timeline {
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent, 
        var(--ire-primary), 
        var(--ire-secondary), 
        var(--ire-accent), 
        transparent
    );
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background: var(--gradient-ire);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    margin: 0 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 212, 170, 0.1);
    color: var(--ire-primary);
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Innovations technologiques */
.tech-innovations {
    margin-top: 4rem;
}

.tech-innovations h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.innovation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.innovation-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ire-lg);
}

.innovation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.innovation-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.innovation-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.innovation-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.innovation-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.innovation-benefits li:last-child {
    border-bottom: none;
}

/* ============================================
   AMÉLIORATION CONTINUE - Tabs & Plan d'action
   ============================================ */

.improvement-strategies {
    margin-bottom: 4rem;
}

.strategy-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-button:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
    color: var(--ire-primary);
    background: rgba(0, 212, 170, 0.1);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-ire);
}

.tab-content {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content.active {
    display: block;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.strategy-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strategy-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.strategy-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.strategy-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.strategy-impact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.impact-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.impact-value {
    font-weight: 700;
    color: var(--ire-success);
}

.strategy-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strategy-actions li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.strategy-actions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--ire-primary);
    font-weight: 600;
}

/* Plan d'action personnalisé */
.action-plan {
    margin-top: 4rem;
}

.action-plan h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.plan-builder {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 968px) {
    .plan-builder {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.plan-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.step-checkbox {
    flex-shrink: 0;
}

.step-checkbox input[type="checkbox"] {
    display: none;
}

.step-checkbox label {
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.step-checkbox input[type="checkbox"]:checked + label {
    background: var(--ire-primary);
    border-color: var(--ire-primary);
}

.step-checkbox input[type="checkbox"]:checked + label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.step-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.step-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: auto;
    flex-shrink: 0;
}

.plan-summary {
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 212, 170, 0.3);
    text-align: center;
}

.plan-summary h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-stat {
    text-align: center;
}

.summary-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ire-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.summary-stat .stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ============================================
   CTA & CONTACT - Section finale
   ============================================ */

.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, 
        rgba(10, 15, 28, 0.95) 0%,
        rgba(26, 35, 50, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--ire-primary), 
        var(--ire-secondary), 
        var(--ire-accent), 
        transparent
    );
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 968px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(155, 89, 182, 0.2);
    color: var(--ire-accent);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-title .gradient-text {
    background: var(--gradient-ire);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-light);
    font-weight: 500;
}

@media (max-width: 968px) {
    .feature {
        justify-content: center;
    }
}

.feature i {
    color: var(--ire-primary);
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 968px) {
    .cta-actions {
        justify-content: center;
    }
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Formulaire de contact */
.cta-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-ire-lg);
}

.cta-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ire-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 2rem;
}

.form-disclaimer {
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ============================================
   CORRECTIONS SPÉCIFIQUES
   ============================================ */

/* Correction des erreurs d'images manquantes */
.source-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--gradient-ire);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.source-logo-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.source-logo-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Styles pour les erreurs de formulaire */
input.error,
select.error,
textarea.error {
    border-color: var(--ire-danger) !important;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-errors {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--ire-danger);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-alert {
    display: flex;
    gap: 1rem;
    color: var(--ire-danger);
}

.error-alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-alert ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.error-alert li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Message de succès */
.form-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--ire-success);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.success-alert {
    display: flex;
    gap: 1rem;
    color: var(--ire-success);
}

.success-alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--ire-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN - Adaptation mobile
   ============================================ */

@media (max-width: 768px) {
    .ire-hero-title {
        font-size: 2.5rem;
    }
    
    .ire-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .score-value {
        font-size: 3.5rem;
    }
    
    .ire-main-indicator {
        padding: 2rem;
    }
    
    .ire-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ire-key-indicators {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .ire-visualization {
        width: 300px;
        height: 300px;
    }
    
    .eco-base {
        width: 220px;
        height: 220px;
    }
    
    .eco-mid {
        width: 150px;
        height: 150px;
    }
    
    .eco-top {
        width: 80px;
        height: 80px;
    }
    
    .resilience-waves {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .definition-grid,
    .components-grid,
    .application-grid,
    .case-studies,
    .solutions-grid,
    .innovations-grid {
        grid-template-columns: 1fr;
    }
    
    .territorial-card {
        padding: 2rem;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    
    .timeline-year {
        margin: 0 0 1.5rem 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-main {
        padding: 1.5rem;
    }
    
    .calculator-step {
        padding: 1rem;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .detailed-questions-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ire-hero-title {
        font-size: 2rem;
    }
    
    .score-value {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .btn-xl {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .cta-form {
        padding: 2rem;
    }
    
    .perimeter-options {
        grid-template-columns: 1fr;
    }
    
    .strategy-tabs .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS SPÉCIFIQUES IRE
   ============================================ */

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.6); }
}

.glow {
    animation: glowPulse 2s infinite;
}

/* Smooth scrolling pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .eco-layer,
    .resilience-waves,
    .connection,
    .indicator-node {
        animation: none !important;
    }
}

/* Classes utilitaires */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* États de chargement */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--ire-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}