/* Page Univers — landing & pages genre */

html:has(body.page-univers) {
  background: #08080c;
}

html:has(body.page-univers--hub) {
  background: #ffffff;
}

body.page-univers {
  background: #08080c;
  color: #f2f2f2;
}

.univers-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.univers-page__header {
  text-align: center;
  margin-bottom: 32px;
}

.univers-page__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.univers-page__kicker a {
  color: #d0296d;
  text-decoration: none;
}

.univers-page__kicker a:hover {
  color: #c9a84a;
}

.univers-page__title {
  margin: 0 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
}

.univers-page__lead {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(14px, 2.2vw, 18px);
  color: #c9a84a;
}

.univers-cards--page {
  gap: 18px;
}

.univers-cards--compact {
  max-width: 920px;
  margin: 0 auto;
}

.univers-page__shop {
  margin: 36px 0 0;
  text-align: center;
}

.univers-page__shop-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d0296d;
  text-decoration: none;
}

.univers-page__shop-link:hover {
  color: #c9a84a;
}

.univers-page__hero {
  display: block;
  max-width: 360px;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 900px) {
  .univers-cards--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .univers-page {
    padding: 28px 16px 48px;
  }
}

@media (max-width: 520px) {
  .univers-cards--page:not(.univers-cards--compact) {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Landing univers (ex. Funk) */
body.page-univers--landing {
  background: #120318;
}

.univers-landing {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(300px, 34vw, 440px);
  background: #120318;
}

.univers-landing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.univers-landing__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.univers-landing__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.univers-landing__copy {
  min-width: 0;
  max-width: min(560px, 100%);
}

.univers-landing__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.univers-landing__breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.univers-landing__breadcrumb a:hover {
  color: #fff;
}

.univers-landing__breadcrumb-current {
  color: #fff;
}

.univers-landing__breadcrumb-muted {
  color: rgba(255, 255, 255, 0.72);
}

.univers-landing__breadcrumb-sep {
  opacity: 0.55;
}

.univers-landing__title {
  margin: 0 0 8px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
}

.univers-landing__subtitle {
  margin: 0 0 10px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: #c9a84a;
}

.univers-landing__text {
  margin: 0 0 16px;
  max-width: 500px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.univers-landing__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.univers-landing__cta-group {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
}

.univers-landing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.univers-landing__cta--primary {
  background: #d0296d;
  color: #fff;
  border-radius: 999px 0 0 999px;
  border-color: #d0296d;
}

.univers-landing__cta--primary:hover {
  background: #b8225d;
  color: #fff;
}

.univers-landing__cta--fit {
  background: #fff;
  color: #111;
  border-color: #fff;
  border-radius: 999px;
}

.univers-landing__cta--fit:hover {
  background: #f3f3f3;
  color: #111;
}

.univers-landing__cta--fit.is-active {
  background: #d0296d;
  color: #fff;
  border-color: #d0296d;
}

.univers-landing__cta--fit.is-active:hover {
  background: #b8225d;
  color: #fff;
}

.univers-landing-shop__empty {
  margin: 0;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #6b6b6b;
}

@media (max-width: 900px) {
  .univers-landing {
    height: clamp(360px, 78vw, 420px);
  }

  .univers-landing__inner {
    align-items: flex-start;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .univers-landing__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(
        90deg,
        rgba(8, 5, 15, 0.94) 0%,
        rgba(8, 5, 15, 0.86) 48%,
        rgba(8, 5, 15, 0.52) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.15) 42%,
        rgba(0, 0, 0, 0.35) 100%
      );
    pointer-events: none;
  }

  .univers-landing__bg img {
    object-position: 82% 68%;
  }

  .univers-landing__breadcrumb,
  .univers-landing__title,
  .univers-landing__subtitle,
  .univers-landing__text {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  }

  .univers-landing__text {
    max-width: none;
  }

  .univers-landing__ctas {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .univers-landing__cta {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .univers-landing__bg::after {
    background:
      linear-gradient(
        90deg,
        rgba(5, 3, 12, 0.96) 0%,
        rgba(5, 3, 12, 0.88) 58%,
        rgba(5, 3, 12, 0.62) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.2) 100%
      );
  }

  .univers-landing__bg img {
    object-position: 88% 62%;
  }
}

.univers-landing-shop {
  background: transparent;
  color: #1a1a1a;
  padding: 40px 24px 12px;
}

.univers-landing-shop__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.univers-landing-shop__header {
  margin-bottom: 24px;
}

.univers-landing-shop__title {
  margin: 0 0 10px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 700;
  color: #2e2e2e;
}

.univers-landing-shop__lead {
  margin: 0 0 12px;
  max-width: 760px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #4a4a4a;
}

.univers-landing-shop__lead:last-of-type {
  margin-bottom: 12px;
}

.univers-landing-shop__count {
  margin: 0;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 14px;
  color: #6b6b6b;
}

body.page-univers--landing .univers-landing-shop .product-name,
body.page-univers--landing .univers-landing-shop .product-price {
  color: #1a1a1a;
}

@media (max-width: 900px) {
  .univers-landing-shop {
    padding: 28px 12px 16px;
  }

  body.page-univers--landing .univers-landing-shop .grid-wrap {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  body.page-univers--landing .univers-landing-shop .products-grid.cols3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.page-univers--landing .univers-landing-shop .product-name {
    font-size: 12px;
    line-height: 1.35;
    min-height: auto;
  }

  body.page-univers--landing .univers-landing-shop .product-price {
    font-size: 12px;
  }
}

/* Bande blanche continue : produits + culture (isole du fond sombre du body) */
body.page-univers--landing .univers-landing-below {
  background: #ffffff;
  color: #1a1a1a;
  width: 100%;
}

/* Bloc culture → articles blog (après produits) */
body.page-univers--landing .univers-culture {
  background: #ffffff;
  color: #1a1a1a;
  padding: 4px 24px 56px;
  border-top: none;
}

body.page-univers--landing .univers-culture__inner {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
}

body.page-univers--landing .univers-culture__header {
  max-width: 640px;
  margin: 0 0 20px;
  background: #ffffff;
}

body.page-univers--landing .univers-culture__title {
  margin: 0 0 10px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #2e2e2e;
  line-height: 1.2;
  background: transparent;
}

body.page-univers--landing .univers-culture__intro {
  margin: 0;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #4a4a4a;
  background: transparent;
}

body.page-univers--landing .univers-culture__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 840px;
}

body.page-univers--landing .univers-culture__grid:has(> .univers-culture__card:only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 460px;
}

body.page-univers--landing .univers-culture__card {
  display: flex;
  flex-direction: column;
  background: #faf8f4;
  border: 1px solid #ece7df;
  border-radius: 10px;
  overflow: hidden;
}

body.page-univers--landing .univers-culture__media {
  aspect-ratio: 16 / 9;
  max-height: 140px;
  overflow: hidden;
  background: #e8e2d8;
}

body.page-univers--landing .univers-culture__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-univers--landing .univers-culture__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
}

body.page-univers--landing .univers-culture__card-title {
  margin: 0;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2e2e2e;
  line-height: 1.25;
}

body.page-univers--landing .univers-culture__card-text {
  margin: 0;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #4a4a4a;
  flex: 1;
}

body.page-univers--landing .univers-culture__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 2px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #d0296d;
  color: #fff;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

body.page-univers--landing .univers-culture__btn:hover {
  background: #b8245f;
  color: #fff;
}

@media (max-width: 768px) {
  body.page-univers--landing .univers-culture {
    padding: 4px 12px 44px;
  }

  body.page-univers--landing .univers-culture__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }

  body.page-univers--landing .univers-culture__media {
    max-height: 120px;
  }

  body.page-univers--landing .univers-culture__body {
    padding: 12px 12px 14px;
  }
}

/* Hub univers (ex. Disco) — modèle réutilisable */
body.page-univers--hub {
  background: #ffffff;
}

body.page-univers--hub .univers-landing--hub {
  background: #120318;
}

.univers-landing--hub {
  height: auto;
  min-height: 0;
}

.univers-landing--hub .univers-landing__inner {
  height: auto;
  align-items: flex-start;
  padding-top: clamp(20px, 2.5vw, 32px);
  padding-bottom: clamp(22px, 2.8vw, 34px);
}

.univers-landing--hub .univers-landing__bg img {
  object-position: 78% 45%;
}

.univers-landing--hub .univers-landing__copy {
  max-width: min(620px, 100%);
}

.univers-landing--hub .univers-landing__text-panel {
  display: inline-block;
  width: fit-content;
  max-width: 560px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(8, 4, 14, 0.42);
  box-sizing: border-box;
}

.univers-landing--hub .univers-landing__text {
  max-width: none;
  margin: 0;
}

.univers-landing--hub .univers-landing__ctas {
  margin-bottom: 0;
}

.univers-hub-below {
  background: #ffffff;
  color: #1a1a1a;
}

.univers-hub-coll {
  padding: 48px 24px 24px;
  background: #ffffff;
}

.univers-hub-coll__inner {
  max-width: 1180px;
  margin: 0 auto;
  background: #ffffff;
}

.univers-hub-coll__header {
  text-align: center;
  margin: 0 0 28px;
  padding: 0;
  background: #ffffff;
}

.univers-hub-coll__heading {
  margin: 0 0 10px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.univers-hub-coll__lead {
  margin: 0 auto;
  max-width: 560px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

.univers-hub-coll__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.univers-hub-coll__card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  min-height: 340px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 24px rgba(40, 10, 30, 0.06);
}

.univers-hub-coll__card--homme {
  background: #f6f0e8;
}

.univers-hub-coll__card--femme {
  background: #f8ebf1;
}

.univers-hub-coll__media {
  display: block;
  min-height: 280px;
  background: transparent;
  text-decoration: none;
  color: inherit;
}

.univers-hub-coll__media:focus-visible {
  outline: 2px solid #d0296d;
  outline-offset: -2px;
}

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

.univers-hub-coll__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px 24px;
  background: transparent;
}

.univers-hub-coll__kicker {
  margin: 0 0 6px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d0296d;
}

.univers-hub-coll__title {
  margin: 0 0 10px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.univers-hub-coll__rule {
  width: 42px;
  height: 3px;
  margin: 0 0 14px;
  border-radius: 2px;
  background: #d0296d;
}

.univers-hub-coll__text {
  margin: 0 0 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.univers-hub-coll__thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.univers-hub-coll__thumb {
  display: block;
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.univers-hub-coll__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #d0296d;
  color: #fff;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.univers-hub-coll__cta:hover {
  background: #b8245f;
  color: #fff;
}

.univers-hub-select {
  padding: 28px 24px 20px;
}

.univers-hub-select__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.univers-hub-select__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: #111;
}

.univers-hub-select__title-line {
  flex: 1 1 40px;
  max-width: 120px;
  height: 2px;
  background: #d0296d;
}

.univers-hub-select__title-text {
  flex: 0 0 auto;
}

.univers-hub-select__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.univers-hub-select__card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.univers-hub-select__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 14px 10px 16px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.univers-hub-select__media {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  overflow: hidden;
}

.univers-hub-select__media img,
.univers-hub-select__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.univers-hub-select__name {
  margin: 0 0 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #111;
}

.univers-hub-select__fit {
  margin: 0 0 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #777;
  text-align: center;
}

.univers-hub-select__price {
  margin: 0 0 8px;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.univers-hub-select__cta {
  margin-top: auto;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #d0296d;
  text-align: center;
}

.univers-hub-select__link:hover .univers-hub-select__cta {
  color: #b8245f;
}

.univers-hub-seo {
  padding: 28px 24px 64px;
}

.univers-hub-seo__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.univers-hub-seo__title {
  margin: 0 0 12px;
  font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  text-align: center;
}

.univers-hub-seo__rule {
  width: 48px;
  height: 3px;
  margin: 0 auto 20px;
  background: #d0296d;
  border-radius: 2px;
}

.univers-hub-seo__text {
  margin: 0 0 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  text-align: left;
}

.univers-hub-seo__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .univers-hub-select__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .univers-hub-select__media {
    height: 190px;
  }
}

@media (max-width: 900px) {
  .univers-landing--hub {
    height: auto;
    min-height: 0;
  }

  .univers-landing--hub .univers-landing__inner {
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .univers-landing--hub .univers-landing__bg img {
    object-position: 85% 40%;
  }

  .univers-hub-coll {
    padding: 36px 16px 16px;
  }

  .univers-hub-coll__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .univers-hub-coll__card {
    grid-template-columns: 1fr;
  }

  .univers-hub-coll__media {
    min-height: 240px;
    max-height: 320px;
  }

  .univers-hub-select {
    padding: 20px 16px 12px;
  }

  .univers-hub-seo {
    padding: 20px 16px 48px;
  }
}

@media (max-width: 640px) {
  .univers-hub-select__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .univers-hub-select__media {
    height: 160px;
    padding: 0;
  }

  .univers-hub-select__title {
    gap: 10px;
  }

  .univers-hub-select__title-line {
    max-width: 40px;
  }

  .univers-hub-coll__body {
    padding: 18px 16px 16px;
  }
}
