/* v0.8 — Pied de page de la refonte (remplace celui du thème) */
footer.footer { display: none !important; }
.larp-footer { background: var(--larp-pied, var(--larp-bleu)); color: #fff; font-family: var(--larp-texte); margin-top: 4rem; }
.larp-footer a { color: #fff; text-decoration: none; }
.larp-footer a:hover, .larp-footer a:focus-visible { text-decoration: underline; text-decoration-color: var(--larp-pied-accent, var(--larp-turquoise)); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.larp-footer__in { max-width: 1200px; margin: 0 auto; padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.larp-footer__logo img { display: block; height: 56px; width: auto; filter: brightness(0) invert(1); }
.larp-footer__sig { margin: 1rem 0 .25rem; font-family: var(--larp-titre); font-weight: 700; font-size: 1.15rem; }
.larp-footer__addr { margin: 0 0 1.5rem; color: rgba(255,255,255,.75); line-height: 1.5; font-size: .9375rem; }
.larp-footer__cta { display: inline-block; padding: .7rem 1.2rem; background: var(--larp-pied-accent, var(--larp-turquoise)); color: var(--larp-pied-cta-texte, #0d2f40) !important; font-weight: 700; }
.larp-footer__cta:hover { text-decoration: none !important; filter: brightness(1.08); }
.larp-footer__h { margin: 0 0 1rem; font-family: var(--larp-titre); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.larp-footer ul { list-style: none; margin: 0; padding: 0; }
.larp-footer__col li { margin: 0 0 .6rem; font-size: .9375rem; }
.larp-footer__bar { border-top: 1px solid rgba(255,255,255,.15); max-width: 1200px; margin: 0 auto; padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .8125rem; color: rgba(255,255,255,.7); }
.larp-footer__bar p { margin: 0; }
.larp-footer__bar ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.larp-footer__bar a { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .larp-footer__in { grid-template-columns: 1fr 1fr; } .larp-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .larp-footer__in { grid-template-columns: 1fr; } }

/* Ouverture plein écran (les deux styles) */
html { overflow-x: clip; }
.larp-ouverture { position: relative; width: 100vw; margin: 0 0 3rem calc(50% - 50vw); min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #111; color: #fff; }
.larp-ouverture__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.larp-ouverture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.82) 100%); }
.larp-ouverture__in { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 7vh, 5rem); }
.larp-ouverture__kicker { margin: 0 0 1rem; font-family: var(--larp-titre); font-weight: 700; font-size: .875rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.larp-ouverture__title { margin: 0 0 2rem; max-width: 16ch; font-family: var(--larp-titre); font-weight: 700; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.02em; color: #fff !important; }
.larp-ouverture__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.larp-btn { display: inline-block; padding: .9rem 1.5rem; font-weight: 700; font-size: 1rem; text-decoration: none !important; border: 2px solid transparent; }
.larp-btn--rouge { background: var(--larp-accent-fort, var(--larp-turquoise)); color: #fff !important; }
.larp-btn--ligne { border-color: #fff; color: #fff !important; }
.larp-btn--ligne:hover { background: #fff; color: #111 !important; }
.larp-ouverture__credit { position: absolute; z-index: 1; right: 1rem; bottom: .75rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.larp-tpl.home .larp-ouverture, .larp-tpl .larp-front > .larp-ouverture:first-child { margin-top: 0; }
.larp-page .larp-content > .larp-ouverture:first-child { margin-top: -32px; }
.larp-tpl section.top-header > .top-header__overlay, .larp-tpl section.top-header > .top-header__content { display: none !important; } /* bandeau de catégorie de l’ancien thème */
.larp-tpl section.top-header { background: #fff !important; min-height: 0 !important; height: auto !important; padding: 0 !important; }
.larp-tpl .page-header > section.subtop-header { display: none !important; } /* date relative de l’ancien thème */

/* v0.9.1 — Menu fixe au défilement */
.larp-tpl nav.navbar { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 1000; background: #fff !important; }
.larp-tpl .page-header, .larp-tpl section.top-header { display: contents; }
@media (max-width: 600px) { .admin-bar.larp-tpl nav.navbar { top: 0; } }
body.larp-tpl { overflow-x: clip !important; overflow-y: visible !important; } /* le thème met overflow sur body, ce qui casse le menu fixe */
