/**
 * Melanin Stories — assets/css/components/hero.css
 * Dépend de base.css. Ne gère que le bloc Hero de la home.
 */

.ms-hero {
  padding: 60px 0;
}

.ms-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.ms-hero__logo {
  flex-shrink: 0;
}

.ms-hero__logo img {
  width: 100%;
  max-width: 300px;
}

.ms-hero__text {
  flex: 1;
}

.ms-hero__title {
  font-family: var(--ms-font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 640px;
}

.ms-hero__title em {
  font-style: normal;
  color: var(--ms-red);
}

/* ==========================================================================
   TABLETTE
   ========================================================================== */
@media (max-width: 900px) {
  .ms-hero__inner {
    gap: 36px;
  }
  .ms-hero__logo img {
    max-width: 220px;
  }
}

/* ==========================================================================
   MOBILE — logo au-dessus du texte, tout centré
   ========================================================================== */
@media (max-width: 640px) {
  .ms-hero {
    padding: 40px 0;
  }
  .ms-hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 26px;
  }
  .ms-hero__logo img {
    max-width: 180px;
    margin: 0 auto;
  }
  .ms-hero__title {
    max-width: none;
  }
}
