@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');


/* =========================================================
   POLICE WOODBRASS
   ========================================================= */

body,
input,
button,
textarea,
select {
    font-family: "Archivo", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.Header__searchTitle {
    font-family: "Archivo", Arial, sans-serif !important;
    font-weight: 700;
}


/* =========================================================
   NAVIGATION WOODBRASS
   ========================================================= */

.Header__navbar,
#navBar {
    background: rgba(0, 0, 0, 0.88) !important;
}

.Header__menu,
.Header__menu::before,
.Header__menu::after {
    background-color: #ffffff !important;
}


/* =========================================================
   RECHERCHE - BLEU WOODBRASS
   ========================================================= */

[data-id="searchButton"] {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    color: #ffffff !important;
}

[data-id="searchButton"]:hover,
[data-id="searchButton"]:focus {
    background-color: #005bb8 !important;
    border-color: #005bb8 !important;
}

[data-id="searchButton"] svg,
[data-id="searchButton"] svg * {
    color: #ffffff !important;
    stroke: #ffffff !important;
}


/* =========================================================
   HEADER FIXE AU SCROLL
   Logo | Recherche | Menu
   ========================================================= */

#headerContainer.Header__homeNavbarFixed #navBarContainer {
    display: grid !important;
    grid-template-columns: 200px minmax(0, 1fr) 70px !important;
    column-gap: 24px !important;
    align-items: center !important;
}

#headerContainer.Header__homeNavbarFixed .Header__menuTab {
    display: none !important;
}

#headerContainer.Header__homeNavbarFixed .Header__logo {
    grid-column: 1 !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
}

#headerContainer.Header__homeNavbarFixed #searchContainer2 {
    grid-column: 2 !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#headerContainer.Header__homeNavbarFixed
#searchContainer2 .SearchContainer__globalSearch {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

#headerContainer.Header__homeNavbarFixed .Header__menuicon {
    grid-column: 3 !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    justify-self: center !important;
}


/* =========================================================
   MENU "CENTRE D'AIDE"
   ========================================================= */

#portal_tabSolutions,
#portal_tabSolutions a {
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}


/* =========================================================
   MULTILINGUE
   ========================================================= */

.wbTitle,
.wbDesc,
.wbNav,
.wbLangLabel {
    display: none !important;
}

portal[class~="fr"] .wb-fr {
    display: inline !important;
}

portal[class~="en"] .wb-en {
    display: inline !important;
}

portal[class~="de"] .wb-de {
    display: inline !important;
}

portal[class~="es"] .wb-es {
    display: inline !important;
}

portal[class~="it"] .wb-it {
    display: inline !important;
}

portal[class~="pt"] .wb-pt {
    display: inline !important;
}

portal[class~="nl"] .wb-nl {
    display: inline !important;
}


/* =========================================================
   SELECTEUR DE LANGUE
   ========================================================= */

.wbLanguageItem {
    position: relative !important;
    overflow: visible !important;
}

.wbLanguageMenu {
    position: relative;
    display: inline-block;
}

.wbLanguageMenu summary {
    list-style: none;
    cursor: pointer;

    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 600;

    color: #ffffff !important;
    background: transparent !important;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;

    padding: 7px 10px;

    white-space: nowrap;
    user-select: none;
}

.wbLanguageMenu summary::-webkit-details-marker {
    display: none;
}

.wbLanguageMenu summary::marker {
    content: "";
}

.wbLanguageMenu summary::after {
    content: " ▾";
    margin-left: 4px;
    font-size: 11px;
}

.wbLanguageMenu summary:hover {
    border-color: #ffffff;
}

.wbLanguageDropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    min-width: 150px;
    padding: 6px 0;

    background: #ffffff;
    border-radius: 6px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);

    z-index: 99999;
}

.wbLanguageDropdown a {
    display: block;

    padding: 9px 14px;

    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 500;

    color: #111111 !important;
    background: #ffffff;

    text-decoration: none !important;
    white-space: nowrap;
}

.wbLanguageDropdown a:hover {
    color: #0066cc !important;
    background: #f3f5f7;
}


/* =========================================================
   BLOC CENTRE D'AIDE
   ========================================================= */

#kb_module .ContentBox__indexIcon {
    display: none !important;
}

#kb_module .ContentBox__boxInnerHome {
    padding: 28px 20px !important;
}

#kb_module .ContentBox__headerMid {
    margin: 0 0 8px !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

#kb_module p {
    margin: 0 !important;
    font-size: 15px !important;
}


/* =========================================================
   SUPPRESSION DU BLOC TICKET ZOHO
   ========================================================= */

.Footer__footerBg {
    display: none !important;
}


/* =========================================================
   CONTACT / FOOTER WOODBRASS
   ========================================================= */

.Footer__contactWoodbrass {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 32px 6% !important;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    background: #111111 !important;
    color: #ffffff !important;
}

.Footer__contactWoodbrass strong {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
}

.Footer__contactWoodbrass p {
    margin: 6px 0 0;
    color: #ffffff !important;
    opacity: 0.85;
}

.Footer__contactWoodbrassBtn {
    display: inline-block;

    padding: 12px 24px;

    background: #0066cc !important;
    color: #ffffff !important;

    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
}

.Footer__contactWoodbrassBtn:hover {
    background: #005bb8 !important;
    color: #ffffff !important;
}


/* =========================================================
   FOOTER MULTILINGUE
   ========================================================= */

.wbFooter {
    display: none !important;
}

portal[class~="fr"] .wbFooter.wb-fr,
portal[class~="en"] .wbFooter.wb-en,
portal[class~="de"] .wbFooter.wb-de,
portal[class~="es"] .wbFooter.wb-es,
portal[class~="it"] .wbFooter.wb-it,
portal[class~="pt"] .wbFooter.wb-pt,
portal[class~="nl"] .wbFooter.wb-nl {
    display: inline !important;
}


/* =========================================================
   PAGES ARTICLE - STYLE WOODBRASS
   ========================================================= */

[data-id="articleDetail"] {
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 45px 30px 60px !important;
}

[data-id="articleDetail"] [data-id="article_Title"] {
    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;

    margin: 0 0 35px !important;

    color: #111111 !important;
}

[data-id="articleDetail"] #articleDetail {
    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #111111 !important;
}

[data-id="articleDetail"] #articleDetail p {
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
}

[data-id="articleDetail"] #articleDetail a {
    color: #0066cc !important;
    text-decoration: none !important;
}

[data-id="articleDetail"] #articleDetail a:hover {
    color: #005bb8 !important;
    text-decoration: underline !important;
}

[data-id="articleDetail"] #articleDetail li {
    margin-bottom: 10px !important;
    line-height: 1.65 !important;
}


/* =========================================================
   SIDEBAR ARTICLE
   ========================================================= */

[data-id="articleDetail"] [data-id="column2"] {
    background: #f7f8fa !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 10px !important;
    padding: 24px !important;
}

[data-id="articleDetail"] [data-id="column2"] a {
    color: #0066cc !important;
}

[data-id="articleDetail"] [data-id="column2"] a:hover {
    color: #005bb8 !important;
}

[data-id="articleDetail"] [data-id="column2"] button,
[data-id="articleDetail"] [data-id="column2"] [role="button"] {
    border-color: #0066cc !important;
    color: #0066cc !important;
}


/* =========================================================
   TITRE ARTICLE - CORRECTION FINALE
   ========================================================= */

[data-id="articleDetail"] h1[data-id="article_Title"] {
    font-size: 36px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
    margin-bottom: 30px !important;
}


/* =========================================================
   BOUTON RETOUR EN HAUT
   ========================================================= */

[data-id="toparrow"] {
    background-color: #0066cc !important;
    color: #ffffff !important;
}

[data-id="toparrow"]:hover {
    background-color: #005bb8 !important;
}

[data-id="toparrow"] svg,
[data-id="toparrow"] svg * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .Footer__contactWoodbrass {
        flex-direction: column;
        text-align: center;
        padding: 26px 20px !important;
    }

    #headerContainer.Header__homeNavbarFixed #navBarContainer {
        gap: 12px !important;
    }

    .wbLanguageDropdown {
        right: 0;
        min-width: 140px;
    }

    [data-id="articleDetail"] {
        padding: 25px 18px 40px !important;
    }

    [data-id="articleDetail"] [data-id="article_Title"] {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }

    [data-id="articleDetail"] #articleDetail {
        font-size: 16px !important;
    }
}
/* =========================================================
   MASQUER LE PARTAGE RESEAUX SOCIAUX
   ========================================================= */

[data-id="articleDetail"] [class*="social"],
[data-id="articleDetail"] [class*="Social"],
[data-id="articleDetail"] [class*="share"],
[data-id="articleDetail"] [class*="Share"] {
    display: none !important;
}
/* =========================================================
   PROGRESSION DE LECTURE - DÉGRADÉ WOODBRASS
   ========================================================= */

.Readingprogress__progressBar {
    background: linear-gradient(
        90deg,
        #0066cc 0%,
        #258be0 40%,
        #69b6ee 70%,
        #b9ddf7 88%,
        #eef8ff 100%
    ) !important;

    background-image: linear-gradient(
        90deg,
        #0066cc 0%,
        #258be0 40%,
        #69b6ee 70%,
        #b9ddf7 88%,
        #eef8ff 100%
    ) !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Aucune couleur sur la piste derrière */
.Readingprogress__progressContainer,
.Readingprogress__progressBarLine {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   MASQUER PDF / IMPRESSION / MODE LECTURE
   ========================================================= */

.KbDetailLtContainer__pdfView,
.Printcontainer__print,
.KbDetailLtContainer__readerView {
    display: none !important;
}
/* =========================================================
   LIENS DANS LE CONTENU DES ARTICLES
   Force le bleu Woodbrass malgré les styles Zoho
   ========================================================= */

.KbDetailLtContainer__description a,
.KbDetailLtContainer__description a span,
.KbDetailLtContainer__description a * {
    color: #0066cc !important;
}

.KbDetailLtContainer__description a:hover,
.KbDetailLtContainer__description a:hover span,
.KbDetailLtContainer__description a:hover * {
    color: #005bb8 !important;
    text-decoration: underline !important;
}

/* =========================================================
   HOME KB - SUPPRIMER L'ORANGE DES LIENS "PLUS"
   Force tous les liens du module KB au bleu Woodbrass.
   À laisser EN FIN DE FICHIER pour écraser le thème Zoho.
   ========================================================= */

#kb_module a,
#kb_module a:visited,
#kb_module a span,
#kb_module a i,
#kb_module a::before,
#kb_module a::after {
    color: #0066cc !important;
}

#kb_module a:hover,
#kb_module a:focus,
#kb_module a:hover span,
#kb_module a:focus span,
#kb_module a:hover i,
#kb_module a:focus i,
#kb_module a:hover::before,
#kb_module a:hover::after,
#kb_module a:focus::before,
#kb_module a:focus::after {
    color: #005bb8 !important;
}

/* Flèches / pictos éventuels à côté de "plus" */
#kb_module a svg,
#kb_module a svg * {
    fill: #0066cc !important;
    stroke: #0066cc !important;
    color: #0066cc !important;
}

#kb_module a:hover svg,
#kb_module a:hover svg *,
#kb_module a:focus svg,
#kb_module a:focus svg * {
    fill: #005bb8 !important;
    stroke: #005bb8 !important;
    color: #005bb8 !important;
}

/* Sélecteurs Zoho fréquents pour les CTA "plus / view more" */
#kb_module [class*="more"],
#kb_module [class*="More"],
#kb_module [data-id*="more"],
#kb_module [data-id*="More"],
#kb_module [class*="more"] *,
#kb_module [class*="More"] *,
#kb_module [data-id*="more"] *,
#kb_module [data-id*="More"] * {
    color: #0066cc !important;
}

#kb_module [class*="more"]:hover,
#kb_module [class*="More"]:hover,
#kb_module [data-id*="more"]:hover,
#kb_module [data-id*="More"]:hover,
#kb_module [class*="more"]:hover *,
#kb_module [class*="More"]:hover *,
#kb_module [data-id*="more"]:hover *,
#kb_module [data-id*="More"]:hover * {
    color: #005bb8 !important;
}

/* =========================================================
   LIEN "PLUS" DES BLOCS KB - BLEU WOODBRASS
   ========================================================= */

.ContentList__moreOption,
.ContentList__moreOption .ViewMore__viewmore,
.ContentList__moreOption .Link__link2,
.ContentList__moreOption .commonStyle__zBrand,
.ContentList__moreOption a,
.ContentList__moreOption a:visited,
[data-id$="_Viewmore"] {
    color: #0066cc !important;
}

.ContentList__moreOption:hover,
.ContentList__moreOption .ViewMore__viewmore:hover,
.ContentList__moreOption .Link__link2:hover,
.ContentList__moreOption a:hover,
.ContentList__moreOption a:focus,
[data-id$="_Viewmore"]:hover,
[data-id$="_Viewmore"]:focus {
    color: #005bb8 !important;
}

/* Flèche éventuelle ajoutée par Zoho */
.ContentList__moreOption *,
.ContentList__moreOption *::before,
.ContentList__moreOption *::after,
[data-id$="_Viewmore"]::before,
[data-id$="_Viewmore"]::after {
    color: inherit !important;
}
/* =========================================================
   HOME - NAVIGATION KB PREMIUM
   ========================================================= */

.wbHelpNav,
.wbHelpNav * {
    box-sizing: border-box;
    font-family: "Archivo", Arial, sans-serif !important;
}

.wbHelpNav {
    max-width: 1160px;
    margin: 0 auto;
    padding: 58px 24px 38px;
}

.wbHelpNavIntro {
    text-align: center;
    margin-bottom: 42px;
}

.wbHelpNavIntro h2 {
    margin: 0 0 10px !important;

    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;

    color: #111111 !important;
}

.wbHelpNavIntro p {
    margin: 0 !important;

    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;

    color: #667085 !important;
}

.wbHelpNavGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #dfe3e8;
    border-bottom: 1px solid #dfe3e8;
}

.wbHelpNavItem {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 185px;
    padding: 30px 34px;

    color: #111111 !important;
    text-decoration: none !important;

    background: #ffffff !important;

    transition:
        background-color .18s ease,
        padding-left .18s ease;
}

.wbHelpNavItem + .wbHelpNavItem {
    border-left: 1px solid #dfe3e8;
}

.wbHelpNavItem:hover {
    background: #fafcff !important;
}

.wbHelpNavLabel {
    display: block;

    margin-bottom: 14px;

    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;

    color: #111111 !important;
}

.wbHelpNavLabel::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin-top: 12px;

    background: #0066cc;

    transition: width .18s ease;
}

.wbHelpNavItem:hover .wbHelpNavLabel::after {
    width: 46px;
}

.wbHelpNavDesc {
    display: block;

    max-width: 280px;

    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;

    color: #667085 !important;
}

.wbHelpNavLink {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: auto;
    padding-top: 24px;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 600 !important;

    color: #0066cc !important;
}

.wbHelpNavLink span {
    display: inline-block;

    color: #0066cc !important;

    transition: transform .18s ease;
}

.wbHelpNavItem:hover .wbHelpNavLink span {
    transform: translateX(4px);
}


/* TABLETTE */

@media (max-width: 900px) {

    .wbHelpNavGrid {
        grid-template-columns: 1fr;
    }

    .wbHelpNavItem {
        min-height: auto;
        padding: 25px 20px;
    }

    .wbHelpNavItem + .wbHelpNavItem {
        border-left: 0;
        border-top: 1px solid #dfe3e8;
    }

    .wbHelpNavDesc {
        max-width: none;
    }

    .wbHelpNavLink {
        margin-top: 18px;
        padding-top: 0;
    }
}


/* MOBILE */

@media (max-width: 700px) {

    .wbHelpNav {
        padding: 40px 20px 28px;
    }

    .wbHelpNavIntro {
        margin-bottom: 28px;
    }

    .wbHelpNavIntro h2 {
        font-size: 25px !important;
    }

    .wbHelpNavItem {
        padding: 23px 16px;
    }
}
