/**
 * OffMarket — Biens accessibles sur dossier
 * Large 2-col grid · in-card hover split panel · scoped to .om-featured-projects
 */

.om-featured-projects {
  --om-fp-bg: var(--om-ivory);
  --om-fp-text: var(--om-graphite);
  --om-fp-muted: rgba(17, 18, 13, 0.62);
  --om-fp-accent: var(--om-ruby-800);
  --om-fp-btn: var(--om-red);
  --om-fp-btn-text: var(--om-ivory);
  --om-fp-line: rgba(44, 41, 41, 0.12);
  --om-fp-card-ease: cubic-bezier(0.19, 1, 0.22, 1);

  position: relative;
  z-index: 9;
  isolation: isolate;
  width: 100%;
  overflow-x: clip;
  background: var(--om-fp-bg);
  color: var(--om-fp-text);
  scroll-margin-top: 140px;
  padding-top: clamp(110px, 12vh, 150px);
}

.om-featured-projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(17, 18, 13, 0.08);
  pointer-events: none;
}

.om-featured-projects__container {
  width: 100%;
  max-width: min(1320px, calc(100vw - clamp(2rem, 5vw, 4rem) * 2));
  margin-inline: auto;
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

/* ── Intro ── */

.om-featured-projects__intro {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 100%;
  margin: 0 0 clamp(2.6rem, 5vw, 4.5rem);
  width: 100%;
}

.om-featured-projects__intro-copy {
  max-width: 760px;
  min-width: 0;
  text-align: left;
}

.om-featured-projects__eyebrow {
  margin: 0 0 1rem;
  font-family: var(--om-font-body);
  font-size: var(--om-label);
  line-height: 1;
  font-weight: 650;
  letter-spacing: var(--om-letter-label);
  text-transform: uppercase;
  color: var(--om-ruby-800);
}

.om-featured-projects__title {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(42px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #252222;
}

.om-featured-projects__lead,
.om-featured-projects__subtitle {
  max-width: 700px;
  margin: 1.1rem 0 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: rgba(44, 41, 41, 0.62);
}

.om-featured-projects__note {
  max-width: 620px;
  margin: 0.95rem 0 0;
  font-family: var(--om-font-body);
  font-size: var(--om-small-readable);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(17, 18, 13, 0.52);
}

.om-featured-projects__intro-action {
  justify-self: end;
  align-self: end;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

.om-featured-projects__cta-proof {
  margin-top: 0.85rem;
  font-family: var(--om-font-body);
  font-size: var(--om-support-text);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(17, 18, 13, 0.58);
}

.om-featured-projects__intro-action .om-cta {
  white-space: nowrap;
}

/* ── Grid ── */

.om-featured-projects__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  margin-top: 0;
  justify-content: stretch;
  align-items: start;
  position: relative;
}

/* ── Reveal property cards: immersive default · detailed hover ── */

.om-featured-projects .om-reveal-card {
  --reveal-card-padding: 24px;
  --reveal-media-top: clamp(365px, 32vh, 415px);
  --reveal-media-bottom: 24px;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 0.92 / 1;
  min-height: 0;
  padding: 0;
  border-radius: 34px;
  overflow: hidden;
  color: #252222;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.om-featured-projects .om-reveal-card:not(:hover):not(.is-active):not(:focus-within) {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.om-reveal-card__top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(44, 41, 41, 0.1);
}

.om-reveal-card__top-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.om-reveal-card__index {
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(44, 41, 41, 0.46);
}

.om-reveal-card__pill {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--om-font-body);
  font-size: var(--om-small-readable);
  line-height: 1;
  font-weight: 500;
  color: rgba(17, 18, 13, 0.78);
  background: rgba(17, 18, 13, 0.055);
  border: 1px solid rgba(17, 18, 13, 0.08);
}

.om-reveal-card__pill--primary {
  color: var(--om-white);
  background: var(--om-red);
  border-color: var(--om-red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.om-reveal-card__status {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--om-font-ui, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #565449;
  text-align: right;
  white-space: nowrap;
}

.om-reveal-card__status--sentence {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.om-reveal-card__info {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 28px;
  align-items: start;
  padding-top: 34px;
  opacity: 0;
  transform: translate3d(0, -14px, 0);
  pointer-events: none;
  transition:
    opacity 520ms ease 120ms,
    transform 820ms cubic-bezier(0.19, 1, 0.22, 1) 120ms,
    max-height 950ms cubic-bezier(0.19, 1, 0.22, 1),
    padding-top 950ms cubic-bezier(0.19, 1, 0.22, 1);
}

@media (min-width: 901px) {
  .om-reveal-card:hover .om-reveal-card__info,
  .om-reveal-card.is-active .om-reveal-card__info,
  .om-reveal-card:focus-within .om-reveal-card__info {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
}

.om-reveal-card__copy {
  min-width: 0;
  max-width: 680px;
}

.om-reveal-card__developer {
  margin: 0 0 14px;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: var(--om-small-readable);
  line-height: 1.2;
  font-weight: 400;
  color: rgba(44, 41, 41, 0.52);
}

.om-reveal-card__developer span {
  color: rgba(44, 41, 41, 0.42);
}

.om-reveal-card__title {
  max-width: 560px;
  margin: 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(28px, 2.35vw, 40px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: #252222;
}

.om-reveal-card__meta {
  max-width: 600px;
  margin: 14px 0 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(44, 41, 41, 0.6);
}

.om-featured-projects .om-reveal-card__action {
  justify-self: end;
  align-self: start;
  width: 154px;
  max-width: 154px;
  min-width: 154px;
  min-height: 154px;
  padding: 16px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-decoration: none;
  color: var(--om-black);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  pointer-events: auto;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.46),
      rgba(255, 251, 244, 0.2)
    ),
    rgba(255, 251, 244, 0.28);
  border: 1px solid rgba(17, 18, 13, 0.08);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  white-space: normal;
  transition:
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    background 320ms ease,
    border-color 320ms ease;
}

.om-featured-projects .om-reveal-card__action:hover {
  transform: translateY(-2px);
  border-color: rgba(112, 0, 14, 0.14);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.56),
      rgba(255, 251, 244, 0.28)
    ),
    rgba(255, 251, 244, 0.36);
  box-shadow: none;
}

.om-featured-projects .om-reveal-card__action:hover .om-reveal-card__action-icon {
  transform: translate3d(2px, -2px, 0);
  background: rgba(255, 255, 255, 0.62);
}

.om-featured-projects .om-reveal-card__action:focus-visible {
  outline: 2px solid var(--om-focus-ring);
  outline-offset: 3px;
}

.om-featured-projects .om-reveal-card__action--disabled,
.om-featured-projects button.om-reveal-card__action--disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.om-featured-projects .om-reveal-card__action--disabled:hover,
.om-featured-projects button.om-reveal-card__action--disabled:hover {
  transform: none;
  border-color: rgba(17, 18, 13, 0.08);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.46),
      rgba(255, 251, 244, 0.2)
    ),
    rgba(255, 251, 244, 0.28);
}

.om-featured-projects .om-reveal-card--photo-pending .om-reveal-card__media {
  background:
    linear-gradient(135deg, rgba(17, 18, 13, 0.06), rgba(255, 251, 244, 0.92));
}

.om-featured-projects .om-reveal-card--photo-pending .om-reveal-card__media img {
  opacity: 0;
}

.om-reveal-card__action-icon {
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--om-black);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(17, 18, 13, 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  transition:
    transform 360ms cubic-bezier(0.19, 1, 0.22, 1),
    background 260ms ease;
}

.om-reveal-card__action-title {
  display: block;
  margin-top: auto;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: 24px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--om-black);
}

.om-reveal-card__media {
  position: absolute;
  z-index: 2;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(17, 18, 13, 0.05);
  transform: translate3d(0, 0, 0);
  will-change: top, bottom, left, right, transform, border-radius;
  transition:
    top 950ms cubic-bezier(0.19, 1, 0.22, 1),
    bottom 950ms cubic-bezier(0.19, 1, 0.22, 1),
    left 950ms cubic-bezier(0.19, 1, 0.22, 1),
    right 950ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 950ms cubic-bezier(0.19, 1, 0.22, 1),
    border-radius 950ms cubic-bezier(0.19, 1, 0.22, 1);
}

.om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__media {
  position: absolute;
  inset: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(440px, 48vw, 620px);
  border-radius: 34px;
}

.om-reveal-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.28) 38%,
      rgba(0, 0, 0, 0.08) 72%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
  z-index: 2;
}

.om-reveal-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition:
    transform 900ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 700ms ease;
}

.om-reveal-card__image-badge {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0 0.86rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 17, 17, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: var(--om-small-readable);
  line-height: 1;
  font-weight: 400;
  opacity: 1;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.om-reveal-card__pin {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

.om-reveal-card__image-badge--sale {
  color: #f4fff8;
  background: rgba(24, 94, 58, 0.78);
  border: 1px solid rgba(79, 208, 138, 0.48);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.om-reveal-card__image-badge--sale .om-reveal-card__pin {
  background: var(--om-green, #4fd08a);
}

.om-reveal-card__image-arrow {
  position: absolute;
  z-index: 4;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1),
    background 260ms ease;
}

.om-reveal-card__image-arrow[data-property-modal-trigger] {
  pointer-events: auto;
  cursor: pointer;
}

.om-reveal-card:hover .om-reveal-card__image-arrow {
  transform: translate3d(2px, -2px, 0);
  background: rgba(255, 255, 255, 0.86);
}

.om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__top,
.om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__info {
  opacity: 0;
  pointer-events: none;
}

.om-reveal-card:hover .om-reveal-card__top,
.om-reveal-card:hover .om-reveal-card__info,
.om-reveal-card.is-active .om-reveal-card__top,
.om-reveal-card.is-active .om-reveal-card__info,
.om-reveal-card:focus-within .om-reveal-card__top,
.om-reveal-card:focus-within .om-reveal-card__info {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 901px) {
  .om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__top {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
  }

  .om-reveal-card:hover .om-reveal-card__media,
  .om-reveal-card.is-active .om-reveal-card__media,
  .om-reveal-card:focus-within .om-reveal-card__media {
    left: var(--reveal-card-padding);
    right: var(--reveal-card-padding);
    top: var(--reveal-media-top);
    bottom: var(--reveal-media-bottom);
    min-height: 0;
    border-radius: 32px;
  }

  .om-reveal-card:hover .om-reveal-card__media img,
  .om-reveal-card.is-active .om-reveal-card__media img,
  .om-reveal-card:focus-within .om-reveal-card__media img {
    transform: scale(1);
  }

  .om-reveal-card:hover .om-reveal-card__image-overlay,
  .om-reveal-card.is-active .om-reveal-card__image-overlay,
  .om-reveal-card:focus-within .om-reveal-card__image-overlay,
  .om-reveal-card:hover .om-reveal-card__image-badge,
  .om-reveal-card.is-active .om-reveal-card__image-badge,
  .om-reveal-card:focus-within .om-reveal-card__image-badge,
  .om-reveal-card:hover .om-reveal-card__image-arrow,
  .om-reveal-card.is-active .om-reveal-card__image-arrow,
  .om-reveal-card:focus-within .om-reveal-card__image-arrow {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    pointer-events: none;
  }

  .om-reveal-card:hover .om-reveal-card__image-arrow,
  .om-reveal-card.is-active .om-reveal-card__image-arrow,
  .om-reveal-card:focus-within .om-reveal-card__image-arrow {
    transform: translate3d(0, 12px, 0);
  }

  .om-featured-projects .om-reveal-card:hover,
  .om-featured-projects .om-reveal-card.is-active,
  .om-featured-projects .om-reveal-card:focus-within {
    aspect-ratio: auto;
    min-height: clamp(720px, 78vh, 800px);
    padding: var(--reveal-card-padding);
    border-radius: 42px;
    background: #f7f5f2;
    border: 1px solid rgba(17, 18, 13, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.88),
      0 18px 48px rgba(17, 18, 13, 0.08);
  }

  .om-reveal-card:hover .om-reveal-card__top,
  .om-reveal-card.is-active .om-reveal-card__top,
  .om-reveal-card:focus-within .om-reveal-card__top {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(44, 41, 41, 0.1);
  }
}

.om-reveal-card__image-overlay {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
  padding: 0 30px 30px;
  color: #ffffff;
  background: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 650ms cubic-bezier(0.19, 1, 0.22, 1);
}

.om-reveal-card__overlay-index {
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.78);
}

.om-reveal-card__overlay-copy {
  min-width: 0;
}

.om-reveal-card__overlay-copy p {
  margin: 0 0 0.25rem;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: var(--om-small-readable);
  line-height: 1;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}

.om-reveal-card__overlay-copy strong {
  display: block;
  max-width: 520px;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: rgba(255, 255, 255, 0.96);
}

/* Desktop: immersive default — info collapsed, media full-bleed */
@media (min-width: 901px) {
  .om-reveal-card__info {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
  }

  .om-reveal-card:hover .om-reveal-card__info,
  .om-reveal-card.is-active .om-reveal-card__info,
  .om-reveal-card:focus-within .om-reveal-card__info {
    max-height: 300px;
    padding-top: 34px;
  }

  .om-reveal-card__media {
    z-index: 2;
  }

  .om-reveal-card:focus-within {
    outline: 2px solid var(--om-focus-ring);
    outline-offset: 4px;
  }
}

/* Page boot: restore reveal transitions */
html.js.not-ready .om-featured-projects .om-reveal-card__info {
  transition:
    opacity 520ms ease 120ms,
    transform 820ms cubic-bezier(0.19, 1, 0.22, 1) 120ms,
    max-height 950ms cubic-bezier(0.19, 1, 0.22, 1),
    padding-top 950ms cubic-bezier(0.19, 1, 0.22, 1) !important;
}

html.js.not-ready .om-featured-projects .om-reveal-card__media {
  transition:
    top 950ms cubic-bezier(0.19, 1, 0.22, 1),
    bottom 950ms cubic-bezier(0.19, 1, 0.22, 1),
    left 950ms cubic-bezier(0.19, 1, 0.22, 1),
    right 950ms cubic-bezier(0.19, 1, 0.22, 1),
    transform 950ms cubic-bezier(0.19, 1, 0.22, 1),
    border-radius 950ms cubic-bezier(0.19, 1, 0.22, 1) !important;
}

html.js.not-ready .om-featured-projects .om-reveal-card__media img {
  transition:
    transform 1100ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 700ms ease !important;
}

html.js.not-ready .om-featured-projects .om-reveal-card__image-overlay {
  transition:
    opacity 420ms ease,
    transform 650ms cubic-bezier(0.19, 1, 0.22, 1) !important;
}

@media (min-width: 768px) {
  .om-featured-projects__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 900px) {
  .om-featured-projects {
    padding-top: clamp(120px, 14vh, 140px);
    scroll-margin-top: 120px;
  }

  .om-featured-projects__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .om-featured-projects__container {
    padding-left: clamp(1rem, 4vw, 1.25rem);
    padding-right: clamp(1rem, 4vw, 1.25rem);
  }
}

@media (max-width: 767px) {
  .om-featured-projects,
  #featured-projects {
    padding-inline: 1rem;
    scroll-margin-top: 7rem;
  }

  .om-featured-projects__container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .om-featured-projects__grid {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .om-featured-projects .om-reveal-card,
  .om-featured-projects .om-reveal-card:not(:hover):not(.is-active):not(:focus-within),
  .om-featured-projects .om-reveal-card:hover,
  .om-featured-projects .om-reveal-card.is-active,
  .om-featured-projects .om-reveal-card:focus-within {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    aspect-ratio: auto;
    min-height: auto;
    width: 100%;
    max-width: min(100%, calc(100vw - 2rem));
    box-sizing: border-box;
    padding: clamp(1rem, 4vw, 1.35rem);
    border-radius: 32px;
    background: rgba(255, 251, 244, 0.98);
    border: 1px solid rgba(17, 18, 13, 0.08);
    box-shadow: 0 18px 48px rgba(17, 18, 13, 0.08);
    overflow: hidden;
    isolation: auto;
    transform: none;
    transition: none;
  }

  .om-reveal-card__top,
  .om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__top,
  .om-reveal-card:hover .om-reveal-card__top,
  .om-reveal-card.is-active .om-reveal-card__top,
  .om-reveal-card:focus-within .om-reveal-card__top {
    order: 0;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "number price"
      "location type";
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    height: auto;
    overflow: visible;
    clip: auto;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 1rem;
    margin: 0 0 0.15rem;
    border-bottom: 1px solid rgba(17, 18, 13, 0.1);
    transform: none;
  }

  .om-reveal-card__top-left {
    display: contents;
  }

  .om-reveal-card__index {
    grid-area: number;
    grid-column: auto;
    min-width: 0;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.06em;
    color: rgba(17, 18, 13, 0.34);
  }

  .om-reveal-card__pill {
    min-height: 38px;
    padding: 0 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .om-reveal-card__pill--primary {
    grid-area: location;
    grid-column: auto;
    justify-self: start;
    background: var(--om-red);
    color: var(--om-white);
    border-color: var(--om-red);
  }

  .om-reveal-card__pill:not(.om-reveal-card__pill--primary) {
    grid-area: type;
    grid-column: auto;
    justify-self: start;
    background: rgba(17, 18, 13, 0.04);
    color: rgba(17, 18, 13, 0.64);
    border: 1px solid rgba(17, 18, 13, 0.1);
  }

  .om-reveal-card__status {
    grid-area: price;
    grid-column: auto;
    justify-self: end;
    align-self: center;
    margin-left: 0;
    max-width: 100%;
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
    line-height: 1;
    font-weight: 750;
    letter-spacing: 0.02em;
    color: var(--om-red);
    white-space: nowrap;
    overflow: visible;
    text-align: right;
  }

  .om-reveal-card__status--sentence {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    letter-spacing: -0.02em;
    white-space: normal;
    text-transform: none;
    line-height: 1.15;
  }

  .om-reveal-card__info,
  .om-reveal-card:hover .om-reveal-card__info,
  .om-reveal-card.is-active .om-reveal-card__info,
  .om-reveal-card:focus-within .om-reveal-card__info {
    order: 1;
    display: contents;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    grid-template-columns: none;
    gap: 0;
  }

  .om-reveal-card__copy {
    order: 1;
    padding: 0;
  }

  .om-reveal-card__developer {
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: rgba(17, 18, 13, 0.42);
  }

  .om-reveal-card__title {
    margin: 0.75rem 0 0;
    max-width: 100%;
    font-size: clamp(2.15rem, 9.6vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    font-weight: 500;
    color: var(--om-black);
    text-wrap: balance;
  }

  .om-reveal-card__meta {
    margin: 1.15rem 0 0;
    max-width: 100%;
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: rgba(17, 18, 13, 0.55);
  }

  .om-reveal-card__media,
  .om-reveal-card:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__media,
  .om-reveal-card:hover .om-reveal-card__media,
  .om-reveal-card.is-active .om-reveal-card__media,
  .om-reveal-card:focus-within .om-reveal-card__media {
    order: 2;
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 1.5rem 0 0;
    aspect-ratio: 4 / 5;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(17, 18, 13, 0.04);
    transform: none;
    will-change: auto;
    transition: none;
  }

  .om-reveal-card__media::before,
  .om-reveal-card__media::after {
    display: none !important;
    content: none !important;
  }

  .om-reveal-card__media img,
  .om-reveal-card:hover .om-reveal-card__media img,
  .om-reveal-card.is-active .om-reveal-card__media img,
  .om-reveal-card:focus-within .om-reveal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    filter: none;
    transition: none;
  }

  .om-reveal-card__image-overlay,
  .om-reveal-card__image-badge,
  .om-reveal-card__image-arrow,
  .om-reveal-card:hover .om-reveal-card__image-overlay,
  .om-reveal-card.is-active .om-reveal-card__image-overlay,
  .om-reveal-card:focus-within .om-reveal-card__image-overlay,
  .om-reveal-card:hover .om-reveal-card__image-badge,
  .om-reveal-card.is-active .om-reveal-card__image-badge,
  .om-reveal-card:focus-within .om-reveal-card__image-badge,
  .om-reveal-card:hover .om-reveal-card__image-arrow,
  .om-reveal-card.is-active .om-reveal-card__image-arrow,
  .om-reveal-card:focus-within .om-reveal-card__image-arrow {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .om-featured-projects .om-reveal-card__action,
  .om-featured-projects button.om-reveal-card__action,
  .om-reveal-card:hover .om-reveal-card__action,
  .om-reveal-card.is-active .om-reveal-card__action,
  .om-reveal-card:focus-within .om-reveal-card__action {
    order: 3;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 54px;
    margin-top: 1rem;
    padding: 0 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--om-red);
    border: 1px solid rgba(17, 18, 13, 0.2);
    color: var(--om-white);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .om-featured-projects .om-reveal-card__action:active {
    transform: scale(0.98);
    opacity: 0.94;
  }

  .om-reveal-card__action-icon {
    display: none !important;
  }

  .om-reveal-card__action-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.01em;
    color: var(--om-white);
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .om-featured-projects {
    padding-top: 96px;
  }

  .om-featured-projects__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin-bottom: 2.2rem;
  }

  .om-featured-projects__title {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 0.98;
    max-width: 100%;
  }

  .om-featured-projects__lead,
  .om-featured-projects__subtitle {
    font-size: 18px;
    line-height: 1.35;
    max-width: 100%;
  }

  .om-featured-projects__note {
    font-size: var(--om-small-readable);
  }

  .om-featured-projects__intro-action {
    justify-self: start;
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .om-reveal-card,
  .om-reveal-card * {
    transition: none !important;
    animation: none !important;
  }
}

/* ── Private row: restaurant + accès privé ── */

.om-featured-projects__private-row {
  grid-column: 1 / -1;
  width: 100%;
  margin: 36px 0 0;
  display: block;
}

.om-featured-projects__private-row .om-project-card--restaurant {
  min-height: 430px;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: auto;
  height: 100%;
}

.om-featured-projects__private-row .om-project-card--restaurant:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__media {
  min-height: 430px;
}

.om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__media img {
  filter: blur(5px) saturate(1.04);
  transform: scale(1.08);
}

.om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__unlock-veil {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}

.om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__unlock-icon {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(17, 17, 17, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__unlock-icon svg {
  width: 34px;
  height: 34px;
}

@media (min-width: 901px) {
  .om-featured-projects__private-row .om-project-card--restaurant:hover,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within {
    min-height: 430px;
    max-height: 430px;
    height: 430px;
    aspect-ratio: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__top,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__top,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__top {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
  }

  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__info,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__info,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__info {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    pointer-events: none;
  }

  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__media,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__media,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__media {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    min-height: 430px;
    border-radius: 36px;
  }

  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__media img,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__media img,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__media img {
    transform: scale(1.1);
    filter: blur(4px) saturate(1.06);
  }

  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__image-overlay,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__image-overlay,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__image-overlay,
  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__image-badge,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__image-badge,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__image-badge,
  .om-featured-projects__private-row .om-project-card--restaurant:hover .om-reveal-card__image-arrow,
  .om-featured-projects__private-row .om-project-card--restaurant.is-active .om-reveal-card__image-arrow,
  .om-featured-projects__private-row .om-project-card--restaurant:focus-within .om-reveal-card__image-arrow {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.om-private-opportunities-shell {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 36px;
  min-height: 430px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.om-featured-projects .om-private-opportunities-shell .om-private-opportunities {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 430px;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.1) 46%,
      rgba(255, 255, 255, 0.03) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 251, 244, 0.05) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 24px 64px rgba(17, 18, 13, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(32px) saturate(175%);
  -webkit-backdrop-filter: blur(32px) saturate(175%);
}

.om-featured-projects .om-private-opportunities::before {
  content: '';
  position: absolute;
  inset: -50px -40px auto;
  height: 180px;
  border-radius: 28px;
  background: radial-gradient(
    circle at 50% 18%,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(255, 255, 255, 0) 72%
  );
  filter: blur(20px);
  opacity: 0.55;
  pointer-events: none;
}

.om-featured-projects .om-private-opportunities::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 251, 244, 0.08) 100%);
}

.om-featured-projects .om-private-opportunities .om-project-card__locked-content {
  position: relative;
  z-index: 2;
  width: min(100%, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 0;
}

.om-project-card__locked-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  margin-bottom: 20px;
  border-radius: 10000px;
  font-family: var(--om-font-body);
  font-size: 13px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--om-red);
  border: 1px solid rgba(17, 18, 13, 0.12);
}

.om-featured-projects .om-private-opportunities h3,
.om-project-card__locked-title {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: clamp(30px, 2.8vw, 44px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #18181b;
  text-wrap: balance;
}

.om-featured-projects .om-private-opportunities p,
.om-project-card__locked-text {
  max-width: 100%;
  margin: 16px auto 0;
  font-family: var(--font-main, Inter, Helvetica, Arial, sans-serif);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: rgba(17, 18, 13, 0.62);
}

.om-featured-projects .om-private-opportunities .om-project-card__locked-cta {
  margin-top: 24px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .om-featured-projects__private-row {
    width: 100%;
  }

  .om-featured-projects__private-row .om-project-card--restaurant {
    min-height: 400px;
  }

  .om-featured-projects__private-row .om-project-card--restaurant:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__media {
    min-height: 400px;
  }

  .om-private-opportunities-shell,
  .om-featured-projects .om-private-opportunities-shell .om-private-opportunities {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .om-featured-projects__private-row {
    width: 100%;
    margin-top: 24px;
  }

  .om-featured-projects__private-row .om-project-card--restaurant {
    min-height: 360px;
    border-radius: 28px;
  }

  .om-featured-projects__private-row .om-project-card--restaurant:not(:hover):not(.is-active):not(:focus-within) .om-reveal-card__media {
    min-height: 0;
  }

  .om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__media img {
    transform: scale(1.08) !important;
    filter: blur(5px) saturate(1.04) !important;
  }

  .om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__unlock-icon {
    width: 64px;
    height: 64px;
  }

  .om-featured-projects__private-row .om-project-card--restaurant .om-reveal-card__unlock-icon svg {
    width: 30px;
    height: 30px;
  }

  .om-private-opportunities-shell {
    min-height: auto;
    padding: 0;
    border-radius: 28px;
  }

  .om-featured-projects .om-private-opportunities-shell .om-private-opportunities {
    min-height: 300px;
    border-radius: 28px;
    padding: 32px 18px;
    background:
      linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.02) 100%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 251, 244, 0.06) 100%
      );
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
  }

  .om-featured-projects .om-private-opportunities .om-project-card__locked-content {
    width: min(100% - 36px, 640px);
  }

  .om-project-card__locked-badge {
    min-height: 32px;
    padding-inline: 14px;
    font-size: 12px;
    margin-bottom: 18px;
  }

  .om-featured-projects .om-private-opportunities h3,
  .om-project-card__locked-title {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.04;
  }

  .om-featured-projects .om-private-opportunities p,
  .om-project-card__locked-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .om-featured-projects .om-private-opportunities .om-project-card__locked-cta {
    margin-top: 24px;
  }
}
