/* =========================================================
   wassla.ma — composants du catalogue
   Gabarits marque (catégorie), gamme / sous-gamme et fiche produit.
   S'appuie sur les variables et le style de products.css.
   ========================================================= */

/* ---------- Ajustements communs ---------- */
.product-eyebrow--light { color: #76d8ff; }
.product-section--soft { background: #f8fbfd; }
.product-section--intro { padding-bottom: 8px; }
.product-section--intro .product-section-lead { margin-bottom: 22px; }
.product-value { font-weight: 700; color: var(--product-blue); }

/* Tableau comparatif : colonnes de valeurs de largeur égale, quel que soit leur nombre */
.product-compare { table-layout: fixed; }
.product-compare thead th:first-child { width: 36%; }

/* ---------- Hero : boutons d'action (fiche produit) ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .product-btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
.hero-actions__ghost {
    border: 2px solid rgba(255,255,255,.65);
    background: transparent;
    color: #fff;
}
.hero-actions__ghost:hover, .hero-actions__ghost:focus-visible { background: rgba(255,255,255,.12); }

/* ---------- Informations clés + caractéristiques : un seul bloc neutre, filet gauche à la couleur du thème ---------- */
.facts-card {
    --facts-accent: var(--t-primary, #163f68);
    overflow: hidden; border: 1px solid #dde3eb; border-top: 4px solid var(--facts-accent); border-radius: 0; background: #fff; color: #17243b;
}
.facts {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 5px 0; background: #f8f9fb; color: #17243b;
}
.facts-card .facts + .facts-card__details { border-top: 1px solid #dde3eb; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts--1 { grid-template-columns: 1fr; }
.facts__item { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding: 12px 24px; }
.facts__item + .facts__item { border-left: 1px solid #dde3eb; }
.facts dt { margin: 0 0 6px; color: #64748b; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.facts dd { margin: 0; color: #17243b; font-size: 16px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.facts__item--accent dd { color: var(--facts-accent); }
.facts__brand { display: flex; align-items: center; min-height: 28px; }
.facts__brand img { display: block; width: auto; height: auto; max-width: 100%; max-height: 28px; object-fit: contain; }
.facts-card__details { margin: 0; }
.facts-card__row { display: grid; grid-template-columns: 32% minmax(0, 1fr); gap: 20px; padding: 13px 24px; font-size: 15px; line-height: 1.5; }
.facts-card__row + .facts-card__row { border-top: 1px solid #dde3eb; }
.facts-card__row dt { color: #17243b; font-weight: 700; }
.facts-card__row dd { margin: 0; color: #64748b; overflow-wrap: anywhere; }
.facts-wrap { margin-top: 28px; margin-bottom: 8px; }
.facts-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; }
.fiche-main .facts-card { margin: 28px 0 8px; }

/* ---------- Liste cochée : icône Font Awesome (fa-regular fa-square-check) à la couleur du thème ---------- */
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding-left: 0 !important; }
.checklist li::before { content: none !important; display: none !important; }
.checklist .elementor-icon-list-icon { flex: none; display: inline-flex; padding-top: 6px; color: var(--t-primary, #194ba1); font-size: 11px; line-height: 1; }
.checklist__text { min-width: 0; }
.program--dark .checklist .elementor-icon-list-icon { color: #9fd8f5; }

/* ---------- Navigation secondaire (sous-gammes) ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--product-border);
    border-radius: 999px;
    background: #fff;
    color: var(--product-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}
.subnav a:hover, .subnav a:focus-visible { border-color: #194ba1; }
.subnav a[aria-current="page"] { background: #194ba1; border-color: #194ba1; color: #fff; }

/* ---------- Cartes de navigation (gammes, sous-gammes) ---------- */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,42,70,.05);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.nav-card:hover, .nav-card:focus-within {
    transform: translateY(-3px);
    border-color: #b9cde6;
    box-shadow: 0 16px 36px rgba(20,42,70,.10);
}
.nav-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #e4edf8;
    font-size: 26px;
}
.nav-card__meta {
    margin-bottom: 6px;
    color: #174fb8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.nav-card__title { margin: 0 0 8px; font-size: 20px; line-height: 1.25; font-weight: 800; }
.nav-card__title a { color: #2f3540; text-decoration: none; }
.nav-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* carte entièrement cliquable */
.nav-card__title a:focus-visible { outline: none; }
.nav-card:focus-within { outline: 3px solid rgba(25,75,161,.35); outline-offset: 2px; }
.nav-card__text { flex: 1; margin: 0 0 16px; color: var(--product-muted); font-size: 15px; line-height: 1.65; }
.nav-card__more { color: #194ba1; font-size: 14px; font-weight: 800; }

/* ---------- Fiches produit en grille (sans prix) ---------- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,42,70,.05);
}
.plan--featured { border: 2px solid #194ba1; box-shadow: 0 18px 40px rgba(25,75,161,.14); }
.plan__badge {
    position: absolute;
    top: -13px;
    left: 22px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--product-orange);
    color: #1d2633;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.plan__name { margin: 0 0 6px; font-size: 21px; line-height: 1.2; font-weight: 800; }
.plan__name a { color: #2f3540; text-decoration: none; }
.plan__name a:hover { color: #194ba1; }
.plan__tagline { margin: 0 0 16px; color: var(--product-muted); font-size: 15px; line-height: 1.55; }
.plan__points { flex: 1; margin: 0 0 20px; padding: 0; list-style: none; }
.plan__points li {
    position: relative;
    padding: 7px 0 7px 26px;
    border-top: 1px solid #edf1f5;
    font-size: 14.5px;
    line-height: 1.45;
}
.plan__points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--product-green);
    font-weight: 800;
}
.plan__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--product-border);
}
.plan__price { color: var(--product-blue); font-size: 14px; font-weight: 800; text-align: center; }
.plan__foot .product-btn { justify-content: center; width: 100%; min-height: 42px; padding: 0 16px; white-space: nowrap; }

/* ---------- Programmes de licence (CSP / SPLA) ---------- */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.program {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border: 1px solid var(--product-border);
    border-radius: 0 40px 0 40px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,42,70,.06);
}
.program--dark {
    border-color: transparent;
    background: linear-gradient(90deg, rgba(12,52,86,.97), rgba(18,63,107,.91)), url("../images/cover-offer.webp") center / cover no-repeat;
    color: #fff;
}
.program__tag {
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #e4edf8;
    color: #194ba1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.program--dark .program__tag { background: rgba(255,255,255,.14); color: #9fd8f5; }
.program__title { margin: 0 0 10px; font-size: 24px; line-height: 1.2; font-weight: 800; }
.program p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.65; color: var(--product-muted); }
.program--dark p, .program--dark .checklist li { color: rgba(255,255,255,.9); }
.program .checklist { margin-bottom: 24px; }
.program .product-btn { margin-top: auto; }

/* ---------- Liste à puces cochées ---------- */
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li {
    position: relative;
    padding: 0 0 14px 34px;
    font-size: 16px;
    line-height: 1.6;
}
.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--product-green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.checklist--compact li { padding-bottom: 8px; font-size: 15px; }

/* ---------- Fiche produit : « À propos » + encart tarif ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.about .product-section-lead { margin-bottom: 26px; }
.quote-card {
    position: sticky;
    top: 100px;
    padding: 26px;
    border-radius: var(--product-radius);
    background: var(--product-blue);
    color: #fff;
    box-shadow: 0 20px 44px rgba(18,63,107,.22);
}
.quote-card__title { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.quote-card__text { margin: 0 0 18px; color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.6; }
.quote-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-bottom: 10px;
    padding: 0 14px;
    border-radius: 10px;
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    transition: filter .2s, transform .2s;
}
.quote-card__btn:hover, .quote-card__btn:focus-visible { filter: brightness(1.08); transform: translateY(-1px); }
.quote-card__btn--wa { background: #25b956; }
.quote-card__btn--tel { background: #2787f2; }
.quote-card__btn--mail { background: transparent; border: 2px solid rgba(255,255,255,.5); }
.quote-card__small { margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; }

/* ---------- Fiche produit : tuiles « Ce qui est inclus » ---------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--product-border);
    border-radius: 14px;
    background: #fff;
}
.tile__abbr {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #194ba1, #08a9e7);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}
.tile__name { display: block; font-size: 16px; color: #2f3540; }
.tile__detail { display: block; color: var(--product-muted); font-size: 14px; line-height: 1.45; }

/* ---------- Fiche produit : caractéristiques ---------- */
.specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    overflow: hidden;
}
.specs__row { display: grid; grid-template-columns: 42% 58%; border-bottom: 1px solid var(--product-border); }
.specs__row:nth-child(odd) { border-right: 1px solid var(--product-border); }
.specs dt { padding: 14px 18px; background: #f3f7fb; font-weight: 700; font-size: 15px; color: #2f3540; }
.specs dd { margin: 0; padding: 14px 18px; font-size: 15px; color: #444; }

/* ---------- Bloc HTML avancé ---------- */
.rich-html {
    padding: 30px;
    border: 1px solid var(--product-border);
    border-radius: var(--product-radius);
    background: #fff;
    font-size: 16px;
    line-height: 1.7;
}
.rich-html > :first-child { margin-top: 0; }
.rich-html > :last-child { margin-bottom: 0; }
.rich-html h2 { margin: 0 0 14px; font-size: 26px; font-weight: 800; color: #3b3b3b; }
.rich-html h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 800; color: #2f3540; }
.rich-html ol, .rich-html ul { padding-left: 22px; }
.rich-html li { margin-bottom: 6px; }
.rich-html table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.rich-html th, .rich-html td { padding: 10px 12px; border: 1px solid var(--product-border); text-align: left; }
.rich-html th { background: #f3f7fb; }
.rich-html img { border-radius: 12px; }

/* ---------- Ressources liées ---------- */
.res-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.res-head__all { color: #194ba1; font-weight: 800; text-decoration: none; }
.res-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.res-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--product-border);
    border-top: 4px solid #08a9e7;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}
.res-card:hover, .res-card:focus-within { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20,42,70,.08); }
.res-card__cat { margin-bottom: 8px; color: #174fb8; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.res-card__title { flex: 1; margin: 0 0 14px; font-size: 18px; line-height: 1.35; font-weight: 700; }
.res-card__title a { color: #2f3540; text-decoration: none; }
.res-card__title a::after { content: ""; position: absolute; inset: 0; }
.res-card__meta { color: var(--product-muted); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .nav-cards, .res-cards, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about { grid-template-columns: 1fr; }
    .quote-card { position: static; }
    .facts, .facts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
    .facts__item { padding: 14px 20px; }
    .facts__item:nth-child(odd) { border-left: 0; }
    .facts__item:nth-child(n+3) { border-top: 1px solid #dde3eb; }
    .facts-card__row { padding: 13px 20px; }
}
@media (max-width: 760px) {
    .programs, .specs { grid-template-columns: 1fr; }
    .specs__row:nth-child(odd) { border-right: 0; }
    .program { padding: 26px 22px; border-radius: 0 28px 0 28px; }
    .rich-html { padding: 22px 18px; }
    .hero-actions .product-btn { width: 100%; }
}
@media (max-width: 560px) {
    .nav-cards, .res-cards, .tiles { grid-template-columns: 1fr; }
    .facts, .facts--3, .facts--2 { grid-template-columns: 1fr; }
    .facts__item { padding: 12px 16px; }
    .facts__item + .facts__item { border-left: 0; border-top: 1px solid #dde3eb; }
    .facts-card__row { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; }
    .specs__row { grid-template-columns: 1fr; }
    .specs dt { padding-bottom: 4px; }
    .specs dd { padding-top: 6px; }
}

/* =========================================================
   Gabarit « Marque » : hero clair, onglets de gammes,
   sections gamme + sous-gammes par profil, tableau par profil
   ========================================================= */
.product-page--marque { --seg-entreprise: #194ba1; --seg-education: #0f8a4b; --seg-gouvernement: #0b2c4a; }
html:has(.product-page--marque) { scroll-padding-top: 150px; }

/* Hero clair */
.bhero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(8,169,231,.16), transparent 42%),
        radial-gradient(circle at 8% 100%, rgba(25,75,161,.10), transparent 40%),
        linear-gradient(180deg, #f4f8fc 0%, #eaf1f9 100%);
    border-bottom: 1px solid var(--product-border);
}
.bhero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 56px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
}
.bhero__title {
    margin: 0 0 18px;
    color: var(--w-navy, #0b2c4a);
    font-size: clamp(34px, 4.4vw, 60px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.03em;
}
.bhero__text { max-width: 680px; margin: 0 0 22px; color: #44546a; font-size: 18px; line-height: 1.65; }
.bhero__points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.bhero__points li {
    padding: 8px 14px 8px 32px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d3e0ee;
    color: #24364d;
    font-size: 14px;
    font-weight: 700;
    position: relative;
}
.bhero__points li::before { content: "✓"; position: absolute; left: 13px; color: var(--product-green); font-weight: 800; }
.bhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.bhero__actions .product-btn { min-height: 48px; padding: 0 24px; font-size: 14px; }
.bhero__link { color: #194ba1; font-weight: 800; text-decoration: none; }
.bhero__link:hover { text-decoration: underline; }

.bhero__card {
    padding: 28px;
    border-radius: 0 44px 0 44px;
    background: #0b2c4a;
    color: #fff;
    box-shadow: 0 26px 60px rgba(11,44,74,.25);
}
.bhero__brand { margin: 0 0 16px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.bhero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 20px; }
.bhero__stats div { padding: 12px 8px; border-radius: 12px; background: rgba(255,255,255,.08); text-align: center; }
.bhero__stats dt { font-size: 28px; font-weight: 800; line-height: 1; color: #76d8ff; }
.bhero__stats dd { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.75); }
.bhero__list { margin: 0; padding: 0; list-style: none; }
.bhero__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.bhero__list a::after { content: "→"; margin-left: auto; color: #76d8ff; transition: transform .2s; }
.bhero__list a:hover::after, .bhero__list a:focus-visible::after { transform: translateX(4px); }

/* Onglets collants */
.btabs {
    position: sticky;
    top: 76px;
    z-index: 40;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--product-border);
}
.btabs__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.btabs__inner::-webkit-scrollbar { display: none; }
.btabs a {
    flex: none;
    padding: 16px 16px 14px;
    border-bottom: 3px solid transparent;
    color: #3b4a5f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.btabs a:hover, .btabs a:focus-visible { color: #194ba1; border-bottom-color: #194ba1; }
.btabs__alt { margin-left: auto; color: #194ba1 !important; }

/* Section gamme */
.bgamme { padding: 64px 0; }
.bgamme--alt { background: #f6f9fc; }
.bgamme__inner { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.bgamme__head { position: sticky; top: 150px; }
.bgamme__num { display: block; margin-bottom: 4px; color: #c7d6e8; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.bgamme__title { margin: 0 0 12px; color: #2f3540; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 800; }
.bgamme__text { margin: 0 0 16px; color: var(--product-muted); font-size: 16px; line-height: 1.65; }
.bgamme__products { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.bgamme__products span { padding: 4px 10px; border-radius: 6px; background: #e4edf8; color: #1d3f72; font-size: 13px; font-weight: 700; }
.bgamme__more { color: #194ba1; font-weight: 800; text-decoration: none; }
.bgamme__more:hover { text-decoration: underline; }

/* Tuiles de sous-gammes */
.bsub { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.bsub__item {
    --seg: var(--seg-entreprise);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 22px;
    border: 1px solid var(--product-border);
    border-top: 5px solid var(--seg);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}
.bsub__item--education { --seg: var(--seg-education); }
.bsub__item--gouvernement { --seg: var(--seg-gouvernement); }
.bsub__item:hover, .bsub__item:focus-within { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,42,70,.10); }
.bsub__seg { margin-bottom: 10px; color: var(--seg); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.bsub__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; font-weight: 800; }
.bsub__title a { color: #2f3540; text-decoration: none; }
.bsub__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bsub__text { flex: 1; margin: 0 0 14px; color: var(--product-muted); font-size: 14.5px; line-height: 1.6; }
.bsub__cta { color: var(--seg); font-size: 14px; font-weight: 800; }

/* Tableau par profil */
.bmatrix-wrap { overflow-x: auto; border: 1px solid var(--product-border); border-radius: var(--product-radius); }
.bmatrix { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.bmatrix th, .bmatrix td { padding: 16px 18px; border-bottom: 1px solid var(--product-border); text-align: center; }
.bmatrix thead th { background: #0b2c4a; color: #fff; font-weight: 800; }
.bmatrix thead th:first-child, .bmatrix tbody th { text-align: left; }
.bmatrix tbody th { background: #f3f7fb; font-weight: 800; }
.bmatrix tbody th a { color: #2f3540; text-decoration: none; }
.bmatrix tbody tr:last-child > * { border-bottom: 0; }
.bmatrix__link {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #e4edf8;
    color: #194ba1;
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
}
.bmatrix__link:hover, .bmatrix__link:focus-visible { background: #194ba1; color: #fff; }
.bmatrix__none { color: #9aa7b8; font-size: 13.5px; }

@media (max-width: 1000px) {
    .bhero__inner, .bgamme__inner { grid-template-columns: 1fr; gap: 32px; }
    .bgamme__head { position: static; }
    .bhero__card { max-width: 520px; }
}
@media (max-width: 920px) {
    .btabs { top: 64px; }
    html:has(.product-page--marque) { scroll-padding-top: 120px; }
}
@media (max-width: 760px) {
    .bhero__inner { padding-top: 38px; padding-bottom: 38px; }
    .bhero__text { font-size: 16px; }
    .bgamme { padding: 44px 0; }
    .bgamme__num { font-size: 44px; }
    .btabs__alt { margin-left: 0; }
    /* Tableau par profil en cartes */
    .bmatrix-wrap { overflow: visible; border: 0; }
    .bmatrix thead { display: none; }
    .bmatrix, .bmatrix tbody, .bmatrix tr, .bmatrix th, .bmatrix td { display: block; width: 100%; }
    .bmatrix tr { margin-bottom: 14px; border: 1px solid var(--product-border); border-radius: 14px; overflow: hidden; }
    .bmatrix td { display: flex; align-items: center; justify-content: space-between; text-align: right; }
    .bmatrix td::before { content: attr(data-label); color: #2f3540; font-weight: 700; }
    .bmatrix tbody tr:last-child > * { border-bottom: 1px solid var(--product-border); }
    .bmatrix tbody tr > :last-child { border-bottom: 0 !important; }
}
