/* ==========================================================================
   Decap Radia - Badges (style Decap Radia)
   Adaptation de .elt-badge / .badges-container (cf. client MUC Omnisports)
   Palette alignee sur le plugin decap-radia-elements (processus.css) :
     --dre-primary  : #04748C
     --dre-primary-d: #056478
     --dre-primary-l: #32A6BE
     --dre-cta      : #F8C117
   Specificite elevee (html body ...) pour passer au-dessus d'Elementor / OceanWP.
   ========================================================================== */

/* === CONTENEUR === */
html body .badges-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    margin: 12px 0 !important;
}

/* === BASE BADGE === */
html body .elt-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    color: #ffffff !important;
    background: var(--dre-primary, #04748C) !important;
    border: 1px solid transparent !important;
    transition: transform 0.15s ease, background 0.2s ease !important;
}

html body .elt-badge:hover {
    transform: translateY(-1px) !important;
}

/* === COULEURS PAR SLUG (palette Decap Radia) === */

/* --- Matiere (fonte / acier) : bleu principal --- */
html body .elt-badge.badge-fonte {
    background: var(--dre-primary, #04748C) !important;
}
html body .elt-badge.badge-acier {
    background: var(--dre-primary-d, #056478) !important;
}

/* --- Etape du processus (7 etapes) : degrade bleu + accent jaune pour l'etape courante --- */
html body .elt-badge.badge-demontage {
    background: #2C7A8C !important;
}
html body .elt-badge.badge-decapage-bain,
html body .elt-badge.badge-decapage {
    background: #2A8B9E !important;
}
html body .elt-badge.badge-nettoyage,
html body .elt-badge.badge-nettoyage-hp {
    background: var(--dre-primary-l, #32A6BE) !important;
}
html body .elt-badge.badge-desembouage {
    background: #1F8FA6 !important;
}
html body .elt-badge.badge-sablage {
    background: var(--dre-cta, #F8C117) !important;
    color: #0f172a !important; /* contraste AAA sur jaune */
}
html body .elt-badge.badge-peinture {
    background: var(--dre-primary, #04748C) !important;
}
html body .elt-badge.badge-test,
html body .elt-badge.badge-test-etancheite,
html body .elt-badge.badge-test-etanchete {
    background: #0f5a6e !important;
}

/* --- Formules (Classique / Complete / Premium) : accent chaud --- */
html body .elt-badge.badge-classique {
    background: #6b7280 !important; /* gris ardoise : "entree de gamme" */
}
html body .elt-badge.badge-complete,
html body .elt-badge.badge-complet {
    background: var(--dre-primary, #04748C) !important;
}
html body .elt-badge.badge-premium {
    background: var(--dre-cta, #F8C117) !important;
    color: #0f172a !important;
}

/* --- Badges metier complementaires --- */
html body .elt-badge.badge-garantie,
html body .elt-badge.badge-garantie-10-ans {
    background: #04748C !important;
    border-color: var(--dre-cta, #F8C117) !important;
}
html body .elt-badge.badge-urgent,
html body .elt-badge.badge-express {
    background: #b91c1c !important;
}
html body .elt-badge.badge-recommandation,
html body .elt-badge.badge-recommande {
    background: #15803d !important;
}
html body .elt-badge.badge-ancien,
html body .elt-badge.badge-ancien-modele {
    background: #92400e !important;
}

/* === FOCUS ACCESSIBILITE === */
html body .elt-badge:focus-visible {
    outline: 2px solid var(--dre-cta, #F8C117) !important;
    outline-offset: 2px !important;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    html body .badges-container {
        gap: 6px !important;
    }
    html body .elt-badge {
        font-size: 0.75rem !important;
        padding: 4px 10px !important;
    }
}
