/* =====================================================================
   KATANGA BUSINESS EXPRESS — compléments au kit MDB 5 (Material Design for Bootstrap)
   Le design repose sur les composants et utilitaires de MDB (style par défaut :
   police Roboto, bleu Material #3B71CA, cartes à ombre, effet d'onde au clic).
   Ce fichier ne contient que ce que MDB ne fournit pas.
   ===================================================================== */

:root {
    --kbe-gris: #757575;          /* texte secondaire */
    --kbe-fond: #f5f5f5;          /* fond des pages */
    /* Couleurs des bannières : bande sombre, deux bleus pour les vagues, gris des titres */
    --kbe-nuit: #1f2633;
    --kbe-bleu: #3b71ca;
    --kbe-bleu-vif: #2196f3;
    --kbe-gris-titre: #8a909b;
}

body {
    background-color: var(--kbe-fond);
}

/* Élément masqué (utilisé par le JavaScript du site : météo, suggestions, badges…) */
.hidden {
    display: none !important;
}

/* Icônes SVG du site (Helpers\Icone) : alignées sur le texte, tailles .size-N */
.icone {
    display: inline-block;
    vertical-align: -0.2em;
    flex-shrink: 0;
}
.size-3 { width: 0.75rem; height: 0.75rem; }
.size-3\.5 { width: 0.875rem; height: 0.875rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-6 { width: 1.5rem; height: 1.5rem; }
.size-7 { width: 1.75rem; height: 1.75rem; }
.size-8 { width: 2rem; height: 2rem; }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }
.size-16 { width: 4rem; height: 4rem; }
.size-20 { width: 5rem; height: 5rem; }

/* Texte gris secondaire */
.texte-gris {
    color: var(--kbe-gris);
}

/* Lignes limitées (titres d'articles) */
.lignes-1,
.lignes-2,
.lignes-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lignes-1 { -webkit-line-clamp: 1; }
.lignes-2 { -webkit-line-clamp: 2; }
.lignes-3 { -webkit-line-clamp: 3; }

/* Défilement horizontal sans barre visible (catégories, bandeaux) */
.sans-barre {
    scrollbar-width: none;
}
.sans-barre::-webkit-scrollbar {
    display: none;
}

/* Images d'articles : pas de sélection ni de glisser-déposer (anti-copie basique) */
img.protege {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Image dans un cadre carré, entière et centrée */
.cadre-carre {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}
.cadre-carre img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* =====================================================================
   EN-TÊTE ET NAVIGATION
   ===================================================================== */
.logo-texte {
    line-height: 1.05;
    white-space: nowrap;
}
.raccourci {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    font-size: 0.75rem;
    color: var(--kbe-gris);
}
.raccourci:hover {
    color: var(--mdb-primary);
}
/* Suggestions de la recherche (liste sous le champ) */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    z-index: 1050;
    max-height: 24rem;
    overflow-y: auto;
    list-style: none;
    padding: 0.25rem 0;
}
.suggestions a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    color: inherit;
}
.suggestions a:hover,
.suggestions .suggestion-active a {
    background: var(--mdb-secondary-bg);
}
.suggestion-image {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.25rem;
    overflow: hidden;
}
.suggestion-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Barre de navigation des catégories : défilement horizontal sur téléphone */
.barre-categories .nav-link {
    white-space: nowrap;
    font-weight: 500;
}

/* =====================================================================
   NOTIFICATIONS (haut de l'écran, créées par le JavaScript)
   ===================================================================== */
.zone-notifications {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1090;
    width: min(92vw, 28rem);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* =====================================================================
   CARTES PRODUITS
   ===================================================================== */
.carte-produit {
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.carte-produit:hover {
    transform: translateY(-2px);
}
.carte-produit .cadre-carre img {
    padding: 0.75rem;
    transition: transform 0.4s ease;
}
.carte-produit:hover .cadre-carre img {
    transform: scale(1.05);
}
.etiquette-promo {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}
.prix-ancien {
    color: var(--kbe-gris);
    text-decoration: line-through;
    font-weight: 400;
    font-size: 0.8em;
}
/* Nom de l'article sur deux lignes, hauteur fixe pour aligner les cartes */
.nom-produit {
    min-height: 2.6em;
    line-height: 1.3;
}

/* Vignettes de la bande des catégories */
.vignette-categorie {
    width: 8.5rem;
    flex-shrink: 0;
}
@media (min-width: 992px) {
    .vignette-categorie { width: calc((100% - 6 * 1rem) / 7); }
}

/* Miniatures des colonnes de produits (accueil) */
.miniature {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0.25rem;
    border: 1px solid var(--mdb-border-color);
    border-radius: 0.25rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.miniature img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.miniature[aria-pressed="true"] {
    border: 2px solid var(--mdb-primary);
}

/* Cases du compte à rebours */
.case-temps-libelle { font-size: .75rem; }
.case-temps {
    min-width: 3rem;
    padding: 0.25rem;
    text-align: center;
    line-height: 1.15;
    border-radius: 0.25rem;
}

/* Menu des services (colonne gauche de l'accueil) */
.menu-services .list-group-item {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8125rem;
}

/* Logo d'une agence de bus : cadre paysage 3:2 */
.logo-agence {
    aspect-ratio: 3 / 2;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--mdb-border-color);
    border-radius: 0.375rem;
}
span.logo-agence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--mdb-primary);
    background: var(--mdb-primary-bg-subtle);
}

/* Talon du billet (code de contrôle) */
.talon {
    border-left: 2px dashed var(--mdb-border-color);
}
@media (max-width: 575.98px) {
    .talon { border-left: 0; border-top: 2px dashed var(--mdb-border-color); }
}

/* Barre du bas (téléphone) */
.barre-bas {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}
.barre-bas a,
.barre-bas button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 500;
    border: 0;
    background: none;
    color: var(--mdb-body-color);
}
@media (max-width: 991.98px) {
    body.avec-barre-bas { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
}

/* Sponsoring : badge sur les cartes produit, cartes « Boutiques à la une » */
.badge-sponsorise {
    position: absolute; top: .5rem; right: .5rem; z-index: 2;
    background: #fec95c; color: #3d2e00; font-weight: 600; font-size: .7rem;
}
.carte-boutique { transition: box-shadow .15s, transform .15s; }
.carte-boutique:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }

/* Drapeau de la RDC (en-tête, pied de page, fiche article) */
.drapeau { display: inline-block; width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; }

/* ---------- Avis : étoiles (affichage) ---------- */
.etoiles { display: inline-flex; gap: .1em; vertical-align: -.1em; }
.etoile {
    width: var(--taille, 1rem); height: var(--taille, 1rem);
    background: linear-gradient(90deg, #f5a524 var(--rempli), #d9dde3 var(--rempli));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* ---------- Avis : choix de la note (5 boutons radio en étoiles) ---------- */
.notation { display: inline-flex; flex-direction: row-reverse; gap: .25rem; }
.notation input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.notation label {
    width: 2rem; height: 2rem; cursor: pointer;
    background: #d9dde3;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.notation label:hover, .notation label:hover ~ label,
.notation input:checked ~ label { background: #f5a524; }
.notation input:focus-visible + label { outline: 2px solid var(--mdb-primary); outline-offset: 2px; }
/* ---------- Fiche article : galerie façon AliExpress ---------- */
.galerie-ae { display: flex; gap: .75rem; }
.galerie-ae-vignettes {
    display: flex; flex-direction: column; gap: .5rem;
    width: 4.5rem; flex-shrink: 0;
    max-height: 30rem; overflow-y: auto; scrollbar-width: thin;
}
.galerie-ae-vignette {
    position: relative; flex-shrink: 0;
    width: 4.5rem; height: 4.5rem; padding: 0;
    border: 2px solid #e6e7e9; border-radius: .375rem; background: #fff; overflow: hidden;
}
.galerie-ae-vignette img { width: 100%; height: 100%; object-fit: contain; }
.galerie-ae-vignette.active, .galerie-ae-vignette:hover { border-color: var(--mdb-danger, #dc4c64); }
.galerie-ae-lecture {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.3rem; background: rgba(0, 0, 0, .35);
}
.galerie-ae-principale {
    position: relative; flex: 1 1 0; min-width: 0;
    aspect-ratio: 1 / 1; border: 1px solid #e6e7e9; border-radius: .5rem; background: #fff; overflow: hidden;
}
.galerie-ae-piste {
    display: flex; height: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.galerie-ae-piste::-webkit-scrollbar { display: none; }
.galerie-ae-diapo {
    flex: 0 0 100%; height: 100%; scroll-snap-align: start;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.galerie-ae-diapo img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .15s ease-out; }
.galerie-ae-diapo img.zoom { transform: scale(2.2); transition: none; }
.galerie-ae-diapo video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.galerie-ae-vide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.galerie-ae-principale .etiquette-promo { z-index: 3; }
.galerie-ae-fleche, .galerie-ae-plein {
    position: absolute; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1d273b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .15s;
}
.galerie-ae-fleche { top: 50%; width: 2.5rem; height: 2.5rem; margin-top: -1.25rem; font-size: 1.6rem; line-height: 1; }
.galerie-ae-fleche.precedente { left: .5rem; }
.galerie-ae-fleche.suivante { right: .5rem; }
.galerie-ae-plein { top: .5rem; right: .5rem; width: 2.2rem; height: 2.2rem; font-size: 1.1rem; }
.galerie-ae-principale:hover .galerie-ae-fleche, .galerie-ae-principale:hover .galerie-ae-plein,
.galerie-ae-fleche:focus-visible, .galerie-ae-plein:focus-visible { opacity: 1; }
.galerie-ae-compteur {
    position: absolute; right: .5rem; bottom: .5rem; z-index: 2;
    padding: .1rem .55rem; border-radius: 1rem; background: rgba(0, 0, 0, .55); color: #fff; font-size: .8rem;
}
/* Téléphone : grande image sur toute la largeur de l'écran (bord à bord, comme AliExpress),
   vignettes en ligne dessous, glissement au doigt */
@media (max-width: 767.98px) {
    .galerie-ae { flex-direction: column-reverse; margin: -1rem -1rem 0; }
    .galerie-ae-principale { flex: none; width: 100%; border: 0; border-radius: .5rem .5rem 0 0; }
    .galerie-ae-vignettes { padding: 0 .75rem; }
    .galerie-ae-vignettes { flex-direction: row; width: auto; max-height: none; overflow-x: auto; overflow-y: hidden; }
    .galerie-ae-vignette { width: 3.75rem; height: 3.75rem; }
    .galerie-ae-fleche { display: none; }
    .galerie-ae-plein { opacity: 1; }
}
/* Visionneuse plein écran */
.visionneuse { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .92); }
.visionneuse-piste {
    display: flex; height: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.visionneuse-piste::-webkit-scrollbar { display: none; }
.visionneuse-diapo {
    flex: 0 0 100%; height: 100%; scroll-snap-align: start;
    display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem;
}
.visionneuse-diapo img, .visionneuse-diapo video { max-width: 100%; max-height: 100%; object-fit: contain; }
.visionneuse-fermer, .visionneuse-fleche {
    position: absolute; z-index: 2; border: 0; background: rgba(255, 255, 255, .15); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.visionneuse-fermer { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; font-size: 1.3rem; }
.visionneuse-fleche { top: 50%; width: 3rem; height: 3rem; margin-top: -1.5rem; font-size: 2rem; }
.visionneuse-fleche.precedente { left: 1rem; }
.visionneuse-fleche.suivante { right: 1rem; }
.visionneuse-compteur { position: absolute; top: 1.4rem; left: 1.2rem; z-index: 2; color: #fff; font-size: .95rem; }
body.visionneuse-ouverte { overflow: hidden; }

/* =====================================================================
   ESPACE INTERNE
   ===================================================================== */
/* Style inspiré de GLPI : menu bleu nuit, barre blanche, fond gris clair,
   cartes plates, formulaires compacts avec le libellé à gauche. */
body.admin {
    --glpi-menu: #1f2a4d;
    --glpi-menu-survol: rgba(255, 255, 255, .07);
    --glpi-menu-texte: #c9d1e6;
    --glpi-jaune: #fec95c;
    --glpi-fond: #f5f7fb;
    --glpi-bord: #e6e7e9;
    --glpi-texte: #1d273b;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .875rem;
    color: var(--glpi-texte);
    background: var(--glpi-fond);
}
.admin-cadre { display: flex; min-height: 100vh; }
.admin-page { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }

/* ---------- Menu latéral ---------- */
.menu-admin { width: 15rem; flex-shrink: 0; }
.menu-admin-interieur {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--glpi-menu);
    color: var(--glpi-menu-texte);
}
@media (min-width: 992px) {
    .menu-admin { position: sticky; top: 0; height: 100vh; transition: width .2s; }
}
.menu-marque {
    display: flex; align-items: center; gap: .6rem;
    padding: 1rem 1rem .75rem;
    color: #fff;
    font-size: .8rem;
}
.menu-marque:hover { color: #fff; }
.menu-marque span span { color: var(--glpi-jaune); font-size: .7rem; letter-spacing: .04em; }
.menu-recherche {
    display: flex; align-items: center; gap: .5rem;
    margin: .25rem .75rem .75rem;
    padding: .35rem .6rem;
    border-radius: .25rem;
    background: rgba(255, 255, 255, .08);
    cursor: text;
}
.menu-recherche input {
    flex: 1; min-width: 0;
    border: 0; outline: 0;
    background: transparent;
    color: #fff;
    font-size: .8rem;
}
.menu-recherche input::placeholder { color: var(--glpi-menu-texte); opacity: .8; }
.menu-liens { flex: 1 1 0; overflow-y: auto; padding: 0 .5rem .75rem; scrollbar-width: thin; }
.menu-lien, .menu-groupe > summary {
    display: flex; align-items: center; gap: .65rem;
    padding: .45rem .6rem;
    border-radius: .25rem;
    color: var(--glpi-menu-texte);
    font-size: .8125rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}
.menu-lien:hover, .menu-groupe > summary:hover { background: var(--glpi-menu-survol); color: #fff; }
.menu-groupe > summary { list-style: none; }
.menu-groupe > summary::-webkit-details-marker { display: none; }
.menu-fleche { margin-left: auto; transition: transform .15s; opacity: .7; }
.menu-groupe[open] > summary .menu-fleche { transform: rotate(90deg); }
.menu-groupe.actif > summary { color: var(--glpi-jaune); }
.menu-sous-liens { padding: .1rem 0 .35rem 1rem; border-left: 1px solid rgba(255, 255, 255, .1); margin-left: 1.05rem; }
.menu-sous-liens .menu-lien { font-weight: 400; padding: .35rem .6rem; }
.menu-lien.actif { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.menu-lien.actif .icone { color: var(--glpi-jaune); }
.menu-vide { padding: .5rem .6rem; font-size: .8rem; opacity: .7; }
.menu-reduire {
    align-items: center; gap: .6rem;
    border: 0; border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .15);
    color: var(--glpi-menu-texte);
    padding: .7rem 1rem;
    font-size: .8rem;
}
.menu-reduire:hover { color: #fff; }
.menu-reduire-icone { font-size: 1.1rem; line-height: 1; transition: transform .2s; }

/* Menu réduit (ordinateur) : icônes seules */
@media (min-width: 992px) {
    .menu-reduit .menu-admin { width: 3.75rem; }
    .menu-reduit .menu-admin .menu-texte { display: none; }
    .menu-reduit .menu-marque { justify-content: center; padding-inline: 0; }
    .menu-reduit .menu-recherche { justify-content: center; margin-inline: .5rem; }
    .menu-reduit .menu-lien, .menu-reduit .menu-groupe > summary { justify-content: center; }
    .menu-reduit .menu-sous-liens { border: 0; margin: 0; padding-left: 0; }
    .menu-reduit .menu-groupe:not([open]) .menu-sous-liens { display: none; }
    .menu-reduit .menu-reduire { justify-content: center; }
    .menu-reduit .menu-reduire-icone { transform: rotate(180deg); }
}

/* ---------- Barre du haut ---------- */
.admin-barre {
    position: sticky; top: 0; z-index: 1020;
    display: flex; align-items: center; gap: .5rem;
    min-height: 3.25rem;
    padding: .35rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--glpi-bord);
}
.admin-fil {
    display: flex; flex-wrap: nowrap; align-items: center;
    margin: 0; padding: 0; list-style: none;
    font-size: .8125rem;
    overflow: hidden;
}
.admin-fil li { display: flex; align-items: center; gap: .3rem; white-space: nowrap; color: #626976; }
.admin-fil li + li::before { content: '/'; margin: 0 .5rem; color: #b0b5bd; }
.admin-fil a { color: #626976; display: inline-flex; align-items: center; gap: .3rem; }
.admin-fil a:hover { color: var(--glpi-texte); }
.admin-fil .actuel { color: var(--glpi-texte); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.btn-ajouter {
    background: var(--glpi-jaune); color: #3d2e00;
    display: inline-flex; align-items: center; gap: .25rem;
}
.btn-ajouter:hover { background: #fdb92a; color: #3d2e00; }
.admin-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.9rem; height: 1.9rem;
    border-radius: 50%;
    background: var(--glpi-menu); color: #fff;
    font-weight: 600; font-size: .8rem;
}

/* ---------- Contenu ---------- */
.admin-contenu { padding: 1.25rem; width: 100%; max-width: 90rem; }
@media (max-width: 575.98px) { .admin-contenu { padding: .75rem; } }
.admin-contenu h1.h3 { font-size: 1.2rem; font-weight: 600 !important; color: var(--glpi-texte) !important; }
.admin .card {
    box-shadow: none;
    border: 1px solid var(--glpi-bord);
    border-radius: .25rem;
}
.admin .card-header { background: #fafbfc; border-bottom: 1px solid var(--glpi-bord); padding: .65rem 1rem; font-weight: 600; }
.admin .btn {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    box-shadow: none;
    border-radius: .25rem;
}
.admin .btn:not(.btn-link):hover { box-shadow: none; filter: brightness(.96); }
.admin .table { font-size: .8125rem; }
.admin .table > thead th { font-weight: 600; color: #626976; background: #fafbfc; }
.admin .form-control, .admin .form-select { font-size: .8125rem; border-radius: .25rem; }
.admin .alert { border-radius: .25rem; }
.admin .nav-pills .nav-link { text-transform: none; font-size: .8125rem; }

/* Paramètres : onglets verticaux par thème (comme GLPI) */
.logo-apercu { width: 7.5rem; height: 7.5rem; display: flex; align-items: center; justify-content: center; }
.logo-apercu img { max-width: 100%; max-height: 100%; object-fit: contain; }
.parametres-onglets .list-group-item { border-radius: 0; font-size: .8125rem; font-weight: 500; }
.parametres-onglets .list-group-item.active { background: #fff; color: var(--glpi-texte); border-left: 3px solid var(--glpi-jaune); font-weight: 600; }
@media (min-width: 992px) { .parametres-onglets { position: sticky; top: 4.5rem; } }

/* Formulaires des fiches : libellé à gauche, champ à droite (comme GLPI) */
@media (min-width: 992px) {
    .admin form.card :is(.row > .col-12, .row > .col-sm-6, .row > .col-md-6, .mb-3):has(> .form-label) {
        display: grid;
        grid-template-columns: 9.5rem minmax(0, 1fr);
        column-gap: 1rem;
        row-gap: .2rem;
        align-items: center;
    }
    .admin form.card :is(.row > .col-12, .row > .col-sm-6, .row > .col-md-6, .mb-3):has(> .form-label) > * { grid-column: 2; }
    .admin form.card :is(.row > .col-12, .row > .col-sm-6, .row > .col-md-6, .mb-3):has(> .form-label) > .form-label {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        font-weight: 400 !important;
        font-size: .8125rem;
        color: #3a4150;
    }
}
/* Liste des suggestions de la recherche d'articles */
.suggestions-admin a {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    color: inherit;
}
.suggestions-admin a:hover {
    background: var(--mdb-secondary-bg);
}
/* Petit graphique des statistiques */
.graphique-barres {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 10rem;
}
.graphique-barres > * {
    flex: 1;
}

/* Champ quantité sans flèches du navigateur */
.js-qte input::-webkit-outer-spin-button,
.js-qte input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.js-qte input {
    -moz-appearance: textfield;
}

/* Impression (bons de commande, billets, listes) */
@media print {
    .no-print,
    .barre-bas,
    header,
    footer,
    .offcanvas {
        display: none !important;
    }
    body {
        background: #fff !important;
        padding: 0 !important;
    }
    main {
        padding: 0 !important;
        max-width: none !important;
    }
    .print-plein {
        box-shadow: none !important;
        border: none !important;
    }
}

/* =====================================================================
   STYLE « BANNIÈRE » DU SITE PUBLIC
   Fond blanc, bandes sombres (#1f2633), vagues bleues (#2196f3 / #3b71ca),
   titres en deux couleurs (bleu + gris), icônes rondes, cadre en pointe.
   ===================================================================== */

/* Titres deux tons : « PRODUITS » en bleu, « SPONSORISÉS » en gris */
.titre-design { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.titre-bleu { color: var(--kbe-bleu); }
.titre-gris { color: var(--kbe-gris-titre); }
/* Titres sans ligne dessous (choix du site : titres épurés) */
.titre-souligne { position: relative; }

/* En-têtes de cartes : fond blanc, sans filet */
.site-public .card > .card-header { background: #fff; border-bottom: 0; }

/* Icônes rondes (garanties, rayons) */
.rond-icone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem; border-radius: 50%; color: #fff; background: var(--kbe-bleu);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .25);
}
.rond-petit { width: 2rem; height: 2rem; box-shadow: none; }

/* Barre des catégories : sombre, vague bleue derrière « Toutes catégories » */
.barre-categories { position: relative; overflow: hidden; background: var(--kbe-nuit); }
/* La vague part du bord gauche de l'écran et s'arrondit juste après « Toutes catégories » */
.bouton-toutes { position: relative; z-index: 0; }
.bouton-toutes::before {
    content: ''; position: absolute; z-index: -1; top: -12px; bottom: -12px; left: -100vw; right: -1.6rem;
    background: linear-gradient(90deg, var(--kbe-bleu) 90%, var(--kbe-bleu-vif));
    border-top-right-radius: 3rem 100%;
}
.barre-categories > .container { position: relative; }
.barre-categories .nav-link.active { box-shadow: inset 0 -3px 0 var(--kbe-bleu-vif); opacity: 1; }
@media (max-width: 991.98px) {
    .barre-categories::before {
        content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: .9rem;
        background: var(--kbe-bleu-vif); border-radius: 0 50% 50% 0;
    }
}

/* Panneaux sombres (demande d'article, compte à rebours) avec une vague bleue en bas à gauche */
.bloc-sombre { position: relative; overflow: hidden; background: var(--kbe-nuit); }
.bloc-sombre::before, .bloc-sombre::after {
    content: ''; position: absolute; left: -10%; bottom: -55%; width: 60%; height: 90%;
    border-radius: 50%; background: var(--kbe-bleu-vif); opacity: .35;
}
.bloc-sombre::after { left: -14%; bottom: -62%; background: var(--kbe-bleu); opacity: .6; }
.bloc-sombre > * { position: relative; z-index: 1; }
.entete-sombre { background: var(--kbe-nuit); box-shadow: inset 0 -4px 0 var(--kbe-bleu-vif); }

/* ---------- Diaporama de l'accueil : simple et clair ----------
   Photo pleine largeur, voile bleu nuit doux à gauche, petite étiquette bleue,
   grand titre blanc, bouton blanc arrondi ; points fins en bas. */
.carrousel-design { border-radius: .85rem; box-shadow: 0 8px 24px rgba(31, 38, 51, .14); background: var(--kbe-nuit); }
.diapo { position: relative; height: 400px; overflow: hidden; background: linear-gradient(120deg, var(--kbe-nuit), var(--kbe-bleu)); }
.diapo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.carousel-item.active .diapo-image { transform: scale(1); }
.diapo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(31, 38, 51, .82) 0%, rgba(31, 38, 51, .45) 45%, rgba(31, 38, 51, 0) 75%);
}
.diapo-texte {
    position: relative; z-index: 1; height: 100%; max-width: 30rem;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 2rem 2.5rem; color: #fff;
}
.diapo-etiquette {
    display: inline-block; padding: .25rem .75rem; border-radius: 2rem;
    background: var(--kbe-bleu-vif); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.diapo-etiquette:empty { display: none; }
.diapo-titre { margin: .75rem 0 0; font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.diapo-titre::first-letter { text-transform: uppercase; }
.diapo-description { margin: .6rem 0 0; font-size: .95rem; opacity: .85; }
.diapo-bouton { margin-top: 1.25rem; font-weight: 600; }
/* Points fins, flèches discrètes */
.carrousel-design .carousel-indicators { margin-bottom: .75rem; }
.carrousel-design .carousel-indicators [data-mdb-slide-to] {
    width: .5rem; height: .5rem; border-radius: 50%; border: 0; margin: 0 .25rem; background-color: #fff; opacity: .5;
    transition: width .3s, opacity .3s;
}
.carrousel-design .carousel-indicators .active { width: 1.5rem; border-radius: .5rem; opacity: 1; }
.carrousel-design .carousel-control-prev,
.carrousel-design .carousel-control-next { width: 3.5rem; color: #fff; opacity: 0; transition: opacity .2s; }
.carrousel-design:hover .carousel-control-prev,
.carrousel-design:hover .carousel-control-next { opacity: .85; }
@media (max-width: 767.98px) {
    .diapo { height: 230px; }
    .diapo::after { background: linear-gradient(90deg, rgba(31, 38, 51, .85), rgba(31, 38, 51, .35)); }
    .diapo-texte { padding: 1.25rem 1.25rem 1.75rem; }
    .diapo-titre { font-size: 1.3rem; margin-top: .5rem; }
    .diapo-description { display: none; }
    .diapo-bouton { margin-top: .85rem; }
    .carrousel-design .carousel-control-prev,
    .carrousel-design .carousel-control-next { display: none; }
}

/* ---------- Pied de page : carte blanche arrondie et épurée ---------- */
.pied { padding-bottom: 1.5rem; }
.pied-garanties {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem;
    margin: 0 0 1rem; font-size: .8rem; font-weight: 600; color: #4a5263;
}
.pied-garanties li { display: flex; align-items: center; gap: .45rem; }
.pied-garantie-icone {
    display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem;
    border-radius: 50%; background: rgba(59, 113, 202, .1); color: var(--kbe-bleu);
}
.pied-carte {
    background: #fff; border: 1px solid #eceef2; border-radius: 1.25rem;
    padding: 2.5rem 2.5rem 1.5rem; box-shadow: 0 12px 40px rgba(31, 38, 51, .08);
}
.pied-marque { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 700; color: #111; }
.pied-marque img:first-child { border-radius: .5rem; }
.pied-texte { margin: 1.1rem 0 1rem; font-size: .85rem; line-height: 1.6; color: #5b6170; max-width: 26rem; }
.pied-reseaux { display: flex; gap: .9rem; align-items: center; }
.pied-reseaux a { color: #111; opacity: .85; transition: opacity .2s, color .2s; }
.pied-reseaux a:hover { opacity: 1; color: var(--kbe-bleu); }
.pied-newsletter { margin-top: 1.5rem; max-width: 22rem; }
.pied-titre { margin: 0 0 .9rem; font-size: .92rem; font-weight: 700; color: #111; }
.pied-liens { list-style: none; margin: 0; padding: 0; }
.pied-liens li { margin-bottom: .6rem; font-size: .84rem; color: #5b6170; }
.pied-liens a { color: #5b6170; }
.pied-liens a:hover { color: #111; text-decoration: underline; text-underline-offset: 3px; }
.pied-bas {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem;
    margin-top: 1.5rem; font-size: .8rem; color: #5b6170;
}
.pied-bas-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.pied-bas-liens a { color: #5b6170; text-decoration: underline; text-underline-offset: 3px; }
.pied-bas-liens a:hover { color: #111; }
@media (max-width: 575.98px) {
    .pied-carte { padding: 1.75rem 1.25rem 1.25rem; border-radius: 1rem; }
    .pied-bas { justify-content: center; text-align: center; }
    .pied-garanties { gap: .5rem 1rem; font-size: .75rem; }
}

/* ---------- Publicités vidéo de l'accueil (défilement automatique) ---------- */
.pub-video, .pub-video-vide { border-radius: .85rem; overflow: hidden; background: var(--kbe-nuit); box-shadow: 0 8px 24px rgba(31, 38, 51, .14); }
.pub-video-vide { aspect-ratio: 16 / 5; min-height: 11rem; position: relative; }
.pub-video-vide::after {
    content: ''; position: absolute; left: -8%; bottom: -60%; width: 45%; height: 100%;
    border-radius: 50%; background: var(--kbe-bleu-vif); opacity: .35;
}
.pub-video-vide > * { position: relative; z-index: 1; }
.pub-video-ecran { position: relative; aspect-ratio: 16 / 6; background: #000; }
.pub-video-diapo { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.pub-video-diapo.active { opacity: 1; visibility: visible; }
.pub-video-diapo video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.pub-video-legende {
    position: absolute; left: 0; bottom: 0; right: 0; padding: 2.5rem 1.5rem 1.4rem; color: #fff;
    background: linear-gradient(0deg, rgba(31, 38, 51, .9), rgba(31, 38, 51, 0));
    max-width: 100%;
}
.pub-video-legende > * { max-width: 36rem; }
.pub-video-badge { background: var(--kbe-bleu-vif); color: #fff; font-weight: 600; }
.pub-video-bouton {
    position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; color: #fff;
    background: rgba(31, 38, 51, .7); transition: background .2s;
}
.pub-video-bouton:hover { background: var(--kbe-bleu); }
.pub-video-son { top: .75rem; right: .75rem; font-size: 1rem; }
.pub-video-prec { top: 50%; left: .75rem; transform: translateY(-50%); }
.pub-video-suiv { top: 50%; right: .75rem; transform: translateY(-50%); }
.pub-video-progression { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .2); z-index: 2; }
.pub-video-progression span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--kbe-bleu-vif), var(--kbe-bleu)); }
.pub-video-points { display: flex; gap: 1px; background: var(--kbe-nuit); overflow-x: auto; scrollbar-width: none; }
.pub-video-points button {
    flex: 1 1 0; min-width: 8rem; display: flex; padding: .6rem .9rem; border: 0; color: rgba(255, 255, 255, .7);
    background: transparent; font-size: .78rem; font-weight: 600; text-transform: uppercase; text-align: left;
    box-shadow: inset 0 3px 0 transparent;
}
.pub-video-points button.active { color: #fff; background: rgba(33, 150, 243, .15); box-shadow: inset 0 3px 0 var(--kbe-bleu-vif); }
@media (max-width: 767.98px) {
    .pub-video-ecran { aspect-ratio: 16 / 9; }
    .pub-video-legende { padding: 2rem 1rem 1rem; }
    .pub-video-legende .fs-5 { font-size: 1rem !important; }
    .pub-video-prec, .pub-video-suiv { display: none; }
    .pub-video-vide { aspect-ratio: auto; }
}

/* ---------- Comment commander (4 étapes) ---------- */
.etape { position: relative; overflow: hidden; }
.etape-numero {
    position: absolute; top: -.6rem; right: .4rem; font-size: 4.5rem; font-weight: 800; line-height: 1;
    color: var(--kbe-bleu); opacity: .08;
}
.etapes-commande .col:not(:last-child) .etape::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--kbe-bleu-vif), var(--kbe-bleu));
}

/* ---------- Avis de nos clients ---------- */
.avis-client { flex: 0 0 auto; width: min(20rem, 82vw); }
.avis-client blockquote { font-size: .92rem; font-style: italic; color: #3d4452; }

.conditions p { color: #3d4452; line-height: 1.6; }

/* ---------- Actualités, façon site d'information (France 24) ----------
   Fond blanc, rubrique en bleu vif au-dessus des titres, titres gras, heure en gris,
   titres de section en majuscules avec une barre bleue, colonne « En continu » à filets. */
.info-page { background: #fff; border-radius: .85rem; padding: 1.5rem; box-shadow: 0 2px 10px rgba(31, 38, 51, .06); }
.info-barre {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
    margin-bottom: 1.5rem;
}
.info-barre-titre { margin: 0; font-size: 1.6rem; font-weight: 900; color: var(--kbe-nuit); letter-spacing: -.01em; }
.info-rubriques { display: flex; gap: 1.25rem; overflow-x: auto; white-space: nowrap; }
.info-rubriques a { font-size: .85rem; font-weight: 700; color: #4a5263; padding: .25rem 0; border-bottom: 3px solid transparent; }
.info-rubriques a:hover { color: var(--kbe-bleu); }
.info-rubriques a.active { color: var(--kbe-bleu-vif); border-bottom-color: var(--kbe-bleu-vif); }
/* Carte */
.info { display: flex; flex-direction: column; gap: .6rem; }
.row > .col > .info { height: 100%; }
.info-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9edf3; }
.info-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.info:hover .info-image img { transform: scale(1.03); }
.info-image .actualite-sans-image img { width: 3.5rem; height: 3.5rem; object-fit: contain; transform: none !important; }
.actualite-sans-image { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--kbe-nuit), var(--kbe-bleu)); }
.info-rubrique { margin: 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--kbe-bleu-vif); }
.info-titre { margin: .15rem 0 0; font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.info-titre a { color: var(--kbe-nuit); }
.info-titre a:hover { color: var(--kbe-bleu); text-decoration: underline; text-underline-offset: 3px; }
.info-resume { margin: .5rem 0 0; color: #3d4452; font-size: 1rem; line-height: 1.5; }
.info-heure { margin: .35rem 0 0; font-size: .75rem; color: var(--kbe-gris); }
.info-grande .info-titre { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; font-weight: 900; }
.info-grande .info-rubrique { font-size: .8rem; }
.info-liste { flex-direction: row; gap: .85rem; }
.info-liste .info-image { flex: 0 0 38%; }
.info-liste .info-titre { font-size: .92rem; }
/* Colonne « En continu » / « Les plus lus » */
.info-section-titre {
    margin: 0; font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: var(--kbe-nuit);
    padding-left: .65rem; border-left: 5px solid var(--kbe-bleu-vif); line-height: 1.1;
}
.fil-info { border-top: 1px solid #e3e7ee; padding-top: 1rem; }
.info-une .fil-info { border-top: 0; padding-top: 0; }
.fil-info-liste { list-style: none; margin: .75rem 0 .5rem; padding: 0; }
.fil-info-liste li { display: flex; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid #e3e7ee; }
.fil-info-liste li:last-child { border-bottom: 0; }
.fil-info-heure { flex: 0 0 2.9rem; font-size: .8rem; font-weight: 800; color: var(--kbe-nuit); padding-top: .05rem; }
.fil-info-numero { flex: 0 0 2rem; font-size: 1.6rem; font-weight: 900; line-height: 1; color: var(--kbe-bleu-vif); opacity: .45; }
.fil-info-titre { display: block; margin-top: .15rem; font-size: .9rem; font-weight: 700; line-height: 1.35; color: var(--kbe-nuit); }
.fil-info-titre:hover { color: var(--kbe-bleu); text-decoration: underline; }
.fil-info-tout { font-size: .82rem; font-weight: 700; color: var(--kbe-bleu); }
/* Rangées par rubrique */
.info-section { margin-top: 2.25rem; }
.info-section-entete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
/* Page d'une actualité */
.info-fil-ariane { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .75rem; }
.info-fil-ariane a { color: var(--kbe-bleu-vif); }
.info-fil-ariane span { color: var(--kbe-gris); margin: 0 .25rem; }
.info-article-titre { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 900; line-height: 1.15; color: var(--kbe-nuit); margin: 0 0 .9rem; letter-spacing: -.01em; }
.info-article-chapo { font-size: 1.15rem; font-weight: 600; line-height: 1.5; color: #2f3542; margin-bottom: 1rem; }
.info-article-meta {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem;
    font-size: .8rem; color: var(--kbe-gris); border-top: 1px solid #e3e7ee; border-bottom: 1px solid #e3e7ee; padding: .65rem 0;
}
.info-partage {
    display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem;
    border-radius: 50%; border: 1px solid #d5dbe5; background: #fff; color: var(--kbe-nuit); font-size: .9rem;
}
.info-partage:hover { background: var(--kbe-bleu); border-color: var(--kbe-bleu); color: #fff; }
.info-article-figure { margin: 1.25rem 0; }
.info-article-figure img { display: block; width: 100%; height: auto; }
.info-article-figure figcaption { font-size: .75rem; color: var(--kbe-gris); padding: .4rem 0; border-bottom: 1px solid #e3e7ee; }
.actualite-texte { font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; line-height: 1.75; color: #2f3542; margin-top: 1.25rem; }
.actualite-texte h2 { font-family: Roboto, sans-serif; font-size: 1.2rem; font-weight: 900; color: var(--kbe-nuit); margin: 1.75rem 0 .6rem; }
.actualite-texte ul { padding-left: 1.25rem; }
.actualite-texte a { word-break: break-word; }
@media (min-width: 992px) {
    .info-colonne { position: sticky; top: 9.5rem; }
    .info-une > .col-lg-4 { border-left: 1px solid #e3e7ee; }
}
@media (max-width: 575.98px) {
    .info-page { padding: 1rem; border-radius: .6rem; }
    .info-barre-titre { font-size: 1.3rem; }
}

/* =====================================================================
   MOBILE FIRST — réglages pour téléphone (écrans < 992 px)
   - jamais de défilement horizontal parasite ;
   - zones tactiles d'au moins 44 px (norme Apple / Google) ;
   - champs en 16 px : pas de zoom automatique de l'iPhone quand on tape ;
   - textes de 12 px minimum ; barre du bas au-dessus de la barre système (encoche) ;
   - en-tête qui se cache au défilement vers le bas.
   ===================================================================== */
html, body { overflow-x: clip; }
header.sticky-top { transition: transform .25s ease; will-change: transform; }
@media (max-width: 991.98px) {
    header.sticky-top.entete-cachee { transform: translateY(-100%); box-shadow: none; }

    /* En-tête : tient dans 360 px */
    header .container > .d-flex { gap: .25rem !important; }
    header .logo-texte { font-size: .92rem; }
    header .js-meteo-temp { font-size: .8rem !important; }

    /* Zones tactiles */
    .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
    .btn-sm, .btn-group-sm > .btn { min-height: 40px; }
    .input-group > .btn, .input-group > .form-control, .input-group > .form-select { min-height: 44px; }
    .galerie-ae-plein { width: 44px; height: 44px; }
    .carte-produit .btn-success { min-width: 40px; }
    .btn-link { min-height: 44px; }
    .form-check-input { width: 1.25rem; height: 1.25rem; }
    .info-rubriques a { padding: .65rem 0; }
    .pied-reseaux { gap: .25rem; margin-left: -.6rem; }
    .pied-reseaux a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
    .pied-bas-liens a, .pied-liens a { display: inline-block; padding: .45rem 0; }
    .pied-liens li { margin-bottom: .1rem; }
    .carousel-indicators [data-mdb-slide-to] { box-sizing: content-box; border: 12px solid transparent !important; background-clip: padding-box; margin: 0 !important; }
    .carrousel-design .carousel-indicators .active { width: 1.5rem; }

    /* Champs : 16 px (sinon l'iPhone zoome la page) */
    input.form-control, select.form-select, textarea.form-control, .form-control-sm { font-size: 16px !important; }

    /* Textes : 12 px minimum */
    .badge-sponsorise { font-size: .75rem; }
    .info-rubrique, .logo-texte .small { font-size: .75rem !important; }

    /* Barre du bas : 4 boutons égaux, au-dessus de la barre système de l'iPhone */
    .barre-bas { padding-bottom: env(safe-area-inset-bottom); }
    .barre-bas a, .barre-bas button { min-width: 0; min-height: 56px; justify-content: center; font-size: .75rem; white-space: nowrap; }
}
@media (max-width: 380px) {
    header .logo-texte { font-size: .82rem; }
    header img[width="40"] { width: 34px; height: 34px; }
}

/* Bouton « Voir tout » : pilule cuivre → orange (couleur du logo), bien visible sur fond blanc */
.btn-voir-tout {
    display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0;
    padding: .5rem 1.1rem; border-radius: 2rem; min-height: 40px;
    background: linear-gradient(135deg, #f5a524, #d9773a 55%, #b05a26);
    color: #fff !important; font-size: .82rem; font-weight: 700; letter-spacing: .02em; text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(217, 119, 58, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-voir-tout .icone { transition: transform .15s ease; }
.btn-voir-tout:hover, .btn-voir-tout:focus-visible {
    transform: translateY(-1px); filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(217, 119, 58, .45);
}
.btn-voir-tout:hover .icone { transform: translateX(3px); }
.btn-voir-tout:focus-visible { outline: 3px solid rgba(245, 165, 36, .5); outline-offset: 2px; }
@media (max-width: 575.98px) { .btn-voir-tout { padding: .45rem .9rem; font-size: .78rem; } }
