/*
 * Layout et structure
 * Navigation, WPBakery, header, footer historique et back-office.
 * Author: EcareWeb
 * 2026
 */

/* Navigation / menus / sous-menus */

/* Menu principal The7 */
.main-nav > li > a .menu-text {
    font-family: "BISON", Arial, sans-serif !important;
    letter-spacing: 0.7px;
}

.masthead:not(.side-header) .main-nav {
    align-items: flex-start !important;
}

.masthead:not(.side-header) .main-nav > li {
    display: flex !important;
    align-items: flex-start !important;
}

.masthead:not(.side-header) .main-nav > li > a {
    display: flex !important;
    align-items: flex-start !important;
    height: 100% !important;
}

.masthead:not(.side-header) .main-nav > li > a.mega-menu-img-top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.masthead:not(.side-header) .main-nav > li > a .menu-text {
    display: block !important;
    line-height: 1 !important;
}


/* Sous-menus */
.sub-nav .menu-item i.fa,
.sub-nav .menu-item i.fas,
.sub-nav .menu-item i.far,
.sub-nav .menu-item i.fab {
    text-align: center;
    width: 1.25em;
}


/* WPBakery / layout / colonnes */
.vc_col-has-fill > .vc_column-inner,
.vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner,
.vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner,
.vc_row-has-fill > .vc_column_container > .vc_column-inner {
    padding-top: 0;
}

.vc_column_container > .vc_column-inner {
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}


/* Header / branding */
.mobile-branding a img {
    width: 120px;
}


/* Footer */
.footer .footer-title,
#footer .footer-title,
.footer .textwidget .footer-title,
.footer .widget .footer-title,
#footer .textwidget .footer-title,
#footer .widget .footer-title {
    font-family: 'Bison', Arial, sans-serif !important;
    font-size: var(--fs-footer-title) !important;
    font-weight: 400 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.3px !important;
    color: var(--color-white) !important;
    margin: 0 0 18px 0 !important;
}

.footer .footer-text,
#footer .footer-text,
.footer .footer-text p,
#footer .footer-text p,
.footer .footer-text a,
#footer .footer-text a,
.footer .footer-text li,
#footer .footer-text li,
.footer .textwidget .footer-text,
#footer .textwidget .footer-text {
    font-family: var(--font-main) !important;
    font-size: var(--fs-footer) !important;
    font-weight: var(--fw-normal) !important;
    line-height: 1.5 !important;
    color: var(--color-white) !important;
    text-decoration: none !important;
}

.footer .footer-text p,
#footer .footer-text p {
    margin: 0 0 10px 0 !important;
}

.footer .footer-text p:last-child,
#footer .footer-text p:last-child {
    margin-bottom: 0 !important;
}

.footer .footer-text a:hover,
#footer .footer-text a:hover {
    color: var(--color-white) !important;
    text-decoration: underline !important;
}

/* Bloc footer credit — pilule conception site */

.gs-footer-credit-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 22px auto 0;
    text-align: center;
}

.gs-footer-credit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    max-width: 100%;
    padding: 8px 15px;

    background: rgba(247, 243, 238, 0.08);
    border: 1px solid rgba(247, 243, 238, 0.18);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.78) !important;
    font-family: var(--font-main) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.gs-footer-credit-pill:hover {
    background: rgba(244, 136, 48, 0.14);
    border-color: rgba(244, 136, 48, 0.34);
    color: #ffffff !important;
    text-decoration: none !important;

    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
}

.gs-footer-credit-label {
    opacity: 0.72;
}

.gs-footer-credit-name {
    color: #f4a45c;
    font-weight: 700;
    letter-spacing: 0.15px;
}

.gs-footer-credit-pill:hover .gs-footer-credit-name {
    color: #f7c27e;
}

@media (max-width: 767px) {
    .gs-footer-credit-wrap {
        margin-top: 18px;
    }

    .gs-footer-credit-pill {
        flex-wrap: wrap;
        gap: 5px;
        padding: 8px 13px;
        font-size: 11px !important;
    }
}

/* Admin / back-office */
.vc_ui-panel-window,
.vc_ui-panel.vc_active .vc_ui-panel-window,
#vc_ui-panel-edit-element.vc_ui-panel-window {
    left: 50% !important;
    right: auto !important;
    margin-left: 0 !important;
    transform: translateX(-50%) !important;
    max-width: calc(100vw - 80px) !important;
    box-sizing: border-box !important;
}
