/* UNIVGA — Coopération internationale (texte + formulaire) */

#univga-coop-portal {
    --uco-navy: #0b1437;
    --uco-indigo: #333279;
    font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #1a2332;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    background: #f4f6fb;
}

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

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

#univga-coop-portal .uco-hero.uab-hero {
    padding: 108px 24px 118px;
    text-align: center;
}
#univga-coop-portal .uco-hero .uco-hero__inner,
#univga-coop-portal .uco-hero .uab-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#univga-coop-portal .uco-hero .uco-hero__title,
#univga-coop-portal .uco-hero .uab-hero__title {
    text-align: center;
    width: 100%;
    font-size: clamp(2.1rem, 5.4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
#univga-coop-portal .uco-hero .uco-hero__sub,
#univga-coop-portal .uco-hero .uab-hero__sub {
    margin: 28px auto 0;
    max-width: 720px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

#univga-coop-portal .uco-section {
    position: relative;
    z-index: 2;
    padding: 0 28px 72px;
    margin-top: -36px;
}
#univga-coop-portal .uco-section__inner {
    max-width: min(1200px, calc(100vw - 48px));
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 48px 44px 52px;
    box-shadow: 0 24px 60px rgba(11, 20, 55, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.uco-eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--uco-indigo);
}

.uco-prose { margin: 0 0 40px; }
.uco-prose h2 {
    margin: 0 0 16px;
    padding-left: 14px;
    position: relative;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b1226;
    line-height: 1.3;
}
.uco-prose h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    border-radius: 999px;
    background: #333279;
}
.uco-prose h3 {
    margin: 22px 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b1226;
    line-height: 1.35;
}
.uco-cta-line { margin: 22px 0 0; }
.uco-cta {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    background: #0b1e4d;
    color: #fff !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
}
.uco-cta:hover { color: #fff !important; opacity: 0.92; }
.uco-steps {
    margin: 8px 0 0;
    padding-left: 1.25rem;
    color: #3d4658;
}
.uco-steps li {
    margin: 0 0 14px;
    font-size: 1.02rem;
    line-height: 1.7;
}
.uco-prose p {
    margin: 0 0 14px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #3d4658;
    text-align: justify;
}
.uco-prose p:last-child { margin-bottom: 0; }
.uco-prose ul {
    margin: 6px 0 0;
    padding-left: 1.2rem;
    color: #3d4658;
}
.uco-prose li {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.65;
    text-align: justify;
}
.uco-prose a { color: #163a8a; font-weight: 600; }

.uco-axes {
    display: grid;
    gap: 16px;
    margin-top: 8px;
}
.uco-axis {
    position: relative;
    padding: 22px 24px 24px 26px;
    border-radius: 16px;
    border: 1px solid transparent;
    border-left-width: 4px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.uco-axis h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    font-weight: 800;
    color: #0b1226;
    line-height: 1.35;
}
.uco-axis p {
    margin: 0 0 12px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #3d4658;
    text-align: justify;
}
.uco-axis p:last-child { margin-bottom: 0; }
.uco-axis a { color: #163a8a; font-weight: 600; }
.uco-axis:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(11, 20, 55, 0.12);
}

.uco-axis--a { background: #eef1f8; border-left-color: #1e3a8a; }
.uco-axis--a:hover { background: #e4e9f6; border-color: #c7d2ee; border-left-color: #1e3a8a; }
.uco-axis--b { background: #eef6f3; border-left-color: #0f766e; }
.uco-axis--b:hover { background: #e3f2ed; border-color: #b7ddd4; border-left-color: #0f766e; }
.uco-axis--c { background: #f3eef8; border-left-color: #5b21b6; }
.uco-axis--c:hover { background: #ebe4f6; border-color: #d4c4ec; border-left-color: #5b21b6; }
.uco-axis--d { background: #f7f1ea; border-left-color: #b45309; }
.uco-axis--d:hover { background: #f3eadf; border-color: #e8d3b8; border-left-color: #b45309; }
.uco-axis--e { background: #eef4fa; border-left-color: #0369a1; }
.uco-axis--e:hover { background: #e3eef8; border-color: #b6d4ea; border-left-color: #0369a1; }

@media (prefers-reduced-motion: reduce) {
    .uco-axis { transition: none; }
    .uco-axis:hover { transform: none; }
}

.uco-form-wrap {
    margin-top: 12px;
    padding: 28px 28px 32px;
    background: #f7f8fc;
    border: 1px solid #e7eaf3;
    border-radius: 18px;
}
.uco-form-head { margin: 0 0 20px; }
.uco-form-head h2 {
    margin: 0 0 10px;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--uco-navy);
}
.uco-form-head p + p { margin-top: 10px; }
.uco-form-head p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.6;
    color: #5b6b7c;
    text-align: justify;
}
.uco-form-head a { color: #163a8a; font-weight: 600; }

.uco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.uco-field { margin: 0 0 14px; }
.uco-field label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #163a8a;
}
.uco-field label span { color: #c2410c; }
.uco-field .uco-opt { color: #64748b; font-weight: 500; }
.uco-field input,
.uco-field select,
.uco-field textarea {
    width: 100%;
    border: 1.5px solid #d7dce8;
    border-radius: 10px;
    padding: 11px 13px;
    font: inherit;
    font-size: 0.98rem;
    background: #fff;
    color: #0f172a;
}
.uco-field textarea { resize: vertical; min-height: 150px; }
.uco-field.is-invalid input,
.uco-field.is-invalid select,
.uco-field.is-invalid textarea { border-color: #b45309; }
.uco-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.uco-legal {
    margin: 8px 0 18px;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #64748b;
    text-align: justify;
}
.uco-legal a { color: #163a8a; }

.uco-submit {
    appearance: none;
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 11px 26px;
    background: #0b1e4d;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
}
.uco-submit:disabled { opacity: .65; cursor: wait; }

.uco-alert {
    display: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
}
.uco-alert.is-error { display: block; background: #fff1f2; color: #9f1239; }
.uco-alert.is-ok { display: block; background: #ecfdf5; color: #047857; }

.uco-success { padding: 20px 8px 4px; text-align: center; }
.uco-success h3 { margin: 0 0 8px; color: var(--uco-navy); }
.uco-success p { margin: 0; color: #5b6b7c; line-height: 1.6; }

@media (max-width: 900px) {
    #univga-coop-portal .uco-hero.uab-hero { padding: 84px 20px 96px; }
    #univga-coop-portal .uco-section__inner { padding: 36px 24px 40px; }
    .uco-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    #univga-coop-portal .uco-hero.uab-hero { padding: 72px 18px 80px; }
    #univga-coop-portal .uco-section { padding: 0 14px 48px; margin-top: -24px; }
    #univga-coop-portal .uco-section__inner { padding: 28px 18px 32px; border-radius: 22px; }
    .uco-form-wrap { padding: 20px 16px 24px; }
    .uco-axis { padding: 18px 16px 20px 18px; }
}
