/* =========================================================
   BARRE LATÉRALE DES PAGES SECONDAIRES (À propos…)
   Même apparence que celle de l'espace client. PC uniquement.
========================================================= */
.barre-laterale{ display: none; }

@media (min-width: 901px){
    body{ padding-left: 220px; }

    .barre-laterale{
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 50;
        width: 220px;
        display: flex;
        flex-direction: column;
        padding: 16px 12px 18px;
        overflow-y: auto;
        background: #0b0b0b;
        font-family: Arial, Helvetica, sans-serif;
        text-align: left;
    }
    .barre-laterale svg{
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bl-logo{
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 4px 22px;
        text-decoration: none;
    }
    .bl-logo img{
        width: 40px;
        height: 40px;
        padding: 2px;
        border-radius: 9px;
        background: #fff;
        object-fit: contain;
    }
    .bl-logo span{
        color: #fff;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }
    .bl-logo b{ display: block; font-size: 15px; }
    .bl-logo em{ color: #ff6a13; font-style: normal; }

    .bl-menu{
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 3px;
        margin: 0;
        padding: 0;
    }
    .bl-menu a{
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 12px;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        border-radius: 9px;
        transition: background 0.2s ease;
    }
    .bl-menu a:hover{ background: rgba(255,255,255,0.08); }
    .bl-menu a.actif{ background: #ff5e00; font-weight: 600; }
    .bl-menu svg{ width: 19px; height: 19px; flex: none; }

    .bl-promo{
        margin-top: auto;
        padding: 28px 4px 0;
        color: #fff;
    }
    .bl-promo-haut{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .bl-promo-ico{
        flex: none;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        color: #ff5e00;
        border: 1.5px solid #ff5e00;
        border-radius: 8px;
    }
    .bl-promo-ico svg,
    .bl-promo-btn svg{ width: 18px; height: 18px; }
    .bl-promo-haut p{ margin: 0; font-size: 13.5px; line-height: 1.3; }
    .bl-promo-haut b{ display: block; }
    .bl-promo-haut em{ display: block; color: #ff5e00; font-style: normal; font-weight: 700; }
    .bl-promo-texte{
        margin: 12px 0 14px;
        font-size: 12.5px;
        line-height: 1.45;
        color: rgba(255,255,255,0.85);
    }
    .bl-promo-btn{
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 7px 12px;
        color: #ff5e00;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        border: 1.5px solid #ff5e00;
        border-radius: 6px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .bl-promo-btn:hover{ background: #ff5e00; color: #fff; }
}


.bl-menu li[hidden]{ display: none; }
@media (min-width: 901px){
    .bl-menu a.bl-admin{
        color: #ffc832;
        border: 1px solid rgba(255,200,50,0.35);
    }
    .bl-menu a.bl-admin:hover{ background: #ffc832; color: #000; }
}

/* Page À propos sur PC : le carrousel ne touche plus la barre latérale */
@media (min-width: 901px){
    .hero-slider{
        width: auto;
        margin: 16px 24px 0;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }
}


/* =========================================================
   À PROPOS — TÉLÉPHONE ET TABLETTE
========================================================= */
.bas-nav,
.h1-logo{ display: none; }

@media (max-width: 900px){
    body{ padding-bottom: calc(64px + env(safe-area-inset-bottom)); font-family: "Segoe UI", Arial, Helvetica, sans-serif; }
    header{
        background: #000;
        border-bottom: 3px solid #ff5e00;
    }
    header h1{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 0;
        padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
        border-top: 0;
        color: #fff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 17px;
        font-weight: 800;
        letter-spacing: .5px;
    }
    .h1-logo{
        display: block;
        width: 34px;
        height: 30px;
        padding: 1px;
        object-fit: contain;
        background: #fff;
        border-radius: 7px;
    }

    .bas-nav{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: flex;
        background: #fff;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        padding-bottom: env(safe-area-inset-bottom);
        font-family: Arial, Helvetica, sans-serif;
    }
    .bas-nav a{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 56px;
        padding: 6px 2px;
        color: #222;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
    }
    .bas-nav svg{
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .bas-nav a:active{ color: #ff5e00; }
}
