/* =============================================
   CUSTOM STYLES — modifie ce fichier via FTP
   ============================================= */


/* --- Global -------------------------------------------------------------------------------------------------------------------- */


/* --- Header -------------------------------------------------------------------------------------------------------------------- */

/* Import Oswald */
.alk-header,
.alk-menu,
.alk-drawer {
    font-family: 'Oswald', sans-serif;
}

/* Fix barre admin WP — cible le container Elementor fixed */
.admin-bar .elementor-fixed.header-container {
    top: 32px !important;
}
@media (max-width: 782px) {
    .admin-bar .elementor-fixed.header-container {
        top: 46px !important;
    }
}

/* Layout header */
.alk-header {
    width: 100%;
}
.alk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    height: 80px;
    margin: 0 auto;
}

/* Logo */
div.alk-header-inner a.alk-logo img {
    height: 52px;
    width: auto;
    display: block;
}

/* Menu */
.alk-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.alk-menu li { position: relative; }
.alk-menu li a {
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e8600a;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color .2s;
}
.alk-menu li a:hover,
.alk-menu li.current-menu-item > a,
.alk-menu li.current_page_item > a {
    border-bottom-color: #e8600a;
}
/* Masque les sous-menus natifs */
.alk-menu .sub-menu { display: none !important; }
/* Curseur pointer sur items avec drawer */
.alk-menu li.alk-has-drawer > a { cursor: pointer; }

/* Burger */
.alk-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.alk-burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #e8600a;
    transition: opacity .2s;
}

/* Overlay */
.alk-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity .3s;
}
.alk-overlay.active {
    display: block;
    opacity: 1;
}

/* Drawer — base commune */
.alk-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 540px;
    max-width: 95vw;
    height: 100vh;
    background: #111;
    z-index: 10001;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 30px rgba(0,0,0,.3);
}
.alk-drawer.open { transform: translateX(0); }
.alk-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}
.alk-drawer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #e8600a;
}
.alk-drawer-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    color: #fff;
    opacity: .6;
    transition: opacity .2s;
}
.alk-drawer-close:hover { opacity: 1; }
.alk-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Sous-menu list dans drawer */
.alk-submenu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.alk-submenu-list li a {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: .75rem 1rem;
    border-left: 3px solid transparent;
    transition: color .2s, border-color .2s;
}
.alk-submenu-list li a:hover {
    color: #e8600a;
    border-left-color: #e8600a;
}

/* Cards projets */
.alk-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.alk-card {
    border-radius: 4px;
    overflow: hidden;
    background: #1a1a1a;
    transition: transform .2s, box-shadow .2s;
}
.alk-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232,96,10,.2);
}
.alk-card-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}
.alk-card-img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: #2a2a2a;
}
.alk-card-body { padding: .8rem 1rem 1rem; }
.alk-card-title {
    margin: 0 0 .6rem;
    font-family: 'Oswald', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
}
.alk-card-btn {
    display: inline-block;
    padding: .35rem .9rem;
    border: 1px solid #e8600a;
    border-radius: 2px;
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e8600a;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.alk-card-btn:hover {
    background: #e8600a;
    color: #fff;
}

/* Style Elementor header existant */
.elementor-element-678c9fa0 {
    border-bottom: 1px solid white;
    backdrop-filter: blur(10px) brightness(1.3);
}
.elementor-99 .elementor-element.elementor-element-7a55859e .elementor-nav-menu--main .elementor-item {
    letter-spacing: 0.1vw;
}


/* --- Footer -------------------------------------------------------------------------------------------------------------------- */


/* --- Pages -------------------------------------------------------------------------------------------------------------------- */


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

/* Tablette (max 1024px) */
@media (max-width: 1024px) {

}

/* Mobile (max 900px) */
@media (max-width: 900px) {
    .alk-burger { display: flex; }
    .alk-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #111;
        border-top: 1px solid #333;
        padding: 1rem 2rem 1.5rem;
        z-index: 9989;
    }
    .alk-nav.open { display: block; }
    .alk-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
    .alk-cards-grid { grid-template-columns: 1fr; }
}