/* data-ds-exception="Navigation éditoriale du site public INSTANTiMMO" */
.pv-public-nav-stage {
  --pv-public-nav-stage-height: 94px;
  position: sticky;
  z-index: 90;
  top: 0;
  padding: 10px 16px 12px;
  margin-bottom: calc(var(--pv-public-nav-stage-height) * -1);
  background: transparent;
}

.pv-instant .pv-public-nav-stage .pv-public-header {
  position: relative;
  top: auto;
  width: 100%;
  max-width: 1760px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  margin: 0 auto;
  padding: 8px 10px 8px 17px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--ds-radius-modal, 18px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018) 45%, rgba(255, 255, 255, .008)),
    linear-gradient(180deg, #090a0c 0%, #111315 54%, #27292c 100%); /* data-ds-exception="dégradé de marque repris à l’identique du footer public" */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 15px 42px rgba(0, 0, 0, .22);
  color: #fff;
  backdrop-filter: blur(20px);
  transition: height .22s ease, min-height .22s ease, max-height .22s ease, border-radius .22s ease;
}

.pv-public-nav-stage.is-scrolled { --pv-public-nav-stage-height: 76px; padding-block: 6px 8px; background: transparent; }
.pv-public-nav-stage.is-scrolled .pv-public-header { height: 62px; min-height: 62px; max-height: 62px; border-radius: 15px; }
.pv-public-nav-stage + main { padding-top: 0; }
.pv-public-nav-stage + main > section:first-child,
.pv-public-nav-stage + main > div:first-child { margin-top: 0 !important; }
.pv-space-modal + main { margin-top: 0; padding-top: 0; }
.pv-space-modal + main > section:first-child,
.pv-space-modal + main > div:first-child {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  margin-top: 0 !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  border-right: 0;
  border-left: 0;
  border-radius: 0; /* data-ds-exception="cadre bord à bord sans angle sur le premier écran public" */
}

/* Contrat de cadre commun à toutes les pages éditoriales publiques. */
.pv-instant { overflow-x: clip; }
.pv-instant > .pv-signature-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0; /* data-ds-exception="footer public bord à bord sans angle latéral" */
}

.pv-space-modal + main > .ps-page-hero:first-child {
  min-height: var(--pv-public-hero-height, 600px);
  padding-top: clamp(140px, 8vw, 164px);
  padding-bottom: clamp(64px, 5vw, 88px);
}

/*
 * Contrat typographique des héros éditoriaux.
 * Les pages Biens, Neuf et Agences en sont la référence visuelle.
 */
.pv-space-modal + main > :is(
  .ps-page-hero,
  .pl-hero,
  .pf-hero,
  .psm-hero,
  .mp-hero,
  .mt-hero
):first-child h1 {
  font-size: clamp(56px, 7vw, 108px);
  line-height: .91;
}
.pv-space-modal + main > :is(
  .ps-page-hero,
  .pl-hero,
  .pf-hero,
  .psm-hero,
  .mp-hero,
  .mt-hero
):first-child > p:not(.pv-eyebrow),
.pv-space-modal + main > :is(
  .pl-hero,
  .pf-hero,
  .psm-hero,
  .mp-hero,
  .mt-hero
):first-child > div > p:not(.pv-eyebrow) {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.58;
}

/* Les héros avec actions ou titres longs restent dans le cadre de 600 px. */
.pv-space-modal + main > :is(
  .ps-realisation-hero,
  .ps-management-hero,
  .ps-recruitment-hero
):first-child {
  padding-bottom: 56px;
}
.pv-space-modal + main > :is(
  .ps-realisation-hero,
  .ps-management-hero,
  .ps-recruitment-hero
):first-child h1 {
  font-size: clamp(54px, 6.2vw, 96px);
}
.pv-space-modal + main > :is(.ps-realisation-hero, .ps-management-hero):first-child .ps-actions {
  margin-top: 24px;
}

/* L’accueil conserve sa composition à deux colonnes avec une échelle plus calme. */
.pv-space-modal + main > .ps-hero:first-child h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.1vw, 78px);
}
.pv-space-modal + main > .ps-hero:first-child > div > p:not(.pv-eyebrow) {
  max-width: 700px;
  font-size: clamp(16px, 1.15vw, 18px);
}

/* Les anciens gabarits autonomes rejoignent le même rythme vertical. */
.pv-space-modal + main > .pf-hero:first-child h1,
.pv-space-modal + main > .psm-hero:first-child h1 { margin-block: 18px 28px; }
.pv-space-modal + main > .pl-hero-long:first-child h1,
.pv-space-modal + main > .pf-hero:first-child h1,
.pv-space-modal + main > .mt-hero:first-child h1 {
  font-size: clamp(54px, 6.2vw, 96px);
}
.pv-space-modal + main > .pl-hero-long:first-child h1 { margin-block: 14px 20px; }
.pv-space-modal + main > .pf-hero:first-child {
  padding-top: 92px;
  padding-bottom: 92px;
}
.pv-space-modal + main > .pf-hero:first-child nav { margin-top: 20px; }
.pv-space-modal + main > .mt-hero:first-child {
  padding-top: 112px;
  padding-bottom: 48px;
}
.pv-space-modal + main > .mt-hero:first-child .mt-hero-actions { margin-top: 24px; }

.pv-space-modal + main > .mp-hero:first-child .mp-hero-copy { padding-top: 104px; }

.pv-instant .pv-public-header .pv-public-brand { flex: 0 0 auto; margin: 0; }
.pv-instant .pv-public-header .pv-public-brand img { width: 76px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }

.pv-instant .pv-public-header .pv-public-primary {
  position: static;
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-inline: clamp(14px, 2.6vw, 48px);
}

.pv-public-nav-group { position: relative; }
.pv-public-nav-group > button {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px clamp(11px, .82vw, 15px);
  border: 1px solid transparent;
  border-radius: var(--ds-radius-pill, 999px);
  background: transparent;
  color: rgba(255, 255, 255, .68);
  font: 710 12px/1 inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.pv-public-nav-group > button .pv-public-nav-chevron {
  position: relative;
  display: grid;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  place-items: center;
  margin-top: -1px;
  color: rgba(255, 255, 255, .42);
  transition: color .16s ease, transform .18s ease;
}
.pv-public-nav-group > button .pv-public-nav-chevron:before {
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translate(-1px, -1px);
}
.pv-public-nav-group > button:hover,
.pv-public-nav-group.is-current > button { border-color: rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .075); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055); }
.pv-public-nav-group > button:hover { border-color: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.pv-public-nav-group > button[aria-expanded="true"] { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .18); }
.pv-public-nav-group > button[aria-expanded="true"] .pv-public-nav-chevron { color: #fff; transform: rotate(180deg); }

.pv-public-nav-panel {
  position: absolute;
  z-index: 95;
  top: calc(100% + 12px);
  left: 50%;
  isolation: isolate;
  display: block;
  width: min(430px, calc(100vw - 40px));
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--ds-radius-modal);
  background:
    radial-gradient(circle at 74% -35%, rgba(255, 255, 255, .1), transparent 46%),
    linear-gradient(145deg, rgba(10, 11, 13, .99), rgba(25, 27, 30, .99)); /* data-ds-exception="popover fintech premium aligné sur le dégradé de marque" */
  box-shadow: 0 28px 76px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff;
  transform: translateX(-50%);
  backdrop-filter: blur(28px) saturate(115%);
}
.pv-public-nav-search { width: min(500px, calc(100vw - 40px)); }
.pv-public-nav-panel:before { position: absolute; z-index: -1; top: 0; right: 8%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent); content: ""; }
.pv-public-nav-panel:after { display: none; }
.pv-public-nav-panel[hidden] { display: none !important; }
.pv-public-nav-panel:not([hidden]) { animation: pv-nav-panel-in .2s ease-out both; }
.pv-public-nav-copy { display: none; }
.pv-public-nav-links { display: grid; grid-template-columns: 1fr; gap: 3px; counter-reset: pv-nav-item; }
.pv-instant .pv-public-header .pv-public-nav-links a {
  position: relative;
  display: grid;
  min-height: 66px;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 4px;
  padding: 11px 42px 11px 50px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  counter-increment: pv-nav-item;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pv-instant .pv-public-header .pv-public-nav-links a:before { position: absolute; top: 50%; left: 17px; color: rgba(255, 255, 255, .35); content: counter(pv-nav-item, decimal-leading-zero); font-size: 9px; font-weight: 820; letter-spacing: .1em; transform: translateY(-50%); }
.pv-instant .pv-public-header .pv-public-nav-links a:after { position: absolute; top: 50%; right: 16px; color: rgba(255, 255, 255, .7); content: "↗"; font-size: 14px; transform: translateY(-50%); }
.pv-instant .pv-public-header .pv-public-nav-links a:hover { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); color: #fff; transform: translateX(2px); }
.pv-public-nav-links strong { font-size: 13px; letter-spacing: -.01em; line-height: 1.2; }
.pv-public-nav-links small { color: rgba(255, 255, 255, .5); font-size: 10px; line-height: 1.35; }
.pv-public-nav-search form { margin: 0 0 7px; padding: 4px; }
.pv-public-nav-search form label { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .5); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.pv-public-nav-search form > div { display: grid; grid-template-columns: 1fr 52px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); }
.pv-public-nav-search input { min-width: 0; height: 52px; padding: 0 16px; border: 0; outline: 0; background: transparent; color: #fff; font: 540 13px/1 inherit; }
.pv-public-nav-search input::placeholder { color: rgba(255, 255, 255, .36); }
.pv-public-nav-search form button { border: 0; border-left: 1px solid rgba(255, 255, 255, .12); background: #fff; color: #121417; font: 800 18px/1 inherit; cursor: pointer; }

@keyframes pv-nav-panel-in {
  from { opacity: 0; transform: translate(-50%, -8px) scale(.99); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes pv-nav-panel-mobile-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pv-public-space-button {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid #fff;
  border-radius: var(--ds-radius-pill, 999px);
  background: #fff;
  color: #121417;
  font: 760 12px/1 inherit;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.pv-public-space-button:hover { background: #ececf0; transform: translateY(-1px); }
.pv-public-space-button span { font-size: 15px; }
.pv-public-menu-toggle { position: relative; display: none; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: rgba(255, 255, 255, .045); cursor: pointer; }
.pv-public-menu-toggle span { position: absolute; top: 50%; left: 50%; display: block; width: 17px; height: 1px; background: #fff; transition: transform .18s ease; }

.pv-space-modal { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 24px; }
.pv-space-modal[hidden] { display: none !important; }
.pv-space-backdrop { position: absolute; inset: 0; border: 0; background: rgba(4, 5, 6, .76); backdrop-filter: blur(12px); cursor: default; }
.pv-space-dialog {
  position: relative;
  display: grid;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.28fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 72px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  outline: 0;
  background: linear-gradient(145deg, #1b1d21, #0c0d0f);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #fff;
}
.pv-space-dialog:before { position: absolute; top: 50%; left: 32%; width: min(420px, 46vw); aspect-ratio: 315/295; background: rgba(255, 255, 255, .035); content: ""; pointer-events: none; transform: translate(-50%, -50%); -webkit-mask: url("../img/logo-instantimmo-login.png") center/contain no-repeat; mask: url("../img/logo-instantimmo-login.png") center/contain no-repeat; }
.pv-space-close { position: absolute; z-index: 4; top: 18px; right: 18px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; }
.pv-space-close span { font-size: 25px; font-weight: 300; line-height: 1; }
.pv-space-heading,.pv-space-projects,.pv-space-login { position: relative; z-index: 2; }
.pv-space-heading { align-self: center; }
.pv-space-heading h2 { margin: 13px 0 22px; font-size: clamp(43px, 5vw, 72px); letter-spacing: -.06em; line-height: .92; }
.pv-space-heading h2 em { color: rgba(255, 255, 255, .52); font-weight: 420; }
.pv-space-heading > p:last-child { max-width: 420px; margin: 0; color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.58; }
.pv-space-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pv-space-projects a { display: grid; min-height: 112px; grid-template-columns: 28px 1fr auto; align-content: center; gap: 6px 10px; padding: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 13px; background: rgba(255, 255, 255, .045); color: #fff; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.pv-space-projects a:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .085); transform: translateY(-2px); }
.pv-space-projects span { grid-row: 1 / span 2; color: rgba(255, 255, 255, .38); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.pv-space-projects strong { font-size: 13px; line-height: 1.25; }
.pv-space-projects small { color: rgba(255, 255, 255, .5); font-size: 10px; }
.pv-space-projects b { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-size: 14px; }
.pv-space-login { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .53); font-size: 12px; }
.pv-space-login a { color: #fff; font-weight: 760; }
.pv-space-login a:hover { text-decoration: underline; }
body.pv-space-open, body.pv-public-menu-open { overflow: hidden; }

.pv-public-header button:focus-visible,
.pv-public-header a:focus-visible,
.pv-space-dialog button:focus-visible,
.pv-space-dialog a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 1320px) {
  .pv-instant .pv-public-header .pv-public-primary { margin-inline: 12px; }
  .pv-public-nav-group > button { padding-inline: 8px; font-size: 11px; }
  .pv-public-space-button { padding-inline: 13px; }
}

@media (max-width: 1120px) {
  .pv-public-nav-stage { --pv-public-nav-stage-height: 78px; padding: 7px 8px 9px; }
  .pv-public-nav-stage.is-scrolled { --pv-public-nav-stage-height: 76px; }
  .pv-instant .pv-public-nav-stage .pv-public-header,
  .pv-public-nav-stage.is-scrolled .pv-public-header { height: 62px; min-height: 62px; max-height: 62px; padding: 6px 7px 6px 12px; border-radius: 15px; }
  .pv-instant .pv-public-header .pv-public-brand { margin-right: auto; }
  .pv-instant .pv-public-header .pv-public-brand img { width: 68px; height: 42px; }
  .pv-public-space-button { min-height: 40px; padding: 8px 12px; font-size: 11px; }
  .pv-public-menu-toggle { display: grid; }
  .pv-public-menu-toggle span:first-child { transform: translate(-50%, -4px); }
  .pv-public-menu-toggle span:last-child { transform: translate(-50%, 4px); }
  body.pv-public-menu-open .pv-public-menu-toggle span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
  body.pv-public-menu-open .pv-public-menu-toggle span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
  .pv-instant .pv-public-header .pv-public-primary {
    position: absolute;
    z-index: 85;
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: calc(100vh - 86px);
    height: calc(100dvh - 86px);
    max-height: calc(100vh - 86px);
    max-height: calc(100dvh - 86px);
    margin: 0;
    padding: 18px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--ds-radius-modal, 18px);
    background: linear-gradient(180deg, rgba(9, 10, 12, .995) 0%, rgba(17, 19, 21, .995) 54%, rgba(39, 41, 44, .995) 100%); /* data-ds-exception="dégradé du footer appliqué au menu mobile" */
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  }
  body.pv-public-menu-open .pv-public-header .pv-public-primary { display: block; }
  .pv-public-nav-group { position: relative; padding-block: 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .pv-public-nav-group > button { width: 100%; min-height: 54px; justify-content: space-between; padding: 12px 14px; border-radius: var(--ds-radius-pill, 999px); font-size: 15px; }
  .pv-public-nav-panel,
  .pv-public-nav-group:first-child .pv-public-nav-panel,
  .pv-public-nav-group:nth-last-child(-n+2) .pv-public-nav-panel { position: static; width: 100%; grid-template-columns: 1fr; gap: 14px; margin: 0 0 17px; padding: 16px; overflow: visible; border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); transform: none; }
  .pv-public-nav-panel:not([hidden]) { animation-name: pv-nav-panel-mobile-in; }
  .pv-public-nav-panel:after { display: none; }
  .pv-public-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-instant .pv-public-header .pv-public-nav-links a { min-height: 66px; padding: 11px 42px 11px 50px; }
  .pv-public-nav-search form,
  .pv-public-nav-search .pv-public-nav-links { grid-column: auto; }
}

@media (max-width: 900px) {
  .pv-space-modal + main > .pl-hero:first-child aside,
  .pv-space-modal + main > .mt-hero:first-child aside { display: none; }
  .pv-space-modal + main > .mt-hero:first-child h1 { font-size: clamp(50px, 8vw, 68px); }
  .pv-space-modal + main > .pf-hero:first-child {
    gap: 20px;
    padding: 110px 24px 48px;
  }
  .pv-space-modal + main > .pf-hero:first-child .pf-version {
    display: grid;
    min-height: 92px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 16px;
    padding: 16px 18px;
  }
  .pv-space-modal + main > .pf-hero:first-child .pf-version > span { grid-column: 1 / -1; }
  .pv-space-modal + main > .pf-hero:first-child .pf-version > strong {
    margin: 0;
    font-size: 28px;
  }
  .pv-space-modal + main > .pf-hero:first-child .pf-version > p { margin: 0; font-size: 12px; }
  .pv-space-modal + main > .pf-hero:first-child .pf-version > small { display: none; }
}

@media (max-width: 800px) {
  .pv-space-modal + main > .ps-hero:first-child aside { display: none; }
}

@media (max-width: 760px) {
  .pv-public-nav-stage { padding-inline: 6px; }
  .pv-space-modal + main > .ps-hero:first-child,
  .pv-space-modal + main > .ps-page-hero:first-child,
  .pv-space-modal + main > .pv-hero:first-child,
  .pv-space-modal + main > .pv-directory-hero:first-child,
  .pv-space-modal + main > .mt-hero:first-child,
  .pv-space-modal + main > .pl-hero:first-child,
  .pv-space-modal + main > .pf-hero:first-child,
  .pv-space-modal + main > .psm-hero:first-child { padding-top: 96px; }
  .pv-space-modal + main > .ps-page-hero:first-child {
    min-height: var(--pv-public-hero-height, 560px);
    padding-top: 118px;
    padding-bottom: 56px;
  }
  .pv-space-modal + main > :is(
    .pl-hero,
    .pf-hero,
    .psm-hero,
    .mp-hero,
    .mt-hero
  ):first-child h1 {
    font-size: clamp(48px, 14vw, 72px);
  }
  .pv-space-modal + main > :is(
    .ps-realisation-hero,
    .ps-management-hero,
    .ps-recruitment-hero
  ):first-child h1 {
    font-size: clamp(46px, 12.5vw, 64px);
  }
  .pv-space-modal + main > .ps-hero:first-child h1 {
    max-width: 620px;
    font-size: clamp(42px, 11vw, 54px);
  }
  .pv-space-modal + main > .ps-hero:first-child > div > p:not(.pv-eyebrow) { font-size: 16px; }
  .pv-space-modal + main > .mt-hero:first-child h1 { font-size: 48px; }
  .pv-space-modal + main > .mt-hero:first-child .mt-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .pv-space-modal + main > .mt-hero:first-child .mt-hero-actions .pv-button {
    display: grid;
    min-height: 48px;
    place-items: center;
    padding: 10px 8px;
    font-size: 11px;
    text-align: center;
  }
  .pv-space-modal + main > .mp-hero:first-child .mp-hero-copy { padding-top: 96px; }
  .pv-public-space-button span { display: none; }
  .pv-space-modal { align-items: end; padding: 8px; }
  .pv-space-dialog { width: 100%; max-height: calc(100vh - 16px); grid-template-columns: 1fr; gap: 28px; padding: 50px 20px 24px; border-radius: 20px; }
  .pv-space-dialog:before { top: 18%; left: 50%; width: min(360px, 85vw); }
  .pv-space-heading h2 { font-size: clamp(42px, 13vw, 62px); }
  .pv-space-projects { grid-template-columns: 1fr; }
  .pv-space-projects a { min-height: 86px; }
  .pv-space-login { grid-column: 1; }
}

@media (max-width: 480px) {
  .pv-public-space-button { padding-inline: 10px; }
  .pv-public-nav-links { grid-template-columns: 1fr; }
  .pv-space-login { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .pv-public-header *, .pv-space-dialog * { transition: none !important; }
}

/* Fil d’Ariane commun : uniquement dans les héros des pages hiérarchiques. */
.pv-public-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  color: color-mix(in srgb, var(--ds-white) 52%, transparent);
  font-size: 11px;
  line-height: 1.4;
}
.pv-public-breadcrumb a,
.pv-public-breadcrumb b { color: inherit; text-decoration: none; }
.pv-public-breadcrumb a:hover { color: color-mix(in srgb, var(--ds-white) 90%, transparent); }
.pv-public-breadcrumb a:focus-visible { outline: 2px solid color-mix(in srgb, var(--ds-white) 78%, transparent); outline-offset: 4px; border-radius: var(--ds-radius-xs); }
.pv-public-breadcrumb b { overflow: hidden; color: color-mix(in srgb, var(--ds-white) 82%, transparent); font-weight: 700; text-overflow: ellipsis; }
.pv-public-breadcrumb > span { color: color-mix(in srgb, var(--ds-white) 25%, transparent); }

@media (max-width: 520px) {
  .pv-public-breadcrumb { flex-wrap: nowrap; margin-bottom: 22px; white-space: nowrap; }
  .pv-public-breadcrumb > a:not(:first-child),
  .pv-public-breadcrumb > span { display: none; }
  .pv-public-breadcrumb > a:first-child::after { margin-left: 7px; color: color-mix(in srgb, var(--ds-white) 25%, transparent); content: "›"; }
}

/* Une rue longue ne doit pas étirer le premier écran au-delà des autres pages marché. */
.mp-hero[data-territory-type="rue"] h1 { font-size: clamp(48px, 5.2vw, 92px); }
@media (max-width: 1100px) and (min-width: 681px) {
  .mp-hero[data-territory-type="rue"] h1 { font-size: clamp(50px, 8vw, 72px); }
}
