/* Header Wilson : pages intérieures uniquement. */
.awb-wh,
.awb-wh * {
    box-sizing: border-box;
}

.awb-wh {
    --awb-wh-bronze: #947554;
    width: 100%;
    background: #fff;
    color: #171717;
    border-bottom: 1px solid #e6e3df;
    border-radius: 0;
    font-family: var(
        --awb-font-body, "Poppins", Arial, sans-serif
    );
}

.awb-wh__inner {
    width: min(100% - 28px, 1240px);
    margin-inline: auto;
}

.awb-wh__top {
    background: #171717;
    color: #fff;
}

.awb-wh__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 40px;
    padding-block: 9px;
    font: 400 10px/1.4 var(
        --awb-font-body, "Poppins", Arial, sans-serif
    );
}

.awb-wh__identity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 74px;
    padding-block: 12px;
    border-bottom: 1px solid #e4e4e4;
}

.awb-wh__brand {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.awb-wh__brand-main {
    font: 700 clamp(18px, 2vw, 23px)/1.1 var(
        --awb-font-body, "Poppins", Arial, sans-serif
    );
    letter-spacing: -.045em;
    white-space: nowrap;
}

.awb-wh__brand-main span {
    color: var(--awb-wh-bronze);
}

.awb-wh__tagline {
    color: #686868;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.awb-wh__postulation,
.awb-wh__postulation:visited {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 16px;
    border-radius: 4px;
    background: #947554;
    color: #fff;
    font: 600 11px/1.2 var(
        --awb-font-body, "Poppins", Arial, sans-serif
    );
    text-decoration: none;
    white-space: nowrap;
}

.awb-wh__postulation:hover,
.awb-wh__postulation:focus-visible {
    background: #795e42;
    color: #fff;
}

.awb-wh__postulation--pending {
    cursor: default;
}




.awb-wh__navigation {
    min-height: 49px;
}

.awb-wh__links {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
}

.awb-wh__link,
.awb-wh__link:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 49px;
    padding: 0 0 1px;
    font: 500 11px/1.3 var(
        --awb-font-body, "Poppins", Arial, sans-serif
    );
    color: #232323;
    text-decoration: none;
    white-space: nowrap;
}

.awb-wh__link:hover,
.awb-wh__link:focus-visible,
.awb-wh__link--active {
    color: var(--awb-wh-bronze);
    text-decoration: none;
}

.awb-wh__link--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 11px;
    height: 2px;
    background: var(--awb-wh-bronze);
}

.awb-wh__link--pending {
    cursor: default;
}

.awb-wh__toggle {
    display: none;
}

.awb-wh__skip {
    position: fixed;
    z-index: 10000;
    top: -100px;
    left: 12px;
    padding: 10px 14px;
    background: #fff;
    color: #171717;
}

.awb-wh__skip:focus {
    top: 12px;
}

@media (max-width: 760px) {
    .awb-wh__top-inner {
        flex-wrap: wrap;
        gap: 2px 12px;
        padding-block: 8px;
        font-size: 9px;
    }

    .awb-wh__identity {
        min-height: 72px;
        gap: 8px;
    }

    .awb-wh__postulation {
        min-height: 33px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .awb-wh__brand-main {
        font-size: clamp(16px, 4.3vw, 21px);
    }

    .awb-wh__tagline {
        max-width: 250px;
        font-size: 8px;
    }


    .awb-wh__navigation {
        min-height: 44px;
        padding-block: 5px;
    }

    .awb-wh.awb-wh--js .awb-wh__toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 35px;
        padding: 3px 0;
        border: 0;
        background: transparent;
        color: #232323;
        font: 600 12px/1.2 var(
            --awb-font-body, "Poppins", Arial, sans-serif
        );
        cursor: pointer;
    }

    .awb-wh__hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .awb-wh__hamburger span {
        width: 19px;
        height: 2px;
        background: #947554;
    }

    .awb-wh__links {
        flex-direction: column;
        gap: 0;
        padding-block: 6px;
    }

    .awb-wh.awb-wh--js .awb-wh__links {
        display: none;
    }

    .awb-wh.awb-wh--js
    .awb-wh__links.awb-wh__links--open {
        display: flex;
    }

    .awb-wh__link {
        min-height: 40px;
        padding: 8px 3px;
        font-size: 12px;
    }

    .awb-wh__link--active::after {
        bottom: 5px;
        right: auto;
        width: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .awb-wh *,
    .awb-wh *::before,
    .awb-wh *::after {
        transition: none;
    }
}

/* Wilson : logo officiel dans le header. */
.awb-wh__brand-logo {
    display: block;
    width: 146px;
    max-width: 100%;
    aspect-ratio: 1104 / 760;
    overflow: hidden;
}

.awb-wh__brand-logo img {
    display: block;
    width: 113.6%;
    max-width: none;
    height: auto;
    transform: translate(-7%, -20.75%);
}

@media (max-width: 760px) {
    .awb-wh__brand-logo {
        width: 112px;
    }
}

/* Wilson : logo compact aligné avec la ligne du header. */
#awb-wilson-header .awb-wh__brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

#awb-wilson-header .awb-wh__brand-logo {
    flex-shrink: 0;
    width: 84px;
}

#awb-wilson-header .awb-wh__tagline {
    min-width: 0;
}

@media (max-width: 760px) {
    #awb-wilson-header .awb-wh__brand {
        gap: 8px;
    }

    #awb-wilson-header .awb-wh__brand-logo {
        width: 70px;
    }
}

/* Menu Expertises du header Wilson. */
#awb-wilson-menu > .awb-wh__expertises {
    position: relative;
    min-width: 0;
}

#awb-wilson-menu .awb-wh__expertises-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
}

#awb-wilson-menu .awb-wh__expertises-toggle::-webkit-details-marker {
    display: none;
}

#awb-wilson-menu .awb-wh__expertises-toggle::before {
    content: "";
    order: 1;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-inline-end: 1.5px solid currentColor;
    border-block-end: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

#awb-wilson-menu .awb-wh__expertises[open] > .awb-wh__expertises-toggle,
#awb-wilson-menu .awb-wh__expertises-toggle.awb-wh__link--active,
#awb-wilson-menu .awb-wh__expertises-toggle:is(:hover, :focus-visible) {
    color: #785333;
}

#awb-wilson-menu .awb-wh__expertises[open] > .awb-wh__expertises-toggle::before {
    transform: translateY(1px) rotate(225deg);
}

#awb-wilson-menu .awb-wh__expertises-toggle:focus-visible {
    outline: 2px solid #785333;
    outline-offset: 3px;
}

#awb-wilson-menu .awb-wh__expertises-list {
    margin: 0;
    padding: 5px;
    border: 1px solid #e2d8cf;
    border-radius: 8px;
    background: #fff;
    color: #232323;
    list-style: none;
}

#awb-wilson-menu .awb-wh__expertises:not([open]) > .awb-wh__expertises-list {
    display: none;
}

#awb-wilson-menu .awb-wh__expertises-list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

#awb-wilson-menu .awb-wh__expertises-list > li > :is(.awb-wh__expertises-item, span) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 3px 12px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: 4px;
    color: #232323;
    font: 500 13px/1.45 var(--awb-font-body, "Poppins", Arial, sans-serif);
    text-decoration: none;
    white-space: normal;
    overflow-wrap: break-word;
}

#awb-wilson-menu .awb-wh__expertises-list a.awb-wh__expertises-item:is(:hover, :focus-visible),
#awb-wilson-menu .awb-wh__expertises-list a.awb-wh__expertises-item[aria-current="page"] {
    background: #f7f1eb;
    color: #785333;
}

#awb-wilson-menu .awb-wh__expertises-list a.awb-wh__expertises-item:focus-visible {
    outline: 2px solid #785333;
    outline-offset: -2px;
}

#awb-wilson-menu .awb-wh__expertises-list :is(small, .awb-wh__expertises-status) {
    color: #625549;
    font-size: 11px;
    font-weight: 500;
}

@media (min-width: 761px) {
    #awb-wilson-menu .awb-wh__expertises-list {
        position: absolute;
        z-index: 60;
        inset-block-start: 100%;
        inset-inline-start: 0;
        width: clamp(240px, 29vw, 320px);
        max-width: calc(100vw - 28px);
        max-height: min(410px, 64vh);
        overflow-y: auto;
        box-shadow: 0 12px 26px rgba(28, 22, 18, .13);
    }
}

@media (max-width: 760px) {
    #awb-wilson-menu .awb-wh__expertises-toggle {
        justify-content: space-between;
        min-height: 44px;
        padding-inline-end: 6px;
    }

    #awb-wilson-menu .awb-wh__expertises-list {
        margin-block-end: 7px;
        padding: 3px 0 3px 9px;
        border: 0;
        border-inline-start: 2px solid #947554;
        border-radius: 0;
        background: #fbf8f4;
    }

    #awb-wilson-menu .awb-wh__expertises-list > li > :is(.awb-wh__expertises-item, span) {
        min-height: 44px;
    }
}

/* Wilson : bouton menu centré sur mobile. */
@media (max-width: 760px) {
    #awb-wilson-header.awb-wh--js .awb-wh__identity {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
        column-gap: 6px;
    }

    #awb-wilson-header.awb-wh--js .awb-wh__brand {
        grid-column: 1;
        justify-self: start;
    }

    #awb-wilson-header.awb-wh--js .awb-wh__toggle {
        grid-column: 2;
        justify-self: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    #awb-wilson-header.awb-wh--js .awb-wh__toggle:focus-visible {
        outline: 2px solid #785333;
        outline-offset: 2px;
    }

    #awb-wilson-header.awb-wh--js .awb-wh__postulation {
        grid-column: 3;
        justify-self: end;
    }

    #awb-wilson-header.awb-wh--js .awb-wh__navigation {
        min-height: 0;
        padding-block: 0;
    }
}
