/*------------------------
 * ------- PAGE REMISES PAR QUANTITÉ (CMS 9) -------
 * Réutilise les composants de about-page.css (hero, bandes, grille, CTA) ; ce fichier ne porte que
 * les variables / réglages de page (copie de ceux de body#cms.cms-id-4) et les composants propres.
 *-------------------------*/
body#cms.cms-id-9 {
    --cex-about-accent: #0091c8;
    --cex-about-ink: #1a2330;
    --cex-about-muted: #5c6775;
    --cex-about-surface: #f3f7fa;
    --cex-about-line: rgba(26, 35, 48, 0.1);
}

body#cms.cms-id-9 #wrapper {
    background: #fff;
}

body#cms.cms-id-9 #content-wrapper {
    padding-top: 0;
}

body#cms.cms-id-9 #main > .page-header {
    display: none;
}

/* Paliers */
.disc-tiers {
    margin: 0 0 3.25rem;
    animation: cex-about-rise 0.7s ease-out both;
}

.disc-tiers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    border-top: 1px solid var(--cex-about-line, rgba(26, 35, 48, 0.1));
    padding-top: 1.75rem;
}

.disc-tier {
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid var(--cex-about-line, rgba(26, 35, 48, 0.1));
    border-radius: 18px;
}

.disc-tier--strong {
    background: var(--cex-about-surface, #f3f7fa);
    border-color: rgba(0, 145, 200, 0.28);
}

.disc-tier__qty {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cex-about-accent, #0091c8);
}

.disc-tier__off {
    margin: 0 0 0.6rem;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    color: var(--cex-about-ink, #1a2330);
}

.disc-tier__text {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--cex-about-muted, #5c6775);
}

/* Exemple chiffré */
.disc-table-wrap {
    margin-top: 1.25rem;
    overflow-x: auto;
}

.disc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    font-size: 1rem;
}

.disc-table th,
.disc-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--cex-about-line, rgba(26, 35, 48, 0.1));
    color: var(--cex-about-ink, #1a2330);
    white-space: nowrap;
}

.disc-table thead th {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cex-about-muted, #5c6775);
    background: rgba(255, 255, 255, 0.6);
}

.disc-table tbody th {
    font-weight: 700;
}

.disc-table tbody tr:last-child th,
.disc-table tbody tr:last-child td {
    border-bottom: 0;
}

.disc-table__off {
    font-weight: 800;
    color: var(--cex-about-accent, #0091c8);
}

.disc-note {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    font-style: italic;
    color: var(--cex-about-muted, #5c6775);
}

@media (max-width: 991.98px) {
    .disc-tiers__grid {
        grid-template-columns: 1fr;
    }

    .disc-table th,
    .disc-table td {
        padding: 0.65rem 0.75rem;
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .disc-tiers {
        animation: none !important;
    }
}
