/* ============================================
   STYLES SPÉCIFIQUES IDS (Indice Dépendance Systématique)
   Complément à style.css
   Version avec calculs réels - 2024
   ============================================ */

/* Variables supplémentaires pour IDS */
:root {
    --ids-primary: #ff6b6b;
    --ids-secondary: #4ecdc4;
    --ids-accent: #ffd166;
    --ids-success: #06d6a0;
    --ids-warning: #ffd166;
    --ids-danger: #ef476f;
    
    --ids-energie: #ff9e00;
    --ids-matieres: #795548;
    --ids-technologie: #2196f3;
    --ids-competences: #9c27b0;
    --ids-finance: #4caf50;
    
    --gradient-ids: linear-gradient(135deg, var(--ids-primary), var(--ids-secondary), var(--ids-accent));
    --gradient-energie: linear-gradient(135deg, #ff9e00, #ffb74d);
    --gradient-matieres: linear-gradient(135deg, #795548, #a1887f);
    --gradient-technologie: linear-gradient(135deg, #2196f3, #64b5f6);
    
    --shadow-ids: 0 10px 30px rgba(255, 107, 107, 0.3);
    --shadow-ids-lg: 0 20px 40px rgba(255, 107, 107, 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 IDS */
.ids-page {
    background: var(--dark);
    font-family: 'Inter', sans-serif;
}

/* ============================================
   HERO SECTION IDS - Spéciale
   ============================================ */

.ids-hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.ids-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ids-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(255, 209, 102, 0.1) 0%, transparent 40%);
}

.ids-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(255, 209, 102, 0.2);
    color: var(--ids-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(255, 209, 102, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.ids-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ids-hero-title .title-line {
    display: block;
}

.ids-hero-title .gradient-text {
    background: var(--gradient-ids);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ids-hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Indicateur IDS Principal */
.ids-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-ids);
    -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-ids);
    border-radius: 6px;
    width: 0;
    animation: fillScale 2s ease-out forwards;
}

@keyframes fillScale {
    to { width: 68%; }
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}

.scale-labels span:first-child { color: var(--ids-success); }
.scale-labels span:last-child { color: var(--ids-danger); }

/* ============================================
   DISCLAIMERS & AVERTISSEMENTS - NOUVEAUX STYLES
   ============================================ */

.disclaimer-banner {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2rem 1.25rem 1.25rem;
    margin: 1.5rem auto 2.5rem;
    max-width: 800px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.disclaimer-banner i {
    color: var(--ids-warning);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.disclaimer-banner p {
    margin: 0;
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.disclaimer-banner strong {
    color: var(--ids-warning);
}

.disclaimer-link {
    color: var(--ids-primary);
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.disclaimer-link:hover {
    color: var(--ids-secondary);
}

.disclaimer-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.disclaimer-close:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

/* Section détaillée des disclaimers */
.disclaimer-section {
    margin: 4rem 0;
}

.disclaimer-card {
    background: linear-gradient(135deg, 
        rgba(10, 15, 28, 0.95) 0%,
        rgba(26, 35, 50, 0.95) 100%
    );
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: var(--shadow-ids);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer-header i {
    font-size: 2rem;
    color: var(--ids-warning);
}

.disclaimer-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    margin: 0;
}

.disclaimer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.disclaimer-point h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.disclaimer-point p {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.disclaimer-point ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.disclaimer-point li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.disclaimer-point li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ids-primary);
    font-size: 1.2rem;
}

/* Options experts */
.expert-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.expert-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.expert-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.expert-card i {
    font-size: 2rem;
    color: var(--ids-primary);
    margin-bottom: 1rem;
}

.expert-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.expert-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Grille usage recommandé */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.usage-good, .usage-bad {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border-left: 4px solid;
}

.usage-good {
    border-left-color: var(--ids-success);
}

.usage-bad {
    border-left-color: var(--ids-danger);
}

.usage-good i {
    color: var(--ids-success);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.usage-bad i {
    color: var(--ids-danger);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.usage-good strong, .usage-bad strong {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.usage-good ul, .usage-bad ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-good li, .usage-bad li {
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.usage-good li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ids-success);
    font-weight: 600;
}

.usage-bad li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--ids-danger);
    font-weight: 600;
}

.disclaimer-note {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: var(--gray-light);
    font-style: italic;
    line-height: 1.6;
}

.disclaimer-note i {
    color: var(--ids-warning);
    margin-right: 0.5rem;
}

/* Disclaimer dans les résultats */
.results-disclaimer {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.results-disclaimer i {
    color: var(--ids-technologie);
    font-size: 1.2rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.results-disclaimer div {
    flex: 1;
}

.results-disclaimer strong {
    color: var(--ids-technologie);
}

/* Legal disclaimer dans le footer */
.legal-disclaimer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.5;
}

.legal-disclaimer i {
    color: var(--ids-warning);
    margin-right: 0.5rem;
}

.legal-disclaimer a {
    color: var(--ids-primary);
    text-decoration: underline;
}

/* Modal de confirmation */
.disclaimer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.disclaimer-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.disclaimer-modal-content {
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid var(--ids-warning);
    position: relative;
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.disclaimer-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.disclaimer-modal-header i {
    font-size: 3rem;
    color: var(--ids-warning);
    margin-bottom: 1rem;
}

.disclaimer-modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
}

.disclaimer-modal-body {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.disclaimer-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive pour les disclaimers */
@media (max-width: 768px) {
    .disclaimer-banner {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .disclaimer-banner i {
        align-self: flex-start;
    }
    
    .disclaimer-card {
        padding: 2rem 1.5rem;
    }
    
    .expert-options,
    .usage-grid {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .disclaimer-modal-actions {
        flex-direction: column;
    }
}

/* Fin des nouveaux styles pour disclaimers */

.ids-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.ids-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(--ids-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 système */
.ids-hero-visual {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.ids-visualization {
    position: relative;
    width: 500px;
    height: 400px;
}

.system-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-node {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.system-node.central {
    width: 120px;
    height: 120px;
    background: var(--gradient-ids);
    color: white;
    z-index: 3;
    animation: pulseNode 3s infinite;
    box-shadow: var(--shadow-ids);
}

@keyframes pulseNode {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.system-node:not(.central) {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid;
    color: var(--light);
}

.system-node[data-node="energie"] {
    border-color: var(--ids-energie);
    top: 20%;
    left: 10%;
}

.system-node[data-node="approvisionnement"] {
    border-color: var(--ids-matieres);
    top: 20%;
    right: 10%;
}

.system-node[data-node="technologie"] {
    border-color: var(--ids-technologie);
    bottom: 20%;
    left: 10%;
}

.system-node[data-node="finance"] {
    border-color: var(--ids-finance);
    bottom: 20%;
    right: 10%;
}

.system-node:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.node-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.node-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    padding: 0 0.5rem;
}

.dependency-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 107, 107, 0.5), 
        rgba(78, 205, 196, 0.5), 
        rgba(255, 209, 102, 0.5)
    );
    transform-origin: 0 0;
    z-index: 2;
    animation: flow 2s linear infinite;
}

@keyframes flow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.dependency-line[data-from="organisation"][data-to="energie"] {
    width: 100px;
    transform: rotate(-45deg);
    top: 25%;
    left: 30%;
}

.dependency-line[data-from="organisation"][data-to="approvisionnement"] {
    width: 100px;
    transform: rotate(45deg);
    top: 25%;
    right: 30%;
}

.dependency-line[data-from="organisation"][data-to="technologie"] {
    width: 100px;
    transform: rotate(-135deg);
    bottom: 25%;
    left: 30%;
}

.dependency-line[data-from="organisation"][data-to="finance"] {
    width: 100px;
    transform: rotate(135deg);
    bottom: 25%;
    right: 30%;
}

.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 IDS
   ============================================ */

.ids-section {
    padding: 6rem 0;
    position: relative;
}

.ids-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 107, 0.3), 
        rgba(78, 205, 196, 0.3), 
        rgba(255, 209, 102, 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-ids);
}

.definition-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ids);
    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(--ids-primary);
    font-size: 1.2rem;
}

/* Tableau Comparatif IDS */
.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(255, 107, 107, 0.1);
    color: var(--ids-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);
}

/* ============================================
   DIMENSIONS - Grid des 5 dimensions
   ============================================ */

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.dimension-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;
}

.dimension-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-ids);
}

.dimension-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ids-lg);
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.dimension-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dimension-weight {
    text-align: right;
}

.weight-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ids-primary);
    line-height: 1;
}

.weight-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.dimension-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.dimension-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.dimension-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);
}

.dimension-risk {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.risk-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.risk-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ids-danger);
}

/* 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-ids);
    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-ids);
    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(255, 107, 107, 0.1);
    color: var(--ids-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(255, 107, 107, 0.2);
}

.technique-tag {
    background: rgba(78, 205, 196, 0.1);
    color: var(--ids-secondary);
}

.technique-tag:hover {
    background: rgba(78, 205, 196, 0.2);
}

.output-tag {
    background: rgba(255, 209, 102, 0.1);
    color: var(--ids-accent);
}

.output-tag:hover {
    background: rgba(255, 209, 102, 0.2);
}

.step-formulas {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius);
    border-left: 3px solid var(--ids-primary);
}

.formula {
    color: var(--ids-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-ids);
}

.scale-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-ids);
    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;
}

/* ============================================
   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-ids-lg);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ids);
    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(--ids-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(--ids-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(6, 214, 160, 0.1);
    color: var(--ids-success);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

.result-badge.success {
    background: rgba(6, 214, 160, 0.1);
    color: var(--ids-success);
}

/* ============================================
   CALCULATEUR IDS - 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(255, 107, 107, 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(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.step:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-ids);
    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(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 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 contexte */
.context-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.context-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);
}

.context-option.active {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--ids-primary);
}

.context-option:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-ids);
    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(--ids-primary);
    font-weight: 600;
}

.context-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 select {
    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);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.input-group select:focus {
    outline: none;
    border-color: var(--ids-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Sélection des dimensions */
.dimensions-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dimension-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);
}

.dimension-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(--ids-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(--ids-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(--ids-primary);
    border-radius: 50%;
    cursor: pointer;
}

.weight-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--ids-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(--ids-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(--ids-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(--ids-primary);
    border-radius: 50%;
    cursor: pointer;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--ids-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(--ids-primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 339;
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    to {
        stroke-dashoffset: 102; /* Pour 70% 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(--ids-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);
}

.dimension-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dimension-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(--ids-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-ids);
    border-radius: 5px;
    width: 0;
    animation: fillBar 1s ease-out forwards;
}

@keyframes fillBar {
    to {
        width: 75%;
    }
}

.result-value {
    min-width: 60px;
    text-align: right;
    font-weight: 600;
    color: var(--ids-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(--ids-primary);
}

.breakdown-details small {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
}

.calculation-formula {
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid var(--ids-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-ids-lg);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-ids);
    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;
}

/* ============================================
   STRATÉGIES DE RÉDUCTION - Grid 6 cartes
   ============================================ */

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strategy-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);
}

.strategy-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-ids);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-ids);
    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(6, 214, 160, 0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(6, 214, 160, 0.3);
}

.impact-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.impact-value {
    font-weight: 700;
    color: var(--ids-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(--ids-primary);
    font-weight: 600;
}

/* ============================================
   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(--ids-primary), 
        var(--ids-secondary), 
        var(--ids-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(255, 209, 102, 0.2);
    color: var(--ids-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(255, 209, 102, 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-ids);
    -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(--ids-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-ids-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(--ids-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;
}

/* ============================================
   RESPONSIVE DESIGN - Adaptation mobile
   ============================================ */

@media (max-width: 768px) {
    .ids-hero-title {
        font-size: 2.5rem;
    }
    
    .ids-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .score-value {
        font-size: 3.5rem;
    }
    
    .ids-main-indicator {
        padding: 2rem;
    }
    
    .ids-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ids-key-indicators {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .ids-visualization {
        width: 100%;
        height: 300px;
    }
    
    .system-node.central {
        width: 100px;
        height: 100px;
    }
    
    .system-node:not(.central) {
        width: 70px;
        height: 70px;
    }
    
    .node-icon {
        font-size: 1.5rem;
    }
    
    .node-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .definition-grid,
    .dimensions-grid,
    .application-grid,
    .case-studies,
    .solutions-grid,
    .strategies-grid {
        grid-template-columns: 1fr;
    }
    
    .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) {
    .ids-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;
    }
    
    .context-options {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS SPÉCIFIQUES IDS
   ============================================ */

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 107, 107, 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;
    }
    
    .system-node,
    .dependency-line {
        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(--ids-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}