/* =======================================================
   CATALOGUE PAGE
   Styles utilisés uniquement par catalogue v1.1.html
   ======================================================= */

/* Hero sans meta */
.hero--no-meta {
    padding-bottom: 3rem;
}

@media screen and (max-width: 700px) {
    .hero--no-meta {
        padding-bottom: 2.5rem;
    }
}

/* Cadre doré englobant chaque groupe (services / outils pro) */
.group-frame {
    border: 1px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0 0 0;
    background: #fdf3d7;
}

.group-frame__legend {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(1.5rem, 3.8vw, 3.35rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--text);
    text-align: center;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Titres individuels des blocs pro : uniquement l'accent cursif */
.section-block--pro .section-title {
    padding-left: 1.5rem;
}

/* Sous-titres : même style global, teinte plus foncée */
.section-subtitle,
.section-subtitle--pro {
    color: #4b5563;
}

/* Clarification des niveaux et tableau comparatif outils pro */
.pro-table-note {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0.1rem 0 0.45rem;
    padding-left: 1.5rem;
    line-height: 1.35;
}

.pro-compare-table thead th:not(:first-child),
.pro-compare-table tbody td:not(:first-child) {
    text-align: center;
}

/* Le socle aligne la dernière colonne à droite ; on neutralise pour les tableaux pro */
.section-block--pro .pro-compare-table thead th:last-child,
.section-block--pro .pro-compare-table tbody td:last-child {
    text-align: center;
}

.pro-compare-table tbody tr:not(.table-row-total):hover {
    background: #f8fafc;
}

.pro-compare-table tbody td:first-child {
    width: 52%;
    font-weight: 500;
    line-height: 1.45;
}

.pro-compare-table tbody td:nth-child(2),
.pro-compare-table tbody td:nth-child(3),
.pro-compare-table tbody td:nth-child(4) {
    width: 16%;
    font-weight: 600;
}

.section-block--pro .pro-compare-table .table-row-total {
    background: #fff8e8;
}

.section-block--pro .pro-compare-table .table-row-total td {
    color: #374151;
    border-bottom: 1px solid var(--table-border);
    padding: 0.45rem 0.8rem;
}

.section-block--pro .pro-compare-table .table-row-total td:first-child {
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.section-block--pro .pro-compare-table .table-row-total td:not(:first-child) {
    color: #111827;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
}

.status-icon--yes {
    background: #eaf8ef;
    color: #15803d;
}

.status-icon--no {
    background: #fef2f2;
    color: #b91c1c;
}

/* Tableaux pro : tiret "Pack tout compris" */
.pack-dash {
    color: var(--brand);
    font-weight: 900;
    font-size: 1.1em;
}

/* Bandeau pack vide (outils pro) : même épaisseur que le thead */
.section-block--pro .table-row-pack td {
    padding: 0.55rem 0.8rem;
}
/* Séparateur entre parties */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand) 30%, var(--brand) 70%, transparent);
    margin: var(--section-gap) auto;
    max-width: var(--max-w);
}

/* Badge numéro de service */
.service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--brand);
    color: #222;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.col-num {
    width: 2.6rem;
    text-align: center;
}

td.col-num {
    padding-left: .4rem;
    padding-right: .4rem;
}

@media screen and (max-width: 700px) {
    .group-frame {
        padding: 1rem 0.8rem 0.3rem;
    }

    .pro-table-note {
        padding-left: 1.5rem;
        font-size: 0.74rem;
    }

    .pro-compare-table tbody td:first-child {
        min-width: 240px;
    }

    .status-icon {
        width: 1.42rem;
        height: 1.42rem;
        font-size: 0.78rem;
    }
}
