/*
 * XP_PUBLIC_NAV_SHARED_V1_20260927
 *
 * Navigation marketing partagée :
 * Home / Platform / Software / Pricing.
 */

/* ---------------------------------------------------------
   ACTIVE PAGE
   --------------------------------------------------------- */

.xp-public-header .xp-site-nav a {
    text-decoration: none;
}

.xp-public-header .xp-site-nav a.is-active {
    color: #168bd2 !important;
    font-weight: 700 !important;
}

.xp-public-header .xp-site-nav a.is-active:hover {
    color: #168bd2 !important;
}


/* ---------------------------------------------------------
   BURGER
   --------------------------------------------------------- */

.xp-public-header .xp-burger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
}

.xp-public-header .xp-burger span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: #168bd2;
}


/* ---------------------------------------------------------
   MOBILE MENU
   --------------------------------------------------------- */

.xp-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(247, 249, 251, .985);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.xp-mobile-menu.active {
    display: flex;
}

.xp-mobile-menu__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 420px);
    gap: 8px;
    padding: 54px 20px 22px;
    border: 1px solid #dfe4e9;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(25, 33, 42, .10);
}

.xp-mobile-menu__inner > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 6px;
    color: #56626d;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.xp-mobile-menu__inner > a:hover {
    color: #19212a;
    background: #f4f7f9;
}

.xp-mobile-menu__inner > a.is-active {
    color: #168bd2 !important;
    background: rgba(22, 139, 210, .08);
}

.xp-mobile-menu__close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #56626d;
    background: transparent;
    font-size: 27px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.xp-mobile-menu__close:hover {
    color: #168bd2;
    background: #f4f7f9;
}

.xp-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.xp-mobile-menu__actions .xp-button {
    width: 100% !important;
    justify-content: center;
}

body.xp-public-menu-open {
    overflow: hidden;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .xp-public-header .xp-site-nav,
    .xp-public-header .xp-site-header__actions {
        display: none !important;
    }

    .xp-public-header .xp-burger {
        display: inline-flex !important;
    }
}

/*
 * XP_PUBLIC_NAV_REFINEMENT_V2_20260927
 * Ajustements visuels :
 * - logo plus grand
 * - zones mieux équilibrées
 * - menu plus respirant
 * - header moins vide
 */

.xp-public-header .xp-site-header__inner {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 40px !important;
    min-height: 96px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.xp-public-header .xp-site-brand {
    display: flex !important;
    align-items: center !important;
    justify-self: start !important;
    margin: 0 !important;
}

.xp-public-header .xp-logo {
    display: block !important;
    width: auto !important;
    height: 58px !important;
    max-height: none !important;
}

.xp-public-header .xp-site-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: center !important;
    gap: 34px !important;
    width: auto !important;
    margin: 0 !important;
}

.xp-public-header .xp-site-nav a {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.xp-public-header .xp-site-header__actions {
    display: flex !important;
    align-items: center !important;
    justify-self: end !important;
    gap: 12px !important;
    margin-left: 0 !important;
}

.xp-public-header .xp-site-header__actions .wpml-ls,
.xp-public-header .xp-site-header__actions .wpml-ls-legacy-list-horizontal {
    margin: 0 !important;
}

@media (max-width: 1180px) {
    .xp-public-header .xp-site-header__inner {
        grid-template-columns: 150px minmax(0, 1fr) auto !important;
        column-gap: 24px !important;
    }

    .xp-public-header .xp-site-nav {
        gap: 22px !important;
    }

    .xp-public-header .xp-logo {
        height: 52px !important;
    }
}

@media (max-width: 900px) {
    .xp-public-header .xp-site-header__inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 82px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }

    .xp-public-header .xp-logo {
        height: 48px !important;
    }
}

