/* ZukoMail : base de mise en page reprise du layout ZUKO (menu latéral,
   en-tête téléphone). Chargée avant zuko-ui.css et zuko-mobile.css, qui
   apportent la charte (couleurs, cartes, boutons, mode nuit, mobile). */

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/nunito-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --nj-blue: #003366;
    --nj-yellow: #FFD700;
    --nj-accent: #FFD700;
}

*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; }

.sidebar {
    position: fixed;
    left: 0;
    width: 280px;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform .3s ease;
}
.main-content { margin-left: 280px; padding: 40px; }

.nav-link-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 3px;
    border-radius: 6px;
    font-size: .87rem;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    background: none;
    border: 0;
    width: 100%;
    text-align: left;
}
.nav-link-custom i { width: 16px; text-align: center; flex-shrink: 0; }
.nav-section-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 6px; padding: 0 4px; }

.mobile-topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    background: var(--nj-blue);
    z-index: 1050;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
}

@media (max-width: 768px) {
    .mobile-topbar { display: flex; }
    .sidebar { transform: translateX(-100%); width: 280px; box-shadow: 4px 0 20px rgba(0, 0, 0, .3); }
    .sidebar.active { transform: translateX(0); }
    .main-content { margin-left: 0 !important; padding: 76px 16px 24px; overflow-x: hidden; }
    .sidebar-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 1048; display: none; }
    .sidebar-overlay.active { display: block; }
}
@media (min-width: 769px) {
    .mobile-topbar { display: none !important; }
}
