/* ==========================================================================
   Page d'accueil — reprise de la mise en page du site d'origine
   (chargée uniquement sur index.php)
   ========================================================================== */
:root {
    --h-green: #0f7140;
    --h-green-dark: #0a4b2a;
    --h-green-soft: rgba(15, 113, 64, .08);
    --h-red: #dc2626;
    --h-gold: #F9D812;
    --h-ink: #1a2e1a;
    --h-ink-dark: #0a1f0a;
    --h-text: #4a5a4c;
    --h-muted: #6b7280;
    --h-grey: #f3f4f6;
    --h-border: rgba(15, 113, 64, .1);
    --h-shadow: 0 18px 46px rgba(15, 113, 64, .14);
}
html, body.home { overflow-x: clip; }
.home-main { font-family: var(--font-1); }
.home-main h1, .home-main h2, .home-main h3 { font-family: var(--font-1); }

/* ---------- En-tête transparent au-dessus du carrousel ---------- */
.home .header { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom: 0; }
.home .header.is-fixed { position: fixed; top: 0; background: var(--green-900); border-bottom: 0; animation: h-drop .3s ease; }
.home .header .nav__trigger { color: var(--fx-paper); }
.home .header .nav__trigger:hover { color: var(--fx-paper); background: var(--c-255-255-255-_08); }
.home .header .nav__item.is-current > .nav__trigger { color: var(--fx-paper); box-shadow: inset 0 -2px 0 var(--gold); }
@keyframes h-drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Structure ---------- */
.h-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.h-container--narrow { max-width: 896px; }
.h-section { position: relative; padding: 96px 0; background: var(--fx-paper); }
.h-section--grey { background: var(--h-grey); }
.h-section--tight { padding: 24px 0 48px; background: transparent; }
.h-dots::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--c-15-113-64-_06) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.h-dots > .h-container { position: relative; z-index: 1; }
.h-center { text-align: center; margin-top: 32px; }
.h-empty { color: var(--h-muted); }

.h-head { margin-bottom: 48px; }
.h-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.h-head--row .h-heading { margin-bottom: 0; }
.h-head--row .link-more { margin-top: 0; }
.h-head--center { text-align: center; }
.h-head--center .h-tag { justify-content: center; }
.h-head__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-head__actions .link-more { margin-top: 0; }

.h-tag { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--h-green); font-size: 13px; font-weight: 600; }
.h-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--h-red); flex-shrink: 0; }
.h-heading { margin: 0 0 16px; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.03em; color: var(--h-ink); }
.h-heading em { font-style: normal; color: var(--h-green); }
.h-red { color: var(--h-red); }
.h-count { color: var(--c-9ca3af); font-weight: 400; font-size: 24px; }
.h-text { max-width: 560px; margin: 0; color: var(--h-text); font-size: 15px; line-height: 1.7; }
.h-lead { margin: 0 0 24px; color: var(--h-text); font-size: 15px; line-height: 1.7; }

/* ---------- Boutons ---------- */
.link-more { display: inline-flex; align-items: center; margin-top: 18px; padding: 4px; border-radius: 30px; background: var(--h-green); font-size: 14px; font-weight: 500; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.link-more__inner { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 30px; background: var(--fx-paper); color: var(--h-green); white-space: nowrap; transition: background .3s, color .3s; }
.link-more__arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--fx-paper); font-size: 11px; }
.link-more:hover { transform: translateY(-1px); box-shadow: 0 5px 12px var(--c-15-113-64-_14); text-decoration: none; }
.link-more:hover .link-more__inner { background: var(--h-gold); color: var(--h-green); }
.link-more--red { background: var(--h-red); }
.link-more--red .link-more__inner { color: var(--h-red); }
.link-more--red:hover { box-shadow: 0 14px 30px var(--c-220-38-38-_35); }
.link-more--red:hover .link-more__inner { background: var(--h-green); color: var(--fx-paper); }

.h-btn-outline { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px; padding: 12px 28px; border: 2px solid var(--h-green); border-radius: 10px; color: var(--h-green); font-size: 14px; font-weight: 600; text-decoration: none; transition: .3s; }
.h-btn-outline:hover { background: var(--h-green); color: var(--fx-paper); }
.h-btn-outline i { font-size: 12px; }
.h-btn-outline--red { border-color: var(--h-red); color: var(--h-red); margin-bottom: 0; }
.h-btn-outline--red:hover { background: var(--h-red); color: var(--fx-paper); }
.h-btn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 2px solid var(--h-green); border-radius: 999px; background: transparent; color: var(--h-green); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: .3s; }
.h-btn-pill:hover { background: var(--h-green); color: var(--fx-paper); }

/* ==========================================================================
   HERO (carrousel)
   ========================================================================== */
.h-hero { position: relative; min-height: 100dvh; overflow: hidden; background: var(--h-green); color: var(--fx-paper); }
.h-hero__slides { position: absolute; inset: 0; z-index: 0; }
.h-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.05); transition: opacity 1.8s ease-in-out, transform 9s ease-out; }
.h-hero__slide.is-active { opacity: 1; transform: scale(1); }
.h-hero__slide::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(100deg, var(--c-0-30-15-_72) 0%, var(--c-0-30-15-_32) 45%, var(--c-0-0-0-_08) 70%, transparent 100%),
    linear-gradient(to top, var(--c-0-20-10-_5) 0%, transparent 38%); }
.h-hero__dots-overlay { position: absolute; inset: 0; z-index: 1; background-image: radial-gradient(var(--c-255-255-255-_05) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }

.h-hero__texts { position: relative; z-index: 10; min-height: 100dvh; }
.h-hero__text { position: absolute; inset: 0; display: flex; align-items: flex-start; padding: calc(76px + clamp(40px, 12vh, 140px)) 0 120px; opacity: 0; transform: translateX(80px); pointer-events: none; transition: opacity .8s, transform .8s cubic-bezier(.22,1,.36,1); }
.h-hero__text.is-active { opacity: 1; transform: none; pointer-events: auto; }
.h-hero__text.is-exit { opacity: 0; transform: translateX(-60px); transition: opacity .5s, transform .5s; }
.h-hero__text .container { width: 100%; }
.h-hero__title { max-width: 900px; margin: 0; font-size: clamp(32px, 4.8vw, 56px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; color: var(--fx-paper); text-wrap: balance; }
.h-hero__subtitle { max-width: 520px; margin: 22px 0 0; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.55; color: var(--c-255-255-255-_82); }
.h-hero__title, .h-hero__subtitle, .h-hero__cta { opacity: 0; transform: translateX(50px); transition: opacity .6s, transform .6s cubic-bezier(.22,1,.36,1); }
.h-hero__text.is-active .h-hero__title { opacity: 1; transform: none; transition-delay: .3s; }
.h-hero__text.is-active .h-hero__subtitle { opacity: 1; transform: none; transition-delay: .45s; }
.h-hero__text.is-active .h-hero__cta { opacity: 1; transform: none; transition-delay: .6s; }
.h-hero__btn { display: inline-flex; align-items: center; gap: 13px; margin-top: 30px; padding: 8px 24px 8px 8px; border-radius: 999px; background: var(--h-green); color: var(--fx-paper); font-size: 14px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; transition: transform .2s, box-shadow .25s; }
.h-hero__btn:hover { color: var(--fx-paper); transform: translateY(-2px); box-shadow: 0 10px 32px var(--c-15-113-64-_45); }
.h-hero__btn-circle { width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--fx-paper); color: var(--h-green); transition: transform .25s; }
.h-hero__btn:hover .h-hero__btn-circle { transform: translateX(3px); }

.h-hero__arrow { position: absolute; top: 50%; z-index: 25; width: 44px; height: 44px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--c-255-255-255-_2); background: var(--c-255-255-255-_15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--fx-paper); font-size: 16px; cursor: pointer; transition: .3s; }
.h-hero__arrow:hover { background: var(--h-red); border-color: var(--h-red); }
.h-hero__arrow--prev { left: 20px; }
.h-hero__arrow--next { right: 20px; }
.h-hero__dots { position: absolute; bottom: 28px; left: 50%; z-index: 25; transform: translateX(-50%); display: flex; gap: 10px; }
.h-hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--c-255-255-255-_4); cursor: pointer; transition: .3s; }
.h-hero__dot.is-active { background: var(--fx-paper); transform: scale(1.3); }

/* ==========================================================================
   QUI SOMMES-NOUS
   ========================================================================== */
.h-about { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.h-about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.h-mini-card { padding: 24px; border-radius: 18px; background: var(--fx-paper); border: 1px solid var(--c-15-113-64-_08); transition: transform .35s, box-shadow .35s, background-color .35s, border-color .35s; }
.h-mini-card:hover { box-shadow: var(--h-shadow); }
.h-mini-card__icon { width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--h-green-soft); color: var(--h-green); font-size: 18px; transition: background-color .35s, color .35s; }
.h-mini-card:hover .h-mini-card__icon { background: var(--h-green); color: var(--fx-paper); }
.h-mini-card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--h-ink); }
.h-mini-card p { margin: 0; font-size: 12.5px; line-height: 1.65; color: var(--h-muted); }
.h-about__media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 25px 50px -12px var(--c-0-0-0-_25); }
.h-about__media img { width: 100%; height: 560px; object-fit: cover; display: block; }
.h-about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--c-15-113-64-_4), transparent 50%); pointer-events: none; }
.h-about__badge { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: var(--c-255-255-255-_95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 10px 15px -3px var(--c-0-0-0-_1); }
.h-about__badge-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-15-113-64-_1); color: var(--h-green); font-size: 18px; }
.h-about__badge strong { display: block; font-size: 14px; font-weight: 600; color: var(--h-ink); }
.h-about__badge span { font-size: 12.5px; color: var(--h-muted); }

/* ==========================================================================
   CARTES (activités, actualités, événements, processus)
   ========================================================================== */
.h-features, .h-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.h-features { gap: 20px; }
.h-feature { position: relative; height: 100%; padding: 28px 24px; overflow: hidden; border-radius: 18px; background: var(--fx-paper); border: 1.5px solid var(--c-e5ebe7); color: var(--h-ink); transition: transform .35s, box-shadow .35s, background-color .35s, border-color .35s; display: flex; flex-direction: column; align-items: flex-start; }
.h-feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--h-green); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.h-feature:hover { transform: translateY(-6px); box-shadow: var(--h-shadow); border-color: transparent; }
.h-feature:hover::before { transform: scaleX(1); }
.h-feature h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--h-ink-dark); }
.h-feature p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--h-muted); }
.h-feature .link-more { margin-top: auto; padding-top: 4px; }
.h-feature > p + .link-more { margin-top: 18px; }
.h-feature__icon { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--h-green-soft); color: var(--h-green); font-size: 22px; transition: background-color .35s, color .35s; }
.h-feature:hover .h-feature__icon { background: var(--h-green); color: var(--fx-paper); }
.h-feature--red { border-color: var(--c-220-38-38-_15); padding: 18px 16px; }
.h-feature--red::before { background: var(--h-red); }
.h-feature--red:hover { border-color: var(--h-red); }
.h-feature--red .h-feature__icon { background: var(--c-220-38-38-_08); color: var(--h-red); }
.h-feature--red:hover .h-feature__icon { background: var(--h-red); color: var(--fx-paper); }

.h-card-link { display: flex; text-decoration: none; }
.h-card-link:hover { text-decoration: none; color: var(--h-ink); }
.h-card-link__img { width: 100%; margin-bottom: 16px; overflow: hidden; border-radius: 8px; }
.h-card-link__img img { width: 100%; height: 208px; object-fit: cover; display: block; transition: transform .5s; }
.h-card-link__img--short img { height: 176px; }
.h-card-link:hover .h-card-link__img img { transform: scale(1.05); }
.h-card-link__title { margin: 0 0 4px !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.45; color: var(--h-ink-dark); }
.h-card-link__date { font-size: 11.5px; color: var(--h-muted); }
.h-card-link__date i { margin-right: 4px; }
.h-card-link__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--h-green); font-size: 14px; font-weight: 500; transition: gap .3s; }
.h-card-link__more i { font-size: 11px; }
.h-card-link:hover .h-card-link__more { gap: 12px; }
.h-card-link__more--sm { font-size: 12px; font-weight: 600; }

/* ==========================================================================
   ROUTES DU PCEC
   ========================================================================== */
.h-pcec { position: relative; margin-top: 100px; padding: 112px 0; overflow: hidden; }
.h-pcec__bg { position: absolute; inset: 0; }
.h-pcec__bg img { width: 100%; height: 100%; object-fit: cover; }
.h-pcec__bg::after { content: ""; position: absolute; inset: 0; background: var(--c-10-31-18-_88); }
.h-pcec__tabs { position: absolute; top: 0; right: 200px; z-index: 10; display: flex; align-items: center; padding: 10px; border-radius: 0 0 16px 16px; background: var(--h-grey); box-shadow: 0 10px 15px -3px var(--c-0-0-0-_1); }
.h-pcec__tabs a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--h-text); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s; }
.h-pcec__tabs a + a { border-left: 1px solid var(--c-e5e7eb); }
.h-pcec__tabs a:hover { color: var(--h-green); }
.h-pcec__tabs i { color: var(--h-green); font-size: 12px; }
.h-pcec__inner { position: relative; }
.h-pcec__head { max-width: 576px; margin-bottom: 64px; }
.h-pcec__tag { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--h-gold); font-size: 13px; font-weight: 600; }
.h-pcec__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--h-gold); }
.h-pcec__head h2 { margin: 0 0 16px; color: var(--fx-paper); font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.03em; }
.h-pcec__head h2 em { font-style: normal; color: var(--h-gold); }
.h-pcec__head p { margin: 0; color: var(--c-255-255-255-_6); font-size: 15px; line-height: 1.7; }
.h-programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.h-program { position: relative; padding: 38px 28px 30px; border-radius: 18px; background: var(--fx-paper); border: 1px solid var(--h-border); transition: transform .35s, box-shadow .35s, border-color .35s; }
.h-program:hover { transform: translateY(-8px); box-shadow: var(--h-shadow); border-color: transparent; }
.h-program__num { display: block; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--h-green); }
.h-program__icon { width: 64px; height: 64px; margin: 18px 0 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c-245-201-8-_16); color: var(--h-green); font-size: 25px; transition: background .3s; }
.h-program:hover .h-program__icon { background: var(--h-gold); }
.h-program h3 { margin: 0 0 10px; color: var(--h-green); font-size: 19px; font-weight: 600; line-height: 1.25; }
.h-program p { margin: 0; color: var(--h-text); font-size: 14px; line-height: 1.65; }
.h-program ul { display: grid; gap: 7px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--h-border); list-style: none; }
.h-program li { display: flex; align-items: center; gap: 8px; color: var(--h-green); font-size: 13px; }
.h-program li i { font-size: 11px; }
.h-program__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--h-green); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: gap .3s; }
.h-program__link:hover { gap: 14px; color: var(--h-green-dark); text-decoration: none; }

/* ==========================================================================
   NOS NORMES
   ========================================================================== */
.h-norms { overflow: hidden; }
.h-norms__bg { position: absolute; inset: 0; }
.h-norms__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) brightness(.8); opacity: .15; }
.h-norms__bg::after { content: ""; position: absolute; inset: 0; background: var(--c-243-244-246-_8); }
.h-norms__inner { position: relative; z-index: 1; }
.h-norms .h-head { margin-bottom: 40px; }
.h-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.h-filters__search { position: relative; flex: 1 1 200px; }
.h-filters__search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-9ca3af); font-size: 12px; }
.h-filters input, .h-filters select { padding: 10px 16px; border: 1px solid var(--c-15-113-64-_15); border-radius: 12px; background: var(--fx-paper); color: var(--c-4b5563); font: inherit; font-size: 14px; }
.h-filters input { width: 100%; padding-left: 40px; }
.h-filters input:focus, .h-filters select:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--h-green); }
.h-norm { display: flex; flex-direction: column; overflow: hidden; border-radius: 17px; background: var(--fx-paper); border: 1px solid var(--c-15-113-64-_05); box-shadow: 0 8px 24px var(--c-15-113-64-_07); }
.h-norm[hidden], .h-norm.is-collapsed { display: none; }
.h-norm__cover { position: relative; height: 140px; overflow: hidden; background: var(--c-dfeee3); }
.h-norm__cover img { width: 100%; height: 100%; object-fit: cover; }
.h-norm__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-5-58-31-_68), var(--c-5-58-31-_08)); }
.h-norm__cover span { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 6px 9px; border-radius: 20px; background: var(--fx-paper); color: var(--h-green); font-size: 12px; font-weight: 700; }
.h-norm__body { flex: 1; display: flex; flex-direction: column; padding: 17px; }
.h-norm__body small { color: var(--h-green); font-size: 11px; font-weight: 800; }
.h-norm__body h3 { margin: 7px 0; color: var(--h-ink-dark); font-size: 16px; font-weight: 600; }
.h-norm__title { margin: 0 0 8px; color: var(--h-ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.h-norm__desc { flex: 1; margin: 0 0 14px; color: var(--h-text); font-size: 11.5px; line-height: 1.5; }
.h-norm__actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.h-norm__actions a { color: var(--h-green); font-size: 11.5px; font-weight: 800; text-decoration: none; }
.h-norm__actions a:hover { color: var(--h-green-dark); text-decoration: none; }
.h-norm__actions i { font-size: 10px; }
.h-norm__actions .h-norm__buy { padding: 8px 12px; border-radius: 8px; background: var(--h-green); color: var(--fx-paper); }
.h-norm__actions .h-norm__buy:hover { background: var(--h-gold); color: var(--h-green-dark); }
.h-norms__empty { grid-column: 1 / -1; padding: 32px; text-align: center; color: var(--h-muted); background: var(--fx-paper); border-radius: 16px; }

/* ==========================================================================
   PROCESSUS
   ========================================================================== */
.h-process { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.h-process > *, .h-about > * { min-width: 0; }
.h-process__carousel { position: relative; }
.h-process__viewport { overflow: hidden; border-radius: 18px; }
.h-process__track { display: flex; transition: transform .5s ease-in-out; }
.h-process__slide { flex: 0 0 33.333%; padding: 0 12px; }
.h-process__slide .h-feature:hover { transform: none; }
.h-process__arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--c-15-113-64-_1); background: var(--fx-paper); color: var(--h-green); box-shadow: 0 4px 6px -1px var(--c-0-0-0-_1); cursor: pointer; transition: .3s; }
.h-process__arrow:hover { background: var(--h-red); color: var(--fx-paper); }
.h-process__arrow--prev { left: -20px; }
.h-process__arrow--next { right: -20px; }
.h-process__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.h-process__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--c-d1d5db); cursor: pointer; transition: background .3s; }
.h-process__dots button.is-active { background: var(--h-green); }

/* ==========================================================================
   ÉVÉNEMENTS
   ========================================================================== */
.h-event__row { display: flex; align-items: flex-start; gap: 16px; width: 100%; flex: 1; }
.h-event__date { flex-shrink: 0; padding: 8px 12px; border-radius: 12px; background: var(--c-eaf4ef); text-align: center; color: var(--h-green); }
.h-event__date strong { display: block; font-size: 24px; line-height: 1; font-weight: 700; }
.h-event__date span { display: block; font-size: 12px; font-weight: 500; }
.h-event__date small { display: block; font-size: 10px; color: var(--h-muted); }
.h-event__body { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.h-event__body p { margin: 0 0 8px; font-size: 12px; line-height: 1.6; color: var(--h-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-event__body .h-card-link__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-event__place { font-size: 11.5px; color: var(--h-muted); }
.h-event__place i { margin-right: 4px; }
.h-badge { align-self: flex-start; display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; }
.h-badge--blue { background: var(--c-dbeafe); color: var(--c-1d4ed8); }
.h-badge--amber { background: var(--c-fef3c7); color: var(--c-b45309); }
.h-badge--violet { background: var(--c-ede9fe); color: var(--c-6d28d9); }
.h-badge--green { background: var(--c-dcfce7); color: var(--c-15803d); }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.h-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 16px; }
.h-gallery__card { position: relative; display: block; min-height: 190px; overflow: hidden; border-radius: 18px; background: var(--c-eaf4ef); }
.h-gallery__card:first-child { grid-column: span 2; grid-row: span 2; }
.h-gallery__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.h-gallery__card:hover img { transform: scale(1.04); }
.h-gallery__card::after, .h-gallery__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, var(--c-5-31-15-_8)); pointer-events: none; }
.h-gallery__caption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; color: var(--fx-paper); }
.h-gallery__caption small { display: block; margin-bottom: 5px; color: var(--h-gold); font-size: 12px; font-weight: 600; }
.h-gallery__caption strong { font-size: 14px; line-height: 1.3; }
.h-gallery__carousel::after { display: none; }
.h-gallery__carousel:hover img { transform: none; }
.h-gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.h-gallery__slide.is-active { opacity: 1; }
.h-gallery__carousel .h-gallery__caption { bottom: 40px; }
.h-gallery__arrow { position: absolute; top: 50%; z-index: 5; width: 40px; height: 40px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--c-255-255-255-_85); color: var(--h-green); font-size: 16px; box-shadow: 0 2px 8px var(--c-0-0-0-_2); cursor: pointer; opacity: 0; transition: opacity .3s, background .3s; }
.h-gallery__carousel:hover .h-gallery__arrow, .h-gallery__arrow:focus-visible { opacity: 1; }
.h-gallery__arrow:hover { background: var(--fx-paper); color: var(--h-red); }
.h-gallery__arrow--prev { left: 14px; }
.h-gallery__arrow--next { right: 14px; }
.h-gallery__dots { position: absolute; bottom: 14px; left: 50%; z-index: 5; transform: translateX(-50%); display: flex; gap: 6px; }
.h-gallery__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--c-255-255-255-_5); cursor: pointer; transition: background .3s, transform .3s; }
.h-gallery__dot.is-active { background: var(--h-gold); transform: scale(1.3); }

/* ==========================================================================
   PARTENAIRES
   ========================================================================== */
.h-partners { padding: 80px 0; }
.h-partners .h-head { margin-bottom: 40px; }
.h-partners__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.h-partner { min-width: 200px; display: flex; align-items: center; justify-content: center; padding: 24px 40px; border-radius: 12px; background: var(--fx-paper); border: 1px solid var(--c-f3f4f6); transition: transform .3s, box-shadow .3s, border-color .3s; }
.h-partner:hover { border-color: var(--c-15-113-64-_3); box-shadow: 0 10px 15px -3px var(--c-0-0-0-_1); }
.h-partner img { height: 48px; width: auto; max-width: 140px; object-fit: contain; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.h-faq { display: grid; gap: 12px; }
.h-faq__item { overflow: hidden; border-radius: 18px; background: var(--h-grey); border: 1px solid var(--c-15-113-64-_08); transition: box-shadow .3s; }
.h-faq__item.is-open { box-shadow: 0 4px 16px var(--c-15-113-64-_08); }
.h-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }
.h-faq__q span { font-size: 14px; font-weight: 600; color: var(--h-ink); }
.h-faq__q i { flex-shrink: 0; color: var(--h-green); font-size: 14px; transition: transform .3s; }
.h-faq__item.is-open .h-faq__q i { transform: rotate(45deg); }
.h-faq__a { padding: 0 24px 20px; }
.h-faq__a p { margin: 0; color: var(--h-text); font-size: 14px; line-height: 1.7; }

/* ---------- Apparition au défilement ---------- */
.js .h-reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s, transform .7s; }
.js .h-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .h-hero__slide, .h-hero__text, .h-hero__title, .h-hero__subtitle, .h-hero__cta, .h-reveal { transition: none !important; transform: none !important; }
    .js .h-reveal { opacity: 1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    .h-pcec__tabs { right: 32px; }
}
@media (max-width: 1080px) {
    .h-features, .h-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .h-about, .h-process { grid-template-columns: minmax(0, 1fr); }
    .h-about__media img { height: 480px; }
    .h-programs { grid-template-columns: 1fr; }
    .h-pcec__tabs { display: none; }
    .h-pcec { margin-top: 48px; }
    .h-process__slide { flex-basis: 50%; }
}
@media (max-width: 800px) {
    .h-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
    .h-gallery__card:first-child { grid-column: span 2; grid-row: span 1; }
    .h-gallery__arrow { width: 32px; height: 32px; font-size: 13px; opacity: 1; }
}
@media (max-width: 720px) {
    .h-container { padding: 0 16px; }
    .h-section { padding: 64px 0; }
    .h-section--tight { padding: 16px 0 32px; }
    .h-pcec { padding: 72px 0; }
    .h-hero__text { padding-top: 150px; }
    .h-hero__arrow { display: none; }
    .h-features, .h-grid-4, .h-about__cards { grid-template-columns: 1fr; }
    .h-about__media img { height: 360px; }
    .h-process__slide { flex-basis: 100%; }
    .h-process__arrow--prev { left: 4px; }
    .h-process__arrow--next { right: 4px; }
    .h-filters select { flex: 1 1 calc(50% - 6px); min-width: 0; }
}
@media (max-width: 520px) {
    .h-gallery { grid-template-columns: 1fr; }
    .h-gallery__card:first-child { grid-column: span 1; }
    .h-head__actions { width: 100%; }
}
