/* Hallmark · version J5, l'immersion · theme: custom · idea: "la finance de l'UEMOA tient dans la main, le site s'ouvre sur ce geste" · hero: full-bleed photograph under a blue veil · signature: the photograph and the four métier tiles · imagery: library 1, stand-in */

.v-j5 { --font-display: "Albert Sans", ui-sans-serif, system-ui, sans-serif; --display-weight: 900; --tracking: -0.05em; }
.v-j5 .nav { background: var(--blue-deep); color: var(--on-blue); }
.v-j5 .nav.is-scrolled { border-bottom-color: transparent; }
.v-j5 .nav .btn { background: var(--sky); color: var(--sky-ink); }
.v-j5 .nav .btn:hover { background: var(--sky-soft); }

.j5-hero { position: relative; min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; color: var(--on-blue); overflow: clip; isolation: isolate; }
.j5-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; z-index: -2; animation: j5-zoom 1.6s var(--ease-out) both; }
.j5-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--veil-1) 0%, var(--veil-2) 45%, var(--veil-3) 85%); }
.j5-content { padding-block: var(--space-3xl) var(--space-2xl); }
.j5-hero h1 { font-size: clamp(3rem, 5.6vw + 1rem, 7rem); line-height: 0.92; max-width: 11ch; animation: j5-rise 0.9s var(--ease-out) both; }
.j5-lead { margin: var(--space-lg) 0 var(--space-xl); font-size: var(--text-lg); line-height: 1.5; max-width: 30rem; animation: j5-rise 0.9s var(--ease-out) 0.1s both; }
.j5-tiles { margin: var(--space-3xl) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.j5-tiles li { padding: var(--space-lg); border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-edge); display: grid; gap: var(--space-2xs); animation: j5-rise 0.9s var(--ease-out) both; }
.j5-tiles li:nth-child(2) { animation-delay: 0.1s; } .j5-tiles li:nth-child(3) { animation-delay: 0.2s; } .j5-tiles li:nth-child(4) { animation-delay: 0.3s; }
.j5-tiles b { font-size: var(--text-xl); }
.j5-tiles span { font-size: var(--text-sm); opacity: 0.9; }

.v-j5 .pole__dot { background: var(--sky); }

@keyframes j5-zoom { from { transform: scale(1.08); } }
@keyframes j5-rise { from { opacity: 0; transform: translateY(24px); } }

@media (max-width: 60rem) { .j5-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .j5-hero::before { background: var(--veil-m); } }
@media (prefers-reduced-motion: reduce) { .j5-bg, .j5-hero h1, .j5-lead, .j5-tiles li { animation: none; } }
