/* =========================
            BLOC 1
========================= */

.spaces-hero {
  background: #0f1218;
  border-bottom: 1px solid rgba(212, 176, 79, 0.14);
}

.spaces-hero__inner {
  width: min(1600px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
  min-height: 620px;
}

/* colonne gauche */
.spaces-hero__left {
  display: flex;
  align-items: center;
  background: #0f1218;
  padding: 90px 50px 60px 55px;
}

/* contenu texte */
.spaces-hero__content {
  width: 100%;
  max-width: 540px;
}

.spaces-hero__tag {
  display: inline-block;
  margin-bottom: 22px;
  color: #e0c15a;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spaces-hero__content h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
}

.spaces-hero__content p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.65;
  max-width: 520px;
}

.spaces-hero__buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-gold {
  background: #e0c15a;
  color: #171717;
  box-shadow: 0 0 22px rgba(212, 176, 79, 0.22);
}

.btn-gold:hover {
  background: #e0c15a;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(212, 176, 79, 0.75);
  color: #e0c15a;
  background: transparent;
  -webkit-text-fill-color: #d4b04f;
}

.btn-outline:hover,
.btn-outline:hover span {
  background: #e0c15a;
  transform: translateY(-2px);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-color: #e0c15a;
}


/* colonne droite */
.spaces-hero__right {
  position: relative;
  overflow: hidden;
}

.spaces-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spaces-hero__right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 7, 15, 0.70) 0%,
    rgba(4, 7, 15, 0.20) 12%,
    rgba(4, 7, 15, 0.03) 22%,
    rgba(4, 7, 15, 0) 32%
  );
  pointer-events: none;
  z-index: 2;
}


/* =========================
            BLOC 2
========================= */

.spaces-features {
  padding: 90px 20px 80px;
  background:
    radial-gradient(circle at top center, rgba(212, 176, 79, 0.05), transparent 30%),
    linear-gradient(180deg, #232730 0%, #1f232b 100%);
}

.spaces-features__container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.spaces-features__intro {
  max-width: 980px;
  margin: 0 auto 55px;
  text-align: center;
}

.spaces-features__intro h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 50px;
  line-height: 1.1;
  font-weight: 800;
}

.spaces-features__intro p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.65;
}

/* grid cartes */
.spaces-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1420px;
  margin: 0 auto;
}

/* carte */
.spaces-card {
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.98) 0%, rgba(11, 15, 24, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.spaces-card__image {
  height: 240px;
  overflow: hidden;
}

.spaces-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spaces-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 176, 79, 0.6);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(212, 176, 79, 0.25);
}

/* corps carte */
.spaces-card__body {
  padding: 20px 22px 22px;
}

.spaces-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.spaces-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.65;
}

.spaces-card__text {
  margin: 6px 0 14px;
  color: #CFA84E !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.spaces-card__infos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.spaces-card__price .price-label {
  font-size: 12px;
  opacity: 0.9;
}

.spaces-card__price .price-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0;
}
/* =========================
   RESPONSIVE
========================= */
/* =========================
            BLOC 1
========================= */

@media (max-width: 1400px) {
  .spaces-hero__inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .spaces-hero__left {
    padding: 55px 55px 55px 70px;
  }

  .spaces-hero__content h1 {
    font-size: 54px;
  }

  .spaces-hero__content p {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .spaces-hero__inner {
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
  }

  .spaces-hero__left {
    padding: 50px 45px 50px 60px;
  }

  .spaces-hero__content {
    max-width: 500px;
  }

  .spaces-hero__content h1 {
    font-size: 48px;
  }

  .spaces-hero__content p {
    font-size: 17px;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .spaces-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .spaces-hero__right {
    order: 2;
    min-height: 340px;
  }

  .spaces-hero__left {
    order: 1;
    padding: 50px 32px 60px;
  }

  .spaces-hero__content {
    max-width: 100%;
  }

  .spaces-hero__content h1 {
    font-size: 42px;
    max-width: 100%;
  }

  .spaces-hero__content p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
  }

  .spaces-hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .spaces-hero__left {
    padding: 42px 18px 52px;
  }

  .spaces-hero__right {
    min-height: 250px;
  }

  .spaces-hero__tag {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .spaces-hero__content h1 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .spaces-hero__content p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .btn {
    min-height: 52px;
    font-size: 14px;
  }
}


/* =========================
            BLOC 2
========================= */

@media (max-width: 1200px) {
  .spaces-features__intro h2 {
    font-size: 48px;
  }

  .spaces-features__intro p {
    font-size: 18px;
  }

  .spaces-card__image {
    height: 220px;
  }
}

@media (max-width: 992px) {
  .spaces-features {
    padding: 75px 20px 70px;
  }

  .spaces-features__grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .spaces-features__intro {
    margin-bottom: 40px;
  }

  .spaces-features__intro h2 {
    font-size: 38px;
  }

  .spaces-features__intro p {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .spaces-features {
    padding: 60px 16px;
  }

  .spaces-features__intro h2 {
    font-size: 30px;
    margin-bottom: 22px;
  }

  .spaces-features__intro p {
    font-size: 13px;
    line-height: 1.6;
  }

  .spaces-card__image {
    height: 190px;
  }

  .spaces-card__body {
    padding: 18px 18px 20px;
  }

  .spaces-card h3 {
    font-size: 20px;
  }

  .spaces-card p {
    font-size: 15px;
  }

  .spaces-card__price .price-label {
    font-size: 13px;
    font-weight: 100;
  }

  .spaces-card__price .price-value {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .spaces-hero__buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .spaces-hero__buttons .btn,
  .spaces-hero__buttons .btn-outline,
  .spaces-hero__buttons a {
    width: auto !important;
    min-width: 240px !important;
    max-width: 320px !important;
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
}