/* ==========================================================
   Ets Mazioua — boutique en ligne
   S'appuie sur les variables et composants de style.css
   (bleu nuit, acier, rouge réservé aux actions).
   ========================================================== */

/* ---------- En-tête : bouton panier ---------- */
.btn-panier {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 42px; border-radius: var(--r-s); color: var(--blanc);
  border: 1px solid rgba(201,207,216,.4); text-decoration: none;
}
.btn-panier:hover, .btn-panier[aria-current="page"] { border-color: var(--acier); background: rgba(255,255,255,.06); }
/* En-tête « marbre » clair du site d'origine */
.entete .btn-panier { color: var(--nuit); border-color: rgba(11,26,51,.35); background: rgba(255,255,255,.35); }
.entete .btn-panier:hover, .entete .btn-panier[aria-current="page"] { border-color: var(--nuit); background: rgba(255,255,255,.6); }
.btn-panier svg { width: 22px; height: 22px; }
.panier-nb {
  position: absolute; top: -7px; inset-inline-end: -7px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 11px; background: var(--rouge); color: var(--blanc); font: 700 .75rem/21px var(--f-texte); text-align: center;
  box-shadow: 0 0 0 2px var(--blanc);
}
.panier-nb[hidden] { display: none; }
.barre-mobile a { position: relative; }
.barre-mobile .panier-nb { top: 2px; inset-inline-end: 50%; margin-inline-end: -26px; box-shadow: none; }

/* ---------- Messages ---------- */
.flashs { padding-block: 12px 0; display: grid; gap: 8px; }
.flash { margin: 0 0 12px; padding: 12px 16px; border-radius: var(--r-s); border: 1px solid; font-weight: 600; }
.flash-ok { background: #EAF6EF; border-color: #A8D9BC; color: #145C34; }
.flash-erreur { background: #FDECEC; border-color: #F2B8B8; color: #8E1C1C; }
.flash-info { background: #EDF3FC; border-color: #BFD3F2; color: #183F7E; }
.note { font-size: .95rem; color: var(--gris); }
.discret { color: var(--gris); }
.lien-discret { background: none; border: 0; padding: 4px 0; color: var(--gris); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; display: inline-flex; gap: 6px; align-items: center; }
.lien-discret svg { width: 16px; height: 16px; }
.lien-discret:hover { color: var(--rouge); }
.btn-bloc { width: 100%; justify-content: center; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.oblig { color: var(--rouge); }

/* ---------- Tête de page boutique ---------- */
.bt-tete { padding-block: clamp(28px, 4vw, 48px); }
.bt-tete .conteneur { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.bt-tete .plaque { justify-self: start; max-width: 100%; white-space: normal; }
.bt-tete h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.fil li { display: inline-flex; align-items: center; gap: 6px; color: var(--acier); }
.fil li + li::before { content: "›"; opacity: .6; }
[dir="rtl"] .fil li + li::before { content: "‹"; }
.fil a { color: var(--acier-2); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil a[aria-current="page"], .fil span[aria-current="page"] { color: var(--blanc); font-weight: 600; }
.fil-clair li { color: var(--gris); }
.fil-clair a { color: var(--roi); }
.fil-clair span[aria-current="page"] { color: var(--encre); }
.bt-recherche { display: flex; gap: 8px; max-width: 640px; margin-top: 4px; }
.bt-recherche input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 16px; border-radius: var(--r-s); border: 1px solid rgba(201,207,216,.4); background: var(--blanc); color: var(--encre); font: inherit; }
.bt-recherche .btn { min-height: 50px; }
@media (max-width: 480px) { .bt-recherche .btn span { display: none; } .bt-recherche .btn { padding-inline: 14px; } }

/* ---------- Rayons (catégories) ---------- */
.bt-rayons { background: var(--blanc); border-bottom: 1px solid var(--trait); position: sticky; top: 80px; z-index: 20; }
.bt-rayons ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.bt-rayons a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); color: var(--encre); text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--clair); }
.bt-rayons a:hover { border-color: var(--roi); }
.bt-rayons a[aria-current="page"] { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.nb { font-size: .78rem; font-weight: 600; color: var(--acier-f); }
.bt-rayons a[aria-current="page"] .nb { color: var(--acier); }
@media (max-width: 1080px) { .bt-rayons { top: 0; position: static; } }

/* ---------- Grille catalogue ---------- */
.bt-section { padding-block: clamp(24px, 4vw, 48px); }
.bt-grille { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .bt-grille { grid-template-columns: 1fr; gap: 16px; } }
.filtres-boite { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); }
.filtres-boite summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.filtres-boite summary::-webkit-details-marker { display: none; }
.filtres-boite summary svg { width: 20px; height: 20px; }
@media (min-width: 901px) { .filtres-boite summary { pointer-events: none; } }
.filtres-form { padding: 0 16px 16px; display: grid; gap: 18px; }
.filtres-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.filtres-form legend { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); margin-bottom: 6px; padding: 0; }
[dir="rtl"] .filtres-form legend { letter-spacing: 0; }
.cases { display: grid; gap: 4px; max-height: 280px; overflow: auto; }
.case { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.case input { width: 18px; height: 18px; accent-color: var(--roi); flex: none; }
.case .nb { margin-inline-start: auto; }
.liste-filtre { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.liste-filtre a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: var(--r-s); text-decoration: none; color: var(--encre); }
.liste-filtre a:hover { background: var(--clair); }
.liste-filtre a[aria-current="page"] { background: var(--acier-2); font-weight: 700; }
.filtres-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.bt-barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bt-compte { font-weight: 600; color: var(--gris); }
.bt-tri { display: flex; gap: 8px; align-items: center; }
.bt-tri label { font-size: .9rem; color: var(--gris); }
.bt-tri select, .champ select { min-height: 44px; padding: 8px 12px; border-radius: var(--r-s); border: 1px solid var(--trait); background: var(--blanc); font: inherit; color: var(--encre); }

.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grille-produits, .grille-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Carte produit ---------- */
.carte-produit { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; min-width: 0; }
.carte-produit:hover { box-shadow: var(--ombre); border-color: var(--acier); }
.cp-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--trait); }
.cp-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cp-sans-photo, .fp-sans-photo { display: grid; place-items: center; height: 100%; color: var(--acier-f); background: var(--clair); gap: 6px; text-align: center; }
.cp-sans-photo svg { width: 40px; height: 40px; }
.cp-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--rouge); color: var(--blanc); font: 700 .78rem/1 var(--f-texte); padding: 6px 8px; border-radius: 4px; }
.cp-corps { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cp-marque { font-family: var(--f-plaque); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--roi); text-decoration: none; }
[dir="rtl"] .cp-marque { letter-spacing: 0; }
.cp-nom { font-size: .98rem; font-weight: 600; line-height: 1.35; font-family: var(--f-texte); }
.cp-nom a { color: var(--encre); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cp-nom a:hover { color: var(--roi); }
.cp-prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.prix { font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; color: var(--nuit); white-space: nowrap; }
.prix-grand { font-size: clamp(1.6rem, 3vw, 2rem); }
.prix-barre { color: var(--gris); font-size: .9rem; white-space: nowrap; }
.prix-demande { font-weight: 700; color: var(--roi); }
.dispo { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; }
.dispo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dispo-en_stock { color: #1B7A43; }
.dispo-stock_faible { color: #A15C00; }
.dispo-sur_commande { color: var(--roi); }
.dispo-rupture, .dispo-indisponible { color: #9B1C1C; }
.dispo-prix_sur_demande { color: var(--gris); }
.cp-actions { margin-top: 8px; }
.cp-actions .btn { min-height: 44px; padding: 8px 12px; font-size: .92rem; }
@media (max-width: 560px) { .cp-corps { padding: 10px; } .cp-actions .btn { font-size: .85rem; padding: 8px; gap: 6px; } .cp-actions .btn svg { width: 18px; height: 18px; } .prix { font-size: 1.02rem; } }

/* ---------- Vide, pagination ---------- */
.vide { background: var(--blanc); border: 1px dashed var(--acier); border-radius: var(--r); padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.vide > svg { width: 48px; height: 48px; color: var(--acier-f); }
.vide h2, .vide h1 { font-size: 1.3rem; }
.vide p { color: var(--gris); max-width: 52ch; }
.pagination ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border-radius: var(--r-s); border: 1px solid var(--trait); background: var(--blanc); text-decoration: none; color: var(--encre); font-weight: 600; }
.pagination a[aria-current="page"] { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.pagination .ellipse { align-self: center; color: var(--gris); }

/* ---------- Fiche produit ---------- */
.fiche-produit { padding-block: clamp(20px, 3vw, 36px) clamp(40px, 6vw, 72px); }
.fiche-produit .fil { margin-bottom: 18px; }
.fp-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .fp-grille { grid-template-columns: 1fr; } }
.fp-galerie { display: grid; gap: 12px; position: sticky; top: 100px; }
@media (max-width: 900px) { .fp-galerie { position: static; } }
.fp-principale { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--trait); border-radius: var(--r); background: #fff; overflow: hidden; }
.fp-principale img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.fp-sans-photo svg { width: 56px; height: 56px; }
.fp-vignettes { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; }
.fp-vignettes button { width: 84px; height: 64px; padding: 2px; border: 2px solid var(--trait); border-radius: var(--r-s); background: #fff; cursor: pointer; flex: none; }
.fp-vignettes button[aria-current="true"] { border-color: var(--roi); }
.fp-vignettes img { width: 100%; height: 100%; object-fit: contain; }
.fp-infos { display: grid; gap: 14px; align-content: start; }
.fp-infos h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.fp-ref { color: var(--gris); font-size: .92rem; }
.fp-court { color: var(--gris); font-size: 1.05rem; }
.fp-prix { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-block: 1px solid var(--trait); }
.fp-achat { display: flex; gap: 10px; flex-wrap: wrap; }
.fp-ajouter { flex: 1; min-width: 200px; justify-content: center; }
.fp-wa { justify-content: center; }
.quantite { display: inline-flex; align-items: stretch; border: 1px solid var(--trait); border-radius: var(--r-s); background: var(--blanc); height: 52px; }
.quantite button { width: 44px; border: 0; background: transparent; cursor: pointer; color: var(--encre); display: grid; place-items: center; }
.quantite button:hover { background: var(--clair); }
.quantite button svg { width: 18px; height: 18px; }
.quantite input { width: 56px; border: 0; border-inline: 1px solid var(--trait); text-align: center; font: 700 1rem var(--f-texte); color: var(--encre); -moz-appearance: textfield; }
.quantite input::-webkit-outer-spin-button, .quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fp-rassurance { list-style: none; margin: 6px 0 0; padding: 16px; background: var(--clair); border-radius: var(--r); display: grid; gap: 10px; font-size: .95rem; }
.fp-rassurance li { display: flex; gap: 10px; align-items: flex-start; }
.fp-rassurance svg { width: 20px; height: 20px; flex: none; color: var(--roi); margin-top: 2px; }
.fp-rassurance a { color: var(--encre); }
.fp-details { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 48px); }
.fp-details h2 { font-size: 1.35rem; margin-bottom: 14px; }
.prose p + p { margin-top: 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--trait); vertical-align: top; }
.specs th { width: 42%; color: var(--gris); font-weight: 600; }
.specs tr:nth-child(odd) { background: var(--clair); }
.bandeau-apercu { background: #FFF4D6; color: #6B4A00; border-bottom: 1px solid #F0D58C; padding: 10px 0; font-weight: 600; }
.bandeau-apercu svg { width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- Panier ---------- */
.titre-page { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.panier-grille, .commande-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .panier-grille, .commande-grille { grid-template-columns: 1fr; } }
.lignes { list-style: none; margin: 0; padding: 0; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); }
.ligne { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px; }
.ligne + .ligne { border-top: 1px solid var(--trait); }
.ligne-photo { width: 96px; height: 72px; display: grid; place-items: center; background: #fff; border: 1px solid var(--trait); border-radius: var(--r-s); color: var(--acier-f); }
.ligne-photo img { width: 100%; height: 100%; object-fit: contain; }
.ligne-photo svg { width: 28px; height: 28px; }
.ligne-info { display: grid; gap: 2px; min-width: 0; }
.ligne-nom { color: var(--encre); font-weight: 600; text-decoration: none; }
.ligne-nom:hover { color: var(--roi); }
.ligne-pu { font-size: .88rem; color: var(--gris); }
.ligne-qte { display: grid; gap: 4px; justify-items: center; }
.ligne-qte .quantite { height: 42px; }
.ligne-qte .quantite button { width: 36px; }
.ligne-qte .quantite input { width: 44px; }
.ligne-total { font-family: var(--f-titre); font-weight: 800; white-space: nowrap; min-width: 100px; text-align: end; }
@media (max-width: 640px) {
  .ligne { grid-template-columns: 72px minmax(0, 1fr); }
  .ligne-photo { width: 72px; height: 56px; }
  .ligne-qte { grid-column: 1 / 2; justify-items: start; grid-row: 2; }
  .ligne-total { grid-column: 2; grid-row: 2; align-self: start; }
  .ligne-qte .quantite { height: 40px; }
}
.panier-actions { display: flex; gap: 16px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.resume { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: 20px; display: grid; gap: 14px; box-shadow: var(--ombre); position: sticky; top: 100px; }
@media (max-width: 900px) { .resume { position: static; } }
.resume h2 { font-size: 1.2rem; }
.resume dl { margin: 0; display: grid; gap: 8px; }
.resume dl > div { display: flex; justify-content: space-between; gap: 12px; }
.resume dt { color: var(--gris); }
.resume dd { margin: 0; font-weight: 600; text-align: end; }
.resume-total { border-top: 1px solid var(--trait); padding-top: 10px; font-size: 1.15rem; }
.resume-total dt { color: var(--encre); font-weight: 700; }
.resume-total dd { font-family: var(--f-titre); font-weight: 800; }
.resume-delai { font-size: .88rem; color: var(--gris); }
.resume-note { font-size: .85rem; color: var(--gris); display: flex; gap: 6px; align-items: flex-start; }
.resume-note svg { width: 16px; height: 16px; flex: none; color: #1B7A43; margin-top: 3px; }
.resume-lignes { list-style: none; margin: 0; padding: 0 0 10px; display: grid; gap: 8px; border-bottom: 1px solid var(--trait); font-size: .92rem; }
.resume-lignes li { display: flex; justify-content: space-between; gap: 10px; }
.resume-lignes strong { white-space: nowrap; }

/* ---------- Commande ---------- */
.commande-etapes { display: grid; gap: 18px; min-width: 0; }
.commande-etapes fieldset.formulaire { margin: 0; box-shadow: none; }
.commande-etapes legend { font-family: var(--f-titre); font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; padding: 0; float: left; width: 100%; margin-bottom: 4px; }
[dir="rtl"] .commande-etapes legend { float: right; }
.commande-etapes legend + * { clear: both; }
.etape-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nuit); color: var(--blanc); font-size: .95rem; }
.champ small { color: var(--gris); font-size: .85rem; }
.champ-erreur { color: #B42318; font-size: .88rem; font-weight: 600; margin: 0; }
.champ [aria-invalid="true"] { border-color: #C62828 !important; background: #FFF7F7; }
.choix-mode { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.option { display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 14px; border: 2px solid var(--trait); border-radius: var(--r); background: var(--blanc); height: 100%; }
.option > span svg { width: 24px; height: 24px; color: var(--roi); grid-row: span 2; }
.option small { grid-column: 2; color: var(--gris); font-size: .85rem; }
.option input:checked + span { border-color: var(--roi); background: #F3F7FF; }
.option input:focus-visible + span { outline: 3px solid var(--roi-clair); outline-offset: 2px; }
.option-seule { max-width: 520px; }

/* ---------- Confirmation ---------- */
.confirmation { max-width: 760px; display: grid; gap: 24px; }
.confirmation-tete { display: grid; gap: 12px; text-align: center; justify-items: center; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.confirmation-ico { width: 64px; height: 64px; border-radius: 50%; background: #E3F4EA; color: #1B7A43; display: grid; place-items: center; }
.confirmation-ico svg { width: 34px; height: 34px; }
.confirmation-numero { font-size: 1.1rem; }
.confirmation-numero strong { font-family: var(--f-titre); font-size: 1.35rem; letter-spacing: .04em; color: var(--nuit); }
.confirmation .resume { position: static; }

/* ---------- Toast (ajout au panier) ---------- */
.toast { position: fixed; z-index: 90; inset-inline: 16px; bottom: 84px; margin-inline: auto; max-width: 440px; background: var(--nuit); color: var(--blanc); border-radius: var(--r); padding: 14px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.toast[hidden] { display: none; }
.toast a { color: var(--blanc); font-weight: 700; white-space: nowrap; }
.toast.erreur { background: #8E1C1C; }
@media (min-width: 1081px) { .toast { bottom: 24px; inset-inline-end: 24px; inset-inline-start: auto; } }

/* ---------- Bloc « produits » des pages statiques ---------- */
.vitrine-produits[hidden] { display: none; }
.vitrine-produits .grille-produits { margin-top: 8px; }
.vitrine-produits .boutons { margin-top: 24px; }

/* ---------- En-tête sur petits écrans (bouton panier en plus) ---------- */
@media (max-width: 480px) {
  .entete-in { gap: 10px; }
  .entete-actions { gap: 6px; }
  .langue { min-width: 40px; padding: 6px 8px; }
  .btn-panier, .menu-btn { width: 42px; }
  .marque { gap: 8px; }
  .marque-nom strong { font-size: .88rem; letter-spacing: .03em; }
}
@media (max-width: 360px) { .marque-nom { display: none; } }
.resume-cgv { display: block; }

/* ---------- Logos des marques ---------- */
.fp-marque { display: inline-flex; align-items: center; justify-self: start; min-height: 40px; text-decoration: none; }
.fp-marque img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.bt-marques { background: var(--blanc); border-bottom: 1px solid var(--trait); }
.bt-marques ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.bt-marques a { display: flex; align-items: center; justify-content: center; width: 112px; height: 52px; padding: 6px 10px; border: 1px solid var(--trait); border-radius: var(--r-s); background: #fff; flex: none; text-decoration: none; color: var(--encre); font-weight: 700; font-size: .85rem; text-align: center; }
.bt-marques a:hover, .bt-marques a[aria-current="page"] { border-color: var(--roi); box-shadow: var(--ombre); }
.bt-marques img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Remplace un style en ligne (CSP sans unsafe-inline) */
.pile-12 { gap: 12px; }

/* Bandeau d'environnement de préproduction */
.bandeau-preprod { background: #b71c1c; color: #fff; text-align: center; font-weight: 700; padding: 6px 12px; position: sticky; top: 0; z-index: 9999; }
