/* PROPRIO237 — accueil immobilier premium (clair, éditorial, sans jargon technique) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

body.home-page {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --cream: #faf7f2;
  --paper: #ffffff;
  --line: rgba(28, 25, 23, 0.08);
  --line-strong: rgba(28, 25, 23, 0.14);
  --bronze: #9a3412;
  --bronze-light: #c2410c;
  --gold: #b45309;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 12px 40px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 24px 64px rgba(28, 25, 23, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Outfit', system-ui, sans-serif;

  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Ne pas cibler tous les enfants du body : avec la coquille site-shell, #site-shell-nav-root
 * deviendrait un calque z-index:1 sous <main> (même z-index, plus tard dans le DOM) :
 * le contenu recouvre alors la barre fixe et le tiroir. On n’élève que le flux principal. */
body.home-page > main {
  position: relative;
  z-index: 0;
}

body.home-page > #site-shell-footer-root {
  position: relative;
  z-index: 0;
}

/* ——— Nav ——— */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.home-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.home-nav__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.home-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.home-brand--footer img {
  width: 38px;
  height: 38px;
}

.home-menu-wrap {
  display: flex;
  align-items: center;
}

.home-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-menu a {
  display: block;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.home-menu a:hover {
  color: var(--ink);
  background: rgba(28, 25, 23, 0.05);
}

.home-menu a.is-active {
  color: var(--ink);
  background: rgba(154, 52, 18, 0.08);
}

.home-menu__cta {
  margin-left: 0.35rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.25s;
}

.home-btn--primary {
  background: linear-gradient(135deg, var(--bronze-light) 0%, var(--bronze) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(154, 52, 18, 0.28);
}

.home-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(154, 52, 18, 0.35);
}

.home-btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.home-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.home-burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .home-burger {
    display: flex;
  }
  .home-menu-wrap {
    position: fixed;
    inset: 76px 1rem auto 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .home-menu-wrap.is-open {
    display: flex;
  }
  .home-menu {
    flex-direction: column;
    width: 100%;
  }
  .home-menu a {
    border-radius: var(--radius-sm);
  }
  .home-menu__cta {
    margin: 0.5rem 0 0;
  }
  .home-menu__cta .home-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ——— Hero ——— */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 4rem;
  margin-bottom: 0;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/capture1.png') center 30% / cover no-repeat;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.02);
}

.home-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(250, 247, 242, 0.97) 0%,
    rgba(250, 247, 242, 0.88) 42%,
    rgba(250, 247, 242, 0.55) 72%,
    rgba(250, 247, 242, 0.25) 100%
  );
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  isolation: isolate;
  max-width: 1220px;
  margin: 0 auto;
  padding: 7.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    padding-top: 6.5rem;
  }
  .home-hero__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

.home-hero__kicker {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.home-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.home-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 2rem;
  font-weight: 400;
}

.home-hero__emlak-hint {
  display: block;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.home-hero__emlak-link {
  color: #0b4a9c;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 74, 156, 0.35);
  text-underline-offset: 3px;
}

.home-hero__emlak-link:hover {
  color: #004aad;
  text-decoration-color: rgba(0, 74, 173, 0.5);
}

/* Search bar */
.home-search {
  margin-bottom: 2.25rem;
}

.home-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.65rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.home-search input,
.home-search select {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--font-ui);
}

.home-search input::placeholder {
  color: #a8a29e;
}

.home-search__submit {
  flex: 0 0 auto;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.home-search__submit:hover {
  background: var(--bronze);
  transform: translateY(-1px);
}

/* Stats */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.home-stat {
  padding: 1.1rem 1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.home-stat--static .home-stat__num {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.home-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--bronze-light);
}

.home-stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.45rem;
  line-height: 1.3;
}

.home-stat__note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 36rem;
}

.home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

.home-hero__lottie-frame {
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff 0%, #faf7f2 50%, #fff7ed 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.home-lottie--hero {
  width: 100%;
  max-width: 320px;
  min-height: 240px;
}

.home-lottie--feat {
  width: 88px;
  height: 88px;
}

/* ——— Sections ——— */
.home-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.home-section--flush {
  padding-top: 0;
  padding-bottom: 0;
}

.home-section--features {
  padding-top: 3rem;
}

.home-section--listings {
  background: linear-gradient(180deg, #f5f0e8 0%, var(--cream) 100%);
  max-width: none;
  padding-left: max(1.5rem, calc((100vw - 1220px) / 2));
  padding-right: max(1.5rem, calc((100vw - 1220px) / 2));
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.home-section--listings .home-section__head,
.home-section--listings .home-grid {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.home-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.home-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-section__head--center .home-section__sub {
  max-width: 36rem;
}

.home-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.home-section__eyebrow--on-dark {
  color: rgba(255, 237, 213, 0.85);
}

.home-section__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-section__sub {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Bloc titre regroupé (évite flex space-between sur eyebrow / h2 / sous-titre) */
.home-section__intro {
  max-width: 40rem;
}

.home-section--intents .home-section__head {
  margin-bottom: 1.75rem;
}

/* Filtres transaction — pastilles (les classes existaient sans CSS → liens navigateur par défaut) */
.home-intents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.home-intent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.62rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.home-intent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(194, 65, 12, 0.28);
  color: var(--bronze-light);
}

.home-intent--all {
  color: #fff;
  background: linear-gradient(135deg, var(--bronze-light) 0%, #9a3412 100%);
  border-color: rgba(194, 65, 12, 0.35);
  box-shadow: 0 8px 26px rgba(194, 65, 12, 0.3);
}

.home-intent--all:hover {
  color: #fff;
  border-color: rgba(154, 52, 18, 0.5);
  filter: brightness(1.04);
}

.home-intent:focus-visible {
  outline: 2px solid var(--bronze-light);
  outline-offset: 3px;
}

/* Spécificité + :visited : évite le « bleu souligné » navigateur / cache agressif */
body.home-page .home-intents a.home-intent {
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

body.home-page .home-intents a.home-intent:link,
body.home-page .home-intents a.home-intent:visited {
  text-decoration: none !important;
}

body.home-page .home-intents a.home-intent:not(.home-intent--all):link,
body.home-page .home-intents a.home-intent:not(.home-intent--all):visited {
  color: var(--ink);
}

body.home-page .home-intents a.home-intent--all:link,
body.home-page .home-intents a.home-intent--all:visited {
  color: #fff;
}

.home-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--bronze-light);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(194, 65, 12, 0.25);
  transition: border-color 0.2s, color 0.2s;
}

.home-link:hover {
  color: var(--bronze);
  border-bottom-color: var(--bronze-light);
}

/* Features */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .home-features {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.home-feature {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.home-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(194, 65, 12, 0.15);
}

.home-feature__icon-wrap {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(194, 65, 12, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.home-feature__icon-wrap--badge {
  background: linear-gradient(145deg, #faf7f2 0%, #e7e5e4 100%);
  color: var(--bronze-light);
}

.home-feature__svg {
  opacity: 0.92;
}

.home-feature h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.home-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Emlak237 — bloc propriétaires (logo + texte alignés sur emlak/index.html) */
.home-section--emlak {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.home-emlak {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 2rem 2.75rem;
  align-items: center;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(232, 240, 254, 0.75) 0%,
    rgba(255, 252, 248, 0.92) 52%,
    var(--paper) 100%
  );
  border: 1px solid rgba(0, 74, 173, 0.14);
  box-shadow: var(--shadow-md);
}

.home-emlak__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.home-emlak__logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
  box-shadow:
    0 10px 32px rgba(0, 74, 173, 0.14),
    0 0 0 1px rgba(184, 212, 240, 0.65);
}

.home-emlak__eyebrow {
  color: #004aad;
  letter-spacing: 0.14em;
}

.home-emlak__brand-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 2.65rem);
  color: #082f5e;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-emlak__tagline {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(8, 47, 94, 0.72);
  line-height: 1.4;
}

.home-emlak__body {
  min-width: 0;
}

.home-emlak__lead {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.home-emlak__bullets {
  margin: 0 0 1.4rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.home-emlak__bullets li {
  margin-bottom: 0.4rem;
}

.home-emlak__bullets li:last-child {
  margin-bottom: 0;
}

.home-emlak__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #004aad 0%, #003580 100%);
  box-shadow: 0 10px 28px rgba(0, 74, 173, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-emlak__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 74, 173, 0.34);
}

.home-emlak__cta:focus-visible {
  outline: 2px solid #004aad;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .home-emlak {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.5rem;
    text-align: center;
  }

  .home-emlak__brand {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
  }

  .home-emlak__brand-text {
    flex: 1;
    min-width: 200px;
    text-align: center;
  }

  .home-emlak__bullets {
    text-align: left;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Property grid */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.home-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.home-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.home-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e7e5e4;
}

.home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.home-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.home-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--bronze-light);
  margin: 0 0 0.4rem;
}

.home-card__title {
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-card__loc {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.home-card__feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-card__feats span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.home-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}

.home-lottie--empty {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
}

/* Cities */
.home-cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.home-city {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.75rem 1.5rem;
  min-height: 130px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  background: var(--city-bg, linear-gradient(145deg, #44403c 0%, #292524 100%));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-city::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.home-city__name,
.home-city__count {
  position: relative;
  z-index: 1;
}

.home-city:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.home-city__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}

.home-city__count {
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.92;
}

.home-cities__fallback {
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* ——— App showcase (capture sans déformation + interactions) ——— */
.home-app-showcase {
  position: relative;
  margin: 2rem 1.5rem 5rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, #141210 0%, #1c1917 38%, #292524 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 24px rgba(28, 25, 23, 0.06),
    0 48px 100px -32px rgba(0, 0, 0, 0.35);
}

.home-app-showcase__aurora {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(194, 65, 12, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 80%, rgba(251, 191, 36, 0.12), transparent 50%),
    radial-gradient(ellipse 30% 25% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 60%);
  animation: home-aurora 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes home-aurora {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-3%, 2%) rotate(4deg);
    opacity: 0.92;
  }
}

.home-app-showcase__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 960px) {
  .home-app-showcase__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-app-showcase__copy {
    order: 2;
  }
  .home-app-showcase__visual {
    order: 1;
  }
  .home-app-showcase__bullets {
    display: inline-block;
    text-align: left;
  }
  .home-app-showcase__stores {
    justify-content: center;
  }
}

.home-app-showcase__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 230, 138, 0.95);
  margin: 0 0 1.25rem;
}

.home-app-showcase__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55);
  animation: home-pulse 2.2s ease-out infinite;
}

@keyframes home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(251, 191, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
  }
}

.home-app-showcase__copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  color: #fafaf9;
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-app-showcase__lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #a8a29e;
  max-width: 34rem;
}

.home-app-showcase__bullets {
  margin: 0 0 2rem;
  padding: 0 0 0 1.15rem;
  color: #d6d3d1;
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-app-showcase__bullets li {
  margin-bottom: 0.35rem;
}

.home-app-showcase__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.65rem;
  border-radius: 14px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.home-store-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.home-store-btn:hover::before {
  transform: translateX(100%);
}

.home-store-btn--apple {
  background: #fafaf9;
  color: #1c1917;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.home-store-btn--apple:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.home-store-btn--play {
  background: rgba(255, 255, 255, 0.06);
  color: #fafaf9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.home-store-btn--play:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.home-store-btn__label {
  position: relative;
  z-index: 1;
}

/* Mockup : proportions natives, jamais width:100% sur la capture */
.home-app-showcase__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0 1rem;
  perspective: 1200px;
}

.home-app-showcase__float {
  animation: home-float-device 7s ease-in-out infinite;
}

@keyframes home-float-device {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.home-app-showcase__tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.home-app-showcase__bezel {
  position: relative;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(165deg, #3f3f46 0%, #18181b 40%, #0a0a0a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 10px rgba(0, 0, 0, 0.15),
    0 40px 80px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-app-showcase__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  max-width: 120px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 0 0 18px 18px;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.home-app-showcase__screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #0c0a09;
  line-height: 0;
}

.home-app-showcase__shot {
  display: block;
  width: auto;
  height: auto;
  max-width: min(268px, 76vw);
  max-height: min(520px, 58vh);
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}

.home-app-showcase__shadow {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  width: 72%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

/* Apparition au scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay='1'] {
  transition-delay: 0.08s;
}
[data-reveal-delay='2'] {
  transition-delay: 0.16s;
}
[data-reveal-delay='3'] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  body.home-page {
    scroll-behavior: auto;
  }
  .home-app-showcase__aurora,
  .home-app-showcase__float,
  .home-app-showcase__pulse {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-store-btn::before {
    display: none;
  }
}

/* Footer */
.home-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 1.5rem 2rem;
  background: var(--paper);
}

.home-footer__grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .home-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .home-footer__grid {
    grid-template-columns: 1fr;
  }
}

.home-footer__grid h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.home-footer__grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-footer__grid li {
  margin-bottom: 0.55rem;
}

.home-footer__grid a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.home-footer__grid a:hover {
  color: var(--bronze-light);
}

.home-footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0.85rem 0 0;
  max-width: 22rem;
}

.home-footer__bottom {
  max-width: 1220px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Alert & loading */
.home-alert {
  max-width: 1220px;
  margin: 0 auto 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.9rem;
}

.loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--muted);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
}

.loading-placeholder .spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--line);
  border-top-color: var(--bronze-light);
  border-radius: 50%;
  animation: home-spin 0.75s linear infinite;
}

@keyframes home-spin {
  to {
    transform: rotate(360deg);
  }
}
