.poker-page {
  overflow: clip;
}

.poker-page .section {
  position: relative;
}

.poker-page .poker-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-block-end: var(--space-3);
  color: var(--color-olive-doux);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: var(--leading-caption);
  text-transform: uppercase;
}

.poker-page .poker-eyebrow span {
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
}

.poker-hero__grid {
  display: grid;
  grid-template-columns: minmax(390px, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(var(--space-6), 5vw, var(--space-8));
}

.poker-hero__content,
.poker-hero__figure {
  min-width: 0;
  width: 100%;
}

.poker-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.poker-hero__content > * {
  min-width: 0;
  margin: 0;
}

.poker-hero__content h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5vw, 3.25rem);
}

.poker-hero__lead {
  max-width: 60ch;
  font-size: var(--text-lg);
  line-height: 1.55;
}

.poker-hero__actions {
  width: 100%;
  margin-block-start: var(--space-2);
}

.poker-hero__figure {
  position: relative;
  margin: 0;
  max-width: 650px;
  justify-self: end;
}

.poker-hero__figure::before {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: 5%;
  width: 93%;
  height: 89%;
  border-radius: var(--radius-decorative);
  background: var(--color-lavande-pale);
  content: "";
}

.poker-hero__figure img {
  width: 100%;
  border-radius: var(--radius-panel);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}

.poker-hero__figure figcaption {
  margin-block-start: var(--space-2);
}

.poker-table__intro {
  width: 100%;
  max-width: 600px;
}

.poker-table__intro p:last-child {
  max-width: 62ch;
}

.poker-table__cards {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.08fr) minmax(260px, 1fr);
  gap: var(--space-5);
  margin-block-start: var(--space-7);
}

.poker-table__card {
  min-width: 0;
  width: 100%;
}

.poker-table__card--lavender {
  background: var(--color-lavande-brume);
}

.poker-table__card--linen {
  margin-block-start: var(--space-4);
  background: var(--color-blanc-lin);
}

.poker-card-symbol {
  display: block;
  margin-block-end: var(--space-3);
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.poker-table__card p {
  max-width: 43ch;
}

.poker-gestures__heading {
  max-width: 720px;
}

.poker-gestures__feature {
  display: grid;
  grid-template-columns: minmax(600px, 7fr) minmax(300px, 3fr);
  align-items: center;
  gap: var(--space-5);
}

.poker-gestures__figure,
.poker-gestures__note {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.poker-gestures__figure img {
  width: 100%;
  border-radius: var(--radius-panel);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.poker-gestures__note {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-gestures__note > * {
  min-width: 0;
  margin: 0;
}

.poker-gestures__note p:last-child {
  max-width: 38ch;
}

.poker-gestures__captions {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-6);
}

.poker-gestures__caption {
  position: relative;
  min-width: 0;
  width: 100%;
  border-block-start: 1px solid var(--color-border);
  padding-block-start: var(--space-4);
}

.poker-gestures__caption p {
  max-width: 38ch;
}

.poker-gesture-number {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  line-height: 1;
}

.poker-rhythm__heading {
  width: 100%;
  max-width: 34ch;
  margin-inline: auto;
  text-align: center;
}

.poker-rhythm__panels {
  display: grid;
  grid-template-columns: minmax(440px, 58fr) minmax(340px, 42fr);
  align-items: stretch;
  gap: var(--space-6);
  margin-block-start: var(--space-7);
}

.poker-rhythm__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  gap: var(--space-4);
}

.poker-rhythm__panel > * {
  min-width: 0;
  margin: 0;
}

.poker-rhythm__panel p {
  max-width: 50ch;
}

.poker-rhythm__panel .text-link {
  align-self: flex-start;
  margin-block-start: auto;
}

.poker-hospitality__intro {
  max-width: 620px;
}

.poker-hospitality__intro p {
  max-width: 55ch;
}

.poker-hospitality__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-7);
}

.poker-hospitality__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
  border-block-start: 1px solid var(--color-border);
  padding: var(--space-5);
}

.poker-hospitality__item > * {
  min-width: 0;
}

.poker-hospitality__item--pale {
  margin-block-start: var(--space-4);
  border-radius: var(--radius-card);
  background: var(--color-lavande-pale);
}

.poker-hospitality__item--rose {
  margin-block-start: var(--space-4);
  border-radius: var(--radius-card);
  background: rgb(240 211 209 / 50%);
}

.poker-hospitality__number {
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.poker-hospitality__item h3,
.poker-hospitality__item p {
  max-width: 45ch;
}

.poker-light > .container > h2 {
  max-width: 34ch;
}

.poker-light__composition {
  position: relative;
  min-width: 0;
  width: 100%;
  margin-block-start: var(--space-7);
}

.poker-light__figure {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.poker-light__figure img {
  width: 100%;
  border-radius: var(--radius-panel);
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.poker-light__copy {
  position: absolute;
  z-index: 1;
  bottom: var(--space-6);
  left: var(--space-6);
  display: flex;
  flex-direction: column;
  width: min(42%, 31rem);
  min-width: 390px;
  gap: var(--space-4);
  background: var(--color-lait);
}

.poker-light__copy > * {
  min-width: 0;
  margin: 0;
}

.poker-light__copy p {
  max-width: 56ch;
}

.poker-light__copy blockquote {
  max-width: 32ch;
}

.poker-prepare__intro {
  max-width: 55%;
}

.poker-prepare__intro p {
  max-width: 64ch;
}

.poker-prepare__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(330px, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-7);
}

.poker-prepare__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  gap: var(--space-4);
}

.poker-prepare__card > * {
  min-width: 0;
  margin: 0;
}

.poker-prepare__card--booking {
  background: var(--color-lavande-brume);
}

.poker-prepare__card p {
  max-width: 46ch;
}

.poker-prepare__card .button-link {
  margin-block-start: auto;
}

.poker-address {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  width: 46%;
  min-width: 300px;
  margin-block-start: var(--space-5);
}

.poker-address > * {
  min-width: 0;
}

.poker-address__icon {
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.poker-address h3,
.poker-address address {
  margin: 0;
}

.poker-summary {
  background: var(--color-lavande-pale);
}

.poker-summary__inner {
  max-width: 860px;
}

.poker-summary__rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-block-start: var(--space-6);
}

.poker-summary__row {
  display: grid;
  grid-template-columns: 3rem minmax(190px, 28%) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  min-width: 0;
  width: 100%;
  border-block-start: 1px solid var(--color-border);
  padding: var(--space-5) 0;
}

.poker-summary__row > * {
  min-width: 0;
  margin: 0;
}

.poker-summary__row--rose {
  margin-inline: calc(var(--space-4) * -1);
  padding-inline: var(--space-4);
  border-radius: var(--radius-card);
  background: rgb(240 211 209 / 58%);
}

.poker-summary__icon {
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.poker-summary__row p {
  max-width: 60ch;
}

.poker-closing__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 760px);
  min-width: 0;
  margin-inline: auto;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-7);
  overflow: hidden;
  text-align: center;
}

.poker-closing__panel > * {
  min-width: 0;
  margin: 0;
}

.poker-closing__panel::before {
  position: absolute;
  z-index: 0;
  width: 18rem;
  height: 12rem;
  border-radius: 50%;
  background: rgb(234 232 240 / 80%);
  content: "";
}

.poker-closing__panel::before {
  top: -7rem;
  left: -6rem;
}

.poker-closing__panel h2,
.poker-closing__panel p,
.poker-closing__actions,
.poker-closing__branch {
  position: relative;
  z-index: 1;
}

.poker-closing__panel p {
  max-width: 58ch;
}

.poker-closing__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.poker-closing__actions > * {
  min-width: 0;
}

.poker-closing__actions .button-link {
  min-width: 200px;
}

.poker-closing__branch {
  position: absolute;
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 3rem;
  opacity: 0.7;
}

.poker-closing__branch--left {
  bottom: var(--space-4);
  left: var(--space-5);
}

.poker-closing__branch--right {
  top: var(--space-4);
  right: var(--space-5);
  transform: rotate(180deg);
}

@media (max-width: 61.25rem) {
  .poker-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .poker-hero__content {
    max-width: 42rem;
  }

  .poker-hero__figure {
    justify-self: start;
    max-width: 650px;
  }
}

@media (max-width: 60rem) {
  .poker-gestures__feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-gestures__note {
    max-width: 42rem;
  }

  .poker-light__composition {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .poker-light__copy {
    position: static;
    order: 1;
    width: 100%;
    min-width: 0;
  }

  .poker-light__figure {
    order: 2;
  }
}

@media (max-width: 56.25rem) {
  .poker-table__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-table__card--linen {
    margin-block-start: 0;
  }

  .poker-gestures__captions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 53.125rem) {
  .poker-rhythm__panels {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-rhythm__panel p {
    max-width: 60ch;
  }
}

@media (max-width: 51.25rem) {
  .poker-summary__row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .poker-summary__row h3,
  .poker-summary__row p {
    grid-column: 2;
  }

  .poker-summary__row p {
    max-width: 60ch;
  }
}

@media (max-width: 48.75rem) {
  .poker-hospitality__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-hospitality__item--pale,
  .poker-hospitality__item--rose {
    margin-block-start: 0;
  }
}

@media (max-width: 47.5rem) {
  .poker-prepare__intro {
    max-width: 100%;
  }

  .poker-prepare__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-address {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 47.9375rem) {
  .poker-hero__content h1 {
    max-width: 20ch;
    font-size: clamp(2.375rem, 10vw, 2.75rem);
  }

  .poker-hero__lead {
    max-width: 40ch;
  }

  .poker-hero__actions {
    flex-direction: column;
  }

  .poker-hero__actions .button-link {
    width: 100%;
  }

  .poker-table__cards,
  .poker-gestures__captions {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-table__card p,
  .poker-gestures__caption p,
  .poker-hospitality__item h3,
  .poker-hospitality__item p {
    max-width: 40ch;
  }

  .poker-gestures__feature {
    gap: var(--space-5);
  }

  .poker-gestures__figure img {
    aspect-ratio: 4 / 3;
  }

  .poker-rhythm__heading {
    max-width: 100%;
  }

  .poker-rhythm__panel p {
    max-width: 40ch;
  }

  .poker-hospitality__item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-5);
  }

  .poker-light__figure img {
    aspect-ratio: 4 / 3;
  }

  .poker-light__copy {
    padding: var(--space-5);
  }

  .poker-light__copy p {
    max-width: 40ch;
  }

  .poker-prepare__card p {
    max-width: 40ch;
  }

  .poker-summary__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-5) 0;
  }

  .poker-summary__row h3,
  .poker-summary__row p {
    grid-column: 1;
  }

  .poker-summary__row--rose {
    margin-inline: 0;
    padding-inline: var(--space-5);
  }

  .poker-summary__row p {
    max-width: 40ch;
  }

  .poker-closing__panel {
    padding: var(--space-6) var(--space-5);
  }

  .poker-closing__panel p {
    max-width: 40ch;
  }

  .poker-closing__actions .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poker-hero__figure::before {
    animation: poker-wash-in 420ms ease-out both;
  }
}

@keyframes poker-wash-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
