/* ============================================
   CSS SPÉCIFIQUE SPÉCIFICATIONS TECHNIQUES
   Fichier: css/technical-specs.css
   ============================================ */

/* Architecture des étages techniques */
.tech-stages {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.stage-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stage-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.stage-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #004c99);
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.stage-card h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-right: 70px;
}

.stage-content h4 {
    color: #333;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    border-left: 3px solid #0066cc;
    padding-left: 1rem;
}

.stage-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.stage-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.stage-content li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.stage-content li strong {
    color: #0066cc;
}

.performance-box {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid #0066cc;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.performance-box strong {
    color: #004c99;
}

/* Modes de fonctionnement */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mode-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.mode-card:hover {
    border-color: #0066cc;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.15);
}

.mode-card h3 {
    color: #0066cc;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e9ecef;
}

.mode-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.spec-row:hover {
    background: #e9ecef;
}

.spec-label {
    font-weight: 500;
    color: #666;
}

.spec-value {
    font-weight: 600;
    color: #0066cc;
}

/* Configuration batterie */
.battery-config {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.config-current,
.config-future {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
}

.config-current {
    border-color: #28a745;
}

.config-future {
    border-color: #ffc107;
}

.config-current h3 {
    color: #28a745;
}

.config-future h3 {
    color: #ff8800;
}

.battery-specs {
    list-style: none;
    padding: 0;
}

.battery-specs li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.battery-specs li:last-child {
    border-bottom: none;
}

.bms-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.bms-section h3 {
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.bms-specs ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.bms-specs li {
    padding: 0.8rem 1rem;
    background: white;
    border-left: 3px solid #0066cc;
    border-radius: 6px;
}

/* Architecture microcontrôleur */
.mcu-architecture {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mcu-core {
    background: white;
    border: 2px solid #0066cc;
    border-radius: 10px;
    padding: 2rem;
}

.mcu-core h3 {
    color: #0066cc;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.mcu-tasks {
    list-style: none;
    padding: 0;
}

.mcu-tasks li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px dashed #e9ecef;
}

.mcu-tasks li:last-child {
    border-bottom: none;
}

.mcu-tasks li:before {
    content: "⚙️";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.mcu-tasks strong {
    color: #0066cc;
}

/* Protections */
.protections-section {
    margin-top: 3rem;
}

.protections-section h3 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.protections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.protection-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.protection-card:hover {
    border-color: #28a745;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.15);
}

.protection-card h4 {
    color: #28a745;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.protection-card ul {
    list-style: none;
    padding: 0;
}

.protection-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.protection-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tableau de performances */
.performance-breakdown {
    margin-top: 2rem;
}

.performance-breakdown h3 {
    color: #0066cc;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.performance-table thead {
    background: linear-gradient(135deg, #0066cc, #004c99);
    color: white;
}

.performance-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.performance-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.performance-table tbody tr:hover {
    background: #f8f9fa;
}

.performance-table .total-row {
    background: #e3f2fd;
    font-weight: bold;
    border-top: 3px solid #0066cc;
}

.performance-table .total-row td {
    color: #0066cc;
    font-size: 1.1rem;
}

.performance-notes {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
}

.performance-notes p {
    margin: 0.5rem 0;
    color: #856404;
}

/* Innovations */
.advantages-section {
    margin-top: 3rem;
}

.advantages-section h3 {
    text-align: center;
    color: #0066cc;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.innovations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.innovation-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.innovation-item:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
}

.innovation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.innovation-item h4 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.innovation-item p {
    color: #666;
    line-height: 1.6;
}

/* Roadmap développement */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.roadmap-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
}

.roadmap-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-progress {
    background: #d1ecf1;
    color: #0c5460;
}

.status-planned {
    background: #fff3cd;
    color: #856404;
}

.roadmap-card ul {
    list-style: none;
    padding: 0;
}

.roadmap-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.roadmap-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* Disclaimer projet */
.project-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    text-align: center;
}

.project-disclaimer p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .stage-number {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        top: 0.8rem;
        right: 0.8rem;
    }
    
    .stage-card h3 {
        padding-right: 50px;
        font-size: 1.2rem;
    }
    
    .modes-grid,
    .battery-config,
    .mcu-architecture,
    .protections-grid,
    .innovations-grid,
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-table {
        font-size: 0.9rem;
    }
    
    .performance-table th,
    .performance-table td {
        padding: 0.7rem 0.5rem;
    }
}
/* Spécifications techniques */
.tech-specs {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.spec-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}