body{
    background: image-set(url('images/body_back.png') 1x, url('images/body_back@x2.png') 2x) no-repeat top center #173970;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6{ font-weight: normal; }

#container{
    width: 1000px;
    margin: 0 auto;
}

#container > header{
    width: 960px; height: 305px;
    padding: 0 20px;
}

    #container > header h1{
        position: absolute;
        width: 650px;
        font-size: 2.9375rem;
        letter-spacing: -3px;
        margin: 0 0 0 300px;
        z-index: 10;
    }
        #container h1 a{
            color: #fff;
            text-shadow: 1px 1px 0 #1f2327;
            display: block;
            max-width: 980px;
        }
    #header-image{
        width : 940px;
        height: 260px;
        position: absolute;
        margin: 157px 0 0 8px;
    }

#mobile-menu-toggle,
#mobile-menu-panel {
    display: none;
}

#menu{
    position: absolute;
    width: 938px; height: 40px;
    font-size: 0.75rem;
    padding: 12px 32px 0 30px;
    top: 95px;
}
    #menu h3{
        display: none;
    }
    #menu .placeholder{
        height: 40px;
    }
    #menu-top-wrapper{
        display: flex;
    }
    #menu ul{
        display: flex;
        height: 50px;
        overflow: hidden;
    }
    
    #menu li {
        height: 40px;
        padding: 0 40px 10px 50px;
        background: image-set(url('images/menu_top_item.png') 1x, url('images/menu_top_item@x2.png') 2x) no-repeat bottom left transparent;
    }
        #menu li a {
            text-shadow: 1px 1px 0 #1f2327;
            color: #fff;
        }

#content .inner{
    display: grid;
    grid-template-columns: auto 1fr auto;
}

#navigation-main{
    order: 0;
    margin: -100px 0 0 0;
    padding: 280px 0 0;
    width: 340px;
    background: image-set(url('images/menu_watermark.png') 1x, url('images/menu_watermark@x2.png') 2x) no-repeat top left;
    color: #fff;
}
#navigation-sec{
    order: 2;
    color: #fff;
    max-width: 240px;
}
    #navigation-sec aside .block{
        padding: 15px 0 15px 0;
        width: 210px;
    }
aside{
    max-width: 340px;
}
    aside .placeholder{
        width: 340px;
    }
    aside .block{
        width: 200px;
        padding: 15px 0 15px 30px;
        font-size: 0.71875rem;
    }
    #navigation-sec .block{
        padding: 15px 0
    }
    aside h3{
        height: 30px;
        padding: 20px 0 0 50px;
        color: #a4c1ef;
        font-size: 0.8125rem;
        background: image-set(url('images/menu_title.png') 1x, url('images/menu_title@x2.png') 2x) no-repeat top left;
    }
    
    aside .menu-content{
        padding: 0 0 0 30px;
    }
    
    aside .block > ul{
        padding: 0 0 0 10px;
    }
        aside .block > ul > li{
            display: block;
            padding: 5px 0 5px 18px;
            background: image-set(url('images/menu_bullet.png') 1x, url('images/menu_bullet@x2.png') 2x) no-repeat center left;
        }
            aside .block > ul > li a{
                display: block;
                padding: 5px 0;
            }
            aside .block > ul > li a:hover{
                background: #0C192F;
                border-radius: 6px;
                margin: 0 0 0 -25px;
                padding: 5px 0 5px 25px;
            }
    
    aside a{ color: #fff; }

    aside .phorm label {
        color: #fff;
    }


hgroup h1{
    font-size: 2.625rem;
    color: #92b7eb;
    text-shadow: 4px 2px 0 #193054;
    letter-spacing: -2px;
    padding: 0 85px 0 0;
    text-align: right;
}

article{
    order: 1;
    margin: 0 10px;
    font-size: 0.75rem;
    color: #fff;
}
    .no-menu article{
        margin: 0 10px 0 40px;
        padding: 80px 0 0 0;
    }
    .no-menu-main article{
        margin: 0 10px 0 40px;
        padding: 0;
    }
    .no-menu-sec article{
        padding: 30px 40px 0 0;
    }
    
    article a{
        color: #92b7eb;
        border-bottom: 1px dashed #fff;
    }
    article section h1, article section h2{
        color: #fff;
        font-size: 1rem;
        letter-spacing: 1px;
        padding: 0 0 9px 0;
        margin: 10px 0 15px 0;
        background: image-set(url('images/title_back.png') 1x, url('images/title_back@x2.png') 2x) no-repeat bottom left;
    }
        .no-menu article section h1, .no-menu article section h2{ width: 920px; }
    
    article p, article dl{
        text-align: justify;
        line-height: 22px;
        padding: 10px 0;
    }
    article table{
        border: 1px solid #92b7eb;
        border-width: 1px 0 0 2px;
        margin: 15px 0;
    }
        article table td{
            padding: 4px;
            border: 1px solid #92b7eb;
            border-width: 0 1px 1px 0;
        }

    article > ul, article ol{
        padding: 5px 0 5px 20px;
    }
        article > ul li{ padding: 4px 0; list-style-type: disc; }
        article ol li{ padding: 3px 0; list-style-type: decimal; }
    
    article dl{
        line-height: 1.50;
    }   
        article dt{ color: #92b7eb; }
        article dd{ padding: 5px 0 5px 20px; }
    
    article blockquote{
        border: 1px solid #92b7eb;
        border-width: 1px 1px 1px 5px;
        color: #fff;
        line-height: 1.50;
        padding: 10px;
        margin: 10px 0;
    }
    
    article hr {
        background-color: #fff;
    }
    
#footer{
    height: 73px;
    padding: 80px 0 0 0;
    margin: 60px 0 0 0;
    background: image-set(url('images/footer_back.png') 1x, url('images/footer_back@x2.png') 2x) no-repeat bottom center transparent;
}
    #footer p{
        width: 900px;
        margin: 0 auto;
        font-size: 0.71875rem;
        color: #fff;
    }
    #footer a{
        color: #92b7eb;
        border-bottom: 1px dashed #fff;
        line-height: 17px;
    }

/* --- Styles Mobile (Breakpoint) --- */
@media (max-width: 950px) {
	body {
		background-position: center -160px;
	}

    /* 1. Global Reset & Layout */
    #container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* 2. Header and Banner Adjustments */
    #container > header {
        width: auto;
        height: auto;
        padding: 0;
        background: none;
    }

    #container > header h1 {
        font-size: 2rem;
        letter-spacing: normal;
        margin: 0;
        width: 100%;
        text-align: center;
        line-height: 1.2;
		top: 60px;
		left: 0;
    }
    
    #header-image {
        width: 100%;
        position: relative;
        margin: 0;
        top: auto;
    }
    
    #menu,
    #navigation-main,
    #navigation-sec {
        display: none;
    }

    /* 3. Mobile Menu Toggle Button */
    #mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background: #92b7eb; /* Couleur de lien/mise en évidence */
        border: none;
        border-radius: 3px;
        cursor: pointer;
    }

    #mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #173970; /* Couleur de fond sombre */
        margin: 5px auto;
        transition: transform 0.3s, opacity 0.3s;
    }

    body.nav-open #mobile-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open #mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    body.nav-open #mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 4. Mobile Menu Panel (Hidden by default) */
    #mobile-menu-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #173970; /* Couleur de fond du body */
        z-index: 1000;
        overflow-y: auto;
        padding: 70px 20px 20px;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    body.nav-open #mobile-menu-panel {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
    }

    /* 5. Content Area */
    #content .inner {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    article {
        width: auto !important;
        padding: 15px 10px;
        margin: 0;
        order: 0; 
    }
    .no-menu article, .no-menu-main article, .no-menu-sec article {
        margin: 0;
        padding: 15px 0;
    }
    
    article section h1, article section h2{
        background: none;
        padding-bottom: 5px;
        margin-bottom: 10px;
        border-bottom: 1px solid #92b7eb;
    }

    /* 6. Sidebar/Menu Blocks in Mobile Panel */
    #mobile-menu-panel {
        width: 100%;
        max-width: 100%;
        color: #fff;
    }
    #mobile-menu-panel .block {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        background: #0C192F;
		box-sizing: border-box;
    }
    #mobile-menu-panel .placeholder{ width: 100%; }
    
    #mobile-menu-panel h3{
        height: auto;
        padding: 10px 0 10px 15px;
        font-size: 1rem;
        background: #92b7eb; /* Couleur de lien/mise en évidence */
        color: #173970;
    }
    
    #mobile-menu-panel .menu-content, #mobile-menu-panel .block > ul{
        padding: 10px 0;
        background: none;
    }
    
    #mobile-menu-panel .block > ul > li{
        background: none;
        padding: 5px 0 5px 10px;
    }
    
    #mobile-menu-panel a{
        color: #92b7eb;
        padding: 5px 0;
    }
    #mobile-menu-panel .block > ul > li a:hover{
        background: #173970;
        padding: 5px 0 5px 15px;
        margin: 0 0 0 -10px;
    }

    /* 7. Footer */
    #footer {
        width: 100%;
		height: auto;
        padding: 20px 0;
        margin: 0;
		background-position-y: -57px;
    }
    #footer p{
        width: auto;
        margin: 0;
        text-align: center;
    }
}