/* UNIVGA — FAQ [univga_faq]  ·  structure pages légales / Témoignages */

#univga-faq-portal {
    --ufaq-navy: #0b1437;
    --ufaq-indigo: #333279;
    --ufaq-gold: #fbbf24;
    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-faq-portal *,
#univga-faq-portal *::before,
#univga-faq-portal *::after { box-sizing: border-box; }

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

#univga-faq-portal .ufaq-hero.uab-hero {
    padding: 108px 24px 118px;
    text-align: center;
}
#univga-faq-portal .ufaq-hero .ufaq-hero__inner,
#univga-faq-portal .ufaq-hero .uab-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
#univga-faq-portal .ufaq-hero .ufaq-hero__title,
#univga-faq-portal .ufaq-hero .uab-hero__title {
    text-align: center;
    width: 100%;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
#univga-faq-portal .ufaq-hero .ufaq-hero__sub,
#univga-faq-portal .ufaq-hero .uab-hero__sub {
    margin: 28px auto 0;
    max-width: 820px;
    width: 100%;
    text-align: center;
    font-size: 1.12rem;
    line-height: 1.75;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
}

#univga-faq-portal .ufaq-section {
    position: relative;
    z-index: 2;
    padding: 0 28px 72px;
    margin-top: -36px;
}
#univga-faq-portal .ufaq-section__inner {
    max-width: min(1180px, calc(100vw - 48px));
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 48px 36px 52px;
    box-shadow: 0 24px 60px rgba(11, 20, 55, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
#univga-faq-portal .ufaq-section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
#univga-faq-portal .ufaq-eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ufaq-indigo);
}
#univga-faq-portal .ufaq-section__title {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ufaq-navy);
    line-height: 1.15;
}
#univga-faq-portal .ufaq-section__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #5b6b7c;
}

.ufaq-toc {
    margin: 0 0 36px;
    padding: 20px 22px;
    background: #f7f8fc;
    border: 1px solid #e7eaf3;
    border-radius: 16px;
}
.ufaq-toc p {
    margin: 0 0 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #163a8a;
}
.ufaq-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    columns: 2;
    column-gap: 32px;
}
.ufaq-toc li { margin: 0 0 6px; }
.ufaq-toc a {
    color: #163a8a;
    font-weight: 600;
    text-decoration: none;
}
.ufaq-toc a:hover { text-decoration: underline; }

.ufaq-group { margin: 0 0 36px; }
.ufaq-group__title {
    margin: 0 0 16px;
    padding-left: 16px;
    position: relative;
    font-size: 1.22rem;
    font-weight: 800;
    color: #0b1226;
    line-height: 1.3;
}
.ufaq-group__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f5b042, #f97316);
}

.ufaq-list { display: flex; flex-direction: column; gap: 10px; }
.ufaq-item {
    background: #fff;
    border: 1.5px solid #e7eaf3;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.ufaq-item[open] {
    border-color: #333279;
    box-shadow: 0 8px 22px -10px rgba(11, 20, 55, 0.22);
}
.ufaq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    font-weight: 700;
    color: #0f172a;
}
.ufaq-item summary::-webkit-details-marker { display: none; }
.ufaq-item summary::after {
    content: "+";
    margin-left: auto;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #163a8a;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
}
.ufaq-item[open] summary::after { content: "−"; }
.ufaq-item__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #333279;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ufaq-item__q { flex: 1; line-height: 1.4; }
.ufaq-item__a {
    padding: 0 18px 18px 60px;
}
.ufaq-item__a p {
    margin: 0;
    color: #4a5468;
    font-size: 1.02rem;
    line-height: 1.75;
}
.ufaq-item__a a {
    color: #163a8a;
    font-weight: 600;
}

.ufaq-cta {
    margin: 12px 0 0;
    padding: 28px 26px;
    background: #f7f8fc;
    border: 1px solid #e7eaf3;
    border-radius: 20px;
    text-align: center;
}
.ufaq-cta__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ufaq-navy);
}
.ufaq-cta p { margin: 0 0 8px; color: #5b6b7c; line-height: 1.6; }
.ufaq-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 0 !important;
}
.ufaq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #0b1e4d;
    color: #fff !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
}
.ufaq-btn--ghost {
    background: #fff;
    color: #0b1e4d !important;
    border: 1.5px solid rgba(51, 50, 121, 0.22);
}

@media (max-width: 900px) {
    #univga-faq-portal .ufaq-hero.uab-hero { padding: 84px 20px 96px; }
}
@media (max-width: 640px) {
    #univga-faq-portal .ufaq-hero.uab-hero { padding: 72px 18px 80px; }
    #univga-faq-portal .ufaq-section { padding: 0 14px 48px; margin-top: -24px; }
    #univga-faq-portal .ufaq-section__inner { padding: 32px 18px 36px; border-radius: 22px; }
    #univga-faq-portal .ufaq-hero .ufaq-hero__title,
    #univga-faq-portal .ufaq-hero .uab-hero__title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
    .ufaq-toc ol { columns: 1; }
    .ufaq-item__a { padding-left: 18px; }
}
