.la-salle-page {
  background: var(--color-fond-nocturne);
}

.la-salle-page .intro {
  color: var(--color-lavande-cendre);
}

.la-salle-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-8), 10vw, var(--space-10));
  background: var(--color-fond-encre);
}

.la-salle-hero::before,
.la-salle-cta::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 34% 36%, rgba(110, 53, 168, 0.18), transparent 38%);
}

.la-salle-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
  align-items: center;
  gap: var(--space-5);
}

.la-salle-hero__copy {
  grid-column: 1 / span 1;
  min-width: 0;
  max-width: 36.875rem;
}

.la-salle-hero__copy .intro {
  max-width: 36.875rem;
}

.la-salle-hero__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.la-salle-hero__actions > * {
  min-width: 0;
}

.la-salle-hero__figure {
  grid-column: 3 / span 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: var(--border-subtle);
}

.la-salle-hero__figure img {
  width: 100%;
  height: clamp(36rem, 52vw, 46rem);
  object-fit: cover;
  object-position: 58% center;
}

.la-salle-geography {
  position: relative;
}

.la-salle-geography__heading {
  width: min(100%, 47.5rem);
  min-width: 0;
}

.la-salle-geography__heading .intro {
  max-width: 47.5rem;
}

.la-salle-geography__list {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr);
  gap: var(--space-7) var(--space-5);
  margin-top: var(--space-7);
}

.la-salle-geography__item {
  display: grid;
  grid-column: 1 / span 2;
  grid-template-columns: minmax(0, 2fr) minmax(0, 6fr);
  min-width: 0;
  gap: var(--space-5);
  padding-left: var(--space-5);
  border-left: var(--border-subtle);
}

.la-salle-geography__item--offset {
  grid-column: 2 / span 2;
}

.la-salle-geography__item > * {
  min-width: 0;
}

.la-salle-geography__text {
  width: min(100%, 36.25rem);
}

.la-salle-sigil {
  color: var(--color-violet-sorcier);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.58;
}

.la-salle-sigil--warm {
  color: var(--color-orange-oranger);
}

.la-salle-materials__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr);
  align-items: start;
  gap: var(--space-5);
}

.la-salle-materials__figure {
  grid-column: 1 / span 1;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.la-salle-materials__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: var(--border-subtle);
  object-fit: cover;
  object-position: center;
}

.la-salle-materials__copy {
  grid-column: 3 / span 1;
  min-width: 0;
  max-width: 33.75rem;
  padding-top: var(--space-8);
}

.la-salle-materials__copy > p:not(.eyebrow) {
  max-width: 33.75rem;
}

.la-salle-materials__eyebrow {
  margin-top: var(--space-6);
}

.la-salle-ritual__panel {
  padding: clamp(var(--space-5), 5vw, var(--space-8));
  border: var(--border-subtle);
  background: var(--color-prune-panneau);
}

.la-salle-ritual__heading {
  width: min(100%, 43rem);
  min-width: 0;
}

.la-salle-ritual__heading .intro {
  max-width: 42.5rem;
}

.la-salle-ritual__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-7);
}

.la-salle-ritual__step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-left: var(--border-subtle);
}

.la-salle-ritual__step:first-child {
  border-left: 0;
}

.la-salle-ritual__step > * {
  min-width: 0;
  margin: 0;
}

.la-salle-ritual__step p {
  color: var(--color-lavande-cendre);
}

.la-salle-ritual__step a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: var(--text-small);
  font-weight: 700;
}

.la-salle-ritual__step--featured {
  border: 1px solid color-mix(in srgb, var(--color-violet-profond) 85%, transparent);
  background: color-mix(in srgb, var(--color-prune-surface) 72%, transparent);
}

.la-salle-ritual__step--featured:hover {
  border-color: var(--color-violet-sorcier);
}

.la-salle-presence__heading {
  width: min(100%, 38.75rem);
  min-width: 0;
}

.la-salle-presence__heading .intro {
  max-width: 38.75rem;
}

.la-salle-presence__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-7);
  border-top: var(--border-subtle);
  border-left: var(--border-subtle);
}

.la-salle-presence__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-3);
  padding: var(--space-5);
  border-right: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.la-salle-presence__item > * {
  min-width: 0;
}

.la-salle-presence__item > span {
  color: var(--color-violet-sorcier);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.la-salle-presence__item h3 {
  font-size: 1.35rem;
}

.la-salle-presence__item p {
  margin-bottom: 0;
  color: var(--color-lavande-cendre);
}

.la-salle-table {
  background: linear-gradient(180deg, var(--color-fond-nocturne), var(--color-fond-encre));
}

.la-salle-table__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
  align-items: start;
  gap: var(--space-5);
}

.la-salle-table__copy {
  grid-column: 1 / span 1;
  min-width: 0;
  max-width: 34.375rem;
}

.la-salle-table__copy > p {
  max-width: 34.375rem;
}

.la-salle-table__copy em {
  color: var(--color-violet-sorcier);
}

.la-salle-table__figure {
  grid-column: 3 / span 1;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.la-salle-table__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border: var(--border-subtle);
  object-fit: cover;
  object-position: center;
}

.la-salle-table__note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 27.5rem;
  margin-top: var(--space-6);
  padding: var(--space-5);
  border: var(--border-subtle);
  background: var(--color-prune-panneau);
}

.la-salle-table__note > * {
  min-width: 0;
  margin: 0;
}

.la-salle-table__note p {
  color: var(--color-lavande-cendre);
}

.la-salle-city__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  min-width: 0;
  gap: var(--space-6);
  padding: clamp(var(--space-5), 5vw, var(--space-8));
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--surface-gradient);
}

.la-salle-city__panel::after {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 43%;
  width: 1px;
  content: "";
  background: color-mix(in srgb, var(--color-violet-profond) 55%, transparent);
}

.la-salle-city__address,
.la-salle-city__orientation,
.la-salle-city__action {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.la-salle-city__address address {
  max-width: 26.25rem;
  margin: var(--space-5) 0 0;
  color: var(--color-blanc-froid);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
}

.la-salle-city__orientation {
  max-width: 35rem;
}

.la-salle-city__orientation p,
.la-salle-city__action p {
  color: var(--color-lavande-cendre);
}

.la-salle-city__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 26.875rem;
}

.la-salle-city__action > * {
  min-width: 0;
  margin: 0;
}

.la-salle-next__heading {
  width: min(100%, 38.75rem);
  min-width: 0;
}

.la-salle-next__heading .intro {
  max-width: 38.75rem;
}

.la-salle-next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-7);
  border-top: var(--border-subtle);
}

.la-salle-next__choice {
  display: flex;
  min-width: 0;
  min-height: 18rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border-right: var(--border-subtle);
  border-bottom: var(--border-subtle);
  color: var(--color-blanc-froid);
  text-decoration: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.la-salle-next__choice:first-child {
  border-left: var(--border-subtle);
}

.la-salle-next__choice > * {
  min-width: 0;
  margin: 0;
}

.la-salle-next__choice p {
  color: var(--color-lavande-cendre);
}

.la-salle-next__choice span {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: auto;
  color: var(--color-blanc-froid);
  font-size: var(--text-small);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--color-violet-sorcier);
  text-underline-offset: 0.2em;
}

.la-salle-next__choice:hover {
  border-color: var(--color-violet-sorcier);
  background: color-mix(in srgb, var(--color-prune-panneau) 74%, transparent);
  color: var(--color-blanc-froid);
  transform: translateY(-2px);
}

.la-salle-next__choice--accent {
  border-top: 2px solid var(--color-violet-profond);
}

.la-salle-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-9), 11vw, var(--space-10));
  background: var(--color-fond-encre);
}

.la-salle-cta__content {
  position: relative;
  display: flex;
  width: min(100%, 37.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  margin-inline: auto;
  text-align: center;
}

.la-salle-cta__content > * {
  min-width: 0;
  margin: 0;
}

.la-salle-cta__content p:not(.la-salle-cta__kicker) {
  max-width: 37.5rem;
  color: var(--color-lavande-cendre);
}

.la-salle-cta__kicker {
  color: var(--color-lavande-cendre);
  font-size: var(--text-small);
  line-height: var(--line-small);
}

.la-salle-cta__secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: var(--text-small);
  font-weight: 700;
}

@media (max-width: 61.25rem) {
  .la-salle-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .la-salle-hero__copy,
  .la-salle-hero__figure {
    grid-column: auto;
  }

  .la-salle-hero__figure img {
    height: clamp(31rem, 62vw, 40rem);
  }

  .la-salle-materials__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .la-salle-materials__figure,
  .la-salle-materials__copy {
    grid-column: 1;
  }

  .la-salle-materials__copy {
    width: min(100%, 33.75rem);
    padding-top: 0;
  }

  .la-salle-table__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .la-salle-table__copy,
  .la-salle-table__figure {
    grid-column: 1;
  }

  .la-salle-table__copy {
    width: min(100%, 34.375rem);
  }

  .la-salle-city__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .la-salle-city__action {
    grid-column: 2 / span 1;
  }

  .la-salle-city__panel::after {
    display: none;
  }
}

@media (max-width: 58.75rem) {
  .la-salle-geography__list {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .la-salle-geography__item,
  .la-salle-geography__item--offset {
    grid-column: 1;
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .la-salle-ritual__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .la-salle-ritual__step:first-child {
    border-left: var(--border-subtle);
  }

  .la-salle-ritual__step:last-child {
    grid-column: 1 / span 2;
  }

  .la-salle-presence__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .la-salle-next__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .la-salle-next__choice:first-child {
    border-left: var(--border-subtle);
  }

  .la-salle-next__choice:last-child {
    grid-column: 1 / span 2;
  }
}

@media (max-width: 43.75rem) {
  .la-salle-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .la-salle-hero__copy,
  .la-salle-hero__figure {
    grid-column: 1;
    width: 100%;
  }

  .la-salle-hero__actions {
    flex-direction: column;
    gap: var(--space-3);
  }

  .la-salle-hero__actions .button {
    width: 100%;
  }

  .la-salle-hero__figure img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: 58% center;
  }

  .la-salle-ritual__steps {
    grid-template-columns: 1fr;
  }

  .la-salle-ritual__step,
  .la-salle-ritual__step:last-child {
    grid-column: 1;
    border-top: var(--border-subtle);
    border-left: 0;
  }

  .la-salle-ritual__step:first-child {
    border-left: 0;
  }

  .la-salle-materials__figure img,
  .la-salle-table__figure img {
    aspect-ratio: 3 / 4;
  }

  .la-salle-city__panel {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .la-salle-city__action {
    grid-column: 1;
  }

  .la-salle-presence__grid,
  .la-salle-next__grid {
    grid-template-columns: 1fr;
  }

  .la-salle-presence__item,
  .la-salle-next__choice,
  .la-salle-next__choice:last-child {
    grid-column: 1;
  }

  .la-salle-next__choice {
    min-height: 0;
    padding: var(--space-5);
    border-left: var(--border-subtle);
  }

  .la-salle-cta__content {
    width: 100%;
  }

  .la-salle-cta__content .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .la-salle-next__choice:hover {
    transform: none;
  }
}

@media (prefers-contrast: more) {
  .la-salle-hero::before,
  .la-salle-cta::before {
    display: none;
  }
}
