/* UNIVGA — Ulanga, calé sur /apropos/ et /reconnaissance/ */
#univga-auria-portal {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    background:
        radial-gradient(ellipse 70% 40% at 10% 20%, rgba(245, 176, 66, .08), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 80%, rgba(22, 58, 138, .07), transparent 55%),
        linear-gradient(180deg, #eef1f8 0%, #f7f8fc 36%, #fff 100%);
    padding-bottom: 72px;
}
body:has(#univga-auria-portal) .title_single_area,
body:has(#univga-auria-portal) .breadcrumb,
body:has(#univga-auria-portal) .post-meta { display: none !important; }

#univga-auria-portal *,
#univga-auria-portal *::before,
#univga-auria-portal *::after { box-sizing: border-box; }

#univga-auria-portal .uab-hero { padding: 100px 24px 120px; }
#univga-auria-portal .uab-hero__inner { max-width: 1100px; }
#univga-auria-portal .uab-hero__title {
    white-space: normal;
    font-size: clamp(1.35rem, 4vw, 3.1rem);
}
#univga-auria-portal .uab-hero__sub {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ual-present {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 56px 0 32px;
    padding: 0 clamp(24px, 5vw, 80px);
    box-sizing: border-box;
}
.ual-present__text {
    min-width: 0;
}
.ual-present__text .uab-label { margin-bottom: 14px; }
.ual-present__text h2 {
    margin: 0 0 22px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #0b1e4d;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.ual-present__text p {
    margin: 0 0 22px;
    color: #3d4660;
    font-size: 1.22rem;
    line-height: 1.9;
    max-width: none;
    text-align: justify;
    hyphens: none;
}
.ual-present__text p:last-child { margin-bottom: 0; }
.ual-present__text strong { color: #0b1e4d; font-weight: 700; }
.ual-present__map {
    margin: 0;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    justify-self: end;
    background: transparent;
}
.ual-present__map img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
}

@media (max-width: 860px) {
    .ual-present {
        grid-template-columns: 1fr;
        margin-top: 40px;
        padding: 0 20px;
    }
    .ual-present__map {
        max-width: 480px;
        width: 100%;
        margin: 0 auto;
    }
}

.ual-process {
    grid-template-columns: repeat(3, minmax(0, 372px));
    justify-content: center;
    justify-items: stretch;
    max-width: none;
    width: 100%;
    margin: 28px auto 8px;
    box-sizing: border-box;
}

.ual-panel {
    max-width: 1080px;
    margin: 0 auto 48px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    box-shadow: 0 18px 50px -24px rgba(11, 30, 77, .35);
    position: relative;
    overflow: hidden;
}
.ual-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5b042, #e89a1e);
}

.ual-field-label {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5b6578;
}
.ual-langs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.ual-lang-btn {
    appearance: none;
    border: 1px solid #d7dce8;
    background: #fff;
    border-radius: 12px;
    padding: 12px 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: #0b1e4d;
    text-align: center;
}
.ual-lang-btn.is-on {
    border-color: #e89a1e;
    background: #fff8eb;
    box-shadow: 0 0 0 3px rgba(245, 176, 66, .18);
}
@media (min-width: 640px) {
    .ual-langs { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 900px) {
    .ual-langs { grid-template-columns: repeat(7, 1fr); }
}
.ual-ident {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.ual-ident-btn {
    appearance: none;
    border: 1px solid #d7dce8;
    background: #fff;
    border-radius: 12px;
    padding: 14px 12px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: #0b1e4d;
    text-align: center;
}
.ual-ident-btn.is-on {
    border-color: #e89a1e;
    background: #fff8eb;
    box-shadow: 0 0 0 3px rgba(245, 176, 66, .18);
}
.ual-field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.ual-field label {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5b6578;
}
.ual-field input,
.ual-field textarea {
    width: 100%;
    border: 1px solid #d7dce8;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: #0f172a;
    background: #fff;
}
.ual-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.ual-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #5b6578;
    font-size: .95rem;
    margin: 16px 0;
}
.ual-err { color: #8a2e28; min-height: 1.2em; font-size: .9rem; }
.ual-ok { color: #1f5c48; min-height: 1.2em; font-size: .9rem; }
.ual-hidden { display: none !important; }

.ual-mods {
    width: 100%;
    margin: 0 auto 48px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    box-sizing: border-box;
}
.ual-mod {
    text-align: left;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    padding: 18px 16px;
    cursor: pointer;
    box-shadow: 0 18px 50px -24px rgba(11, 30, 77, .28);
    position: relative;
    overflow: hidden;
    font: inherit;
    color: inherit;
}
.ual-mod::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5b042, #e89a1e);
}
.ual-mod .n {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e89a1e;
    font-weight: 800;
}
.ual-mod h3 {
    margin: 8px 0 6px;
    font-size: 1.15rem;
    color: #0b1e4d;
}
.ual-mod p { margin: 0; color: #5b6578; font-size: .92rem; }
.ual-bar { height: 4px; background: #eef1f8; margin: 12px 0 8px; }
.ual-bar > i { display: block; height: 100%; background: #0b1e4d; width: 0; }
.ual-mod .count { font-size: .8rem; color: #5b6578; }

.ual-studio-bar {
    width: 100%;
    margin: 0 auto 8px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}
#ual-home, #ual-studio {
    scroll-margin-top: 150px;
    padding-top: 28px;
}
.ual-speak {
    text-align: center;
    margin: 4px auto 28px;
    padding: 8px 24px 0;
}
.ual-speak__title {
    margin: 0;
    font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: #0b1e4d;
}
.ual-speak__title::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, #f5b042, transparent);
    border-radius: 999px;
}
.ual-speak__title em {
    display: inline-block;
    font-style: italic;
    font-weight: 600;
    padding-right: .14em;
    letter-spacing: 0;
    background: linear-gradient(135deg, #f5b042 0%, #e89a1e 52%, #c98a22 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.ual-speak__hint {
    margin: 14px 0 0;
    font-size: 1.05rem;
    color: #5b6578;
    letter-spacing: .01em;
}
#ual-studio .urc-kicker {
    display: block;
    width: 100%;
    margin: 8px auto 16px;
    padding: 0 clamp(24px, 4vw, 64px);
    text-align: left;
    box-sizing: border-box;
}
.ual-chip {
    background: #fff;
    border: 1px solid #e5e9f2;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .85rem;
    color: #5b6578;
}
.ual-desk {
    width: 100%;
    margin: 0 auto 40px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    box-sizing: border-box;
}
.ual-src, .ual-dst {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 18px 50px -24px rgba(11, 30, 77, .28);
    position: relative;
    overflow: hidden;
}
.ual-src::before, .ual-dst::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5b042, #e89a1e);
}
.ual-lang {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e89a1e;
    font-weight: 800;
    margin: 0 0 14px;
}
.ual-prompt {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.4;
    color: #0b1e4d;
    font-weight: 700;
}
.ual-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

#univga-auria-portal .urc-btn--ghost {
    background: #fff;
    color: #0b1e4d;
    border: 1px solid #d7dce8;
}

#univga-auria-portal .urc-fact {
    grid-template-columns: 1fr;
}
#univga-auria-portal .urc-fact p {
    grid-column: 1;
}

@media (max-width: 1100px) {
    .ual-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .ual-desk { grid-template-columns: 1fr; }
    .ual-process {
        grid-template-columns: minmax(0, 400px);
        justify-content: center;
        max-width: none;
    }
    .ual-mods, .ual-desk, .ual-studio-bar, #ual-studio .urc-kicker {
        padding-left: 16px;
        padding-right: 16px;
    }
}
.ual-ident-note {
    margin: 10px 0 0;
    color: #5b6578;
    font-size: .92rem;
    line-height: 1.5;
}
.ual-ident-note a { color: #0b1e4d; font-weight: 700; }
.ual-linkbtn {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 8px 0 0;
    font: inherit;
    font-weight: 700;
    color: #0b1e4d;
    text-decoration: underline;
    cursor: pointer;
}
#ual-askCodeHint .ual-linkbtn { margin: 0; }

.ual-mystats {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 12px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    box-sizing: border-box;
    justify-content: center;
}
.ual-people {
    width: 100%;
    margin: 0 auto 12px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    box-sizing: border-box;
}
.ual-sep {
    display: block;
    width: auto;
    height: 1px;
    margin: 28px clamp(24px, 4vw, 64px) 36px;
    border: 0;
    background: linear-gradient(90deg, transparent, #d7dce8 8%, #e89a1e 50%, #d7dce8 92%, transparent);
}
.ual-people-wrap { margin-top: 8px; }
.ual-people-kicker {
    width: 100%;
    margin: 0 auto 10px;
    padding: 0 clamp(24px, 4vw, 64px);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e89a1e;
    font-weight: 800;
    box-sizing: border-box;
}
.ual-stat,
.ual-person {
    border-radius: 16px;
    padding: 16px 16px 14px;
    box-shadow: 0 18px 50px -24px rgba(11, 30, 77, .28);
}
.ual-stat {
    background: #0b1e4d;
    border: 1px solid #163a8a;
    padding: 12px 14px 11px;
}
.ual-person {
    background: #fff;
    border: 1px solid #e5e9f2;
}
.ual-stat span,
.ual-person span {
    display: block;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e89a1e;
    font-weight: 800;
}
.ual-stat strong,
.ual-person strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 1.35rem;
    color: #0b1e4d;
    line-height: 1.2;
    word-break: break-word;
}
.ual-stat strong { color: #fff; font-size: 1.18rem; }
.ual-stat p,
.ual-person p {
    margin: 0;
    color: #5b6578;
    font-size: .88rem;
}
.ual-stat p { color: rgba(255, 255, 255, .72); }
.ual-person.is-me {
    border-color: #e89a1e;
    background: #fff8eb;
}
.ual-people-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #5b6578;
}

.ual-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(11, 30, 77, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 16px 24px;
    overflow: auto;
}
.ual-modal__card {
    width: min(640px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px 24px;
    position: relative;
    box-shadow: 0 24px 80px rgba(11, 30, 77, .35);
}
.ual-modal__card h3 {
    margin: 6px 0 8px;
    color: #0b1e4d;
    font-size: 1.6rem;
}
.ual-modal__card > p { color: #5b6578; margin: 0 0 8px; }
.ual-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: none;
    font-size: 1.6rem;
    line-height: 1;
    color: #5b6578;
    cursor: pointer;
}
.ual-langs--modal { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
    .ual-langs--modal { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
    .ual-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .ual-mystats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
}
@media (max-width: 900px) {
    .ual-mystats, .ual-people, .ual-people-kicker {
        padding-left: 16px;
        padding-right: 16px;
    }
    .ual-sep {
        margin-left: 16px;
        margin-right: 16px;
    }
}
@media (max-width: 640px) {
    .ual-mystats, .ual-people { grid-template-columns: 1fr; }
}

/* Workspace : menu navy opaque, bouton retour sous le header (pas sur « Qui sommes nous ? ») */
body.uvg-mast-inner.ual-work:has(#univga-auria-portal),
body.uvg-mast-inner:has(#univga-auria-portal.ual-work) {
    padding-top: calc(var(--uvg-mast-top, 44px) + var(--uvg-mast-nav, 72px)) !important;
}
body.uvg-mast-inner.ual-work:has(#univga-auria-portal) .uvg-unihead,
body.uvg-mast-inner:has(#univga-auria-portal.ual-work) .uvg-unihead {
    position: relative !important;
    top: 0 !important;
    background: var(--uvg-mast-navy, #0a1842) !important;
}
body.uvg-mast-inner.ual-work:has(#univga-auria-portal) .uvg-unihead__bar,
body.uvg-mast-inner:has(#univga-auria-portal.ual-work) .uvg-unihead__bar {
    background: var(--uvg-mast-navy, #0a1842) !important;
}
#univga-auria-portal.ual-work {
    margin: 0;
    width: 100%;
    max-width: 100%;
}
#univga-auria-portal.ual-work #ual-home,
#univga-auria-portal.ual-work #ual-studio {
    padding-top: 20px;
}
