/* ==========================================
   FICHE TECHNIQUE - DESIGN ÉPURÉ V4.0
   Tableaux minimalistes sans icônes
   ========================================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CONTENEUR PRINCIPAL */
.fiche-intro {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #2c3e50;
}

.fiche-intro p {
    margin: 0;
}

/* TABLEAUX - STYLES COMMUNS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* EN-TÊTES DE TABLEAUX */
thead {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
}

thead th {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    color: #ffffff;
}

thead th h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
}

/* CORPS DE TABLEAUX */
tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 14px 20px;
    font-size: 15px;
    vertical-align: top;
}

/* TABLEAUX À 2 COLONNES (Specs, Identité, Chiffres clés) */
.table-specs tbody td:first-child,
.table-identite tbody td:first-child,
.table-chiffres-cles tbody td:first-child {
    width: 35%;
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
}

.table-specs tbody td:last-child,
.table-identite tbody td:last-child,
.table-chiffres-cles tbody td:last-child {
    width: 65%;
    color: #495057;
}

/* TABLEAUX À 1 COLONNE (Équipements, Aides) */
.table-equipement tbody td {
    width: 100%;
    color: #495057;
    padding-left: 35px;
    position: relative;
}

.table-equipement tbody td::before {
    content: "•";
    position: absolute;
    left: 20px;
    color: #0066cc;
    font-weight: bold;
    font-size: 18px;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    /* Introduction */
    .fiche-intro {
        padding: 15px;
        font-size: 14px;
    }
    
    /* Titres */
    thead th h2 {
        font-size: 18px;
    }
    
    /* Tableaux 2 colonnes passent en 1 colonne */
    .table-specs tbody tr,
    .table-identite tbody tr,
    .table-chiffres-cles tbody tr {
        display: flex;
        flex-direction: column;
    }
    
    .table-specs tbody td,
    .table-identite tbody td,
    .table-chiffres-cles tbody td {
        width: 100% !important;
        padding: 10px 15px;
    }
    
    .table-specs tbody td:first-child,
    .table-identite tbody td:first-child,
    .table-chiffres-cles tbody td:first-child {
        background: #0066cc;
        color: #ffffff;
        font-weight: 600;
        padding-bottom: 8px;
    }
    
    .table-specs tbody td:last-child,
    .table-identite tbody td:last-child,
    .table-chiffres-cles tbody td:last-child {
        padding-top: 8px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    /* Équipements */
    .table-equipement tbody td {
        padding-left: 30px;
        font-size: 14px;
    }
}

/* IMPRESSION */
@media print {
    table {
        box-shadow: none;
        border: 2px solid #000;
    }
    
    thead {
        background: #333 !important;
    }
    
    tbody tr:hover {
        background-color: transparent;
    }
}

/* AMÉLIORATION LISIBILITÉ */
tbody td {
    line-height: 1.6;
}

/* COULEURS ALTERNATIVES (optionnel) */
.table-identite thead {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}

.table-chiffres-cles thead {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}
