/* Base mutualisable pour pages hub management (v1).
   Chargée pour l'instant par formations-en-management-lille.html. */

/* Teinte locale et titre de section */
.section-local-tone { background-color: var(--lille-stone) !important; }
.section-title-local { display: inline-block; }
.section-title-local::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin-top: 10px;
    background: rgba(165, 87, 69, 0.65);
}
@media (max-width: 768px) {
    .section-title-local::after {
        width: 56px;
        margin-top: 8px;
        background: rgba(165, 87, 69, 0.55);
    }
}

/* Hero hub formations */
.hub-intro-formations-lille {
    max-width: 60rem;
    width: 100%;
}

/* Accordéons: repère + / - lisible et à gauche du titre */
details { cursor: pointer; }
details > summary {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding-right: 0.25rem;
    position: relative;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
    content: "+";
    position: static;
    flex: 0 0 auto;
    order: -1;
    width: 2.4rem;
    height: 2.4rem;
    min-width: 2.4rem;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 0;
    border-radius: 0.45rem;
    background-color: rgba(189, 50, 0, 0.14);
    color: var(--brand-orange);
    transition: background-color 0.2s ease;
}
details[open] > summary::after {
    content: "−";
    font-size: 1.5rem;
}
details > summary:hover { color: var(--brand-orange); }
details > summary:hover::after { background-color: rgba(189, 50, 0, 0.24); }

/* Titre centré pour le comparatif rapide */
details.hub-lecture-rapide-wrap > summary { justify-content: center; }

/* Séparateurs lisibles sous le comparatif rapide */
.hub-lecture-rapide-sep {
    display: inline-block;
    color: var(--gray-600);
    font-weight: 700;
    font-size: 1.05em;
    padding: 0 0.5rem;
    vertical-align: middle;
    line-height: 1;
}

/* Moins d'espace avant le catalogue */
#catalogue-formations.section-bg-gray { padding-top: 2rem; }
@media (min-width: 768px) {
    #catalogue-formations.section-bg-gray { padding-top: 2.5rem; }
}
@media (min-width: 1024px) {
    #catalogue-formations.section-bg-gray { padding-top: 3rem; }
}

/* Footer compact (test local) */
footer.footer-lille-legal-test .grid.grid-footer-quatre { margin-bottom: 1.5rem; }
footer.footer-lille-legal-test .footer-lille-legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.1rem;
    margin-bottom: 1.75rem;
}
footer.footer-lille-legal-test .footer-lille-legal-line {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #e5e7eb;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0.3rem;
}
footer.footer-lille-legal-test .footer-lille-legal-line a {
    color: #f3f4f6;
    text-decoration: underline;
    text-underline-offset: 2px;
}
footer.footer-lille-legal-test .footer-lille-legal-line a:hover { color: #ffffff; }
footer.footer-lille-legal-test .footer-lille-legal-dot {
    color: rgba(255, 255, 255, 0.48);
    font-weight: 600;
}
@media (min-width: 1100px) {
    footer.footer-lille-legal-test .footer-lille-legal-line { flex-wrap: nowrap; }
}
