/* ═══════════════════════════════════════════════════════════════════════════
   PAGE RÉALISATIONS (/realisations) — refaite en oct. 2026
   ───────────────────────────────────────────────────────────────────────────
   Une galerie épurée : en-tête, un projet à la une, une grille 3 × 3, un
   appel final. Préfixe `rl-` : rien n'hérite des anciennes classes (`real-*`,
   `kiosk*`, `pm-*`) ni ne fuit ailleurs.
   Aucun effet sur les photos (oct. 2026) : ce sont des mises en scène
   soignées, elles se suffisent.
   ═══════════════════════════════════════════════════════════════════════════ */

.rl {
  display: block;
  padding-top: 74px;
  background: var(--paper, #faf8f5);
  color: var(--ink, #212224);
}
.rl-wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ── En-tête ── */
.rl-tete { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); max-width: 640px; }
.rl-tete__t {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.rl-tete__s { margin: 20px 0 0; font-size: 1.08rem; line-height: 1.65; color: var(--muted, #6e6b66); }

/* Petite ligne commune aux cartes : catégorie, délai */
.rl-meta {
  display: block;
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted, #6e6b66);
}

/* ── Le projet à la une ── */
.rl-une {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border, #e6e1d8);
}
.rl-une__img,
.rl-carte__img {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #1c1d1f;
  aspect-ratio: 3 / 2;
}
.rl-une__img img,
.rl-carte__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-une__t { margin: 10px 0 0; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.rl-une__d { margin: 14px 0 0; font-size: 1rem; line-height: 1.65; color: var(--muted, #6e6b66); max-width: 42ch; }

.rl-faits { display: flex; gap: 32px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border, #e6e1d8); }
.rl-faits div { margin: 0; }
.rl-faits dt { font-size: .78rem; color: var(--muted, #6e6b66); }
.rl-faits dd { margin: 4px 0 0; font-size: 1rem; font-weight: 600; }

.rl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--ink, #212224);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.rl-btn:hover { background: #000; }
.rl-btn svg { transition: transform .2s; }
.rl-btn:hover svg { transform: translate(2px, -2px); }

/* ── La grille ── */
.rl-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 48px) clamp(20px, 2.5vw, 32px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 10vw, 120px);
}
.rl-carte {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.rl-carte .rl-meta { margin-top: 18px; }
.rl-carte__t { display: block; margin-top: 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.rl-carte__d { display: block; margin-top: 6px; font-size: .92rem; line-height: 1.55; color: var(--muted, #6e6b66); }
.rl-carte__lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-2, #413f3c);
}
.rl-carte:hover .rl-carte__lien { color: var(--ink, #212224); text-decoration: underline; text-underline-offset: 3px; }

/* ── Appel final ── */
.rl-fin { padding: clamp(48px, 6vw, 72px) 0; background: var(--ink, #212224); color: #fff; }
.rl-fin__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.rl-fin h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.rl-fin p { margin: 8px 0 0; color: rgba(255, 255, 255, .7); }
.rl-fin__b { display: flex; gap: 12px; flex-wrap: wrap; }
.rl-fin .rl-btn { margin-top: 0; }
.rl-btn--blanc { background: #fff; color: var(--ink, #212224); }
.rl-btn--blanc:hover { background: #ece9e4; }
.rl-btn--ligne { background: transparent; border-color: rgba(255, 255, 255, .35); }
.rl-btn--ligne:hover { background: transparent; border-color: #fff; }

/* ── Tablette / mobile ── */
@media (max-width: 960px) {
  .rl-une { grid-template-columns: minmax(0, 1fr); }
  .rl-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rl-grille { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rl *, .rl *::before, .rl *::after { transition: none !important; }
}
