/* TP2000 - Réalisations V68. Exact design motifs; scoped, dependency-free. */
.tp2000-realisations {
  --tp-r-red: #C1222B;
  --tp-r-ink: #1E2227;
  --tp-r-muted: #828990;
  --tp-r-border: #CDD1D5;
  --tp-r-border-light: #E4E7E9;
  --tp-r-ease: cubic-bezier(.22,.61,.36,1);
  width: 100%;
  min-width: 0;
  font-family: var(--tp-font-body, "TP Hanken Grotesk", Arial, sans-serif);
}
.tp2000-realisations, .tp2000-realisations * { box-sizing: border-box; }
.tp2000-realisations [hidden] { display: none !important; }
.tp2000-realisations__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--tp-r-border-light);
}
.tp2000-realisations__chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 38px;
  padding: 0 15px;
  margin: 0;
  border: 1px solid var(--tp-r-border);
  border-radius: 999px;
  background: #fff;
  color: #454B52;
  font-family: var(--tp-font-body, "TP Hanken Grotesk", Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 200ms var(--tp-r-ease), border-color 200ms var(--tp-r-ease), color 200ms var(--tp-r-ease);
}
.tp2000-realisations__chip:hover {
  border-color: var(--tp-r-muted);
  background: #fff;
  color: var(--tp-r-ink);
}
.tp2000-realisations__chip.is-active,
.tp2000-realisations__chip.is-active:hover {
  background: var(--tp-r-ink);
  border-color: var(--tp-r-ink);
  color: #fff;
}
.tp2000-realisations__chip:focus-visible { outline: 3px solid var(--tp-r-red); outline-offset: 3px; }
.tp2000-realisations__status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.tp2000-realisations__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 44px;
}
.tp2000-realisations__tile {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid var(--tp-r-border-light);
  border-radius: 12px;
  background: #16191C;
  isolation: isolate;
}
.tp2000-realisations__tile--light { background: #EFEEE9; }
.tp2000-realisations__tile-body {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  overflow: hidden;
}
.tp2000-realisations__motif { position: absolute; inset: 0; }
.tp2000-realisations__tile--dark .tp2000-realisations__motif { background-color: #16191C; }
.tp2000-realisations__tile--dark .tp2000-realisations__motif--grid {
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(255,255,255,.05) 27px 28px), repeating-linear-gradient(90deg, transparent 0 27px, rgba(255,255,255,.05) 27px 28px);
}
.tp2000-realisations__tile--light .tp2000-realisations__motif--grid {
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(42,47,54,.07) 27px 28px), repeating-linear-gradient(90deg, transparent 0 27px, rgba(42,47,54,.07) 27px 28px);
}
.tp2000-realisations__tile--dark .tp2000-realisations__motif--net {
  background-image: repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,.07) 18px 19px, transparent 19px 26px, rgba(255,255,255,.04) 26px 27px, transparent 27px 52px);
}
.tp2000-realisations__tile--light .tp2000-realisations__motif--net {
  background-image: repeating-linear-gradient(0deg, transparent 0 18px, rgba(42,47,54,.09) 18px 19px, transparent 19px 26px, rgba(42,47,54,.05) 26px 27px, transparent 27px 52px);
}
.tp2000-realisations__tile--dark .tp2000-realisations__motif--contour {
  background-image: repeating-radial-gradient(circle at 78% 22%, transparent 0 21px, rgba(255,255,255,.06) 21px 22px);
}
.tp2000-realisations__tile--light .tp2000-realisations__motif--contour {
  background-image: repeating-radial-gradient(circle at 78% 22%, transparent 0 21px, rgba(42,47,54,.08) 21px 22px);
}
.tp2000-realisations__motif::after {
  content: "";
  position: absolute;
  left: 0;
  top: 58%;
  width: 38%;
  height: 1px;
  background: rgba(193,34,43,.55);
}
.tp2000-realisations__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18,20,23,0) 50%, rgba(18,20,23,.72) 100%);
  transition: background 220ms var(--tp-r-ease);
}
.tp2000-realisations__tile--light .tp2000-realisations__gradient { display: none; }
.tp2000-realisations__tile--dark:hover .tp2000-realisations__gradient {
  background: linear-gradient(180deg, rgba(18,20,23,.18) 0%, rgba(18,20,23,.8) 100%);
}
.tp2000-realisations__meta {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.tp2000-realisations__number { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.tp2000-realisations__badge { text-align: right; overflow-wrap: anywhere; }
.tp2000-realisations__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 20px;
  pointer-events: none;
}
.tp2000-realisations__title {
  display: block;
  font-family: var(--tp-font-heading, "TP Archivo", Arial, sans-serif);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.tp2000-realisations__subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}
.tp2000-realisations__subtitle::before {
  content: "";
  width: 14px;
  height: 2px;
  flex: none;
  background: var(--tp-r-red);
}
.tp2000-realisations__tile--dark .tp2000-realisations__meta,
.tp2000-realisations__tile--dark .tp2000-realisations__subtitle { color: #ABB1B3; }
.tp2000-realisations__tile--dark .tp2000-realisations__title { color: #fff; }
.tp2000-realisations__tile--light .tp2000-realisations__meta,
.tp2000-realisations__tile--light .tp2000-realisations__subtitle { color: var(--tp-r-muted); }
.tp2000-realisations__tile--light .tp2000-realisations__title { color: var(--tp-r-ink); }
.tp2000-realisations__photo {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: contrast(1.04) saturate(.88);
  transition: transform 320ms var(--tp-r-ease);
}
.tp2000-realisations__tile--photo .tp2000-realisations__meta { color: #f1f1f1; }
.tp2000-realisations__tile--photo .tp2000-realisations__title { color: #fff; }
.tp2000-realisations__tile--photo .tp2000-realisations__gradient { display: block; }
@media (hover:hover) and (pointer:fine) {
  .tp2000-realisations__tile--photo:hover .tp2000-realisations__photo { transform: scale(1.02); }
}
.tp2000-realisations__empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 40px 24px;
  overflow: hidden;
  margin-top: 44px;
  border-radius: 12px;
  background: #16191C;
  text-align: center;
}
.tp2000-realisations__empty-motif {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 28px, rgba(255,255,255,.045) 28px 29px), repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.045) 28px 29px), linear-gradient(135deg, #2a2f36, #181b1f);
}
.tp2000-realisations__empty-content { position: relative; max-width: 460px; }
.tp2000-realisations__empty-title {
  margin: 0 0 10px !important;
  font-family: var(--tp-font-heading, "TP Archivo", Arial, sans-serif);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
}
.tp2000-realisations__empty-text {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.55;
  color: #ABB1B3;
}
@media (max-width: 960px) {
  .tp2000-realisations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tp2000-realisations__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: 20px;
    margin-inline: -20px;
    padding-inline: 20px;
    padding-bottom: 4px;
    border-top: 0;
    -webkit-mask-image: linear-gradient(90deg,#000 calc(100% - 48px),transparent);
    mask-image: linear-gradient(90deg,#000 calc(100% - 48px),transparent);
  }
  .tp2000-realisations__filters::-webkit-scrollbar { display: none; }
  .tp2000-realisations__chip { min-height: 44px; }
}
@media (max-width: 560px) {
  .tp2000-realisations__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tp2000-realisations__chip,
  .tp2000-realisations__gradient,
  .tp2000-realisations__photo { transition: none !important; }
}
