/* Text utility */
/* Mobile utility */
/* link hover utility */
/* Container utility mixin */
/* Container avec variable CSS */
/* Text content styles */
/* Centered content */
/* from... */
/* to... */
/* from... to... */
/* at... */
.s-tarot {
  min-height: 100vh;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: 5rem;
}
@media screen and (min-width: 1536px) {
  .s-tarot {
    padding-inline: 10rem;
  }
}
@media screen and (max-width: 1039px) {
  .s-tarot {
    padding-inline: 2rem;
  }
}
@media screen and (max-width: 639px) {
  .s-tarot {
    padding-inline: 1rem;
    min-height: 0;
    padding-block: 4rem;
  }
}
.s-tarot > .l-wrapper {
  padding: 0 !important;
}
.s-tarot .l-container {
  max-width: none;
  padding: 0;
}
.s-tarot__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3rem;
}
@media screen and (max-width: 1039px) {
  .s-tarot__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media screen and (max-width: 639px) {
  .s-tarot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
.s-tarot__card {
  position: relative;
  z-index: 20;
  aspect-ratio: 720/1021;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.s-tarot__face {
  position: absolute;
  inset: 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  backface-visibility: hidden;
}
.s-tarot__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s-tarot__face--back {
  transform: rotateY(-180deg);
}
.s-tarot__overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  opacity: 0;
  background: transparent;
}
.s-tarot__overlay[hidden] {
  display: none;
}
.s-tarot__overlay-left {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
}
.s-tarot__overlay-left img {
  width: auto;
  height: 100%;
  max-width: 50vw;
  object-fit: contain;
}
.s-tarot__overlay-right {
  width: 100%;
  padding: 4rem;
  overflow: auto;
  display: flex;
  align-items: center;
  transform: translateX(100%);
  color: #130f0e;
  background: #fff;
}
@media screen and (min-width: 1536px) {
  .s-tarot__overlay-right {
    padding: 6rem;
  }
}
.s-tarot__overlay-right.is-black {
  color: #fff;
  background: #130f0e;
}
@media screen and (max-width: 639px) {
  .s-tarot__overlay-right {
    padding: 1.5rem;
  }
}
.s-tarot__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.s-tarot__overlay-copy {
  max-width: 48rem;
}
.s-tarot__overlay-copy h2 {
  margin: 0 0 2.5rem;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 300;
  font-variation-settings: "wght" 300;
}
@media screen and (min-width: 1536px) {
  .s-tarot__overlay-copy h2 {
    margin-bottom: 5rem;
  }
}
@media screen and (max-width: 639px) {
  .s-tarot__overlay-copy h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }
}
.s-tarot__overlay-copy h3 {
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  font-weight: 500;
  font-variation-settings: "wght" 500;
}
@media screen and (max-width: 639px) {
  .s-tarot__overlay-copy h3 {
    font-size: 0.75rem;
  }
}
.s-tarot__devise {
  margin: 0 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #475569;
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 300;
  font-variation-settings: "wght" 300;
}
@media screen and (min-width: 1536px) {
  .s-tarot__devise {
    font-size: 3.75rem;
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
  }
}
@media screen and (max-width: 639px) {
  .s-tarot__devise {
    font-size: 1.5rem;
  }
}
.s-tarot__personnalite {
  margin: 0 0 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #475569;
  font-size: 1.5rem;
  font-weight: 100;
  font-variation-settings: "wght" 100;
}
@media screen and (min-width: 1536px) {
  .s-tarot__personnalite {
    font-size: 1.875rem;
    margin-bottom: 2.75rem;
    padding-bottom: 2.75rem;
  }
}
.s-tarot__refs {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.875rem;
  font-weight: 500;
  font-variation-settings: "wght" 500;
}