/* ==========================================================================
   JVEPI Centre — styles principaux
   ========================================================================== */

:root {
	--jv-primary: #65b34d;
	--jv-dark: #16321a;
	--jv-accent: #f5c518;
	--jv-brown: #8b5e3c;
	--jv-text: #4b5563;
	--jv-heading: #1f2937;
	--jv-grey: #f5f7f2;
	--jv-border: #e5e7eb;
	--jv-radius: 10px;
	--jv-shadow: 0 10px 30px rgba(22, 50, 26, .10);
	--jv-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--jv-font-head: "Poppins", var(--jv-font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--jv-font); font-size: 15px; line-height: 1.75; color: var(--jv-text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jv-primary); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
a:hover { color: var(--jv-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--jv-font-head); color: var(--jv-heading); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
input, select, textarea, button { font: inherit; }

.jv-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.jv-center { text-align: center; }
.jv-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.jv-mt { margin-top: 1.4em; }
.jv-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Boutons ---------- */
.jv-btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-family: var(--jv-font-head); font-weight: 600; font-size: 14px; letter-spacing: .3px; border: 2px solid transparent; cursor: pointer; line-height: 1.4; margin: 4px 6px 4px 0; }
.jv-btn--sm { padding: 6px 16px; font-size: 12.5px; }
.jv-btn--lg { padding: 15px 36px; font-size: 15px; }
.jv-btn--primary { background: var(--jv-primary); color: #fff; }
.jv-btn--primary:hover { background: var(--jv-dark); color: #fff; }
.jv-btn--accent { background: var(--jv-accent); color: var(--jv-dark); }
.jv-btn--accent:hover { background: #fff; color: var(--jv-dark); }
.jv-btn--light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.jv-btn--light:hover { background: #fff; color: var(--jv-dark); }
.jv-btn--outline { background: transparent; border-color: var(--jv-primary); color: var(--jv-primary); }
.jv-btn--outline:hover { background: var(--jv-primary); color: #fff; }
.jv-link { font-family: var(--jv-font-head); font-weight: 600; font-size: 14px; }
.jv-link i { font-size: 12px; margin-left: 4px; transition: transform .2s; }
.jv-link:hover i { transform: translateX(4px); }

/* ---------- Préchargement ---------- */
.jv-preloader { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; align-items: center; justify-content: center; transition: opacity .4s, visibility .4s; }
.jv-preloader.is-done { opacity: 0; visibility: hidden; }
.jv-preloader__dot { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--jv-grey); border-top-color: var(--jv-primary); animation: jv-spin .8s linear infinite; }
@keyframes jv-spin { to { transform: rotate(360deg); } }

/* ---------- Barre supérieure ---------- */
.jv-topbar { background: var(--jv-dark); color: rgba(255,255,255,.8); font-size: 13px; }
.jv-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.jv-topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.jv-topbar__left a, .jv-topbar__left span { color: rgba(255,255,255,.85); }
.jv-topbar__left a:hover { color: var(--jv-accent); }
.jv-topbar i { color: var(--jv-accent); margin-right: 4px; }
.jv-topbar .jv-btn { margin: 0 0 0 6px; }
.jv-socials { display: flex; gap: 8px; }
.jv-socials a { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; }
.jv-socials a i { color: inherit; margin: 0; }
.jv-socials a:hover { background: var(--jv-accent); color: var(--jv-dark); }

/* ---------- En-tête ---------- */
.jv-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.05); transition: box-shadow .3s; }
.jv-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.jv-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.jv-logo { display: flex; align-items: center; gap: 10px; }
.jv-logo img { max-height: 58px; width: auto; }
.jv-logo__text { font-family: var(--jv-font-head); font-weight: 800; font-size: 20px; color: var(--jv-dark); letter-spacing: -.3px; }
.jv-logo--footer .jv-logo__text { color: #fff; }
.jv-logo--footer { margin-bottom: 18px; }
.jv-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.jv-menu li { position: relative; }
.jv-menu > li > a { display: block; padding: 28px 13px; font-family: var(--jv-font-head); font-weight: 600; font-size: 14px; color: var(--jv-heading); text-transform: uppercase; letter-spacing: .3px; position: relative; }
.jv-menu > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 20px; height: 2px; background: var(--jv-primary); transform: scaleX(0); transition: transform .25s; }
.jv-menu > li > a:hover, .jv-menu > li.current-menu-item > a, .jv-menu > li > a.is-active { color: var(--jv-primary); }
.jv-menu > li > a:hover::after, .jv-menu > li > a.is-active::after { transform: scaleX(1); }
.jv-menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--jv-shadow); border-top: 3px solid var(--jv-primary); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.jv-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jv-menu .sub-menu a { display: block; padding: 8px 20px; color: var(--jv-heading); font-size: 14px; }
.jv-menu .sub-menu a:hover { color: var(--jv-primary); padding-left: 26px; }
.jv-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.jv-burger span { display: block; height: 2px; background: var(--jv-dark); margin: 5px 0; transition: transform .3s, opacity .3s; }
.jv-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jv-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jv-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Diaporama ---------- */
.jv-hero { position: relative; height: 640px; max-height: 88vh; min-height: 460px; overflow: hidden; background: var(--jv-dark); }
.jv-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; display: flex; align-items: center; }
.jv-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,50,26,.88) 0%, rgba(22,50,26,.55) 55%, rgba(22,50,26,.25) 100%); }
.jv-slide.is-active { opacity: 1; visibility: visible; }
.jv-slide__content { position: relative; z-index: 2; color: #fff; }
.jv-slide__content > * { max-width: 680px; opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.jv-slide.is-active .jv-slide__content > * { opacity: 1; transform: none; }
.jv-slide.is-active .jv-slide__content > *:nth-child(2) { transition-delay: .15s; }
.jv-slide.is-active .jv-slide__content > *:nth-child(3) { transition-delay: .3s; }
.jv-slide.is-active .jv-slide__content > *:nth-child(4) { transition-delay: .45s; }
.jv-slide__kicker { display: inline-block; font-family: var(--jv-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--jv-accent); border-left: 3px solid var(--jv-accent); padding-left: 12px; margin-bottom: 16px; }
.jv-slide__title { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 800; text-transform: uppercase; line-height: 1.1; margin-bottom: 18px; }
.jv-slide__text { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.jv-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; transition: all .2s; }
.jv-hero__arrow:hover { background: var(--jv-accent); border-color: var(--jv-accent); color: var(--jv-dark); }
.jv-hero__arrow--prev { left: 24px; }
.jv-hero__arrow--next { right: 24px; }
.jv-hero__dots { position: absolute; bottom: 90px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.jv-hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.jv-hero__dots button.is-active { background: var(--jv-accent); border-color: var(--jv-accent); }

/* ---------- Points forts ---------- */
.jv-features { position: relative; z-index: 6; margin-top: -60px; }
.jv-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--jv-shadow); border-radius: var(--jv-radius); overflow: hidden; padding: 0; }
.jv-feature { display: flex; gap: 18px; padding: 32px 30px; border-right: 1px solid var(--jv-border); transition: background .3s; }
.jv-feature:last-child { border-right: 0; }
.jv-feature:hover { background: var(--jv-dark); }
.jv-feature:hover h3, .jv-feature:hover p { color: #fff; }
.jv-feature__icon { flex: 0 0 60px; height: 60px; border-radius: 50%; background: rgba(101,179,77,.12); color: var(--jv-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; transition: all .3s; }
.jv-feature:hover .jv-feature__icon { background: var(--jv-accent); color: var(--jv-dark); }
.jv-feature h3 { font-size: 19px; margin-bottom: 4px; transition: color .3s; }
.jv-feature p { margin: 0; font-size: 14.5px; transition: color .3s; }

/* ---------- Sections ---------- */
.jv-section { padding: 90px 0; }
.jv-section--grey { background: var(--jv-grey); }
.jv-heading { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.jv-heading p { margin: 0; }
.jv-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; text-transform: uppercase; position: relative; padding-bottom: 18px; margin-bottom: 18px; }
.jv-title span { color: var(--jv-primary); }
.jv-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; background: var(--jv-primary); box-shadow: 70px 0 0 -0px transparent; }
.jv-title::before { content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--jv-accent); border: 3px solid #fff; z-index: 1; }
.jv-title--left::after, .jv-title--left::before { left: 0; transform: none; }
.jv-title--left::before { left: 24px; }
.jv-heading--light .jv-title { color: #fff; }
.jv-heading--light .jv-title::before { border-color: var(--jv-dark); }
.jv-heading--light p { color: rgba(255,255,255,.85); }
.jv-kicker { display: inline-block; font-family: var(--jv-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--jv-primary); margin-bottom: 8px; }
.jv-lead { font-size: 16.5px; color: var(--jv-heading); }

/* ---------- Présentation ---------- */
.jv-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.jv-about__images { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.jv-about__images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--jv-radius); box-shadow: var(--jv-shadow); }
.jv-about__img1 { grid-row: 1 / 3; }
.jv-about__images::after { content: "\f004"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: var(--jv-accent); color: var(--jv-dark); display: flex; align-items: center; justify-content: center; font-size: 28px; border: 6px solid #fff; box-shadow: var(--jv-shadow); }
.jv-about__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 28px; }
.jv-about__box { background: var(--jv-grey); border-left: 4px solid var(--jv-primary); padding: 18px 20px; border-radius: 0 var(--jv-radius) var(--jv-radius) 0; }
.jv-about__box h4 { font-size: 16px; margin-bottom: 6px; }
.jv-about__box h4 i { color: var(--jv-primary); margin-right: 6px; }
.jv-about__box p { font-size: 14px; margin: 0; }

/* ---------- Réalisations (cartes) ---------- */
.jv-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.jv-cards > .jv-card { flex: 0 1 calc((100% - 60px) / 3); }
.jv-card { background: #fff; border-radius: var(--jv-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.jv-card:hover { transform: translateY(-6px); box-shadow: var(--jv-shadow); }
.jv-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--jv-dark); }
.jv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.jv-card:hover .jv-card__media img { transform: scale(1.06); }
.jv-card__media { overflow: hidden; }
.jv-card__icon { position: absolute; right: 20px; bottom: -26px; width: 56px; height: 56px; border-radius: 50%; background: var(--jv-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; border: 4px solid #fff; z-index: 2; }
.jv-card__body { padding: 30px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.jv-card__title { font-size: 20px; margin-bottom: 10px; }
.jv-card__title a { color: var(--jv-heading); }
.jv-card__title a:hover { color: var(--jv-primary); }
.jv-card__body p { flex: 1; }
.jv-card__stat { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: rgba(101,179,77,.12); color: var(--jv-dark); font-family: var(--jv-font-head); font-weight: 600; font-size: 13.5px; padding: 6px 14px; border-radius: 50px; }
.jv-card__stat i { color: var(--jv-primary); }

/* ---------- Chiffres clés ---------- */
.jv-stats { position: relative; padding: 90px 0; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.jv-stats::before { content: ""; position: absolute; inset: 0; background: rgba(22,50,26,.88); }
.jv-stats .jv-container { position: relative; }
.jv-stats__title { color: #fff; text-align: center; text-transform: uppercase; font-size: 24px; margin-bottom: 44px; }
.jv-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.jv-stat i { font-size: 40px; color: var(--jv-accent); margin-bottom: 14px; display: block; }
.jv-stat__num { display: block; font-family: var(--jv-font-head); font-weight: 800; font-size: 50px; line-height: 1.1; color: #fff; }
.jv-stat__label { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: 13.5px; color: rgba(255,255,255,.8); margin-top: 6px; }

/* ---------- Actions ---------- */
.jv-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.jv-action { text-align: center; padding: 34px 20px; border-radius: var(--jv-radius); border: 1px solid var(--jv-border); transition: all .3s; background: #fff; }
.jv-action:hover { border-color: transparent; box-shadow: var(--jv-shadow); transform: translateY(-6px); }
.jv-action__icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--jv-grey); color: var(--jv-primary); display: flex; align-items: center; justify-content: center; font-size: 32px; transition: all .3s; }
.jv-action:hover .jv-action__icon { background: var(--jv-primary); color: #fff; }
.jv-action h3 { font-size: 17px; margin-bottom: 8px; }
.jv-action p { font-size: 14px; margin: 0; }

/* ---------- Événements ---------- */
.jv-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.jv-event { background: #fff; border-radius: var(--jv-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.jv-event:hover { transform: translateY(-6px); box-shadow: var(--jv-shadow); }
.jv-event__media { position: relative; aspect-ratio: 16 / 10; background: var(--jv-dark); overflow: hidden; }
.jv-event__media img { width: 100%; height: 100%; object-fit: cover; }
.jv-event__date, .jv-post__date { position: absolute; left: 20px; top: 20px; background: var(--jv-accent); color: var(--jv-dark); text-align: center; border-radius: 8px; padding: 8px 12px; font-family: var(--jv-font-head); font-weight: 600; font-size: 12px; text-transform: uppercase; line-height: 1.1; }
.jv-event__date strong, .jv-post__date strong { display: block; font-size: 26px; font-weight: 800; }
.jv-event__body { padding: 24px 26px 26px; }
.jv-event__body h3 { font-size: 19px; }
.jv-event__body h3 a { color: var(--jv-heading); }
.jv-event__body h3 a:hover { color: var(--jv-primary); }
.jv-event__meta { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.jv-event__meta i { color: var(--jv-primary); margin-right: 4px; }

/* ---------- Clubs & bénévolat ---------- */
.jv-clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 80px; }
.jv-club { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--jv-grey); border-radius: var(--jv-radius); font-family: var(--jv-font-head); font-weight: 600; color: var(--jv-heading); transition: all .3s; }
.jv-club i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: #fff; color: var(--jv-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all .3s; }
.jv-club:hover { background: var(--jv-dark); color: #fff; }
.jv-club:hover i { background: var(--jv-accent); color: var(--jv-dark); }
.jv-volunteer { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.jv-checklist { list-style: none; padding: 0; margin: 0; }
.jv-checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.jv-checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--jv-primary); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.jv-checklist--light li { color: rgba(255,255,255,.9); }
.jv-checklist--light li::before { background: var(--jv-accent); color: var(--jv-dark); }

/* ---------- Formulaires ---------- */
.jv-form { background: var(--jv-dark); padding: 40px; border-radius: var(--jv-radius); box-shadow: var(--jv-shadow); }
.jv-form h3 { color: #fff; font-size: 24px; margin-bottom: 20px; }
.jv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jv-form input, .jv-form select, .jv-form textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; border-radius: 6px; margin-bottom: 14px; outline: none; transition: border-color .2s; }
.jv-form select option { color: var(--jv-heading); }
.jv-form input::placeholder, .jv-form textarea::placeholder { color: rgba(255,255,255,.6); }
.jv-form input:focus, .jv-form select:focus, .jv-form textarea:focus { border-color: var(--jv-accent); }
.jv-form--plain { background: #fff; box-shadow: none; padding: 0; }
.jv-form--plain input, .jv-form--plain select, .jv-form--plain textarea { background: var(--jv-grey); border-color: var(--jv-border); color: var(--jv-heading); }
.jv-form--plain input::placeholder, .jv-form--plain textarea::placeholder { color: #9ca3af; }
.jv-form--plain input:focus, .jv-form--plain textarea:focus { border-color: var(--jv-primary); }
.jv-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.jv-notice--ok { background: #dcfce7; color: #166534; }
.jv-notice--err { background: #fee2e2; color: #991b1b; }

/* ---------- FER 2025 ---------- */
.jv-fer { background: var(--jv-dark) linear-gradient(135deg, var(--jv-dark) 0%, #0e2211 100%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.jv-fer::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--jv-primary); opacity: .08; right: -160px; top: -160px; }
.jv-fer .jv-container { position: relative; }
.jv-fer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.jv-fer__box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--jv-radius); padding: 30px; }
.jv-fer__box h3 { color: #fff; font-size: 19px; }
.jv-fer__box h3 i { color: var(--jv-accent); margin-right: 8px; }
.jv-fer__subtitle { color: #fff; text-align: center; font-size: 22px; text-transform: uppercase; margin-bottom: 28px; }
.jv-fer__spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.jv-fer__space { text-align: center; padding: 28px 20px; border-radius: var(--jv-radius); background: rgba(255,255,255,.04); transition: background .3s; }
.jv-fer__space:hover { background: var(--jv-primary); }
.jv-fer__space i { font-size: 34px; color: var(--jv-accent); margin-bottom: 14px; }
.jv-fer__space h4 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.jv-fer__space p { font-size: 14px; margin: 0; }
.jv-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 44px; position: relative; }
.jv-timeline::before { content: ""; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: rgba(255,255,255,.2); }
.jv-timeline__item { text-align: center; padding: 0 20px; position: relative; }
.jv-timeline__day { display: inline-block; position: relative; background: var(--jv-accent); color: var(--jv-dark); font-family: var(--jv-font-head); font-weight: 700; padding: 10px 22px; border-radius: 50px; margin-bottom: 16px; }
.jv-timeline__item p { margin: 0; }

/* ---------- Galerie ---------- */
.jv-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jv-gallery__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--jv-grey); }
.jv-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.jv-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.jv-gallery__zoom { position: absolute; inset: 0; background: rgba(22,50,26,.7); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.jv-gallery__item:hover img { transform: scale(1.08); }
.jv-gallery__item:hover .jv-gallery__zoom { opacity: 1; }
.jv-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.jv-lightbox.is-open { opacity: 1; visibility: visible; }
.jv-lightbox img { max-width: 88vw; max-height: 86vh; border-radius: 6px; }
.jv-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; padding: 14px; }
.jv-lightbox__close { top: 10px; right: 18px; font-size: 42px !important; }
.jv-lightbox__prev { left: 12px; }
.jv-lightbox__next { right: 12px; }

/* ---------- Actualités ---------- */
.jv-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.jv-post { background: #fff; border-radius: var(--jv-radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.jv-post:hover { transform: translateY(-6px); box-shadow: var(--jv-shadow); }
.jv-post__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--jv-dark); }
.jv-post__media img { width: 100%; height: 100%; object-fit: cover; }
.jv-post__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 50px; }
.jv-post__body { padding: 24px 26px 26px; }
.jv-post__meta { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.jv-post__meta i { color: var(--jv-primary); margin-right: 4px; }
.jv-post__title { font-size: 19px; }
.jv-post__title a { color: var(--jv-heading); }
.jv-post__title a:hover { color: var(--jv-primary); }

/* ---------- Contact ---------- */
.jv-contact { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; }
.jv-contact__list { list-style: none; padding: 0; margin: 26px 0 0; }
.jv-contact__list li { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.jv-contact__list li > span { flex: 0 0 54px; height: 54px; border-radius: 50%; background: var(--jv-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.jv-contact__list strong { display: block; font-family: var(--jv-font-head); color: var(--jv-heading); }
.jv-contact__list a { color: var(--jv-text); }
.jv-contact__list a:hover { color: var(--jv-primary); }

.jv-map { margin-top: 60px; }
.jv-map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--jv-radius); box-shadow: var(--jv-shadow); display: block; }
.jv-section--intro { padding-bottom: 0; }
.jv-banner + .jv-features { margin-top: -40px; }

/* ---------- Partenaires ---------- */
.jv-partners { padding: 60px 0; background: var(--jv-grey); border-top: 1px solid var(--jv-border); }
.jv-partners__title { text-align: center; text-transform: uppercase; font-size: 20px; margin-bottom: 30px; }
.jv-partners__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.jv-partner { background: #fff; border: 1px solid var(--jv-border); border-radius: 8px; min-height: 90px; display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center; font-family: var(--jv-font-head); font-weight: 600; font-size: 14px; color: var(--jv-heading); filter: grayscale(1); opacity: .8; transition: all .3s; }
.jv-partner:hover { filter: none; opacity: 1; border-color: var(--jv-primary); color: var(--jv-primary); }
.jv-partner img { max-height: 60px; width: auto; }

/* ---------- Pied de page ---------- */
.jv-footer { background: #0e2211; color: rgba(255,255,255,.7); font-size: 14.5px; }
.jv-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.jv-footer__title { color: #fff; font-size: 17px; text-transform: uppercase; position: relative; padding-bottom: 12px; margin-bottom: 20px; }
.jv-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--jv-accent); }
.jv-footer a { color: rgba(255,255,255,.75); }
.jv-footer a:hover { color: var(--jv-accent); }
.jv-footer__contact, .jv-footer__links, .jv-footer__news { list-style: none; padding: 0; margin: 0; }
.jv-footer__contact li { margin-bottom: 8px; }
.jv-footer__contact i { color: var(--jv-accent); width: 20px; }
.jv-footer__links li { margin-bottom: 8px; }
.jv-footer__links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 8px; color: var(--jv-accent); }
.jv-footer__news li { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.jv-footer__date { flex: 0 0 52px; text-align: center; background: var(--jv-primary); color: #fff; border-radius: 6px; padding: 6px 0; font-size: 11px; text-transform: uppercase; line-height: 1.1; font-family: var(--jv-font-head); }
.jv-footer__date strong { display: block; font-size: 20px; }
.jv-footer__news--dark a { color: var(--jv-heading); font-weight: 600; }
.jv-footer__phone a { font-family: var(--jv-font-head); font-size: 20px; font-weight: 700; color: #fff; }
.jv-footer__bottom { background: rgba(0,0,0,.25); padding: 18px 0; font-size: 13.5px; }
.jv-footer__bottom-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jv-footer__bottom p { margin: 0; }
.jv-totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--jv-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--jv-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.jv-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.jv-totop:hover { background: var(--jv-accent); color: var(--jv-dark); }

/* ---------- Pages intérieures ---------- */
.jv-banner { position: relative; padding: 90px 0 80px; background-size: cover; background-position: center; text-align: center; }
.jv-banner::before { content: ""; position: absolute; inset: 0; background: rgba(22,50,26,.85); }
.jv-banner .jv-container { position: relative; }
.jv-banner__title { color: #fff; font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; font-weight: 800; }
.jv-banner__crumbs { color: rgba(255,255,255,.8); margin: 0; }
.jv-banner__crumbs a { color: var(--jv-accent); }
.jv-banner__crumbs i { font-size: 11px; margin: 0 8px; }
.jv-single { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.jv-entry__media { margin-bottom: 24px; border-radius: var(--jv-radius); overflow: hidden; }
.jv-entry__eventmeta { margin-bottom: 20px; padding: 14px 18px; background: var(--jv-grey); border-radius: 8px; }
.jv-entry__content { font-size: 16px; }
.jv-entry__content h2, .jv-entry__content h3 { margin-top: 1.4em; }
.jv-entry__content img { border-radius: 8px; }
.jv-entry__content blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--jv-primary); background: var(--jv-grey); font-style: italic; }
.jv-entry__nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--jv-border); }
.jv-entry__nav .nav-links { display: flex; justify-content: space-between; gap: 20px; }
.jv-sidebar .jv-widget { background: var(--jv-grey); border-radius: var(--jv-radius); padding: 26px; margin-bottom: 26px; }
.jv-widget__title { font-size: 17px; text-transform: uppercase; }
.jv-widget--cta { background: var(--jv-dark) !important; color: rgba(255,255,255,.85); }
.jv-widget--cta .jv-widget__title { color: #fff; }
.jv-widget ul { list-style: none; padding: 0; margin: 0; }
.jv-pagination { margin-top: 50px; text-align: center; }
.jv-pagination .page-numbers { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--jv-grey); color: var(--jv-heading); margin: 0 3px; font-weight: 600; }
.jv-pagination .page-numbers.current, .jv-pagination .page-numbers:hover { background: var(--jv-primary); color: #fff; }
.jv-404 { font-family: var(--jv-font-head); font-size: 120px; font-weight: 800; color: var(--jv-primary); line-height: 1; margin-bottom: 10px; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 12px 16px; border: 1px solid var(--jv-border); border-radius: 50px; }
.search-form .search-submit { padding: 12px 22px; border: 0; border-radius: 50px; background: var(--jv-primary); color: #fff; cursor: pointer; }
.jv-comments { margin-top: 50px; }
.jv-comments__list { list-style: none; padding: 0; }
.jv-comments__list .comment-body { padding: 20px; background: var(--jv-grey); border-radius: 8px; margin-bottom: 16px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--jv-border); border-radius: 6px; background: var(--jv-grey); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.wp-caption-text { font-size: 13px; text-align: center; }

/* ---------- Apparition au défilement ---------- */
.jv-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.jv-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.jv-menu > li > a { padding-left: 9px; padding-right: 9px; font-size: 13px; }
	.jv-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
	.jv-burger { display: block; }
	.jv-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--jv-shadow); max-height: 0; overflow: hidden; transition: max-height .35s; }
	.jv-nav.is-open { max-height: 80vh; overflow-y: auto; }
	.jv-menu { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
	.jv-menu > li > a { padding: 12px 0; border-bottom: 1px solid var(--jv-border); }
	.jv-menu > li > a::after { display: none; }
	.jv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
	.jv-features { margin-top: 0; }
	.jv-features__grid { grid-template-columns: 1fr; border-radius: 0; }
	.jv-feature { border-right: 0; border-bottom: 1px solid var(--jv-border); }
	.jv-about__grid, .jv-volunteer, .jv-contact, .jv-single { grid-template-columns: 1fr; gap: 40px; }
	.jv-events, .jv-posts, .jv-fer__grid { grid-template-columns: repeat(2, 1fr); }
	.jv-cards > .jv-card { flex-basis: calc((100% - 30px) / 2); }
	.jv-stats__grid, .jv-fer__spaces { grid-template-columns: repeat(2, 1fr); }
	.jv-footer__grid { grid-template-columns: 1fr 1fr; }
	.jv-gallery { grid-template-columns: repeat(3, 1fr); }
	.jv-stats { background-attachment: scroll; }
	.jv-hero__dots { bottom: 30px; }
}
@media (max-width: 680px) {
	.jv-hide-sm { display: none !important; }
	.jv-topbar__inner { justify-content: center; }
	.jv-section { padding: 64px 0; }
	.jv-hero { height: 560px; }
	.jv-hero__arrow { display: none; }
	.jv-slide__text { font-size: 16px; }
	.jv-cards > .jv-card { flex-basis: 100%; }
	.jv-events, .jv-posts, .jv-fer__grid, .jv-actions, .jv-about__boxes, .jv-form__row, .jv-footer__grid, .jv-timeline { grid-template-columns: 1fr; }
	.jv-timeline { gap: 20px; }
	.jv-timeline::before { display: none; }
	.jv-stats__grid, .jv-fer__spaces { grid-template-columns: 1fr 1fr; gap: 20px; }
	.jv-stat__num { font-size: 38px; }
	.jv-gallery { grid-template-columns: repeat(2, 1fr); }
	.jv-map iframe { height: 300px; }
	.jv-about__images { grid-template-rows: 160px 160px; }
	.jv-form { padding: 26px; }
	.jv-logo__text { font-size: 17px; }
	.jv-logo img { max-height: 46px; }
}
