/* La Louvière — shared layout and components. No Muse/Bootstrap reset. */
:root {
    --ll-purple: #662d91;
    --ll-reading-width: 834px;
    --ll-wide-width: 1160px;
    --ll-gutter: 24px;
    --ll-header-height: 112px;
    --ll-shell-width: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: #fff; }
body.ll-site {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: #000;
    background: #fff;
    font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-wrap: break-word;
    isolation: isolate;
    --ll-page-background: none;
}
/* A viewport layer stays the same size when an accordion changes page height. */
.ll-site::before { content: ""; position: fixed; z-index: -1; inset: 0 0 auto; height: 100vh; height: 100lvh; pointer-events: none; background-image: var(--ll-page-background); background-position: var(--ll-page-background-position, center); background-size: var(--ll-page-background-size, cover); background-repeat: var(--ll-page-background-repeat, no-repeat); }
a { color: #007bff; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
iframe, video { max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin-top: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ll-purple); outline-offset: 3px; }
.ll-skip-link { position: absolute; left: 12px; top: -100px; z-index: 2000; padding: 8px; background: #fff; }
.ll-skip-link:focus { top: 8px; }
.ll-header { position: sticky; top: 0; z-index: 100; flex: none; background: #fff; border-bottom: 1px solid #e7e4e9; font: 14px/1.4 Arial, Helvetica, sans-serif; }
.ll-header-inner {
    position: relative;
    z-index: 1;
    width: min(var(--ll-shell-width), calc(100% - 2 * var(--ll-gutter)));
    height: calc(var(--ll-header-height) - 1px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}
.ll-header-brand { display: flex; align-items: center; gap: 24px; }
.ll-main-logo, .ll-projects-link { display: flex; align-items: center; flex: none; width: 120px; height: 102px; }
.ll-main-logo img, .ll-projects-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ll-navigation { justify-self: end; min-width: 0; }
.ll-nav-intro, .ll-nav-label, .ll-nav-projects { display: none; }
.ll-nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ll-nav-link { position: relative; display: flex; flex: 0 0 71px; width: 71px; height: 71px; transition: opacity .18s ease, transform .18s ease; --ll-nav-color: var(--ll-purple); }
.ll-nav-link img { display: block; width: 71px; height: 71px; }
.ll-nav-link::after { content: ""; position: absolute; bottom: -8px; left: calc(50% - 12px); width: 24px; height: 3px; border-radius: 4px; background: var(--ll-nav-color); opacity: 0; }
.ll-nav-link[aria-current="page"]::after { opacity: 1; }
.ll-nav-link:hover { opacity: .86; }
.ll-nav-link--actus { --ll-nav-color: #ef8c00; }
.ll-nav-link--agenda { --ll-nav-color: #ad99c0; }
.ll-nav-link--ceremonies { --ll-nav-color: #e9ad00; }
.ll-nav-link--laicite { --ll-nav-color: #e52a26; }
.ll-nav-link--histoire { --ll-nav-color: #45a99e; }
.ll-nav-link--memoires { --ll-nav-color: #4582aa; }
.ll-nav-link--contact { --ll-nav-color: #7eb5a7; }
.ll-menu-toggle { display: none; grid-column: 3; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #e7e1ed; border-radius: 14px; color: var(--ll-purple); background: #f7f3fa; }
.ll-menu-toggle-lines { position: relative; display: block; width: 20px; height: 16px; }
.ll-menu-toggle-lines span { position: absolute; display: block; left: 0; width: 20px; height: 2px; border-radius: 3px; background: currentColor; transition: top .2s ease, transform .2s ease, opacity .15s ease; }
.ll-menu-toggle-lines span:nth-child(1) { top: 0; }
.ll-menu-toggle-lines span:nth-child(2) { top: 7px; }
.ll-menu-toggle-lines span:nth-child(3) { top: 14px; }
.ll-menu-toggle[aria-expanded="true"] .ll-menu-toggle-lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.ll-menu-toggle[aria-expanded="true"] .ll-menu-toggle-lines span:nth-child(2) { opacity: 0; }
.ll-menu-toggle[aria-expanded="true"] .ll-menu-toggle-lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.ll-menu-backdrop { display: none; }
html.ll-menu-open { overflow: hidden; overscroll-behavior: none; }
html.ll-menu-open body { overflow: hidden; }
.ll-main { flex: 1 0 auto; width: calc(100% - 2 * var(--ll-gutter)); margin-inline: auto; padding-block: 80px 64px; min-width: 0; }
.ll-main--reading { max-width: var(--ll-reading-width); }
.ll-main--wide { max-width: var(--ll-wide-width); }
body.ll-page--ceremonies { --ll-page-background: url('../img/bg_flj.png'); }
body.ll-page--histoire { --ll-page-background: url('../img/bg_notrehistoire.jpg'); }
body.ll-page--laicite { --ll-page-background: url('../img/laicite_BG.jpg'); }
body.ll-page--contact { --ll-page-background: url('../img/Contact_BG.png'); --ll-page-background-position: right center; --ll-page-background-size: auto; }
body.ll-page--agenda { --ll-page-background: url('../img/AdobeStock_64771704.jpeg'); }
body.ll-page--memoires { --ll-page-background: url('../img/background.jpg'); }
body.ll-page--portail { --ll-page-background: url('../img/BG_nosAutresProjets.jpg'); }
body.ll-page--outils { --ll-page-background: url('../img/BG_journal.jpeg'); --ll-page-background-size: auto; --ll-page-background-repeat: repeat; }
/* Accordion visual is preserved; details provides keyboard/touch behavior. */
.ll-accordion { font: 400 16px/1.3 acumin-pro, Arial, sans-serif; overflow-anchor: none; }
.ll-disclosure { margin-block: 2px; }
.ll-disclosure > summary { padding: 8px 11px; border: 1px solid #ddd; border-radius: 3px; background: #dedede; line-height: 1.2; list-style: none; }
.ll-disclosure > summary::-webkit-details-marker { display: none; }
.ll-disclosure > summary::before { content: ""; display: inline-block; margin-right: 8px; border-left: 4px solid #666; border-top: 4px solid transparent; border-bottom: 4px solid transparent; vertical-align: 1px; }
.ll-disclosure[open] > summary { background: #f4ac1c; font-weight: 800; border-color: transparent; }
.ll-disclosure[open] > summary::before { transform: rotate(90deg); border-left-color: #fff; }
.ll-page--laicite .ll-disclosure[open] > summary { background: #e52a26; }
.ll-disclosure-content { display: flow-root; padding: 16px 35px; border: 1px solid #ddd; background: #fff; color: #333; }
.ll-disclosure[open] > .ll-disclosure-content { animation: ll-reveal .18s ease-out; }
@keyframes ll-reveal { from { opacity: .55; } to { opacity: 1; } }
.ll-disclosure-content .accordeon_left { float: left; width: 70%; padding-right: 16px; }
.ll-article-image { max-width: 25%; margin: 10px; }
.ll-disclosure-content .inline { display: inline-grid; max-width: 45%; vertical-align: top; margin: 10px; }
.ll-disclosure-content p.inline { margin: 0 0 0 10px; }
.ll-disclosure-content .li-fix { list-style: disc; margin-left: 20px; }
.ll-disclosure-content .blue { color: royalblue; }
.ll-footer { flex: none; background: #f7f7f7; border-top: 1px solid #e5e5e5; font-family: Arial, Helvetica, sans-serif; }
.ll-footer-inner { width: min(var(--ll-shell-width), calc(100% - 2 * var(--ll-gutter))); min-height: 93px; margin-inline: auto; padding-block: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ll-footer-copy { font-size: 12px; line-height: 1.4; min-width: 0; }
.ll-footer-copy p { margin: 1px 0; }
.ll-footer-copy a { color: inherit; text-decoration: underline; }
.ll-footer-logos { display: flex; flex: none; align-items: center; gap: 12px; }
.ll-footer-logos img { display: block; flex: none; width: 85px; height: 52px; object-fit: contain; }
.ll-footer-logos img:nth-child(n+3) { width: 42px; }
/* Small layout utilities used by the supplied editorial gallery. */
.row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
.row > * { min-width: 0; padding-inline: 15px; }
.col { flex: 1 1 0; }
[class*="col-"] { min-width: 0; width: 100%; }
.col-sm-6, .col-md-6 { float: left; }
.img-fluid { max-width: 100%; height: auto; }
.p-3 { padding: 1rem; }
.pbt-3 { padding-block: .5rem; }
.pb-3 { padding-bottom: .5rem; }
@media (min-width: 576px) {
    .col-sm-6 { width: 50%; }
    .col-sm-4 { width: 33.333333%; }
}
@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-4 { width: 33.333333%; }
}
@media (max-width: 1024px) {
    :root { --ll-header-height: 80px; }
    .ll-header-inner { gap: 16px; }
    .ll-header-brand { gap: 18px; }
    .ll-main-logo { width: 72px; height: 64px; }
    .ll-projects-link { width: 108px; height: 60px; }
    .ll-navigation { grid-column: 1 / -1; justify-self: stretch; padding-bottom: 16px; }
    .ll-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ll-nav-link { width: auto; height: auto; min-width: 0; min-height: 84px; align-items: center; gap: 12px; padding: 14px 12px; border: 1px solid #eeeaf1; border-radius: 16px; background: #faf9fb; color: #25202b; }
    .ll-nav-link img { flex: none; width: 44px; height: 44px; border-radius: 4px; }
    .ll-nav-label { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
    .ll-nav-link::after { display: none; }
    .ll-nav-link[aria-current="page"] { border-color: var(--ll-nav-color); box-shadow: inset 0 0 0 1px var(--ll-nav-color); background: #fff; }
    .ll-nav-link:hover { text-decoration: none; background: #fff; opacity: 1; }
    /* Without JS the navigation remains visible in the normal document flow. */
    html:not(.ll-menu-ready) .ll-header-inner { height: auto; min-height: calc(var(--ll-header-height) - 1px); }
    .ll-menu-ready .ll-menu-toggle { display: grid; }
    .ll-menu-ready .ll-navigation { position: fixed; z-index: 2; inset: calc(var(--ll-header-height) + 12px) 12px 16px auto; width: min(430px, calc(100% - 24px)); padding: 24px; border: 1px solid #e8e2ed; border-radius: 24px; background: #fff; box-shadow: 0 24px 64px rgba(27,15,38,.2); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateX(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
    .ll-menu-ready .ll-navigation.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
    .ll-nav-intro { display: block; margin-bottom: 22px; }
    .ll-nav-eyebrow { margin: 0 0 6px; color: #796a83; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
    .ll-nav-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.035em; color: #261b30; }
    .ll-nav-projects { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 16px 4px 2px; border-top: 1px solid #eee9f2; color: var(--ll-purple); font-weight: 700; }
    .ll-nav-projects span { font-size: 22px; }
    .ll-menu-backdrop:not([hidden]) { display: block; position: fixed; z-index: 0; inset: var(--ll-header-height) 0 0; padding: 0; border: 0; width: 100%; background: rgba(24,15,31,.32); backdrop-filter: blur(3px); touch-action: none; }
}
@media (max-width: 900px) {
    .ll-main { padding-block: 32px 40px; }
}
@media (max-width: 700px) {
    :root { --ll-gutter: 12px; }
    .ll-main { padding-block: 16px 32px; }
    .ll-disclosure-content { padding: 16px 24px; }
    .ll-disclosure-content .accordeon_left { float: none; width: 100%; padding: 0; }
    .ll-article-image { max-width: 100%; margin: 10px 0; }
    .ll-footer-inner { flex-wrap: wrap; justify-content: center; gap: 12px; min-height: 0; }
    .ll-footer-copy { width: 100%; text-align: center; }
    .ll-footer-logos { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; gap: 9px; }
    .ll-footer-logos img { width: 66px; height: 38px; }
    .ll-footer-logos img:nth-child(n+3) { width: 32px; }
}
@media (max-width: 480px) {
    :root { --ll-header-height: 72px; }
    .ll-header-brand { gap: 12px; }
    .ll-main-logo { width: 64px; height: 58px; }
    .ll-projects-link { width: 96px; height: 54px; }
    .ll-menu-ready .ll-navigation { padding: 20px; }
    .ll-nav-link { flex-direction: column; justify-content: center; gap: 9px; padding: 14px 8px; min-height: 108px; text-align: center; }
    .ll-nav-label { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
