/*
Theme Name: Mi Child Theme
Template: generatepress
Version: 1.0
*/
.site-header .inside-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0;
}

html,
body,
.choix-topbar {
    margin-top: 0;
}

.choix-topbar {
    min-height: 32px;
    background: #102f4d;
    color: #dce8f3;
    font-size: 11px;
    letter-spacing: .03em;
}

.choix-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    width: min(1180px, calc(100% - 40px));
    min-height: 30px;
    margin: 0 auto;
}

.choix-topbar a {
    color: #fff;
    text-decoration: none;
}

.choix-topbar a:hover,
.choix-topbar a:focus {
    text-decoration: underline;
}

.site-header .site-logo {
    display: inline-block;
    flex: 0 0 100%;
    transform: translateY(8px);
}

.site-header #site-navigation,
.site-header #mobile-menu-control-wrapper {
    display: none !important;
}

.choix-below-navigation {
    display: block;
    width: 100%;
    clear: both;
    background: #fff;
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #dfe5ea;
    box-shadow: 0 3px 12px rgba(24, 37, 50, .06);
}

.choix-below-navigation > ul.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: min(1180px, calc(100% - 40px));
    min-height: 58px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.choix-below-navigation > ul.menu > li {
    margin: 0;
}

.choix-below-navigation > ul.menu > li > a {
    position: relative;
    display: block;
    padding: 20px 18px 18px;
    color: #182532;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .01em;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.choix-below-navigation > ul.menu > li > a:hover,
.choix-below-navigation > ul.menu > li > a:focus {
    background: #f5f8fa !important;
    color: #123c69 !important;
}

.choix-below-navigation > ul.menu > li > a::after {
    position: absolute;
    right: 18px;
    bottom: 9px;
    left: 18px;
    height: 2px;
    background: #e47b32;
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.choix-below-navigation > ul.menu > li > a:hover::after,
.choix-below-navigation > ul.menu > li > a:focus::after,
.choix-below-navigation > ul.menu > li.current-menu-item > a::after,
.choix-below-navigation > ul.menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

.choix-below-navigation > ul.menu > li.current-menu-item > a,
.choix-below-navigation > ul.menu > li.current-menu-ancestor > a {
    background: #f5f8fa !important;
    color: #123c69 !important;
}

.choix-below-navigation ul.sub-menu {
    position: absolute;
    z-index: 20;
    min-width: 236px;
    margin: 8px 0 0;
    padding: 7px 0;
    border: 1px solid #e0e7ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(24, 37, 50, .14);
    list-style: none;
}

.choix-below-navigation ul.sub-menu li {
    margin: 0;
}

.choix-below-navigation ul.menu ul.sub-menu li a {
    display: block;
    padding: 12px 20px;
    background: #fff !important;
    color: #182532 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.choix-below-navigation ul.menu ul.sub-menu li a:hover,
.choix-below-navigation ul.menu ul.sub-menu li a:focus,
.choix-below-navigation ul.menu ul.sub-menu li a:active,
.choix-below-navigation ul.menu ul.sub-menu li.current-menu-item > a,
.choix-below-navigation ul.menu ul.sub-menu li.current-menu-ancestor > a {
    background: #eef4f8 !important;
    color: #123c69 !important;
    box-shadow: inset 3px 0 0 #e47b32;
    padding-left: 24px;
}

.choix-slider {
    position: relative;
    width: 100%;
    background: #f2f6f8;
    overflow: hidden;
}

.choix-slider-track {
    position: relative;
    width: 100%;
    height: 430px;
    min-height: 430px;
}

.choix-slide {
    display: none;
    position: relative;
    height: 430px;
    min-height: 430px;
    background: #102f4d;
    overflow: hidden;
}

.choix-slide.is-active {
    display: grid;
    animation: choix-slide-in .45s ease both;
}

.choix-slide-copy {
    display: flex;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: min(760px, 82%);
    height: 100%;
    overflow: hidden;
    padding: 56px max(40px, calc((100vw - 1180px) / 2)) 62px;
    padding-right: 40px;
}

.choix-slide h2 {
    max-width: 520px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 650;
    line-height: 1.08;
}

.choix-slide p {
    max-width: 500px;
    margin: 0 0 26px;
    color: #51616e;
    font-size: 16px;
    line-height: 1.65;
}

.choix-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, .7);
    background: #e47b32;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.choix-slide-link:hover,
.choix-slide-link:focus {
    border-color: #fff;
    background: #fff;
    color: #102f4d;
}

.choix-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 430px;
    min-height: 0;
    background: #294f68;
    overflow: hidden;
}

.choix-slide::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(8, 28, 46, .92) 0%, rgba(8, 28, 46, .62) 30%, rgba(8, 28, 46, .08) 72%), linear-gradient(90deg, rgba(8, 28, 46, .45), transparent 68%);
    content: "";
}

.choix-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.choix-slide-media.is-empty {
    background: linear-gradient(135deg, #123c69 0%, #2b6687 54%, #e47b32 54%, #e47b32 100%);
}

.choix-slider-button {
    position: absolute;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(16, 47, 77, .78);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease;
}

.choix-slider-button:hover,
.choix-slider-button:focus {
    background: #e47b32;
    transform: translateY(-50%) scale(1.06);
}

.choix-slider-prev {
    left: 20px;
}

.choix-slider-next {
    right: 20px;
}

.choix-slider-dots {
    position: absolute;
    bottom: 24px;
    left: max(40px, calc((100vw - 1180px) / 2));
    display: flex;
    gap: 8px;
}

.choix-slider-dot {
    width: 24px;
    height: 4px;
    padding: 0;
    border: 0;
    background: #b7c5ce;
    cursor: pointer;
    transition: background-color .2s ease, width .2s ease;
}

.choix-slider-dot.is-active {
    width: 42px;
    background: #e47b32;
}

@keyframes choix-slide-in {
    from { opacity: .35; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.choix-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .choix-topbar {
        display: none;
    }

    .choix-below-navigation > ul.menu {
        width: calc(100% - 28px);
    }

    .choix-below-navigation > ul.menu {
        display: none;
        width: 100%;
        gap: 0;
    }

    .choix-below-navigation > ul.menu > li > a {
        padding: 12px 10px;
    }

    .choix-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        height: 56px;
        min-height: 56px;
        padding: 0 16px;
        border: 0;
        border-bottom: 1px solid #e5e9ee;
        background: #fff !important;
        color: #182532;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .site-header .site-logo {
        display: none;
    }

    .choix-mobile-brand {
        display: block;
        margin-right: auto;
        line-height: 0;
        align-self: center;
    }

    .choix-mobile-brand .custom-logo-link,
    .choix-mobile-brand .custom-logo {
        display: block;
        max-width: 120px;
        max-height: 38px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .choix-mobile-toggle-label {
        margin-right: 12px;
    }

    .choix-mobile-toggle-icon {
        display: grid;
        gap: 4px;
        width: 20px;
    }

    .choix-mobile-toggle-icon span {
        display: block;
        height: 2px;
        background: #123c69;
    }

    .choix-mobile-toggle:hover,
    .choix-mobile-toggle:focus {
        background: #fff !important;
        color: #182532 !important;
    }

    .choix-mobile-toggle:hover .choix-mobile-toggle-label,
    .choix-mobile-toggle:focus .choix-mobile-toggle-label {
        color: #182532 !important;
    }

    .choix-below-navigation.is-open > ul.menu {
        display: block;
    }

    .choix-below-navigation,
    .choix-below-navigation > ul.menu,
    .choix-below-navigation > ul.menu > li,
    .choix-below-navigation > ul.menu > li > a {
        background: #fff !important;
    }

    .choix-below-navigation > ul.menu > li > a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 14px 18px;
        border-bottom: 1px solid #e5e9ee;
    }

    .choix-below-navigation > ul.menu > li > a::after {
        display: none;
    }

    .choix-below-navigation ul.sub-menu {
        position: static;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .choix-below-navigation ul.sub-menu li a {
        padding: 12px 28px;
        white-space: normal;
    }

    .choix-slider-track,
    .choix-slide {
        height: 520px;
        min-height: 520px;
    }

    .choix-slide.is-active {
        display: block;
    }

    .choix-slide-copy {
        justify-content: flex-end;
        width: 100%;
        height: 100%;
        padding: 30px 24px 58px;
    }

    .choix-slide-media {
        height: 100%;
    }

    .choix-slide-media img {
        min-height: 0;
        height: 100%;
        max-height: none;
    }

    .choix-slide h2 {
        max-width: 100%;
        font-size: 24px;
    }

    .choix-slide p {
        font-size: 14px;
    }

    .choix-slider-button {
        top: 115px;
        width: 36px;
        height: 36px;
    }

    .choix-slider-prev {
        left: 12px;
    }

    .choix-slider-next {
        right: 12px;
    }

    .choix-slider-dots {
        bottom: 22px;
        left: 24px;
    }
}
