/* ==========================================================================
   AFeJE ONG — Feuille de style principale
   Palette dérivée du logo : bleus indigo du pagne et du globe, rouge du sigle,
   tons terre et or pour la chaleur humaine.
   ========================================================================== */
:root {
    --afj-navy: #0b2f6b;
    --afj-navy-2: #0e4bb3;
    --afj-blue: #1877f2;
    --afj-sky: #4599ff;
    --afj-sky-soft: #e7f0fe;
    --afj-red: #e4572e;
    --afj-red-dark: #c7441f;
    --afj-gold: #e8a33d;
    --afj-gold-soft: #fcf1de;
    --afj-earth: #7a3e22;
    --afj-green: #2f8a57;
    --afj-sand: #f7f3ec;
    --afj-ink: #16233a;
    --afj-muted: #5c6b82;
    --afj-line: #e4e9f1;
    --afj-white: #ffffff;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(11, 47, 107, .06);
    --shadow: 0 14px 40px -12px rgba(11, 47, 107, .22);
    --shadow-lg: 0 30px 70px -20px rgba(11, 47, 107, .35);
    --font-head: 'Inter', Arial, Helvetica, sans-serif;
    --font-body: 'Inter', Arial, Helvetica, sans-serif;
    --bs-primary: var(--afj-blue);
    --bs-primary-rgb: 24, 119, 242;
    --bs-link-color: var(--afj-blue);
    --bs-link-color-rgb: 24, 119, 242;
    --bs-link-hover-color: var(--afj-navy);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--afj-ink);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); color: var(--afj-ink); background: var(--afj-white); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .font-head { font-family: var(--font-head); color: var(--afj-navy); font-weight: 700; line-height: 1.2; }
h5, h6 { font-family: var(--font-body); font-weight: 700; color: var(--afj-navy); }
a { color: var(--afj-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--afj-navy); }
img { max-width: 100%; height: auto; }
::selection { background: var(--afj-sky); color: #fff; }
:focus-visible { outline: 3px solid var(--afj-gold); outline-offset: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: var(--afj-navy); color: #fff; padding: 8px 16px; border-radius: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.text-muted { color: var(--afj-muted) !important; }

/* ---------- Boutons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .7rem 1.5rem; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; }
.btn-primary { --bs-btn-bg: var(--afj-blue); --bs-btn-border-color: var(--afj-blue); --bs-btn-hover-bg: var(--afj-navy); --bs-btn-hover-border-color: var(--afj-navy); --bs-btn-active-bg: var(--afj-navy); --bs-btn-disabled-bg: var(--afj-blue); box-shadow: 0 8px 20px -8px rgba(24, 119, 242, .6); }
.btn-outline-primary { --bs-btn-color: var(--afj-blue); --bs-btn-border-color: var(--afj-blue); --bs-btn-hover-bg: var(--afj-blue); --bs-btn-hover-border-color: var(--afj-blue); --bs-btn-active-bg: var(--afj-navy); }
.btn-donate, .btn-red { background: var(--afj-red); color: #fff; border: 0; box-shadow: 0 8px 22px -8px rgba(228, 87, 46, .7); }
.btn-donate:hover, .btn-red:hover { background: var(--afj-red-dark); color: #fff; }
.btn-gold { background: var(--afj-gold); color: var(--afj-navy); border: 0; }
.btn-gold:hover { background: #f0b457; color: var(--afj-navy); }
.btn-light-outline { border: 2px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-light-outline:hover { background: #fff; color: var(--afj-navy); }
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; background: var(--afj-sky-soft); color: var(--afj-navy); border: 0; }
.btn-icon:hover { background: var(--afj-blue); color: #fff; }
.link-arrow { font-weight: 600; color: var(--afj-blue); display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.link-arrow i { transition: transform .2s; }
.card:hover .link-arrow i, .link-arrow:hover i { transform: translateX(4px); }

/* ---------- Barre supérieure & en-tête ---------- */
.topbar { background: var(--afj-navy); color: rgba(255, 255, 255, .85); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.topbar a:hover { color: var(--afj-gold); }
.topbar i { margin-right: .35rem; color: var(--afj-gold); }
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; z-index: 1030; }
.site-header.is-scrolled { box-shadow: 0 6px 30px -12px rgba(11, 47, 107, .25); border-bottom-color: var(--afj-line); }
.navbar { padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; margin-right: 1.5rem; }
.brand img { width: 58px; height: 58px; object-fit: contain; transition: transform .4s; filter: drop-shadow(0 4px 8px rgba(11, 47, 107, .15)); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--afj-navy); letter-spacing: .01em; }
.brand-name em { font-style: normal; color: var(--afj-red); }
.brand-tag { font-size: .7rem; color: var(--afj-muted); max-width: 220px; white-space: normal; letter-spacing: .02em; }
.navbar-nav .nav-link { font-weight: 600; font-size: .95rem; color: var(--afj-ink); padding: .6rem .85rem !important; border-radius: 10px; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active, .navbar-nav .show > .nav-link { color: var(--afj-blue); }
@media (min-width: 1200px) {
    .navbar-nav .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--afj-red); transform: scaleX(0); transform-origin: left; transition: transform .25s; border: 0; margin: 0; }
    .navbar-nav .nav-link.dropdown-toggle::after { display: none; }
    .navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
    .navbar-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .offcanvas.offcanvas-end { visibility: visible; }
}
.dropdown-menu { border: 1px solid var(--afj-line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; min-width: 250px; animation: dropIn .2s ease-out; }
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; font-size: .93rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--afj-sky-soft); color: var(--afj-navy); }
@keyframes dropIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.navbar-toggler { border: 0; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 12px; background: var(--afj-navy); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(232, 163, 61, .5); }
.toggler-bar { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.toggler-bar:nth-child(2) { width: 14px; margin-left: 6px; }
@media (max-width: 1199.98px) {
    .offcanvas { max-width: 86vw; }
    .navbar-nav .nav-link { padding: .8rem .5rem !important; border-bottom: 1px solid var(--afj-line); border-radius: 0; }
    .navbar-nav .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; animation: none; }
    .brand-tag { display: none; }
    .brand img { width: 50px; height: 50px; }
}
.search-modal { border-radius: var(--radius); border: 0; }

/* ---------- Sections & titres ---------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-sand { background: var(--afj-sand); }
.bg-sky { background: var(--afj-sky-soft); }
.bg-navy { background: var(--afj-navy); color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--afj-red); margin-bottom: .75rem; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.text-center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--afj-muted); }
.bg-navy .section-title, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .section-lead { color: rgba(255, 255, 255, .7); }
.bg-navy .eyebrow { color: var(--afj-gold); }

/* ---------- Bandeau de chiffres clés ---------- */
.stats-band { margin-top: -70px; position: relative; z-index: 5; }
.stats-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1rem; }
.stat { text-align: center; padding: .5rem 1rem; }
.stat + .stat { border-left: 1px solid var(--afj-line); }
.stat-value { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--afj-navy); line-height: 1; }
.stat-value .suffix { color: var(--afj-red); }
.stat-label { color: var(--afj-muted); font-size: .9rem; margin-top: .5rem; font-weight: 500; }
@media (max-width: 767.98px) {
    .stat + .stat { border-left: 0; }
    .stats-card .col-6:nth-child(n+3) .stat { border-top: 1px solid var(--afj-line); padding-top: 1.2rem; }
}

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.check-list li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .05rem; color: var(--afj-green); font-size: 1.15rem; }
.quote-block { border-left: 4px solid var(--afj-red); background: var(--afj-sand); padding: 1.2rem 1.5rem; border-radius: 0 14px 14px 0; font-style: italic; color: var(--afj-navy); }

/* ---------- Domaines d'intervention ---------- */
.domain-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; height: 100%; border: 1px solid var(--afj-line); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.domain-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.domain-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.domain-card:hover::after { transform: scaleX(1); }
.domain-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; color: var(--tone); background: var(--tone-soft); margin-bottom: 1.3rem; transition: transform .3s; }
.domain-card h3 { font-size: 1.25rem; }
.domain-card p { color: var(--afj-muted); margin-bottom: 1rem; }
.tone-blue { --tone: var(--afj-blue); --tone-soft: #e7f0fe; }
.tone-green { --tone: var(--afj-green); --tone-soft: #e3f3ea; }
.tone-gold { --tone: #c47f16; --tone-soft: var(--afj-gold-soft); }
.tone-red { --tone: var(--afj-red); --tone-soft: #fde8e1; }
.domain-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--tone); background: var(--tone-soft); padding: .3rem .75rem; border-radius: 999px; }

/* ---------- Cartes ---------- */
.card { border: 1px solid var(--afj-line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; background: #fff; }
.card-post:hover, .card-project:hover, .card-event:hover, .card-pub:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-post-media, .card-project-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--afj-sky-soft); }
.card-post-media img, .card-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-post-media img, .card:hover .card-project-media img { transform: scale(1.06); }
.card-body { padding: 1.5rem; }
.card-title { font-family: var(--font-body); font-weight: 700; line-height: 1.35; }
.card-title a { color: var(--afj-navy); text-decoration: none; }
.card-title a:hover { color: var(--afj-blue); }
.card-text { color: var(--afj-muted); font-size: .95rem; }
.card-meta { font-size: .85rem; color: var(--afj-muted); }
.card-meta i { color: var(--afj-red); margin-right: .25rem; }
.badge-cat { position: absolute; left: 1rem; top: 1rem; background: rgba(255, 255, 255, .95); color: var(--afj-navy); font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; }
.badge-state { position: absolute; right: 1rem; top: 1rem; font-size: .75rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; color: #fff; background: var(--afj-blue); }
.badge-state.state-termine { background: var(--afj-muted); }
.badge-state.state-a_venir { background: var(--afj-gold); color: var(--afj-navy); }
.badge-state.state-en_cours { background: var(--afj-green); }
.card-event .event-date { flex: 0 0 74px; height: 84px; border-radius: 14px; background: var(--afj-navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.event-date .d { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; }
.event-date .m { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; color: var(--afj-gold); font-weight: 700; }
.event-date .y { font-size: .7rem; opacity: .7; }
.card-event.is-past .event-date { background: var(--afj-muted); }

/* ---------- Appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 4rem 3rem; background: linear-gradient(120deg, var(--afj-navy) 0%, var(--afj-blue) 70%, var(--afj-sky) 100%); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(255, 255, 255, .07); }
.cta-band::after { width: 260px; height: 260px; left: -80px; bottom: -140px; background: rgba(232, 163, 61, .18); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255, 255, 255, .8); }
@media (max-width: 767.98px) { .cta-band { padding: 2.5rem 1.5rem; text-align: center; } }


/* ---------- Partenaires ---------- */
.partners-track { display: flex; gap: 1.2rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-marquee { display: flex; gap: 1.2rem; flex-shrink: 0; animation: marquee 40s linear infinite; }
.partners-track:hover .partners-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 1.2rem)); } }
.partner-logo { flex: 0 0 auto; width: 220px; height: 110px; background: #fff; border: 1px solid var(--afj-line); border-radius: 16px; display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; text-decoration: none; transition: box-shadow .3s, border-color .3s; }
.partner-logo:hover { box-shadow: var(--shadow); border-color: transparent; }
.partner-logo img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner-logo:hover img { filter: none; opacity: 1; }
.partner-mono { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.partner-mono strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--afj-navy); line-height: 1.1; }
.partner-mono span { font-size: .72rem; color: var(--afj-muted); line-height: 1.3; }
.partner-card { background: #fff; border: 1px solid var(--afj-line); border-radius: var(--radius); padding: 1.8rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; transition: box-shadow .3s, transform .3s; }
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partner-card .logo-box { height: 90px; border-radius: 14px; background: var(--afj-sand); display: grid; place-items: center; padding: .75rem; }
.partner-card .logo-box img { max-height: 70px; object-fit: contain; }
.partner-card .logo-box .sigle { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--afj-blue); }

/* ---------- Témoignages ---------- */
.testimonial { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); position: relative; height: 100%; }
.testimonial::before { content: '\201C'; font-family: var(--font-head); position: absolute; top: -.1rem; right: 1.5rem; font-size: 6rem; color: var(--afj-sky-soft); line-height: 1; }
.testimonial p { font-size: 1.05rem; font-style: italic; position: relative; }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--afj-blue); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* ---------- Équipe ---------- */
.team-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; border: 1px solid var(--afj-line); height: 100%; transition: box-shadow .3s, transform .3s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-photo { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 1.2rem; overflow: hidden; border: 5px solid var(--afj-sky-soft); background: linear-gradient(135deg, var(--afj-blue), var(--afj-navy)); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--afj-red); font-weight: 600; font-size: .9rem; }

/* ---------- En-tête des pages internes ---------- */
.page-hero { position: relative; overflow: hidden; padding: 70px 0 80px; background: linear-gradient(120deg, var(--afj-navy) 0%, var(--afj-navy-2) 45%, var(--afj-blue) 100%); color: #fff; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin: .6rem 0; max-width: 820px; }
.page-hero-lead { color: rgba(255, 255, 255, .8); font-size: 1.12rem; max-width: 700px; margin: 0; }
.page-hero .breadcrumb { margin: 0; font-size: .88rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5); --bs-breadcrumb-item-active-color: var(--afj-gold); }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
@media (max-width: 767.98px) { .page-hero { padding: 56px 0 64px; } }

/* ---------- Contenu éditorial ---------- */
.prose { font-size: 1.07rem; line-height: 1.85; }
.prose h2, .prose h3 { margin: 2rem 0 1rem; }
.prose img { border-radius: 14px; margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--afj-red); background: var(--afj-sand); padding: 1rem 1.4rem; border-radius: 0 12px 12px 0; font-style: italic; }
.prose ul li::marker { color: var(--afj-red); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--afj-line); padding: .6rem .8rem; }
.article-cover { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.5rem; aspect-ratio: 16 / 8; }
.article-cover img, .article-cover .media-ph { width: 100%; height: 100%; object-fit: cover; }
.sidebar-box { background: var(--afj-sand); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.5rem; }
.sidebar-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { padding: .6rem 0; border-bottom: 1px solid rgba(11, 47, 107, .08); }
.sidebar-list li:last-child { border: 0; }
.sidebar-list a { color: var(--afj-navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sidebar-list a:hover { color: var(--afj-blue); }
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; padding: 1.2rem 0; border-top: 1px solid var(--afj-line); border-bottom: 1px solid var(--afj-line); margin: 2.5rem 0; }
.share-bar a, .share-bar button { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--afj-sky-soft); color: var(--afj-navy); border: 0; text-decoration: none; transition: background .2s, color .2s; }
.share-bar a:hover, .share-bar button:hover { background: var(--afj-blue); color: #fff; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid rgba(11, 47, 107, .08); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { color: var(--afj-red); font-size: 1.15rem; }
.info-list small { display: block; color: var(--afj-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Filtres ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-pills a, .filter-pills button { border: 1px solid var(--afj-line); background: #fff; color: var(--afj-navy); border-radius: 999px; padding: .5rem 1.2rem; font-weight: 600; font-size: .9rem; text-decoration: none; transition: all .2s; }
.filter-pills a:hover, .filter-pills button:hover { border-color: var(--afj-blue); color: var(--afj-blue); }
.filter-pills .active { background: var(--afj-navy); color: #fff !important; border-color: var(--afj-navy); }

/* ---------- Carte interactive ---------- */
.map-box { height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--afj-line); z-index: 1; }
.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content a { font-weight: 600; }

/* ---------- Galerie ---------- */
.gallery-grid { columns: 3 280px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: 16px; overflow: hidden; display: block; cursor: zoom-in; background: var(--afj-sky-soft); border: 0; padding: 0; width: 100%; }
.gallery-item img { width: 100%; display: block; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(11, 47, 107, .85)); color: #fff; font-size: .9rem; font-weight: 600; text-align: left; opacity: 0; transform: translateY(8px); transition: all .3s; }
.gallery-item:hover .cap, .gallery-item:focus .cap { opacity: 1; transform: none; }
.gallery-item .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.5rem; color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .4); }
.lightbox-modal .modal-content { background: transparent; border: 0; }
.lightbox-modal img { border-radius: 14px; max-height: 82vh; width: auto; margin: 0 auto; display: block; }
.lightbox-modal .ratio { border-radius: 14px; overflow: hidden; }

/* ---------- Publications ---------- */
.card-pub { display: flex; gap: 1.2rem; padding: 1.5rem; align-items: flex-start; height: 100%; }
.pub-icon { width: 56px; height: 64px; flex-shrink: 0; border-radius: 10px; background: #fde8e1; color: var(--afj-red); display: grid; place-items: center; font-size: 1.7rem; position: relative; }
.pub-icon span { position: absolute; bottom: -6px; right: -6px; background: var(--afj-red); color: #fff; font-size: .6rem; font-weight: 700; padding: .1rem .35rem; border-radius: 4px; }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--afj-line); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; border-radius: 18px; } }
.form-label { font-weight: 600; font-size: .9rem; color: var(--afj-navy); }
.form-control, .form-select { border-radius: 12px; border-color: #d6deea; padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--afj-sky); box-shadow: 0 0 0 .25rem rgba(69, 153, 255, .15); }
.input-group > .form-control, .input-group > .btn { border-radius: 12px; }
.input-group > :not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group > :not(:last-child) { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.form-check-input:checked { background-color: var(--afj-blue); border-color: var(--afj-blue); }
.required::after { content: ' *'; color: var(--afj-red); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .7rem; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; text-align: center; border: 2px solid var(--afj-line); border-radius: 14px; padding: 1rem .6rem; cursor: pointer; font-weight: 700; color: var(--afj-navy); transition: all .2s; height: 100%; background: #fff; }
.choice-grid label small { font-weight: 500; color: var(--afj-muted); font-size: .78rem; }
.choice-grid label i { font-size: 1.5rem; color: var(--afj-blue); }
.choice-grid label:hover { border-color: var(--afj-sky); }
.choice-grid input:checked + label { border-color: var(--afj-blue); background: var(--afj-sky-soft); box-shadow: 0 0 0 3px rgba(24, 119, 242, .12); }
.choice-grid input:focus-visible + label { outline: 3px solid var(--afj-gold); }
.donate-summary { background: linear-gradient(145deg, var(--afj-navy), var(--afj-blue)); color: #fff; border-radius: 24px; padding: 2.2rem; position: sticky; top: 110px; }
.donate-summary h3 { color: #fff; }
.donate-summary .impact { background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 1rem 1.2rem; margin-top: 1rem; font-size: .92rem; }
.donate-amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--afj-gold); }

/* ---------- FAQ / accordéon ---------- */
.accordion { --bs-accordion-border-color: var(--afj-line); --bs-accordion-active-bg: var(--afj-sky-soft); --bs-accordion-active-color: var(--afj-navy); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(69, 153, 255, .2); --bs-accordion-border-radius: 16px; --bs-accordion-inner-border-radius: 16px; }
.accordion-item { margin-bottom: .8rem; border-radius: 16px !important; overflow: hidden; border: 1px solid var(--afj-line) !important; }
.accordion-button { font-weight: 700; color: var(--afj-navy); padding: 1.2rem 1.4rem; }

/* ---------- Contact ---------- */
.contact-tile { background: #fff; border-radius: var(--radius); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm); border: 1px solid var(--afj-line); height: 100%; }
.contact-tile .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--afj-sky-soft); color: var(--afj-blue); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-tile h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: .2rem; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--afj-muted); word-break: break-word; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 360px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- États vides ---------- */
.empty-state { text-align: center; padding: 3.5rem 1.5rem; background: var(--afj-sand); border-radius: var(--radius); border: 2px dashed #e2d8c6; }
.empty-icon { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: inline-grid; place-items: center; font-size: 1.8rem; color: var(--afj-blue); box-shadow: var(--shadow-sm); margin-bottom: 1rem; }

/* ---------- Newsletter & pied de page ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--afj-red-dark), var(--afj-red) 60%, #f07a52); padding: 3rem 0; position: relative; overflow: hidden; }
.newsletter-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.newsletter-form .form-control { border: 0; }
.newsletter-form .form-feedback { color: #fff; }
.site-footer { background: #0a2556; color: rgba(255, 255, 255, .78); padding: 80px 0 0; font-size: .95rem; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 4px; }
.footer-logo img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; }
.footer-brand em { font-style: normal; color: var(--afj-gold); }
.footer-title { font-family: var(--font-body); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1.3rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--afj-gold); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--afj-gold); margin-top: .2rem; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--afj-red); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3.5rem; padding: 1.5rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Boutons flottants ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); z-index: 1025; text-decoration: none; transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.back-to-top { position: fixed; right: 26px; bottom: 90px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--afj-navy); color: #fff; z-index: 1025; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animations d'apparition ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].revealed { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Pagination ---------- */
.pagination { --bs-pagination-color: var(--afj-navy); --bs-pagination-active-bg: var(--afj-navy); --bs-pagination-active-border-color: var(--afj-navy); --bs-pagination-border-radius: 12px; gap: .35rem; }
.pagination .page-link { border-radius: 12px !important; min-width: 42px; text-align: center; }

/* ---------- Reçu imprimable ---------- */
.receipt { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 3rem; border-top: 8px solid var(--afj-blue); }
.receipt-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--afj-line); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
@media print {
    .topbar, .site-header, .newsletter-band, .site-footer, .whatsapp-float, .back-to-top, .page-hero, .no-print { display: none !important; }
    .receipt { box-shadow: none; border: 1px solid #ccc; }
    body { background: #fff; }
}
.font-body { font-family: var(--font-body) !important; }
.sidebar-box.bg-navy { background: linear-gradient(145deg, var(--afj-navy), var(--afj-blue)); color: #fff; }

/* ---------- Ajustements de la barre de navigation (écrans intermédiaires) ---------- */
.btn-donate { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .brand-tag { display: none; }
    .brand { margin-right: 1.25rem; }
    .brand-name { font-size: 1.3rem; }
    .navbar-nav .nav-link { padding: .6rem .5rem !important; font-size: .9rem; }
    .navbar-nav .nav-link::after { left: .5rem; right: .5rem; }
    .btn-donate { padding: .6rem 1.1rem; }
}
.nl-lead { color: rgba(255, 255, 255, .88); }

/* ---------- Mobile : pas de défilement horizontal ---------- */
html, body { overflow-x: clip; }
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .container { padding-left: 16px; padding-right: 16px; }
    .section { padding: 64px 0; }
}
/* backdrop-filter crée un bloc conteneur pour les éléments fixes : désactivé là où le menu est un panneau latéral */
@media (max-width: 1199.98px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 2px; gap: 2px; }
.lang-switch a { padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .8) !important; text-decoration: none; letter-spacing: .04em; }
.lang-switch a.active { background: var(--afj-gold); color: var(--afj-navy) !important; }
.lang-switch a:hover:not(.active) { color: #fff !important; }
.lang-switch-light { background: var(--afj-sky-soft); }
.lang-switch-light a { color: var(--afj-navy) !important; font-size: .85rem; padding: .35rem .9rem; }
.lang-switch-light a.active { background: var(--afj-navy); color: #fff !important; }

/* ---------- Médias multiples (actualités, publications…) ---------- */
.badge-media { position: absolute; right: 1rem; bottom: 1rem; background: rgba(11, 47, 107, .85); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .75rem; }
.media-grid .gallery-item { margin: 0; aspect-ratio: 4 / 3; }
.media-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.video-frame { border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.video-frame video { width: 100%; height: 100%; object-fit: contain; }
.card-pub-media { display: flex; flex-direction: column; }
.card-pub-media:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-pub-media .card-post-media { aspect-ratio: 16 / 8; }

/* ---------- Mode intégré (iframe) ---------- */
body.is-embed { background: transparent; }
body.is-embed main { padding: 0; }

/* ---------- Bouton « œil » des mots de passe ---------- */
.password-toggle { border-color: #d6deea; background: #fff; color: var(--afj-muted); border-top-right-radius: 12px !important; border-bottom-right-radius: 12px !important; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { background: var(--afj-sky-soft); color: var(--afj-navy); border-color: #d6deea; }
.toast { border-radius: 14px; }

/* ---------- Sélecteur de langue (en-tête) ---------- */
.flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 47, 107, .15); flex-shrink: 0; }
.btn-lang { display: inline-flex; align-items: center; gap: .4rem; height: 42px; padding: 0 .75rem; border-radius: 999px; background: var(--afj-sky-soft); color: var(--afj-navy); border: 0; font-weight: 700; font-size: .85rem; }
.btn-lang:hover, .btn-lang[aria-expanded="true"] { background: var(--afj-navy); color: #fff; }
.btn-lang::after { margin-left: .1rem; }
.lang-dd .dropdown-menu { min-width: 170px; }
.lang-dd .dropdown-item.active { background: var(--afj-navy); color: #fff; }
@media (max-width: 575.98px) { .btn-lang { padding: 0 .6rem; gap: .3rem; } }
@media (max-width: 359.98px) { .btn-lang::after { display: none; } }

/* ================================================================
   Formulaires publics (enquêtes, évaluations, candidatures…)
   ================================================================ */
.afj-form .ff-label { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; font-weight: 700; color: var(--afj-navy); }
.ff-num { flex: 0 0 auto; min-width: 28px; height: 28px; border-radius: 8px; background: var(--afj-sky-soft); color: var(--afj-blue); display: inline-grid; place-items: center; font-size: .8rem; font-weight: 800; }
.ff-req { color: var(--afj-red); }
.ff.has-error .ff-label { color: var(--afj-red); }
.ff-error { font-weight: 600; }
.ff-heading { border-bottom: 2px solid var(--afj-sky-soft); padding-bottom: .5rem; margin-top: .5rem; }
.ff-heading h3 { font-size: 1.35rem; margin: 0; }
.ff-heading p { color: var(--afj-muted); margin: .4rem 0 0; }
.ff-paragraph { display: flex; gap: .75rem; background: var(--afj-sky-soft); border-radius: 14px; padding: 1rem 1.2rem; color: var(--afj-navy); }
.ff-paragraph > i { color: var(--afj-blue); font-size: 1.2rem; }
.ff-options { display: grid; gap: .45rem; }
.ff-options.is-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ff-choice { background: #f8fafc; border: 1px solid var(--afj-line); border-radius: 12px; padding: .65rem .9rem .65rem 2.4rem; margin: 0; transition: border-color .15s, background .15s; }
.ff-options.is-inline .ff-choice { flex: 1 1 160px; }
.ff-choice:hover { border-color: var(--afj-sky); }
.ff-choice:has(input:checked) { background: var(--afj-sky-soft); border-color: var(--afj-blue); }
.ff-choice .form-check-input { margin-left: -1.6rem; }
.ff-choice .form-check-label { width: 100%; cursor: pointer; }
.ff-options.is-invalid .ff-choice, .ff-yesno.is-invalid .btn, .ff-matrix.is-invalid, .ff-dropzone.is-invalid, .ff-signature.is-invalid canvas { border-color: var(--bs-form-invalid-border-color) !important; }
.ff-yesno { display: flex; gap: .6rem; flex-wrap: wrap; }
.ff-yesno .btn { min-width: 130px; border-radius: 12px; }
.ff-rating { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.ff-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ff-rating label { font-size: 2rem; color: #d7dde8; cursor: pointer; transition: transform .15s, color .15s; line-height: 1; }
.ff-rating label:hover, .ff-rating label:hover ~ label, .ff-rating input:checked ~ label { color: #f5b301; }
.ff-rating label:hover { transform: scale(1.12); }
.ff-rating input:focus-visible + label { outline: 3px solid var(--afj-gold); border-radius: 6px; }
.ff-scale-btns { display: flex; flex-wrap: wrap; gap: .35rem; }
.ff-scale-btns .btn { flex: 1 0 40px; min-width: 40px; border: 1px solid var(--afj-line); background: #fff; border-radius: 10px; font-weight: 700; color: var(--afj-navy); }
.ff-scale-btns .btn:hover { border-color: var(--afj-sky); }
.ff-scale-btns .btn-check:checked + .btn { background: var(--afj-blue); color: #fff; border-color: var(--afj-blue); }
.is-nps .btn.det { box-shadow: inset 0 -3px 0 #f1a9ad; }
.is-nps .btn.pas { box-shadow: inset 0 -3px 0 #f5d48c; }
.is-nps .btn.pro { box-shadow: inset 0 -3px 0 #9fd8b6; }
.is-nps .btn-check:checked + .btn.det { background: var(--afj-red); border-color: var(--afj-red); }
.is-nps .btn-check:checked + .btn.pas { background: #d99a1b; border-color: #d99a1b; }
.is-nps .btn-check:checked + .btn.pro { background: var(--afj-green); border-color: var(--afj-green); }
.ff-matrix { border: 1px solid var(--afj-line); border-radius: 14px; }
.ff-matrix table th, .ff-matrix table td { padding: .7rem .5rem; }
.ff-matrix thead th { background: #f8fafc; font-weight: 600; color: var(--afj-muted); vertical-align: bottom; min-width: 80px; }
.ff-matrix tbody tr:hover { background: #fafcff; }
.ff-matrix .form-check-input { width: 1.3em; height: 1.3em; cursor: pointer; }
.ff-ranking { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ff-ranking li { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--afj-line); border-radius: 12px; padding: .5rem .6rem; }
.ff-ranking .rank-handle { cursor: grab; color: var(--afj-muted); }
.ff-ranking .rank-pos { width: 28px; height: 28px; border-radius: 50%; background: var(--afj-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.ff-ranking .sortable-ghost { opacity: .4; }
.ff-dropzone { border: 2px dashed #cfd9e8; border-radius: 16px; padding: 1.2rem; text-align: center; background: #fafcff; }
.ff-dropzone > i { font-size: 2rem; color: var(--afj-sky); display: block; }
.ff-dropzone .ff-file-list { text-align: left; }
.ff-signature canvas { width: 100%; height: 180px; border: 2px dashed #cfd9e8; border-radius: 14px; background: #fff; touch-action: none; cursor: crosshair; }
.ff-consent { background: #f8fafc; border: 1px solid var(--afj-line); border-radius: 12px; padding: .9rem 1rem .9rem 2.6rem; }
.form-step-title { font-size: 1.4rem; margin-bottom: .5rem; }
.form-nav { border-top: 1px solid var(--afj-line); }
.step-dots { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.step-dots li { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--afj-muted); }
.step-dots li span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--afj-line); display: grid; place-items: center; font-weight: 700; font-size: .7rem; }
.step-dots li em { font-style: normal; }
.step-dots li.active span { background: var(--afj-blue); border-color: var(--afj-blue); color: #fff; }
.step-dots li.active { color: var(--afj-navy); font-weight: 600; }
.step-dots li.done span { background: var(--afj-green); border-color: var(--afj-green); color: #fff; }
@media (max-width: 575.98px) { .step-dots li em { display: none; } }
.score-ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: conic-gradient(var(--afj-green) calc(var(--p) * 1%), var(--afj-sky-soft) 0); }
.score-ring span { width: 108px; height: 108px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--afj-navy); }
.result-bar { margin-bottom: .7rem; }
.result-bar .progress-bar { background: var(--afj-blue); }

/* ---------- En-tête mobile : logo à gauche, commandes (langue, recherche, menu) à l'extrême droite, sur une seule ligne ---------- */
@media (max-width: 1199.98px) {
    .navbar > .container { flex-wrap: nowrap; }
    .brand { margin-right: .5rem; min-width: 0; flex-shrink: 1; }
    .brand-text { min-width: 0; }
    .navbar-controls { margin-left: auto; flex-shrink: 0; }
}
@media (max-width: 575.98px) {
    .navbar { padding: .45rem 0; }
    .brand { gap: .5rem; }
    .brand img { width: 42px; height: 42px; }
    .brand-name { font-size: 1.15rem; white-space: nowrap; }
    .navbar-controls { gap: .35rem !important; }
    .navbar-controls .btn-icon, .navbar-controls .btn-lang { width: auto; min-width: 38px; height: 38px; }
    .navbar-controls .btn-icon { width: 38px; }
    .navbar-toggler { width: 40px; height: 40px; }
}
@media (max-width: 359.98px) {
    .brand-name { font-size: 1rem; }
    .brand img { width: 36px; height: 36px; }
}

/* ---------- Ajustements téléphone ---------- */
@media (max-width: 575.98px) {
    .section-title { font-size: 1.65rem; }
    .section-heading { margin-bottom: 2rem; }
    .stats-card { padding: 1.2rem .5rem; }
    .cta-band h2 { font-size: 1.5rem; }
    .form-card { padding: 1.25rem; }
    .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    .choice-grid label { padding: .8rem .4rem; font-size: .9rem; }
    .contact-tile { padding: 1.1rem; }
    .page-hero-title { font-size: 1.75rem; }
    .page-hero-lead { font-size: 1rem; }
    .filter-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pills a, .filter-pills button { white-space: nowrap; flex-shrink: 0; }
    .whatsapp-float { width: 48px; height: 48px; right: 14px; bottom: 14px; font-size: 1.45rem; }
    .back-to-top { width: 40px; height: 40px; right: 18px; bottom: 72px; }
    .site-footer { padding-top: 56px; }
    .footer-bottom { padding-bottom: 80px; flex-direction: column; gap: .5rem; }
    .newsletter-band .input-group { flex-wrap: nowrap; }
    .newsletter-band .btn { padding-left: 1rem; padding-right: 1rem; }
    .share-bar { gap: .3rem; }
    .article-cover { border-radius: 16px; margin-bottom: 1.5rem; }
    .receipt { padding: 1.5rem; }
    .receipt-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Refonte « humaine » : photos de terrain, typographie chaleureuse,
   pleine largeur sur grand écran, animations fluides (transform/opacity)
   ========================================================================== */
:root {
    --font-head: 'Inter', Arial, Helvetica, sans-serif;
    --font-body: 'Inter', Arial, Helvetica, sans-serif;
    --font-hand: 'Inter', Arial, Helvetica, sans-serif;
    --ease-out: cubic-bezier(.22, .61, .36, 1);
    --ease-soft: cubic-bezier(.16, 1, .3, 1);
    --radius: 14px;
    --radius-sm: 10px;
    --gutter: clamp(16px, 3vw, 48px);
}
body { font-size: 1.04rem; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, .font-head { letter-spacing: -.01em; }

/* Conteneur : occupe tout l'écran sur desktop, marges latérales proportionnelles */
@media (min-width: 1400px) {
    .container { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
}
@media (min-width: 2200px) {
    .container { max-width: 2100px; }
}
.section-heading { max-width: 820px; }

/* Petit titre manuscrit à la place des étiquettes en capitales */
.eyebrow { font-family: var(--font-hand); font-size: 1.55rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--afj-red); line-height: 1; margin-bottom: .35rem; }
.eyebrow::before, .text-center .eyebrow::after { display: none; }
.bg-navy .eyebrow, .cta-band .eyebrow { color: var(--afj-gold); }

/* Boutons : moins « bulle », plus francs */
.btn { border-radius: 10px; transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), background-color .2s, color .2s, border-color .2s; }
.btn-primary, .btn-donate, .btn-red { box-shadow: none; }
.btn-primary:hover, .btn-donate:hover { box-shadow: 0 10px 24px -12px rgba(11, 47, 107, .55); }

/* ---------- Héros plein écran : diaporama de photos réelles ---------- */
.hero { position: relative; overflow: hidden; color: #fff; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(96px, 14vh, 160px) 0 clamp(130px, 16vh, 180px); background: #1b1410; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-out); will-change: opacity; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.12) translate3d(0, 0, 0); will-change: transform; backface-visibility: hidden; }
.hero-slide.is-active img, .hero-slide.is-leaving img { animation: kenBurns 9s linear both; }
.hero-slide:nth-child(even).is-active img, .hero-slide:nth-child(even).is-leaving img { animation-name: kenBurnsAlt; }
@keyframes kenBurns { from { transform: scale(1.14) translate3d(-1.5%, 0, 0); } to { transform: scale(1.02) translate3d(1.5%, -1%, 0); } }
@keyframes kenBurnsAlt { from { transform: scale(1.02) translate3d(1.5%, 1%, 0); } to { transform: scale(1.14) translate3d(-1.5%, 0, 0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 14, 10, .82) 0%, rgba(20, 14, 10, .55) 45%, rgba(20, 14, 10, .15) 100%), linear-gradient(0deg, rgba(20, 14, 10, .6) 0%, transparent 45%); }
.hero-inner { position: relative; }
.hero-copy { max-width: 780px; }
.hero-kicker { font-family: var(--font-hand); font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--afj-gold); margin: 0 0 .4rem; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.6rem); font-weight: 700; line-height: 1.05; margin: 0 0 1.4rem; text-wrap: balance; }
.hero-title .hl { color: var(--afj-gold); }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero-facts i { color: var(--afj-gold); margin-right: .35rem; }
.hero .btn-light-outline { border-width: 1px; }
.hero-dots { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 100px; display: flex; align-items: center; justify-content: center; gap: .5rem; z-index: 2; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; cursor: pointer; }
.hero-dots button::after { content: ''; position: absolute; inset: 0; background: var(--afj-gold); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dotFill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-dots button.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-caption { position: absolute; right: var(--gutter); bottom: 100px; margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .7); z-index: 2; max-width: 260px; text-align: right; transition: opacity .6s var(--ease-out); }
@media (max-width: 991.98px) {
    .hero { min-height: 88vh; min-height: 88svh; padding: 88px 0 150px; }
    .hero::before { background: linear-gradient(0deg, rgba(20, 14, 10, .92) 0%, rgba(20, 14, 10, .72) 55%, rgba(20, 14, 10, .55) 100%); }
    .hero-caption { display: none; }
}
@media (max-width: 575.98px) {
    .hero { padding: 56px 0 140px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-facts { flex-direction: column; gap: .4rem; }
    .hero-dots { bottom: 96px; }
}

/* Chiffres clés : posés sur la photo */
.stats-band { margin-top: -80px; }
.stats-card { border-radius: var(--radius); box-shadow: 0 20px 50px -24px rgba(20, 14, 10, .45); }
.stat-label { font-size: .95rem; }

/* ---------- Composition de photos (Qui sommes-nous) ---------- */
.photo-stack { position: relative; padding: 0 12% 14% 0; }
.photo-stack figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-soft), opacity .6s var(--ease-out); }
.photo-stack figure:hover img { transform: scale(1.04); }
.ps-main { aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.ps-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.photo-stack .since { position: absolute; left: -10px; bottom: 6%; background: var(--afj-gold); color: var(--afj-navy); border-radius: 12px; padding: .9rem 1.2rem; box-shadow: var(--shadow); line-height: 1.1; max-width: 170px; font-weight: 600; font-size: .9rem; transform: rotate(-3deg); }
.photo-stack .since strong { font-family: var(--font-head); font-size: 2.1rem; display: block; }
@media (max-width: 575.98px) { .photo-stack .since { left: 8px; padding: .6rem .9rem; } .photo-stack .since strong { font-size: 1.6rem; } }

/* ---------- Domaines : cartes photo ---------- */
.domain-card.has-photo { padding: 0; display: flex !important; flex-direction: column; }
.domain-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--afj-sand); }
.domain-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft), opacity .6s var(--ease-out); }
.domain-card:hover .domain-photo img { transform: scale(1.06); }
.domain-body { display: flex; flex-direction: column; padding: 0 1.5rem 1.6rem; flex: 1; }
.domain-card.has-photo .domain-icon { width: 54px; height: 54px; border-radius: 12px; font-size: 1.4rem; margin: -27px 0 1rem; background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.domain-card.has-photo .link-arrow { margin-top: auto; }
.domain-card { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .3s; }

/* Visuel de remplacement : vraie photo + pictogramme du domaine */
.media-ph { position: relative; width: 100%; height: 100%; min-height: 180px; overflow: hidden; background: var(--afj-sand); }
.media-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-ph-ico { position: absolute; left: 1rem; bottom: 1rem; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--tone, var(--afj-blue)); font-size: 1.1rem; box-shadow: var(--shadow-sm); }

/* ---------- Appel au don : photo + texte ---------- */
.cta-photo { display: grid; grid-template-columns: 1fr; background: var(--afj-sand); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.cta-photo-img { min-height: 280px; }
.cta-photo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-photo-body { padding: clamp(1.75rem, 4vw, 4rem); align-self: center; }
.cta-photo-body h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.cta-photo-body p { color: var(--afj-muted); font-size: 1.08rem; max-width: 620px; margin-bottom: 1.6rem; }
@media (min-width: 992px) { .cta-photo { grid-template-columns: 5fr 6fr; } .cta-photo-img { min-height: 460px; } }

/* Bandeau d'appel (pages internes) : photo discrète en fond */
.cta-band { background: linear-gradient(100deg, rgba(11, 47, 107, .95) 0%, rgba(11, 47, 107, .82) 55%, rgba(11, 47, 107, .55) 100%), var(--cta-img, none) center / cover; border-radius: calc(var(--radius) + 4px); }
.cta-band::before, .cta-band::after { display: none; }

/* ---------- Engagez-vous : cartes photo ---------- */
.engage-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--afj-line); color: inherit; transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.engage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.engage-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.engage-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-soft), opacity .6s var(--ease-out); }
.engage-card:hover .engage-photo img { transform: scale(1.05); }
.engage-body { display: flex; flex-direction: column; padding: 0 1.6rem 1.6rem; flex: 1; }
.engage-body .ico { width: 54px; height: 54px; margin: -27px 0 1rem; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; color: var(--afj-red); background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.engage-body .link-arrow { margin-top: auto; }

/* ---------- En-tête des pages internes : photo de terrain ---------- */
.page-hero { background: #1b1410; padding: clamp(64px, 10vh, 120px) 0 clamp(64px, 9vh, 110px); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: settle 12s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 30, 70, .9) 0%, rgba(8, 30, 70, .7) 50%, rgba(8, 30, 70, .35) 100%); }
.page-hero-title { text-wrap: balance; }

/* Témoignages, cartes : un peu moins de « plastique » */
.testimonial { border: 1px solid var(--afj-line); box-shadow: none; }
.testimonial::before { color: var(--afj-gold-soft); }
.card { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.card-post-media img, .card-project-media img, .gallery-item img { transition: transform 1s var(--ease-soft), opacity .6s var(--ease-out); }
.dropdown-menu { border-radius: 12px; }

/* ---------- Animations d'apparition fluides ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .7s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].revealed { opacity: 1; transform: none; }
.js img[loading="lazy"] { opacity: 0; }
.js img[loading="lazy"].is-loaded { opacity: 1; }
.partners-marquee { will-change: transform; }
.filter-pills a, .filter-pills button { transition: background-color .2s, color .2s, border-color .2s; }
.gallery-item .cap { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
    .hero-slide img, .page-hero-bg img { animation: none !important; transform: none; }
    .js img[loading="lazy"] { opacity: 1; }
}

/* Logos des partenaires : en couleur, proportions respectées (PNG comme SVG) */
.partner-logo img, .partner-logo:hover img { filter: none; opacity: 1; max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.partner-logo:hover img { transform: scale(1.05); }
.partner-logo img { transition: transform .5s var(--ease-soft), opacity .6s var(--ease-out); }
.partner-card .logo-box { height: 120px; background: #fff; border: 1px solid var(--afj-line); }
.partner-card .logo-box img { max-height: 90px; max-width: 90%; width: auto; height: auto; }

/* ==========================================================================
   Toutes les pages : composants humanisés + animations fluides
   ========================================================================== */

/* Transitions entre pages (navigateurs compatibles) : fondu doux */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-out) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-soft) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(12px); } }

/* Barre de progression de lecture */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 2000; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--afj-blue), var(--afj-red)); transform: scaleX(0); transform-origin: left; will-change: transform; }

/* En-tête : se resserre en douceur au défilement */
.navbar { transition: padding .45s var(--ease-soft); }
.brand img { transition: width .45s var(--ease-soft), height .45s var(--ease-soft), transform .4s; }
@media (min-width: 1200px) {
    .site-header.is-scrolled .navbar { padding: .3rem 0; }
    .site-header.is-scrolled .brand img { width: 48px; height: 48px; }
}

/* ---------- En-tête des pages internes ---------- */
.page-hero { padding: clamp(80px, 14vh, 150px) 0 clamp(90px, 13vh, 140px); }
.page-hero-bg { inset: -12% 0 -12% 0; will-change: transform; }
.page-hero-kicker { font-family: var(--font-hand); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--afj-gold); margin: 1.2rem 0 0; line-height: 1; }
.page-hero-title { font-size: clamp(2.1rem, 4.8vw, 3.8rem); margin-top: .3rem; }
.page-hero-lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 760px; }
.page-hero-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 4vw, 60px); fill: #fff; z-index: 1; }
.page-hero-crumbs, .page-hero-kicker, .page-hero-title, .page-hero-lead { animation: riseIn .9s var(--ease-soft) both; }
.page-hero-kicker { animation-delay: .08s; }
.page-hero-title { animation-delay: .16s; }
.page-hero-lead { animation-delay: .26s; }
@keyframes riseIn { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

/* ---------- Bandeau photo + citation ---------- */
.photo-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 16vh, 180px) 0; color: #fff; background: #1b1410; }
.photo-band-bg { position: absolute; inset: -18% 0; z-index: -2; will-change: transform; }
.photo-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 30, 70, .85), rgba(8, 30, 70, .45)); }
.photo-band-quote { max-width: 880px; margin: 0; }
.photo-band-quote p { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.2; color: #fff; margin: 0; text-wrap: balance; }
.photo-band-quote p::before { content: '«\00a0'; color: var(--afj-gold); }
.photo-band-quote p::after { content: '\00a0»'; color: var(--afj-gold); }
.photo-band-quote figcaption { font-family: var(--font-hand); font-size: 1.6rem; color: var(--afj-gold); margin-top: 1rem; }

/* ---------- « Une vraie personne vous répond » ---------- */
.human-help { display: flex; gap: 1.25rem; align-items: center; background: var(--afj-sand); border-radius: var(--radius); padding: 1.4rem; border: 1px solid #ece4d6; }
.human-help-photo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.human-help-photo img { width: 100%; height: 100%; object-fit: cover; }
.human-help p { color: var(--afj-muted); }
@media (max-width: 575.98px) { .human-help { flex-direction: column; text-align: center; } .human-help .d-flex { justify-content: center; } }

/* ---------- États vides ---------- */
.empty-state { display: grid; grid-template-columns: 1fr; gap: 0; text-align: left; padding: 0; overflow: hidden; border: 1px solid #ece4d6; background: var(--afj-sand); border-radius: var(--radius); }
.empty-photo { position: relative; min-height: 200px; }
.empty-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.empty-photo .empty-icon { position: absolute; left: 1rem; bottom: 1rem; margin: 0; width: 52px; height: 52px; font-size: 1.4rem; border-radius: 12px; }
.empty-body { padding: clamp(1.5rem, 3vw, 2.5rem); align-self: center; }
.empty-kicker { font-family: var(--font-hand); font-size: 1.5rem; color: var(--afj-red); margin: 0 0 .2rem; line-height: 1; }
@media (min-width: 768px) { .empty-state { grid-template-columns: 300px 1fr; } }

/* ---------- Don & engagement : photos d'accompagnement ---------- */
.donate-photo { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: -18px; }
.donate-photo img { width: 100%; height: 100%; object-fit: cover; }
.donate-summary { position: relative; border-radius: var(--radius); }
.engage-hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin: 0 0 1.75rem; box-shadow: var(--shadow); }
.engage-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Newsletter & pied de page ---------- */
.newsletter-band { background: #0b2f6b; padding: clamp(3rem, 7vw, 5rem) 0; isolation: isolate; }
.newsletter-band::after { display: none; }
.newsletter-bg { position: absolute; inset: -20% 0; z-index: -2; will-change: transform; }
.newsletter-bg img { width: 100%; height: 100%; object-fit: cover; }
.newsletter-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 47, 107, .94) 0%, rgba(24, 119, 242, .78) 100%); }
.nl-kicker { font-family: var(--font-hand); font-size: 1.6rem; color: var(--afj-gold); margin: 0 0 .2rem; line-height: 1; }
.footer-signoff { font-family: var(--font-hand); font-size: 1.5rem; color: var(--afj-gold); text-align: center; margin: 3rem 0 0; }
.site-footer { background: #0a2556; }

/* ---------- Cartes, formulaires, listes : finitions ---------- */
.form-card { border-radius: calc(var(--radius) + 4px); box-shadow: 0 24px 60px -32px rgba(11, 47, 107, .35); }
.form-control, .form-select { border-radius: 10px; transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.contact-tile { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card, .team-card { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.accordion-item { border-radius: var(--radius) !important; transition: box-shadow .4s var(--ease-soft); }
.accordion-item:hover { box-shadow: var(--shadow-sm); }
.accordion-button:not(.collapsed) { background: var(--afj-sky-soft); }
.accordion-collapse.collapsing { transition: height .45s var(--ease-soft); }
.team-photo { border-color: #fff; box-shadow: 0 0 0 1px var(--afj-line), var(--shadow-sm); }
.btn-donate, .btn-red { background: var(--afj-red); }
.btn-gold { background: var(--afj-gold); }
.link-arrow i { transition: transform .4s var(--ease-soft); }

/* ---------- Variantes d'apparition ---------- */
[data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
[data-reveal="right"] { transform: translate3d(32px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].revealed { transform: none; }
/* Photos qui se dévoilent comme un rideau */
.photo-stack figure, .domain-photo, .engage-photo, .cta-photo-img, .engage-hero-photo, .donate-photo, .empty-photo { clip-path: inset(0 0 0 0 round var(--radius)); }
[data-reveal] .ps-main, [data-reveal] .ps-small, [data-reveal].engage-hero-photo, [data-reveal].donate-photo, [data-reveal] .cta-photo-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-soft) .1s; }
[data-reveal].revealed .ps-main, [data-reveal].revealed .ps-small, [data-reveal].revealed.engage-hero-photo, [data-reveal].revealed.donate-photo, [data-reveal].revealed .cta-photo-img { clip-path: inset(0 0 0 0); }
[data-reveal].revealed .ps-small { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    [data-parallax] { transform: none !important; }
    .page-hero-crumbs, .page-hero-kicker, .page-hero-title, .page-hero-lead { animation: none; }
    [data-reveal] .ps-main, [data-reveal] .ps-small, [data-reveal].engage-hero-photo, [data-reveal].donate-photo, [data-reveal] .cta-photo-img { clip-path: none; }
}

/* ---------- Police unique et simple (Inter) sur tout le site ---------- */
body, h1, h2, h3, h4, h5, h6, .font-head, button, input, select, textarea { font-family: var(--font-body); }
h1, h2, h3, h4, .font-head { letter-spacing: -.02em; font-weight: 700; }
.hero-title, .page-hero-title { font-weight: 800; letter-spacing: -.03em; }
.eyebrow, .hero-kicker, .page-hero-kicker, .empty-kicker, .nl-kicker { font-size: .95rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; }
.eyebrow { margin-bottom: .5rem; }
.photo-band-quote p { font-weight: 700; letter-spacing: -.02em; }
.photo-band-quote figcaption, .footer-signoff { font-size: 1rem; font-weight: 500; }
.brand-name, .footer-brand { letter-spacing: -.02em; }
