/* =========================================================
   AK AGENCY — BRAND LOGO V1
   Nouveau monogramme AK + identité uppercase
   ========================================================= */


/* ---------------------------------------------------------
   HEADER DESKTOP + MENU MOBILE
   --------------------------------------------------------- */

.ak-global-header-widget .ak-site-header .ak-brand,
.ak-global-header-widget .ak-mobile-menu .ak-brand,
.ak-site-header .ak-brand,
.ak-mobile-menu .ak-brand,
.ak-header__brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 11px !important;

    width: max-content !important;
    min-width: 0 !important;

    color: #fff !important;
    text-decoration: none !important;
}


/* Masque l'ancien carré AK + ancien texte AGENCY */

.ak-global-header-widget .ak-site-header .ak-brand-mark,
.ak-global-header-widget .ak-site-header .ak-brand-name,
.ak-global-header-widget .ak-mobile-menu .ak-brand-mark,
.ak-global-header-widget .ak-mobile-menu .ak-brand-name,
.ak-site-header .ak-brand-mark,
.ak-site-header .ak-brand-name,
.ak-mobile-menu .ak-brand-mark,
.ak-mobile-menu .ak-brand-name,
.ak-header__brand .ak-header__logo,
.ak-header__brand .ak-header__name {
    display: none !important;
}


/* Nouveau monogramme */

.ak-global-header-widget .ak-site-header .ak-brand::before,
.ak-global-header-widget .ak-mobile-menu .ak-brand::before,
.ak-site-header .ak-brand::before,
.ak-mobile-menu .ak-brand::before,
.ak-header__brand::before {
    content: "" !important;

    display: block !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;

    background:
        url("../images/brand/ak-agency-icon-160.webp?ver=1788647704")
        center / contain
        no-repeat !important;
}


/* Nouveau nom de marque */

.ak-global-header-widget .ak-site-header .ak-brand::after,
.ak-global-header-widget .ak-mobile-menu .ak-brand::after,
.ak-site-header .ak-brand::after,
.ak-mobile-menu .ak-brand::after,
.ak-header__brand::after {
    content: "AK AGENCY" !important;

    display: block !important;

    color: #fff !important;

    font-family:
        var(
            --e-global-typography-primary-font-family,
            Arial,
            sans-serif
        ) !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    letter-spacing: .13em !important;
    white-space: nowrap !important;
}


/* ---------------------------------------------------------
   FOOTER V2 ACTUEL
   --------------------------------------------------------- */

.ak-footer-v2__brand {
    display: block !important;

    width: 255px !important;
    max-width: 100% !important;
    height: 82px !important;

    position: relative !important;

    text-decoration: none !important;
}

.ak-footer-v2__logo,
.ak-footer-v2__brand-name {
    display: none !important;
}

.ak-footer-v2__brand::before {
    content: "" !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    background:
        url("../images/brand/ak-agency-logo-white-768.webp?ver=1788647704")
        left center / contain
        no-repeat !important;
}


/* ---------------------------------------------------------
   COMPATIBILITE ANCIEN FOOTER
   --------------------------------------------------------- */

.ak-footer-v1__brand,
.ak-footer-brand {
    display: block !important;

    width: 255px !important;
    max-width: 100% !important;
    height: 82px !important;

    position: relative !important;
}

.ak-footer-v1__brand .ak-footer-v1__logo,
.ak-footer-v1__brand .ak-footer-v1__brand-name,
.ak-footer-brand .ak-brand-mark,
.ak-footer-brand .ak-brand-name {
    display: none !important;
}

.ak-footer-v1__brand::before,
.ak-footer-brand::before {
    content: "" !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    background:
        url("../images/brand/ak-agency-logo-white-768.webp?ver=1788647704")
        left center / contain
        no-repeat !important;
}


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

@media (max-width: 767px) {

    .ak-global-header-widget .ak-site-header .ak-brand,
    .ak-global-header-widget .ak-mobile-menu .ak-brand,
    .ak-site-header .ak-brand,
    .ak-mobile-menu .ak-brand,
    .ak-header__brand {
        gap: 8px !important;
    }

    .ak-global-header-widget .ak-site-header .ak-brand::before,
    .ak-global-header-widget .ak-mobile-menu .ak-brand::before,
    .ak-site-header .ak-brand::before,
    .ak-mobile-menu .ak-brand::before,
    .ak-header__brand::before {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    .ak-global-header-widget .ak-site-header .ak-brand::after,
    .ak-global-header-widget .ak-mobile-menu .ak-brand::after,
    .ak-site-header .ak-brand::after,
    .ak-mobile-menu .ak-brand::after,
    .ak-header__brand::after {
        font-size: 11px !important;
        letter-spacing: .11em !important;
    }

    .ak-footer-v2__brand,
    .ak-footer-v1__brand,
    .ak-footer-brand {
        width: 220px !important;
        height: 73px !important;
    }
}


/* Très petits téléphones */

@media (max-width: 390px) {

    .ak-global-header-widget .ak-site-header .ak-brand::after,
    .ak-site-header .ak-brand::after,
    .ak-header__brand::after {
        font-size: 10px !important;
        letter-spacing: .08em !important;
    }

    .ak-global-header-widget .ak-site-header .ak-brand::before,
    .ak-site-header .ak-brand::before,
    .ak-header__brand::before {
        width: 35px !important;
        height: 35px !important;
        flex-basis: 35px !important;
    }
}

/* AK AGENCY AKV2 HEADER LOGO V2 START */

/* =========================================================
   HEADER AKV2 ACTUEL
   ========================================================= */

.ak-elementor-header-shell .akv2-brand,
.akv2-header .akv2-brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 11px !important;

    width: max-content !important;
    min-width: 0 !important;

    color: #fff !important;
    text-decoration: none !important;
}


/* On retire l'ancien carré AK + texte AGENCY */

.ak-elementor-header-shell .akv2-brand__mark,
.ak-elementor-header-shell .akv2-brand__name,
.akv2-header .akv2-brand__mark,
.akv2-header .akv2-brand__name {
    display: none !important;
}


/* Nouveau monogramme officiel */

.ak-elementor-header-shell .akv2-brand::before,
.akv2-header .akv2-brand::before {
    content: "" !important;

    display: block !important;

    width: 49px !important;
    height: 49px !important;
    flex: 0 0 49px !important;

    background-image:
        url("../images/brand/ak-agency-icon-160.webp?ver=1788647704") !important;

    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}


/* AK AGENCY en majuscules */

.ak-elementor-header-shell .akv2-brand::after,
.akv2-header .akv2-brand::after {
    content: "AK AGENCY" !important;

    display: block !important;

    color: #fff !important;

    font-family:
        var(
            --e-global-typography-primary-font-family,
            Arial,
            sans-serif
        ) !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    letter-spacing: .13em !important;

    white-space: nowrap !important;
}


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

@media (max-width: 980px) {

    .ak-elementor-header-shell .akv2-brand,
    .akv2-header .akv2-brand {
        gap: 8px !important;
    }

    .ak-elementor-header-shell .akv2-brand::before,
    .akv2-header .akv2-brand::before {
        width: 39px !important;
        height: 39px !important;
        flex-basis: 39px !important;
    }

    .ak-elementor-header-shell .akv2-brand::after,
    .akv2-header .akv2-brand::after {
        font-size: 11px !important;
        letter-spacing: .11em !important;
    }
}


/* Très petits écrans */

@media (max-width: 390px) {

    .ak-elementor-header-shell .akv2-brand::before,
    .akv2-header .akv2-brand::before {
        width: 35px !important;
        height: 35px !important;
        flex-basis: 35px !important;
    }

    .ak-elementor-header-shell .akv2-brand::after,
    .akv2-header .akv2-brand::after {
        font-size: 10px !important;
        letter-spacing: .08em !important;
    }
}

/* AK AGENCY AKV2 HEADER LOGO V2 END */

/* =========================================================
   AK AGENCY — MOBILE LOGO CONTRAST BOOST V1
   ========================================================= */

@media (max-width: 980px) {
    .ak-elementor-header-shell .akv2-brand::before,
    .akv2-header .akv2-brand::before,
    .ak-site-header .ak-brand::before,
    .ak-mobile-menu .ak-brand::before,
    .ak-header__brand::before {
        filter:
            brightness(1.35)
            saturate(1.18)
            drop-shadow(0 0 10px rgba(255,255,255,.10))
            drop-shadow(0 0 8px rgba(37,99,235,.18));
    }
}

/* AK MOBILE MENU SOURCE CLEAN V8 START */

/* Logo hamburger : image horizontale unique */

.akv2-mobile-menu .akv2-mobile-brand {
    display: block !important;

    width: 150px !important;
    max-width: 44vw !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    text-decoration: none !important;
}


.akv2-mobile-menu .akv2-mobile-brand::before,
.akv2-mobile-menu .akv2-mobile-brand::after {
    content: none !important;
    display: none !important;
}


.akv2-mobile-menu .akv2-mobile-brand__full-logo {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain !important;

    filter: none !important;
}


/* Chevron navigation */

.akv2-mobile-nav__chevron {
    display: block;

    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    fill: none;

    stroke: rgba(255,255,255,.72);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform .18s ease,
        stroke .18s ease;
}


.akv2-mobile-nav a:hover
.akv2-mobile-nav__chevron,
.akv2-mobile-nav a:focus
.akv2-mobile-nav__chevron {
    stroke: #fff;
    transform: translateX(2px);
}


@media (max-width: 390px) {

    .akv2-mobile-menu .akv2-mobile-brand {
        width: 140px !important;
    }

}

/* AK MOBILE MENU SOURCE CLEAN V8 END */
