/* Logos LirYs / MBONGUI MBONGO */
:root {
    --brand-green: #1a5c38;
    --brand-green-light: #2E8B57;
    --brand-gold: #d4a017;
    --brand-gold-light: #f0c75a;
    --brand-slogan-light: #e8f8ee;
}

.app-logo {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

/* Navbar : icône + nom + slogan */
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    line-height: 1.1;
    text-decoration: none;
    color: inherit;
}

.brand-lockup:hover {
    color: inherit;
    opacity: 0.95;
}

.brand-lockup__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    background: transparent;
}

.brand-lockup__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 0.15rem;
}

.brand-lockup__name {
    display: block;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: #fff;
    line-height: 1;
}

.brand-lockup__y {
    color: var(--brand-gold);
}

.brand-lockup__slogan {
    display: block;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    max-width: 100%;
}

.brand-slogan-word--gold {
    color: var(--brand-gold);
}

.brand-slogan-word--light {
    color: var(--brand-slogan-light);
}

.brand-slogan-sep {
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0.15em;
    font-weight: 400;
}

/* Variante fond clair (connexion, inscription, footer) */
.brand-lockup--on-card .brand-lockup__name {
    color: var(--brand-green);
}

.brand-lockup--on-card .brand-lockup__y {
    color: var(--brand-gold);
}

.brand-lockup--on-card .brand-slogan-word--gold {
    color: var(--brand-gold);
}

.brand-lockup--on-card .brand-slogan-word--light {
    color: var(--brand-green-light);
}

.brand-lockup--on-card .brand-slogan-sep {
    color: rgba(26, 92, 56, 0.35);
}

.brand-lockup--centered {
    justify-content: center;
}

.brand-lockup--centered .brand-lockup__text {
    align-items: center;
}

.brand-lockup--lg .brand-lockup__icon {
    width: 64px;
    height: 64px;
}

.brand-lockup--lg .brand-lockup__name {
    font-size: 1.75rem;
}

.brand-lockup--lg .brand-lockup__slogan {
    font-size: 0.62rem;
}

/* Cartes « Pourquoi nous choisir » — icône module compacte */
.feature-card--module {
    text-align: left;
}

.feature-module-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.feature-module-head__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.feature-module-head__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-green);
    line-height: 1.25;
}

/* Institution / footer */
.org-logo-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-logo--mbongui {
    height: 80px;
    width: auto;
    max-width: 200px;
}

/* Mbogi : icône robot seule */
.app-logo--mbogi {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    flex-shrink: 0;
}

.mbogi-header .app-logo--mbogi {
    width: 40px;
    height: 40px;
    padding: 4px;
}

.connexion-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.brand-lockup--compact .brand-lockup__slogan {
    display: none;
}

.brand-lockup--compact .brand-lockup__name {
    font-size: 1.15rem;
}

.brand-lockup--compact .brand-lockup__icon {
    width: 36px;
    height: 36px;
}

@media (max-width: 576px) {
    .brand-lockup__slogan {
        font-size: 0.45rem;
        letter-spacing: 0.05em;
    }

    .brand-lockup__icon {
        width: 38px;
        height: 38px;
    }

    .brand-lockup__name {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    .brand-lockup__slogan {
        font-size: 0.56rem;
        letter-spacing: 0.1em;
    }
}
