/* Le MuSé — feuille de style principale
   Palette inspirée de la signalisation belge : bleu des panneaux, ambre des feux, asphalte. */

@font-face { font-family: "Overpass"; src: url("../fonts/overpass.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("../fonts/overpass-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url("../fonts/overpass-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --asphalt: #14171b;
  --asphalt-2: #1e2329;
  --paper: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #efece4;
  --ink: #1b1f24;
  --muted: #5d6570;
  --line: #e1ddd3;
  --blue: #0b4ea2;
  --blue-ink: #0a4189;
  --amber: #f5a800;
  --red: #d0262f;
  --green: #12a150;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 23, 27, .06), 0 8px 24px rgba(20, 23, 27, .08);
  --shadow-lg: 0 2px 4px rgba(20, 23, 27, .08), 0 18px 40px rgba(20, 23, 27, .16);
  --wrap: 1200px;
  --prose: 760px;
  --font: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111417;
    --surface: #1a1e23;
    --surface-2: #161a1e;
    --ink: #eceae4;
    --muted: #a3abb5;
    --line: #2c3239;
    --blue: #6fa8ff;
    --blue-ink: #8db9ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; font-weight: 800; }
address { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 23, 27, .94); backdrop-filter: saturate(1.4) blur(10px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__text { display: flex; align-items: center; gap: 10px; }
.brand__text strong { font-size: 1.6rem; font-weight: 900; letter-spacing: -.02em; }
.brand__text small { font-family: var(--mono); font-size: .62rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .06em; color: #b9c0c8; border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 10px; }
.tl { width: 13px; height: 34px; flex: none; }
.tl rect { fill: #000; stroke: #3a4048; }
.tl .r { fill: var(--red); } .tl .o { fill: var(--amber); } .tl .g { fill: var(--green); }
.brand:hover .tl .r, .brand:hover .tl .o { opacity: .25; transition: opacity .3s; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a { color: #e7e9ec; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 11px; white-space: nowrap; border-radius: 8px; display: block; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--amber); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; color: #e7e9ec; padding: 6px; margin-left: -8px; cursor: pointer; border-radius: 6px; }
.sub-toggle svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; }
.sub { position: absolute; top: 100%; left: 0; min-width: 300px; background: var(--asphalt-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-weight: 500; font-size: .92rem; }
.sub__all a { color: var(--amber); border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4px; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.menu-toggle span:not(.sr) { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  /* backdrop-filter would make the fixed menu panel relative to the header */
  .site-header { backdrop-filter: none; background: var(--asphalt); }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--asphalt); overflow-y: auto; padding: 12px 16px 40px; transform: translateX(100%); transition: transform .25s ease; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a { font-size: 1.1rem; padding: 12px; white-space: normal; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { margin: 0; padding: 12px 14px; }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: rgba(255, 255, 255, .04); }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; } .has-sub.open:hover .sub { display: block; }
  body.menu-open { overflow: hidden; }
}

/* ---------- shop button in the header ---------- */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav { order: 2; margin-left: auto; }
.shop-cta { order: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--amber); color: #14171b; font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; box-shadow: 0 0 0 0 rgba(245, 168, 0, .5); animation: shop-pulse 3s ease-out infinite; transition: background .15s, transform .15s; }
.shop-cta:hover, .shop-cta[aria-current="page"] { background: #ffbb1f; color: #14171b; transform: translateY(-1px); }
@keyframes shop-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 168, 0, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(245, 168, 0, 0); } }
@media (max-width: 1240px) {
  .shop-cta { margin-left: auto; padding: 8px 14px; }
  .menu-toggle { order: 4; }
}
.brand__text small { white-space: nowrap; }
@media (min-width: 1241px) and (max-width: 1360px) { .brand__text small { display: none; } }
@media (max-width: 420px) {
  .brand__text small { display: none; }
  .site-header__inner { gap: 10px; }
}

/* ---------- shop & inventory tiles ---------- */
.section--shop { padding-block: clamp(40px, 6vw, 72px); }
.shop-band { display: grid; gap: 20px; }
@media (min-width: 860px) { .shop-band { grid-template-columns: 1.15fr 1fr; } }
.shop-tile { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 36px); border-radius: 20px; text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.shop-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shop-tile--shop { background: var(--amber); color: #14171b; }
.shop-tile--shop:hover { color: #14171b; }
.shop-tile--shop .eyebrow { color: #14171b; }
.shop-tile--shop .eyebrow::before { background: #14171b; box-shadow: none; }
.shop-tile--stock { background: var(--asphalt); color: #e9ebee; border: 1px solid rgba(255, 255, 255, .08); }
.shop-tile--stock:hover { color: #fff; }
.shop-tile--shop::after, .shop-tile--stock::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, currentColor 0 36px, transparent 36px 62px); opacity: .35; }
.shop-tile__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(20, 23, 27, .12); }
.shop-tile--stock .shop-tile__icon { background: rgba(255, 255, 255, .08); color: var(--amber); }
.shop-tile__icon .ico { width: 30px; height: 30px; }
.shop-tile__body { display: flex; flex-direction: column; gap: 6px; }
.shop-tile__body .eyebrow { margin: 0; }
.shop-tile strong { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; font-weight: 900; }
.shop-tile__body > span:last-child { max-width: 46ch; }
.shop-tile .btn { align-self: flex-start; margin-top: auto; }
.btn.btn--dark { background: #14171b; color: #fff; }
.shop-tile:hover .btn.btn--dark { background: #000; }
.shop-tile--wide { margin-top: 28px; }
@media (min-width: 760px) { .shop-tile--wide { flex-direction: row; align-items: center; } .shop-tile--wide .btn { margin: 0 0 0 auto; align-self: center; } }
.shop-soon { text-align: center; max-width: 640px; margin-inline: auto; padding: 40px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.shop-soon h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 18px 0 10px; }
.shop-soon__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.shop-soon__light { display: inline-flex; flex-direction: column; gap: 9px; padding: 14px 12px; background: #14171b; border-radius: 14px; border: 2px solid #3a4048; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.shop-soon__light i { width: 24px; height: 24px; border-radius: 50%; background: #2a2f36; }
/* real sequence: green -> amber -> red -> green */
.shop-soon__light i:nth-child(1) { animation: tl-red 8s infinite; }
.shop-soon__light i:nth-child(2) { animation: tl-amber 8s infinite; }
.shop-soon__light i:nth-child(3) { animation: tl-green 8s infinite; }
/* sequence: red -> green -> amber -> red */
@keyframes tl-red { 0%, 30% { background: var(--red); box-shadow: 0 0 14px var(--red); } 31%, 77% { background: #2a2f36; box-shadow: none; } 78%, 100% { background: var(--red); box-shadow: 0 0 14px var(--red); } }
@keyframes tl-green { 0%, 30% { background: #2a2f36; box-shadow: none; } 31%, 65% { background: var(--green); box-shadow: 0 0 14px var(--green); } 66%, 100% { background: #2a2f36; box-shadow: none; } }
@keyframes tl-amber { 0%, 65% { background: #2a2f36; box-shadow: none; } 66%, 77% { background: var(--amber); box-shadow: 0 0 14px var(--amber); } 78%, 100% { background: #2a2f36; box-shadow: none; } }

/* ---------- donation page ---------- */
.shop-band { grid-template-columns: 1fr; }
@media (min-width: 760px) { .shop-band { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .shop-band { grid-template-columns: repeat(3, 1fr); } }
.shop-tile--don { background: var(--surface); color: var(--ink); border: 2px solid var(--red); }
.shop-tile--don:hover { color: var(--ink); }
.shop-tile--don .shop-tile__icon { background: rgba(208, 38, 47, .1); color: var(--red); }
.shop-tile--don .eyebrow::before { background: var(--red); box-shadow: 0 0 0 3px rgba(208, 38, 47, .2); }
.shop-tile--don .btn { background: var(--red); color: #fff; }
.don-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.don-grid > * { min-width: 0; }
@media (min-width: 960px) { .don-grid { grid-template-columns: minmax(340px, 440px) 1fr; } .don-card { position: sticky; top: 92px; } }
.don-card { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: 20px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.don-card--soon { text-align: center; border-top-color: var(--amber); }
.don-card--soon h2 { margin: 16px 0 8px; font-size: 1.4rem; }
.don-label { display: block; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
.don-amount { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); padding: 0 16px; transition: border-color .15s; }
.don-amount:focus-within { border-color: var(--blue); }
.don-amount input { flex: 1; width: 100%; min-width: 0; border: 0; background: transparent; font: 800 2.2rem/1 var(--font); color: var(--ink); padding: 14px 0; outline: none; }
.don-amount span { font-size: 1.8rem; font-weight: 800; color: var(--muted); }
.don-help { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font: 700 .95rem var(--font); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.chip:hover { border-color: var(--red); background: rgba(208, 38, 47, .08); }
.don-error { color: var(--red); font-weight: 600; min-height: 1.2em; margin: 10px 0 0; font-size: .92rem; }
.don-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 10px; }
.don-qr { width: min(100%, 300px); aspect-ratio: 1; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); }
.don-qr svg { width: 100%; height: 100%; display: block; }
.don-qr.is-empty { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--surface-2) 0 10px, var(--surface) 10px 20px); }
.don-qr.is-empty::after { content: "Indiquez un montant pour afficher le QR code"; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px; }
.don-scan { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .92rem; color: var(--muted); text-align: center; }
.don-scan .ico { color: var(--ink); }
.don-scan .wero { height: 27px; width: auto; }
.don-recap { margin: 0; font-weight: 700; text-align: center; }
.don-comm { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); text-align: center; }
.don-comm strong { color: var(--ink); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin: 14px 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: #14171b; font-weight: 900; display: grid; place-items: center; }
.don-manual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.don-manual h3 { margin: 0 0 10px !important; color: var(--ink) !important; font-size: 1.1rem; }
.don-manual dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.don-manual dt { color: var(--muted); font-size: .9rem; }
.don-manual dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.don-manual code { font-family: var(--mono); }
.copy { font: 600 .78rem var(--font); margin-left: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer; }
.copy:hover { border-color: var(--blue); }

/* ---------- road marking motif ---------- */
.road { height: 6px; background: repeating-linear-gradient(90deg, var(--amber) 0 42px, transparent 42px 72px); opacity: .9; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; background: var(--blue); color: #fff; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { color: #fff; background: var(--blue-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .btn { color: #0b1220; } .btn:hover { color: #0b1220; } }
.btn--signal { background: var(--amber); color: #14171b; }
.btn--signal:hover { background: #ffbb1f; color: #14171b; }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--light:hover { background: #fff; color: #14171b; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
@media (prefers-color-scheme: dark) { .btn--ghost, .btn--ghost:hover, .btn--light { color: var(--ink); } .btn--light:hover, .btn--signal, .btn--signal:hover { color: #14171b; } }

/* ---------- eyebrow / section titles ---------- */
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(245, 168, 0, .22); }
.eyebrow--light { color: #d6dae0; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 0 0 16px; }

/* ---------- home hero ---------- */
.hero { position: relative; color: #fff; background: var(--asphalt); overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: flex-end; }
.hero__bg, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 15, .25) 0%, rgba(10, 12, 15, .55) 45%, rgba(10, 12, 15, .92) 100%); }
.hero__inner { position: relative; z-index: 1; padding-block: 120px 72px; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 16ch; margin: 0 0 12px; font-weight: 900; }
.hero h1 span { display: block; color: var(--amber); }
.hero__nl { font-family: var(--mono); color: #cfd4da; margin: 0 0 18px; font-size: .9rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; color: #e9ebee; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.road--hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; }

/* sodium <-> LED cross-fade: same place, before / after the switch to LED */
.hero__fade { position: absolute; inset: 0; }
.hero__bg--led { animation: lamp-fade 5s ease-in-out infinite; }
.hero__lamp { position: absolute; z-index: 2; right: 16px; bottom: 22px; margin: 0; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; display: grid; }
.hero__lamp span { grid-area: 1 / 1; justify-self: end; padding: 5px 12px; border-radius: 999px; background: rgba(10, 12, 15, .55); border: 1px solid rgba(255, 255, 255, .2); white-space: nowrap; }
.hero__lamp-sodium { color: #ffb347; animation: lamp-label-sodium 5s ease-in-out infinite; }
.hero__lamp-led { color: #e8f1ff; animation: lamp-label 5s ease-in-out infinite; }
@keyframes lamp-fade { 0%, 30% { opacity: 0; } 45%, 80% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes lamp-label { 0%, 35% { opacity: 0; } 42%, 83% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes lamp-label-sodium { 0%, 35% { opacity: 1; } 42%, 83% { opacity: 0; } 90%, 100% { opacity: 1; } }
@media (min-width: 720px) { .hero__lamp { right: 32px; bottom: 26px; } }
@media (prefers-reduced-motion: reduce) { .hero__bg--led, .hero__lamp-led { opacity: 0; } .hero__lamp-sodium { opacity: 1; } }

/* ---------- page hero ---------- */
.page-hero { position: relative; background: var(--asphalt); color: #fff; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; padding-block: 56px 48px; }
.page-hero--img .page-hero__inner { padding-block: 120px 48px; }
.page-hero__bg { position: absolute; inset: 0; }
.hero__bg { z-index: 0; }
.page-hero .hero__bg { opacity: .55; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 15, .2), rgba(10, 12, 15, .88)); }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2; background: repeating-linear-gradient(90deg, var(--amber) 0 42px, transparent 42px 72px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 12px; max-width: 22ch; font-weight: 900; }
.page-hero__intro { font-size: 1.15rem; max-width: 62ch; color: #dfe3e8; margin: 0; }
.page-hero .eyebrow { color: #cfd4da; }
.crumbs { font-size: .85rem; color: #b9c0c8; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: #e7e9ec; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--asphalt); color: #e9ebee; }
.section--dark .section-title { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head .section-title { margin: 0; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split--rev > :first-child { order: 0; } }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic > a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .4s ease; }
.mosaic > a:hover img, .village-visual > a:hover img { transform: scale(1.02); }
.mosaic > a:first-child { grid-column: 1 / -1; }
.mosaic > a:first-child img { aspect-ratio: 3/2; }
.mosaic--2 > a:first-child { grid-column: auto; }
.mosaic--2 img, .mosaic--2 > a:first-child img { aspect-ratio: 4/5; }
.village-visual > a { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: var(--radius); padding: 20px 24px; margin-block: 24px; }
.notice h2 { margin-top: 0; font-size: 1.3rem; }
.notice p:last-child { margin-bottom: 0; }

.village-visual { position: relative; }
.village-visual__main { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-lg); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.timeline span { background: var(--asphalt-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; font-size: .85rem; color: #b9c0c8; }
.timeline b { display: block; font-family: var(--mono); color: var(--amber); font-size: 1.3rem; }

.info-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .info-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info h2 { font-size: 1.25rem; margin: 0 0 10px; }

.section--partners { padding-block: 48px 64px; border-top: 1px solid var(--line); }
.partners-title { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; text-align: center; margin: 0 0 24px; }
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner { background: #fff; border-radius: 12px; padding: 10px 14px; display: grid; place-items: center; width: 150px; height: 84px; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.partner img { max-height: 62px; width: auto; object-fit: contain; }
a.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-block: 24px 36px; }
.cards--grid3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.cards--small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); border-color: transparent; }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__eyebrow { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card__title { font-size: 1.12rem; margin: 0; font-weight: 750; }
.card__text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.card__more { margin-top: auto; padding-top: 6px; color: var(--blue); font-weight: 700; font-size: .92rem; }
.cards--small .card__title { font-size: 1rem; }

/* ---------- article content ---------- */
.content { padding-block: 48px 80px; }
.prose { max-width: var(--prose); margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: .8em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2em 0 .5em; padding-top: .2em; }
.prose h2::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--amber); margin-bottom: 14px; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .4em; color: var(--blue); }
@media (prefers-color-scheme: dark) { .prose h3 { color: var(--amber); } }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--amber); }
.prose .lead-in { font-weight: 700; font-size: 1.08rem; }
.prose .tag { display: inline-block; font-family: var(--mono); font-size: .8rem; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; margin-top: .6em; }
.prose > .cards { max-width: none; }
@media (min-width: 1100px) { .prose > .cards, .prose > .gallery--many { margin-inline: -120px; } }

.fig, .gallery { margin: 1.8em 0; }
.fig a, .gallery a { display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.fig img { width: 100%; max-height: 78vh; object-fit: contain; margin-inline: auto; }
.fig a { display: flex; justify-content: center; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--amber); white-space: pre-line; }
.gallery { display: grid; gap: 10px; }
.gallery--two { grid-template-columns: 1fr 1fr; }
.gallery--many { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .4s ease; }
.gallery--two img { aspect-ratio: 4/3; }
.gallery img.contain { object-fit: contain; background: #fff; padding: 6px; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { grid-column: 1 / -1; }
.video { margin: 1.8em 0; }

/* the four axes of the light-signalling department */
.axes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.4em 0 2em; }
@media (min-width: 700px) { .axes { grid-template-columns: repeat(4, 1fr); } }
.axis { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.25; transition: transform .15s, box-shadow .15s, border-color .15s; }
.axis:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.axis[aria-current="page"] { border-color: var(--amber); box-shadow: inset 0 -4px 0 var(--amber); }
.axis__icon { width: 72px; height: 72px; display: grid; place-items: center; background: #fff; border-radius: 12px; }
.axis__icon img { max-width: 64px; max-height: 64px; object-fit: contain; }
.video video { width: 100%; border-radius: 12px; background: #000; }

/* ---------- pager / more ---------- */
.pager { max-width: var(--prose); margin: 56px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.pager a:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.pager small { color: var(--muted); font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.pager span { font-weight: 700; }
.pager__next { text-align: right; }
.back { max-width: var(--prose); margin: 20px auto 0; }
.more { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- team ---------- */
.team { list-style: none; padding: 0 !important; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
@media (min-width: 1100px) { .prose > .team { margin-inline: -120px; } }
.person { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 !important; }
.person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.person div { display: flex; flex-direction: column; line-height: 1.35; }
.person__role { color: var(--blue); font-weight: 700; font-size: .92rem; }
.person .muted { font-size: .88rem; }

/* ---------- links & contact ---------- */
.link-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.link-card { display: flex; align-items: center; gap: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.link-card__logo { width: 88px; height: 64px; flex: none; background: #fff; border-radius: 10px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.link-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.link-card div:last-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.link-card .muted { font-size: .85rem; overflow-wrap: anywhere; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.contact-tile { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; overflow-wrap: anywhere; }
.contact-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.contact-tile__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: #14171b; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.contact-tile span:last-child { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--asphalt); color: #c9ced5; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-title { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #8f98a3; margin: 0 0 12px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.site-footer .muted { color: #9aa3ad; }
.brand--footer { margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; color: #8f98a3; }
.footer-bottom a { color: #c9ced5; text-decoration: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 10, 12, .94); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 8px; cursor: zoom-in; transition: transform .25s ease; touch-action: pan-x pan-y; }
.lightbox figure { position: relative; }
.lightbox.is-zoomed figure { overflow: hidden; border-radius: 8px; }
.lightbox.is-zoomed img { cursor: zoom-out; transition: transform .25s ease, transform-origin .05s linear; touch-action: none; }
.lightbox.is-zoomed figcaption, .lightbox.is-zoomed .lightbox__prev, .lightbox.is-zoomed .lightbox__next { opacity: 0; pointer-events: none; }
.lightbox__hint { color: #8f98a3; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; text-align: center; }
.lightbox.is-zoomed .lightbox__hint { visibility: hidden; }
.lightbox figcaption { color: #d6dae0; border: 0; text-align: center; max-width: 80ch; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--amber); color: #000; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }

.nl { font-style: italic; }

/* ---------- official MuSé logo (black artwork on a white plate) ---------- */
.brand__logo { display: block; height: 60px; width: auto; background: #fff; border-radius: 10px; padding: 4px 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .15s; }
.brand:hover .brand__logo { transform: scale(1.03); }
.brand--footer .brand__logo { height: 92px; border-radius: 12px; padding: 6px 12px; }
@media (max-width: 420px) { .brand__logo { height: 52px; padding: 3px 7px; } }
.hero__logo { display: block; width: clamp(160px, 20vw, 250px); height: auto; background: #fff; border-radius: 16px; padding: 12px 16px; margin: 0 0 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }

/* ---------- ".EXEFLO" signature (logotype and Exo 2 Bold font from the exeflo portal) ---------- */
@font-face { font-family: "Exo 2 Bold"; src: url("../fonts/exo2-bold-webfont.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.exeflo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; padding: 4px 2px; }
.exeflo__label { font-size: .8rem; color: #8f98a3; }
.lx { font-family: "Exo 2 Bold", "Segoe UI", sans-serif; font-weight: 400; font-size: 1.45rem; line-height: 1; letter-spacing: .5px; }
.lx-exe { color: #e30613; }
.lx-flo { color: #ff7a00; }
.exeflo:hover .lx { filter: brightness(1.15); }
.footer-bottom .exeflo:hover { color: inherit; }

/* ---------- donation button in the header: same orange pill as the shop button ---------- */
.don-cta { margin-left: 0; animation-delay: 1.5s; }
@media (max-width: 1240px) { .shop-cta { margin-left: auto; } .don-cta { margin-left: 0; } }
@media (max-width: 700px) { .shop-cta, .don-cta { padding: 8px 10px; gap: 5px; font-size: .85rem; } }
@media (max-width: 480px) { .shop-cta .ico { display: none; } .site-header__inner { gap: 6px; } }

/* ---------- language switcher ---------- */
.lang { display: flex; gap: 4px; }
.lang__btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border: 2px solid transparent; border-radius: 8px; background: transparent; color: #e7e9ec; font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
.lang__btn:hover { background: rgba(255, 255, 255, .1); }
.lang__btn[aria-pressed="true"] { border-color: var(--amber); }
.flag { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }
.langbar { background: #0e1013; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.langbar .wrap { display: flex; justify-content: flex-end; }
.lang--bar .lang__btn { padding: 4px 8px; }
.lang--bar .lang__btn span { color: #c9ced5; }
.gt-host { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
body > .skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-tooltip, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Belgian flag on the home banner ---------- */
.hero__flag { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: clamp(54px, 7vw, 84px); height: auto; aspect-ratio: 3 / 2; transform: translateX(-50%); border-radius: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .25); animation: flag-wave 4s ease-in-out infinite; }
@keyframes flag-wave { 0%, 100% { transform: translateX(-50%) skewY(0deg); } 50% { transform: translateX(-50%) skewY(-2.2deg) scaleX(.98); } }
@media (prefers-reduced-motion: reduce) { .hero__flag { animation: none; } }

/* ---------- visit counter ---------- */
.visits-band { display: flex; justify-content: center; padding-block: 28px 8px; }
.visits { display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.visits__label { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); }
.visits__digits { display: inline-flex; align-items: center; gap: 5px; }
.visits__digits i { font-style: normal; font-family: var(--mono); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1; color: #fff; background: #14171b; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 8px 9px; min-width: 1.5em; text-align: center; box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .08); }
.visits__digits b { color: var(--amber); font-size: 1.6rem; line-height: 1; align-self: flex-end; }

/* home banner: text anchored to the left of the photo instead of the centred 1200px column */
.hero .hero__inner { max-width: none; padding-inline: clamp(16px, 5vw, 96px); }

/* tall (portrait) photos are shown whole instead of being cropped to a horizontal strip */
.card__media.is-portrait { position: relative; background: #1b1e23; }
.card__media.is-portrait .card__bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(18px) brightness(.7); }
.card__media.is-portrait img { position: relative; object-fit: contain; }
.card:hover .card__media.is-portrait img { transform: none; }
.gallery img.portrait { object-fit: contain; background: #1b1e23; }
