/* =====================================================================
   ZAW'IA — AL-MA3RAD (المعرض) · zawia.tech/projets
   Une nuit de souk : fond nuit, lanternes, étoiles de zellige, or et émeraude.
   Palette et polices de la LP (zawia.html) — rien d'inventé.
   ===================================================================== */
:root {
  --night: #081411; --night-2: #0d1f1a; --night-3: #12271f;
  --ink: #f2efe4; --muted: #a8b5a6; --faint: #6f7d70;
  --gold: #e6b13f; --gold-soft: rgba(230, 177, 63, 0.16);
  --emerald: #2ee6a8; --majorelle: #6a7dff; --terracotta: #cf6b45;
  --line: rgba(230, 177, 63, 0.2); --line-soft: rgba(244, 236, 217, 0.1);
  --surface: rgba(244, 236, 217, 0.045);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-caps: "Cinzel", Georgia, serif;
  --font-ar: "Amiri", serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; }
body.zp {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }
.zp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------ l'en-tête ------------------------------ */
.zp-top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter);
  padding-top: max(12px, env(safe-area-inset-top));
  background: linear-gradient(rgba(8, 20, 17, 0.92), rgba(8, 20, 17, 0.72));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.zp-top__marque { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-caps); letter-spacing: 0.08em; font-size: 14px; }
.zp-top__marque em { font-style: normal; color: var(--gold); }
.zp-top__liens { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.zp-top__liens a { color: var(--muted); text-decoration: none; }
.zp-top__liens a:hover { color: var(--ink); }
.zp-top__liens .zp-top__cta { color: var(--night); background: var(--gold); padding: 7px 14px; border-radius: 999px; font-weight: 600; }
.zp-top__liens .zp-top__cta:hover { color: var(--night); filter: brightness(1.08); }
@media (max-width: 560px) {
  .zp-top__liens a:not(.zp-top__cta) { display: none; }
  .zp-top__marque em { display: none; }
}

/* ------------------------------- le seuil ------------------------------- */
.zp-heros {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 860px);
  display: grid; align-content: center;
  padding: 72px var(--gutter) 120px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 177, 63, 0.14), transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 90%, rgba(46, 230, 168, 0.09), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(106, 125, 255, 0.08), transparent 70%),
    var(--night);
}
.zp-nuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
/* Le zellige : une étoile à huit branches répétée, qui tourne très lentement. */
.zp-heros__zellige {
  position: absolute; z-index: -2; width: 170vmax; height: 170vmax; left: 50%; top: 50%;
  translate: -50% -50%;
  opacity: 0.085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e6b13f' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Cpath d='M0 40h14M66 40h14M40 0v14M40 66v14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 55%);
  animation: zp-tour 240s linear infinite;
}
@keyframes zp-tour { to { rotate: 360deg; } }
.zp-heros__dedans { max-width: var(--max); margin: 0 auto; width: 100%; text-align: center; }
.zp-kicker { font-family: var(--font-caps); color: var(--gold); letter-spacing: 0.22em; font-size: 12px; text-transform: uppercase; margin: 0 0 14px; }
.zp-kicker [lang="ar"] { font-family: var(--font-ar); letter-spacing: 0; font-size: 1.15em; text-transform: none; }
.zp-heros h1 {
  font-family: var(--font-display); font-weight: 700; margin: 0;
  font-size: clamp(3.4rem, 13vw, 8.6rem); line-height: 0.92; letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff6dc 0%, #f2d48a 45%, #c9902a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(230, 177, 63, 0.25));
}
.zp-ar { display: block; font-family: var(--font-ar); font-weight: 400; font-size: 0.42em; line-height: 1.4; margin-top: 6px; -webkit-text-fill-color: var(--gold); }
.zp-heros__phrase { font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 1.9rem); line-height: 1.35; color: #e8e1cd; margin: 22px auto 0; max-width: 34ch; }
.zp-heros__phrase em { color: var(--emerald); font-style: italic; }
.zp-chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 760px; margin: 44px auto 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(8, 20, 17, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.zp-chiffres div { display: flex; flex-direction: column-reverse; padding: 16px 8px; border-left: 1px solid var(--line-soft); }
.zp-chiffres div:first-child { border-left: 0; }
.zp-chiffres dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.zp-chiffres dt { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-top: 6px; }
@media (max-width: 560px) {
  .zp-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-chiffres div:nth-child(3) { border-left: 0; }
  .zp-chiffres div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
.zp-heros__gestes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Le fil : les noms des projets passent comme des lanternes au bas du seuil. */
.zp-fil { position: absolute; left: 0; right: 0; bottom: 26px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.zp-fil__rail { display: flex; gap: 34px; width: max-content; animation: zp-fil 60s linear infinite; }
.zp-fil span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-caps); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.zp-fil i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
@keyframes zp-fil { to { transform: translateX(-50%); } }

/* ------------------------------- boutons ------------------------------- */
.zp-b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-ui); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, #f2c35a, #d89d28); color: #1d1608;
  box-shadow: 0 10px 30px rgba(230, 177, 63, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s;
}
.zp-b:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(230, 177, 63, 0.32); filter: brightness(1.05); }
.zp-b--creux { background: transparent; color: var(--gold); box-shadow: none; }
.zp-b--creux:hover { background: var(--gold-soft); box-shadow: none; }
.zp-lien { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------- sections ------------------------------- */
.zp-section { max-width: var(--max); margin: 0 auto; padding: 88px var(--gutter) 0; }
.zp-entete { max-width: 720px; margin-bottom: 30px; }
.zp-section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin: 0; }
.zp-section h2 em { color: var(--gold); font-style: italic; font-weight: 600; }
.zp-intro { color: var(--muted); margin: 14px 0 0; font-size: 16.5px; max-width: 62ch; }
.zp-intro b { color: var(--ink); }

/* -------------------------------- la une -------------------------------- */
.zp-section--une { padding-top: 0; margin-top: -54px; position: relative; z-index: 2; }
.zp-une {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0;
  border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, var(--night-3), var(--night-2));
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 80px color-mix(in srgb, var(--c) 18%, transparent);
}
.zp-une__visuel { position: relative; min-height: 300px; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), #0a1914; }
.zp-une__visuel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.zp-une__visuel img { object-position: center top; }
.zp-une__visuel--affiche img { object-position: center 35%; }
.zp-une__visuel .zp-embleme { width: min(68%, 260px); animation: zp-tour 120s linear infinite; }
.zp-une__texte { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.zp-une h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 3rem); margin: 0; line-height: 1.05; }
.zp-une__resout { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: #e8e1cd; margin: 14px 0 0; }
.zp-une__meta { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.zp-une__par { color: var(--muted); font-size: 14px; margin: 4px 0 24px; }
.zp-une__par b { color: var(--ink); }
.zp-une .zp-b { margin-top: auto; }
@media (max-width: 760px) {
  .zp-une { grid-template-columns: 1fr; }
  .zp-une__visuel { min-height: 220px; }
}

/* ------------------------------ le regard ------------------------------- */
.zp-regard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 26px; }
.zp-regard > * { min-width: 0; }
.zp-cherche { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, 0.25); transition: border-color 0.2s; }
.zp-cherche:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.zp-cherche svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.zp-cherche input { flex: 1; min-width: 0; padding: 15px 0; border: 0; background: transparent; color: var(--ink); font: 16px var(--font-ui); outline: none; }
.zp-cherche input::placeholder { color: var(--faint); }
.zp-puces { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.zp-puces::-webkit-scrollbar { display: none; }
.zp-puce {
  flex: none; cursor: pointer; font: 500 13.5px/1 var(--font-ui); color: var(--muted);
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--surface);
  transition: all 0.2s var(--ease);
}
.zp-puce b { color: var(--faint); font-weight: 600; margin-left: 4px; }
.zp-puce:hover { color: var(--ink); border-color: var(--line); }
.zp-puce[aria-pressed="true"] { color: #1d1608; background: var(--gold); border-color: var(--gold); }
.zp-puce[aria-pressed="true"] b { color: rgba(29, 22, 8, 0.6); }
.zp-compte { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ------------------------------- la grille ------------------------------- */
.zp-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.zp-attente { height: 360px; border-radius: 22px; background: linear-gradient(100deg, var(--surface) 30%, rgba(244, 236, 217, 0.09) 50%, var(--surface) 70%); background-size: 300% 100%; animation: zp-luit 1.6s ease-in-out infinite; }
@keyframes zp-luit { to { background-position: -150% 0; } }
.zp-vide { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 40px 0; }

.zp-carte {
  position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer;
  padding: 0; border-radius: 22px; overflow: hidden; color: var(--ink); font: inherit;
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line-soft);
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
  opacity: 0; translate: 0 24px;
  animation: zp-monte 0.7s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes zp-monte { to { opacity: 1; translate: 0 0; } }
.zp-carte::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.zp-carte:hover, .zp-carte:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px color-mix(in srgb, var(--c) 16%, transparent); }
.zp-carte:hover::after, .zp-carte:focus-visible::after { opacity: 1; }
.zp-carte__visuel { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), #0a1914; border-bottom: 1px solid var(--line-soft); }
.zp-carte__visuel .zp-embleme { width: 128px; height: 128px; transition: transform 1.2s var(--ease); }
.zp-carte:hover .zp-embleme { transform: rotate(45deg) scale(1.08); }
.zp-carte__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
/* Une capture d'écran se lit par le haut ; une affiche (portrait) par son cœur. */
.zp-carte__visuel img { object-position: center top; }
.zp-carte--affiche .zp-carte__visuel img { object-position: center 38%; }
.zp-carte:hover .zp-carte__visuel img { transform: scale(1.06); }
.zp-carte__corps { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; flex: 1; }
.zp-carte__haut { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.zp-secteur { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 999px; padding: 3px 9px; }
.zp-etal { font-size: 11.5px; font-weight: 600; color: var(--emerald); border: 1px solid rgba(46, 230, 168, 0.45); border-radius: 999px; padding: 3px 9px; }
.zp-carte__nom { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.08; }
.zp-carte__resout { color: #cfd3c4; font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.zp-carte__pied { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line-soft); }
.zp-par { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zp-feux { display: inline-flex; gap: 4px; flex: none; }
.zp-feux i { width: 8px; height: 12px; border-radius: 4px 4px 3px 3px; background: rgba(244, 236, 217, 0.12); }
.zp-feux i.on { background: var(--gold); box-shadow: 0 0 10px rgba(230, 177, 63, 0.7); }

/* ------------------------------ les secteurs ----------------------------- */
.zp-secteurs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px 28px; }
.zp-barre { width: 100%; display: grid; grid-template-columns: 120px 1fr 28px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left; transition: background 0.2s, border-color 0.2s; }
.zp-barre:hover { background: var(--surface); }
.zp-barre.on { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); }
.zp-barre__nom { text-transform: capitalize; font-size: 14.5px; }
.zp-barre__jauge { height: 10px; border-radius: 999px; background: rgba(244, 236, 217, 0.06); overflow: hidden; }
.zp-barre__jauge i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 55%, transparent), var(--c)); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); transform-origin: left; animation: zp-jauge 1.2s var(--ease) both; }
@keyframes zp-jauge { from { transform: scaleX(0); } }
.zp-barre__n { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-align: right; font-variant-numeric: lining-nums tabular-nums; }

/* -------------------------------- exposer -------------------------------- */
.zp-exposer { padding-bottom: 40px; }
.zp-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: e; }
.zp-etapes li { position: relative; padding: 24px 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(230, 177, 63, 0.07), transparent 70%); }
.zp-etapes__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.zp-etapes h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 14px 0 6px; }
.zp-etapes p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .zp-etapes { grid-template-columns: 1fr; } }
.zp-exposer__gestes { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.zp-membres { margin-top: 34px; padding: 24px; border-radius: 20px; border: 1px solid rgba(46, 230, 168, 0.35); background: radial-gradient(circle at 100% 0%, rgba(46, 230, 168, 0.12), transparent 60%), var(--night-2); }
.zp-membres h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.6rem; color: var(--emerald); }
.zp-membres p { margin: 0 0 12px; color: #cfd3c4; max-width: 70ch; }

/* -------------------------------- la fiche -------------------------------- */
.zp-fiche {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: 26px; overflow: hidden; color: var(--ink);
  background: linear-gradient(160deg, var(--night-3), var(--night));
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in srgb, var(--c, #e6b13f) 45%, transparent);
}
.zp-fiche[open] { animation: zp-fiche 0.5s var(--ease); }
@keyframes zp-fiche { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.zp-fiche::backdrop { background: rgba(3, 8, 7, 0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.zp-fiche__fermer { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(8, 20, 17, 0.7); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.zp-fiche__fermer:hover { border-color: var(--gold); color: var(--gold); }
.zp-fiche__corps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
.zp-fiche__visuel { min-height: 360px; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--c, #e6b13f) 22%, transparent), transparent 70%), #0a1914; position: relative; }
.zp-fiche__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp-fiche__visuel--affiche img { object-position: center 35%; }
.zp-fiche__visuel .zp-embleme { width: min(70%, 280px); animation: zp-tour 90s linear infinite; }
.zp-fiche__texte { padding: clamp(26px, 4vw, 44px); }
.zp-fiche h2 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3rem); line-height: 1.02; margin: 0 40px 0 0; }
.zp-fiche__resout { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: #e8e1cd; margin: 14px 0 0; }
.zp-fiche__bloc { margin-top: 18px; }
.zp-fiche__bloc h3 { margin: 0 0 4px; font: 600 11.5px/1.4 var(--font-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.zp-fiche__bloc p { margin: 0; color: #cfd3c4; white-space: pre-line; }
.zp-outils { display: flex; flex-wrap: wrap; gap: 6px; }
.zp-outils span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(46, 230, 168, 0.4); color: var(--emerald); }
.zp-captures { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin-top: 18px; }
/* Les captures se montrent ENTIÈRES (jamais rognées) : c'est la preuve qu'on lit. */
.zp-captures img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-soft); }
.zp-captures--une { grid-template-columns: 1fr; }
.zp-fiche__faits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.zp-fiche__faits div { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); }
.zp-fiche__faits dt { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.zp-fiche__faits dd { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.zp-fiche__gestes { display: flex; flex-wrap: wrap; gap: 10px; }
.zp-fiche__note { color: var(--faint); font-size: 12.5px; margin: 18px 0 0; }
.zp-rue { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line-soft); display: grid; gap: 8px; }
.zp-rue .zp-kicker { margin-bottom: 4px; }
.zp-rue__lien { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s, transform 0.25s var(--ease); }
.zp-rue__lien:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateX(4px); }
.zp-rue__lien .zp-embleme { width: 44px; height: 44px; }
.zp-rue__lien b { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.zp-rue__lien small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zp-rue__lien span { min-width: 0; }
@media (max-width: 760px) {
  .zp-fiche__corps { grid-template-columns: 1fr; }
  .zp-fiche__visuel { min-height: 220px; }
  .zp-fiche__faits { grid-template-columns: 1fr; }
}

/* Peu de fiches : l'exposition se montre sans chiffres, filtres ni carte. */
.zp-debut .zp-chiffres, .zp-debut .zp-regard, .zp-debut .zp-section--secteurs { display: none; }

/* ------------------------------- le pied ------------------------------- */
.zp-pied { max-width: var(--max); margin: 80px auto 0; padding: 28px var(--gutter) max(36px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.zp-pied nav { display: flex; flex-wrap: wrap; gap: 14px; }
.zp-pied a { color: var(--gold); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .zp-carte { opacity: 1; translate: 0 0; }
}
