/**
 * Aratice — Spécifications Techniques (front)
 *
 * Layout : grid 2 cols (titre groupe à gauche, lignes "label : valeur" à droite).
 * Lignes : flow naturel, label inline + valeur en gras à la suite, séparées
 * par " :". Séparateur horizontal (border-bottom) entre chaque groupe.
 */

.aratice-specs {
    margin: 40px 0;
    color: #1f2937;
    font-family: 'Lexend Deca', 'Lexend', sans-serif;
}

.aratice-specs * {
    font-family: inherit;
    box-sizing: border-box;
}

.aratice-specs__title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    color: #163C79;
    margin: 0 0 40px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Tableau : pas de border en haut, juste les borders entre groupes via border-bottom */
.aratice-specs__table {
    /* nothing — séparation gérée par .aratice-specs__group */
}

/* ===== Groupe : grid 2 cols (titre | lignes) ===== */
.aratice-specs__group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
    align-items: start;
}

.aratice-specs__group:last-child {
    border-bottom: 0;
}

.aratice-specs__group-title {
    font-size: 15px;
    font-weight: 500;
    color: #6B7B96;
    line-height: 1.4;
}

/* ===== Lignes : "label : valeur" inline ===== */
.aratice-specs__rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aratice-specs__row {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5A6680;
}

.aratice-specs__row-label {
    color: #5A6680;
    font-weight: 400;
}

.aratice-specs__row-value {
    color: #163C79;
    font-weight: 700;
    margin-left: 4px;
    white-space: pre-wrap;
}

/* Ligne sans label : valeur prend la suite directement, pas de margin-left */
.aratice-specs__row--no-label .aratice-specs__row-value {
    margin-left: 0;
    color: #5A6680;
    font-weight: 400;
}

/* ===== Bloc complémentaire (wysiwyg libre sous le tableau) ===== */
.aratice-specs__extra {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #cfe1ff;
}

.aratice-specs__extra img {
    max-width: 100%;
    height: auto;
}

.aratice-specs__extra h2,
.aratice-specs__extra h3,
.aratice-specs__extra h4 {
    color: #163C79;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .aratice-specs__title {
        margin-bottom: 24px;
    }

    .aratice-specs__group {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 0;
    }

    .aratice-specs__group-title {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }

    .aratice-specs__row {
        font-size: 14px;
    }
}
