/* ==========================================================================
   Hero — Mobile first
   ========================================================================== */

.site-main--home {
  max-width: none;
  padding: 0;
}

.hero {
  display: flex;
  flex-direction: column;
}

/* ---------- Image ---------- */

.hero__media {
  position: relative;
  height: 22vh;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------- Texte ---------- */

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: calc(var(--header-height) + 24px) 24px 48px;
  background-color: var(--color-bg-alt);
}

.hero__badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  font-family: var(--font-family-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid rgba(197, 129, 129, 0.45);
  border-radius: 100px;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 520px;
}

.hero__description {
  font-size: 0.9375rem;
  color: rgba(34, 34, 34, 0.65);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(34, 34, 34, 0.5);
  margin-bottom: 0;
}

.hero__stars {
  color: var(--color-primary);
  letter-spacing: 1px;
}

/* ==========================================================================
   Hero — Desktop
   ========================================================================== */

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    height: 70vh;
    height: 70svh;
    overflow: hidden;
  }

  .hero__text {
    flex: 0 0 50%;
    order: 1;
    justify-content: center;
    padding: calc(var(--header-height) + 16px) 48px 24px;
    gap: 12px;
    overflow: hidden;
  }

  .hero__media {
    flex: 0 0 50%;
    order: 2;
    height: 100%;
    overflow: hidden;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__description {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .hero__text {
    padding: calc(var(--header-height) + 20px) 64px 32px;
  }
}
