/* UNIVGA — Organisations : landing, palette et cartes de l’accueil */

#univga-org-portal {
    --navy: #0b1e4d;
    --navy-2: #132a5c;
    --gold: #c9a24a;
    --gold-2: #c9922a;
    --ink: #1c2434;
    --muted: #5a6474;
    --line: #e4e7ee;
    --paper: #f6f5f2;
    --ivory: #f4efe4;
    --white: #fff;
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    background: var(--paper);
}

#univga-org-portal *,
#univga-org-portal *::before,
#univga-org-portal *::after { box-sizing: border-box; }

body:has(#univga-org-portal) .title_single_area,
body:has(#univga-org-portal) .breadcrumb,
body:has(#univga-org-portal) .post-meta,
body:has(#univga-org-portal) .rh-container > .title_single_area { display: none !important; }

#univga-org-portal .uorg-hero.uab-hero {
    padding: 100px 24px 120px;
    text-align: center;
}
#univga-org-portal .uorg-hero .uorg-hero__inner,
#univga-org-portal .uorg-hero .uab-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#univga-org-portal .uorg-hero .uorg-hero__title,
#univga-org-portal .uorg-hero .uab-hero__title {
    text-align: center;
    width: 100%;
    font-size: clamp(1.55rem, 4.2vw, 3.1rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
#univga-org-portal .uorg-hero .uorg-hero__sub,
#univga-org-portal .uorg-hero .uab-hero__sub {
    margin: 28px auto 0;
    max-width: 760px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.uorg-facts {
    position: relative;
    z-index: 4;
    max-width: 1180px;
    margin: -88px auto 0;
    padding: 0 clamp(20px, 5vw, 64px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.uorg-fact {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 18px;
    padding: 26px 24px 22px;
    box-shadow: 0 18px 50px -24px rgba(11, 30, 77, .35), 0 8px 20px -10px rgba(11, 30, 77, .12);
}
.uorg-fact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f5b042, #e89a1e);
}
.uorg-fact h2 {
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5b6578;
}
.uorg-fact p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #0f172a;
}
.uorg-band--after-facts { padding-top: 48px; }

.uorg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease;
}
.uorg-btn:hover { transform: translateY(-1px); }
.uorg-btn--gold {
    background: linear-gradient(135deg, #e8c56b, #c9a24a);
    color: #0b1e4d !important;
    box-shadow: 0 10px 28px rgba(201, 162, 74, 0.35);
}
.uorg-btn--ghost {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
}
.uorg-btn--on-dark {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(232, 197, 107, 0.45);
}

.uorg-band {
    padding: 72px clamp(20px, 5vw, 64px);
}
.uorg-band--paper { background: var(--paper); }
.uorg-band--ivory { background: var(--ivory); }
.uorg-band--white { background: var(--white); }
.uorg-band--navy {
    background:
        radial-gradient(circle at 88% 12%, rgba(212, 175, 106, .18), transparent 55%),
        linear-gradient(135deg, #0b1a3a 0%, #132a5c 55%, #0b1a3a 100%);
    color: #fff;
}
.uorg-band--close {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 88px clamp(20px, 5vw, 64px);
}
.uorg-wrap {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
}
.uorg-head { margin: 0 0 36px; max-width: 780px; }
#univga-org-portal .uorg-kicker,
#univga-org-portal .uorg-kicker--light {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.25;
}
#univga-org-portal .uorg-band--navy .uorg-kicker,
#univga-org-portal .uorg-band--close .uorg-kicker {
    color: #c9a24a;
}
.uorg-band h2 {
    margin: 0 0 14px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.uorg-band--paper h2,
.uorg-band--ivory h2,
.uorg-band--white h2 { color: var(--navy); }
#univga-org-portal .uorg-band--navy h2,
#univga-org-portal .uorg-close h2 {
    color: #fff;
}
.uorg-band p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}
.uorg-band--navy p,
.uorg-band--close p { color: rgba(255, 255, 255, 0.76); }

.uorg-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}
.uorg-pills li {
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(11, 30, 77, .1);
    box-shadow: 0 8px 20px -14px rgba(5, 13, 40, .35);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy);
}

.uorg-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: stretch;
}
.uorg-line {
    margin-top: 22px !important;
    font-weight: 700;
    color: var(--navy) !important;
    line-height: 1.85;
}

.uorg-vision p + p { margin-top: 16px; }
.uorg-panel {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background-color: #0b1a3a;
    background-image: var(--uorg-panel-photo);
    background-size: cover;
    background-position: center 30%;
    color: #fff;
    border-radius: 24px;
    padding: 36px 30px;
    box-shadow: 0 24px 52px -18px rgba(11, 26, 58, .55);
}
.uorg-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(165deg, rgba(11, 26, 58, .58) 0%, rgba(11, 26, 58, .78) 72%, rgba(11, 26, 58, .86) 100%),
        radial-gradient(circle at 88% 12%, rgba(212, 175, 106, .18), transparent 50%);
    pointer-events: none;
}
.uorg-panel > * { position: relative; z-index: 1; }
.uorg-panel__label {
    margin: 0 0 18px !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e8c56b !important;
}
.uorg-panel ul { margin: 0; padding: 0; list-style: none; }
.uorg-panel li {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.98rem;
    font-weight: 600;
    color: #e8ecf4;
}
.uorg-panel li:first-child { border-top: 0; padding-top: 0; }

.uorg-card {
    background: #fff;
    border-radius: 24px;
    padding: 26px 24px 28px;
    border: 1px solid rgba(11, 30, 77, .08);
    box-shadow: 0 22px 48px -20px rgba(5, 13, 40, .28);
    transition: transform .22s ease, box-shadow .22s ease;
}
.uorg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 52px -18px rgba(11, 26, 58, .32);
}
.uorg-card h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--navy);
}
.uorg-card p {
    font-size: 0.96rem !important;
    line-height: 1.65 !important;
}

.uorg-ico {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(145deg, #f4efe4, #e8c56b);
    color: var(--navy);
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(201, 162, 74, .28);
}

.uorg-goals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.uorg-goals .uorg-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: start;
}
.uorg-goals .uorg-card .uorg-ico {
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1;
}
.uorg-goals .uorg-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
}
.uorg-goals .uorg-card p {
    grid-column: 1 / -1;
    margin-top: 14px;
}

.uorg-dash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.uorg-ticks {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.uorg-ticks li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
}
.uorg-ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8c56b;
}
.uorg-dash__ui {
    margin: 0;
    background: #fff;
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 28px 48px -12px rgba(0, 0, 0, .35);
    overflow: hidden;
}
.uorg-dash__ui img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.uorg-feats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.uorg-who {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.uorg-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.uorg-flow li {
    background: #fff;
    border-radius: 24px;
    padding: 22px 18px 24px;
    border: 1px solid rgba(11, 30, 77, .08);
    box-shadow: 0 22px 48px -20px rgba(5, 13, 40, .22);
}
.uorg-flow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    margin-bottom: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--navy);
    color: #e8c56b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.uorg-flow h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
}
.uorg-flow p { font-size: 0.9rem !important; line-height: 1.55 !important; }

.uorg-close { max-width: 760px; margin: 0 auto; }
.uorg-close h2 { color: #fff; }
.uorg-close__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.uorg-close__more {
    margin-top: 20px !important;
    font-size: 0.92rem !important;
}
.uorg-close__more a {
    color: #e8c56b;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .uorg-goals,
    .uorg-feats { grid-template-columns: 1fr 1fr; }
    .uorg-flow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    #univga-org-portal .uorg-hero.uab-hero { padding: 88px 20px 110px; }
    .uorg-facts { grid-template-columns: 1fr; margin-top: -56px; }
    .uorg-split,
    .uorg-dash { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    #univga-org-portal .uorg-hero.uab-hero { padding: 88px 18px 120px; }
    #univga-org-portal .uorg-hero .uorg-hero__title,
    #univga-org-portal .uorg-hero .uab-hero__title { font-size: clamp(1.45rem, 7vw, 2.2rem); }
    .uorg-band { padding: 52px 16px; }
    .uorg-band--after-facts { padding-top: 36px; }
    .uorg-goals,
    .uorg-feats,
    .uorg-who,
    .uorg-flow { grid-template-columns: 1fr; }
}
