/* =========================================================
   LOGO / IDENTITÉ NAVIGATION PBEEL-GL
   ========================================================= */

.brand-pbeel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid rgba(13, 110, 253, 0.12);
    box-shadow: 0 5px 18px rgba(13, 110, 253, 0.12);
    transition: all .3s ease;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-pbeel:hover .brand-logo {
    transform: translateY(-2px) rotate(-2deg);
    box-shadow: 0 8px 22px rgba(13, 110, 253, 0.18);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #0d6efd;
}

.brand-text span {
    font-size: 10px;
    font-weight: 600;
    color: #45556b;
    text-transform: uppercase;
    letter-spacing: .25px;
    white-space: nowrap;
}

.brand-text small {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 800;
    color: #13a8c7;
    letter-spacing: 1px;
}


/* Petit effet lumineux */

.brand-logo::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #13c6e8;
    top: 1px;
    left: 50px;
    box-shadow: 0 0 0 4px rgba(19,198,232,.12);
    animation: brandPulse 2s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.35);
        opacity: 1;
    }
}


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

@media (max-width: 1199px) {

    .brand-text span {
        display: none;
    }

    .brand-text strong {
        font-size: 19px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .brand-logo {
        width: 54px;
        height: 54px;
    }
}


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

@media (max-width: 991px) {

    .brand-pbeel {
        gap: 9px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        padding: 4px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text span {
        display: none;
    }

    .brand-text small {
        font-size: 7px;
        letter-spacing: .7px;
        margin-top: 3px;
    }

    .brand-logo::after {
        width: 7px;
        height: 7px;
        left: 41px;
        top: 1px;
    }
}


/* =========================================================
   TRÈS PETITS ÉCRANS
   ========================================================= */

@media (max-width: 400px) {

    .brand-logo {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text small {
        font-size: 6.5px;
    }

    .brand-logo::after {
        left: 37px;
    }
}

/* =========================================================
   ESPACEMENT ENTRE LE LOGO ET LE MENU
   ========================================================= */

.header .container {
    gap: 35px;
}

.brand-pbeel {
    margin-right: auto;
}

/* Navigation bien séparée du bloc logo */
.header .navmenu {
    margin-left: 30px;
}

/* Écrans larges */
@media (min-width: 1200px) {
    .header .container {
        gap: 45px;
    }

    .header .navmenu {
        margin-left: 20px;
    }
}

/* Écrans moyens */
@media (max-width: 1199px) and (min-width: 992px) {
    .header .container {
        gap: 25px;
    }

    .header .navmenu {
        margin-left: 15px;
    }
}

/* Tablettes et mobiles */
@media (max-width: 991px) {
    .header .container {
        gap: 0;
    }

    .header .navmenu {
        margin-left: 0;
    }
}