/* Tous les sélecteurs sont limités à .soho-home pour éviter les régressions. */
.soho-home {
  --soho-forest: #104b37;
  --soho-ink: #173b30;
  --soho-lime: #57b900;
  --soho-rose: #f7e5db;
  color: var(--soho-ink);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.soho-home *,
.soho-home *::before,
.soho-home *::after {
  box-sizing: border-box;
}
.soho-home__hero {
  display: grid;
  grid-template-columns: minmax(300px, 47%) minmax(0, 1fr);
  background: var(--soho-rose);
  overflow: hidden;
}
.soho-home__photo-col {
  position: relative;
  min-width: 0;
  min-height: clamp(260px, 48vh, 560px);
  overflow: hidden;
  background: #d9d0c6;
}
.soho-home__photo {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 40%;
}
.soho-home__photo-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #e9d9cd, #d7bba7);
}
.soho-home__photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 30px;
  background: linear-gradient(transparent, rgba(9, 52, 37, 0.88));
  color: #fff;
  font-size: 13px;
}
.soho-home__photo-caption .soho-home__eyebrow {
  color: #fff;
}
.soho-home__content {
  min-width: 0;
  padding: clamp(26px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.soho-home__accent {
  display: block;
  width: 62px;
  height: 5px;
  border-radius: 6px;
  background: var(--soho-lime);
  margin-bottom: 20px;
}
.soho-home__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #507062;
}
.soho-home h1 {
  margin: 0;
  max-width: 750px;
  font-size: clamp(28px, 2.8vw, 47px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.soho-home h1 em {
  font-style: normal;
  color: #4d9f00;
}
.soho-home__intro {
  max-width: 610px;
  margin: 18px 0 22px;
  line-height: 1.65;
  font-size: 15px;
}
.soho-home__welcome {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid #ead8ce;
  border-radius: 12px;
  margin-bottom: 26px;
}
.soho-home__welcome[hidden] {
  display: none !important;
}
.soho-home__welcome > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.soho-home__welcome strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}
.soho-home__welcome small,
.soho-home__muted {
  font-size: 12px;
  color: #526c61;
}
.soho-home__profile-link {
  border: 1px solid #bdd2c5;
  background: #fff;
  color: var(--soho-forest);
  padding: 10px 14px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.soho-home__section-title {
  margin: 0 0 14px;
  font-size: 19px;
}
.soho-home__services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.soho-home__service {
  min-width: 0;
  min-height: 168px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 19px 16px 35px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: #f5f0df;
  box-shadow: 0 8px 24px rgba(46, 56, 37, 0.06);
  color: var(--soho-ink);
  cursor: pointer;
  text-decoration: none;
}
.soho-home__service:nth-child(2) {
  background: #f8e6ce;
}
.soho-home__service:nth-child(3) {
  background: #f6dfda;
}
.soho-home__service:hover,
.soho-home__service:focus-visible {
  outline: 2px solid #61ae28;
  outline-offset: 2px;
  transform: translateY(-2px);
}
.soho-home__service-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 9px;
  color: #338000;
  font-size: 22px;
  flex-shrink: 0;
}
.soho-home__service-icon svg {
  width: 22px;
  height: 22px;
}
.soho-home__service-title {
  font-weight: 750;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.soho-home__service-description {
  font-size: 12px;
  line-height: 1.4;
  color: #50655a;
}
.soho-home__service-arrow {
  position: absolute;
  right: 13px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #318300;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.soho-home__services .no-results {
  grid-column: 1 / -1;
  margin: 0;
  color: #526c61;
  font-size: 14px;
}
@media (max-width: 1200px) {
  .soho-home__hero {
    grid-template-columns: minmax(270px, 42%) minmax(0, 1fr);
  }
  .soho-home__content {
    padding: 30px;
  }
  .soho-home__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .soho-home__hero {
    grid-template-columns: 1fr;
  }
  .soho-home__photo-col {
    min-height: 280px;
  }
  .soho-home__content {
    padding: 30px 22px 42px;
  }
  .soho-home__services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .soho-home__photo-col {
    min-height: 220px;
  }
  .soho-home__services {
    grid-template-columns: 1fr;
  }
  .soho-home__service {
    min-height: 116px;
  }
  .soho-home__welcome {
    align-items: flex-start;
    flex-direction: column;
  }
  .soho-home__content {
    padding: 24px 16px 32px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .soho-home__service {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
}
