/* ============================================================
   HOME PAGE
   Préfixe : .uh- (unissimo home)
   ============================================================ */

/* ---------- HERO ---------- */

.uh-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 23, 40, 0.85), rgba(18, 40, 61, 0.78)),
    url('/assets/img/hero-vendre.jpg') center/cover;
  color: #ffffff;
  padding: 100px 20px 110px;
  text-align: center;
}

.uh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(244, 153, 26, 0.15), transparent 60%);
  pointer-events: none;
}

.uh-hero__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.uh-hero__title {
  font-family: var(--u-font-display);
  font-size: clamp(2.6rem, 4.5vw + 1rem, 4.5rem);
  line-height: 1.05;
  margin: 24px 0 22px;
  color: #ffffff;
  font-weight: 700;
}

.uh-hero__title-accent {
  color: var(--u-orange);
}

.uh-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 32px;
}

.uh-hero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- TROIS PORTES ---------- */

.uh-portes {
  padding: 100px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.uh-portes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.uh-porte {
  background: #ffffff;
  border: 1px solid var(--u-border);
  border-radius: 22px;
  padding: 38px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--u-ease), box-shadow 0.3s var(--u-ease), border-color 0.3s var(--u-ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.uh-porte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--u-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--u-ease);
}

.uh-porte:hover {
  transform: translateY(-6px);
  box-shadow: var(--u-shadow-lg);
  border-color: rgba(244, 153, 26, 0.3);
}

.uh-porte:hover::before {
  transform: scaleX(1);
}

.uh-porte__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(244, 153, 26, 0.12);
  color: var(--u-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.uh-porte--acheter .uh-porte__icon {
  background: rgba(120, 193, 149, 0.15);
  color: #5ba577;
}

.uh-porte--mandataire .uh-porte__icon {
  background: rgba(18, 40, 61, 0.08);
  color: var(--u-dark);
}

.uh-porte__title {
  font-family: var(--u-font-display-condensed);
  font-size: 1.7rem;
  color: var(--u-dark);
  margin: 0 0 14px;
}

.uh-porte__text {
  color: var(--u-text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
  min-height: 5.1em;
}

.uh-porte__points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.uh-porte__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--u-text);
  margin-bottom: 10px;
}

.uh-porte__points li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--u-orange);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}

.uh-porte__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--u-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 0;
  border-bottom: 2px solid var(--u-orange);
  transition: gap 0.25s var(--u-ease), color 0.25s var(--u-ease);
}

.uh-porte:hover .uh-porte__cta {
  gap: 14px;
  color: var(--u-orange);
}

.uh-porte__cta svg {
  color: var(--u-orange);
}

@media (max-width: 900px) {
  .uh-portes__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TERRITOIRE ---------- */

.uh-territoire {
  padding: 90px 20px;
  background: var(--u-bg-soft);
  text-align: center;
}

.uh-territoire__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.uh-ville {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #ffffff;
  border: 1px solid var(--u-border);
  border-radius: var(--u-radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--u-dark);
  text-decoration: none;
  transition: all 0.25s var(--u-ease);
}

.uh-ville:hover {
  background: var(--u-orange);
  color: var(--u-dark);
  border-color: var(--u-orange);
  transform: translateY(-2px);
}

.uh-ville span {
  font-size: 11px;
  font-weight: 700;
  color: var(--u-text-muted);
  background: var(--u-bg-soft);
  padding: 2px 6px;
  border-radius: 6px;
}

.uh-ville:hover span {
  background: rgba(255, 255, 255, 0.5);
  color: var(--u-dark);
}

/* ---------- CTA FINAL ---------- */

.uh-cta-final {
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--u-dark) 0%, var(--u-dark-deep) 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.uh-cta-final::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 153, 26, 0.18), transparent 70%);
  pointer-events: none;
}

.uh-cta-final__inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.uh-cta-final__title {
  font-family: var(--u-font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  margin: 0 0 18px;
  color: #ffffff;
}

.uh-cta-final__text {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.uh-cta-final__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.uh-cta-final__buttons .u-btn--ghost-light svg {
  margin-right: 4px;
  vertical-align: middle;
}
