.reservation-page {
  overflow: hidden;
}

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

.reservation-hero {
  overflow: hidden;
  padding-block-start: clamp(4rem, 8vw, 7.5rem);
}

.reservation-hero::before {
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: -6rem;
  width: min(38vw, 32rem);
  height: 22rem;
  border-radius: 48% 52% 42% 58%;
  background: var(--color-lavande-pale);
  content: "";
  opacity: 0.72;
}

.reservation-hero__layout {
  display: grid;
  grid-template-columns: minmax(26.25rem, 5fr) minmax(31.25rem, 7fr);
  align-items: center;
  gap: var(--space-7);
}

.reservation-hero__layout > * {
  min-width: 0;
  width: 100%;
}

.reservation-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: var(--space-5);
}

.reservation-hero__copy > * {
  min-width: 0;
  margin: 0;
}

.reservation-hero__eyebrow,
.reservation-form-section__eyebrow,
.reservation-steps__eyebrow,
.reservation-prep__eyebrow,
.reservation-meal__eyebrow,
.reservation-poker__eyebrow,
.reservation-location__eyebrow {
  color: var(--color-olive-doux);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.reservation-hero h1 {
  max-width: 25ch;
  margin: 0;
}

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

.reservation-hero__lead::after {
  display: block;
  width: 8rem;
  height: 1px;
  margin-block-start: var(--space-5);
  background: var(--color-terre-douce);
  content: "";
}

.reservation-hero__actions {
  width: 100%;
}

.reservation-hero__poker-note {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  width: min(100%, 34rem);
  gap: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-lavande-pale);
  padding: var(--space-4);
}

.reservation-hero__poker-note p,
.reservation-hero__poker-note .reservation-icon {
  margin: 0;
}

.reservation-hero__poker-note p {
  max-width: 60ch;
  font-size: var(--text-sm);
  line-height: var(--leading-meta);
}

.reservation-icon,
.reservation-prep__icon,
.reservation-contact-card__icon {
  color: var(--color-olive-profond);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1;
}

.reservation-hero__media {
  width: 100%;
  max-width: 100%;
  margin: var(--space-6) 0 0;
}

.reservation-hero__media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-panel);
  object-fit: cover;
  object-position: 68% center;
  box-shadow: var(--shadow-soft);
}

.reservation-hero__media figcaption {
  margin-block-end: 0;
}

.reservation-form-section {
  background: rgb(220 221 232 / 45%);
}

.reservation-form-section::before {
  position: absolute;
  top: 1.5rem;
  right: 8%;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgb(184 157 131 / 55%);
  border-radius: 60% 40% 53% 47%;
  content: "";
  opacity: 0.55;
}

.reservation-form-section__heading {
  width: 100%;
  max-width: 42rem;
  margin-block-end: var(--space-6);
}

.reservation-form-section__heading p:last-child {
  max-width: 66ch;
  margin-block-end: 0;
}

.reservation-form-panel {
  width: min(100%, 61.25rem);
  margin-inline: auto;
  border-color: var(--color-border);
  background: var(--color-blanc-lin);
}

.reservation-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-6);
}

.reservation-form > * {
  min-width: 0;
  margin: 0;
}

.reservation-form__intro,
.reservation-form__identity {
  width: 100%;
  max-width: 42.5rem;
}

.reservation-form__intro h3,
.reservation-form__intro p,
.reservation-form__identity h3,
.reservation-form__identity p {
  margin: 0;
}

.reservation-form__intro,
.reservation-form__identity {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.reservation-form__intro p,
.reservation-form__identity p {
  max-width: 66ch;
}

.reservation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: var(--space-5);
}

.reservation-form__grid > * {
  min-width: 0;
  width: 100%;
}

.reservation-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-1);
}

.reservation-field label {
  margin: 0;
}

.reservation-field input,
.reservation-field select,
.reservation-field textarea {
  min-height: 48px;
}

.reservation-field--phone {
  grid-column: 1 / 2;
}

.reservation-field--message {
  grid-column: 1 / -1;
}

.reservation-field__optional {
  color: var(--color-olive-doux);
  font-size: var(--text-xs);
  font-weight: 400;
}

.reservation-field__error {
  display: none;
  color: var(--color-olive-profond);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-meta);
}

.reservation-field--invalid input,
.reservation-field--invalid select,
.reservation-field--invalid textarea {
  border-color: var(--color-focus);
  background: var(--color-rose-poudre-clair);
}

.reservation-field--invalid .reservation-field__error,
.reservation-consent--invalid .reservation-field__error {
  display: block;
}

.reservation-form__submit-area {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-5);
  border-block-start: 1px solid var(--color-border);
  padding-block-start: var(--space-5);
}

.reservation-consent {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  min-width: 0;
  width: min(100%, 36rem);
  gap: var(--space-2) var(--space-3);
}

.reservation-consent input {
  width: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin-block-start: 0.25rem;
  accent-color: var(--color-olive-profond);
}

.reservation-consent label {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 400;
}

.reservation-consent .reservation-field__error {
  grid-column: 2;
}

.reservation-form__action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 12rem;
  width: auto;
  gap: var(--space-3);
}

.reservation-form__status {
  display: none;
  max-width: 22rem;
  border-radius: var(--radius-control);
  font-size: var(--text-sm);
  line-height: var(--leading-meta);
}

.reservation-form__status.is-visible {
  display: block;
  border: 1px solid var(--color-border);
  background: var(--color-lavande-pale);
  padding: var(--space-3);
}

.reservation-form__status.is-error {
  border-color: rgb(185 120 128 / 35%);
  background: var(--color-error-background);
}

.reservation-steps__heading {
  width: 100%;
  max-width: 42rem;
  margin-block-end: var(--space-6);
}

.reservation-steps__heading h2 {
  margin-block-end: 0;
}

.reservation-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  gap: var(--space-5);
}

.reservation-steps__grid > * {
  min-width: 0;
  width: 100%;
}

.reservation-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-3);
}

.reservation-step > * {
  min-width: 0;
  margin: 0;
}

.reservation-step--featured {
  transform: translateY(-1rem);
}

.reservation-step__number {
  color: var(--color-terre-douce);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.reservation-step p {
  max-width: 50ch;
}

.reservation-prep {
  overflow: hidden;
}

.reservation-prep__heading {
  width: 100%;
  max-width: 43rem;
  margin-block-end: var(--space-6);
}

.reservation-prep__heading p:last-child {
  max-width: 62ch;
  margin-block-end: 0;
}

.reservation-prep__grid {
  display: grid;
  grid-template-columns: minmax(0, 28fr) minmax(0, 32fr) minmax(21.875rem, 40fr);
  align-items: end;
  width: 100%;
  gap: var(--space-5);
}

.reservation-prep__grid > * {
  min-width: 0;
  width: 100%;
}

.reservation-prep__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-3);
  min-height: 100%;
}

.reservation-prep__card > * {
  min-width: 0;
  margin: 0;
}

.reservation-prep__card p {
  max-width: 55ch;
}

.reservation-prep__link,
.reservation-poker__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin-block-start: auto;
}

.reservation-meal {
  background: rgb(234 232 240 / 38%);
}

.reservation-meal__layout {
  display: grid;
  grid-template-columns: minmax(24.375rem, 5fr) minmax(32.5rem, 7fr);
  align-items: center;
  width: 100%;
  gap: var(--space-7);
}

.reservation-meal__layout > * {
  min-width: 0;
  width: 100%;
}

.reservation-meal__copy {
  width: 100%;
}

.reservation-meal__copy p:last-child {
  max-width: 68ch;
  margin-block-end: 0;
}

.reservation-meal__media-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  padding-block-end: 4.5rem;
}

.reservation-meal__media {
  width: 100%;
  margin: 0;
}

.reservation-meal__media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-panel);
  object-fit: cover;
  object-position: 68% center;
}

.reservation-meal__note {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  width: clamp(16.875rem, 46%, 20.625rem);
  min-width: 0;
  background: var(--color-rose-poudre-clair);
}

.reservation-meal__note h3,
.reservation-meal__note p {
  margin: 0;
}

.reservation-meal__note {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.reservation-meal__note p {
  max-width: 48ch;
}

.reservation-poker__heading {
  width: 100%;
  max-width: 43rem;
  margin-block-end: var(--space-6);
}

.reservation-poker__heading h2 {
  margin-block-end: 0;
}

.reservation-poker__layout {
  display: grid;
  grid-template-columns: minmax(30rem, 1fr) minmax(25rem, 1fr);
  align-items: start;
  width: 100%;
  gap: var(--space-7);
}

.reservation-poker__layout > * {
  min-width: 0;
  width: 100%;
}

.reservation-poker__media {
  margin: 0;
}

.reservation-poker__media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-panel);
  object-fit: cover;
}

.reservation-poker__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-4);
}

.reservation-poker__copy > * {
  min-width: 0;
  margin: 0;
}

.reservation-poker__copy > p {
  max-width: 64ch;
}

.reservation-poker__clarification {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-lavande-pale);
  padding: var(--space-5);
}

.reservation-poker__clarification > * {
  min-width: 0;
  margin: 0;
}

.reservation-poker__clarification p {
  max-width: 52ch;
}

.reservation-location {
  background: rgb(220 221 232 / 42%);
}

.reservation-location__heading {
  width: 100%;
  max-width: 43rem;
  margin-block-end: var(--space-6);
}

.reservation-location__heading h2 {
  margin-block-end: 0;
}

.reservation-location__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(20rem, 5fr);
  align-items: stretch;
  width: 100%;
  gap: var(--space-5);
}

.reservation-location__layout > * {
  min-width: 0;
  width: 100%;
}

.reservation-address {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-4);
}

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

.reservation-address__label {
  color: var(--color-olive-doux);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reservation-address h3 {
  max-width: 38ch;
  font-size: var(--text-xl);
}

.reservation-address p:last-child {
  max-width: 52ch;
}

.reservation-contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  gap: var(--space-4);
}

.reservation-contact-cards > * {
  min-width: 0;
  width: 100%;
}

.reservation-contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-2);
}

.reservation-contact-card > * {
  min-width: 0;
  margin: 0;
}

.reservation-contact-card p {
  max-width: 52ch;
}

.reservation-contact-card .text-link {
  overflow-wrap: anywhere;
}

.reservation-final {
  padding-block-start: var(--space-8);
}

.reservation-final__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: min(100%, 42.5rem);
  margin-inline: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: var(--color-rose-poudre-clair);
  padding: var(--space-7);
  text-align: center;
  gap: var(--space-4);
}

.reservation-final__panel > * {
  min-width: 0;
  margin: 0;
}

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

.reservation-final__panel p {
  max-width: 58ch;
}

@media (max-width: 67.5rem) {
  .reservation-hero__layout {
    grid-template-columns: minmax(0, 5fr) minmax(31.25rem, 7fr);
    gap: var(--space-6);
  }

  .reservation-hero__media {
    margin-block-start: 0;
  }
}

@media (max-width: 64rem) {
  .reservation-meal__layout {
    gap: var(--space-6);
  }

  .reservation-poker__layout {
    gap: var(--space-6);
  }
}

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

  .reservation-hero__media {
    max-width: 42.5rem;
    margin-block-start: 0;
  }

  .reservation-meal__media-wrap {
    max-width: 42.5rem;
  }

  .reservation-prep__grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
}

@media (max-width: 56.25rem) {
  .reservation-steps__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .reservation-step--featured {
    transform: none;
  }

  .reservation-step p {
    max-width: 58ch;
  }
}

@media (max-width: 53.75rem) {
  .reservation-poker__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .reservation-poker__media {
    max-width: 100%;
  }
}

@media (max-width: 52.5rem) {
  .reservation-location__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 47.5rem) {
  .reservation-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .reservation-field--phone,
  .reservation-field--message {
    grid-column: auto;
  }

  .reservation-form__submit-area {
    flex-direction: column;
    align-items: stretch;
  }

  .reservation-consent,
  .reservation-form__action {
    width: 100%;
  }

  .reservation-form__status {
    max-width: none;
  }

  .reservation-form__action .button {
    width: 100%;
  }
}

@media (max-width: 45rem) {
  .reservation-hero::before,
  .reservation-form-section::before {
    display: none;
  }

  .reservation-hero {
    padding-block-start: var(--space-7);
  }

  .reservation-hero__copy {
    gap: var(--space-4);
  }

  .reservation-hero h1 {
    max-width: 100%;
    font-size: 2.375rem;
  }

  .reservation-hero__lead {
    max-width: 100%;
    font-size: var(--text-lg);
  }

  .reservation-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .reservation-hero__actions > * {
    width: 100%;
    min-height: 48px;
  }

  .reservation-hero__poker-note {
    width: 100%;
  }

  .reservation-form-section__heading,
  .reservation-steps__heading,
  .reservation-prep__heading,
  .reservation-poker__heading,
  .reservation-location__heading {
    margin-block-end: var(--space-5);
  }

  .reservation-form-panel {
    padding: var(--space-5);
  }

  .reservation-meal__media-wrap {
    padding-block-end: 0;
  }

  .reservation-meal__note {
    position: static;
    width: 100%;
    margin-block-start: var(--space-5);
  }

  .reservation-final__panel {
    width: 100%;
    padding: 1.75rem var(--space-5);
  }

  .reservation-final__panel .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reservation-step--featured {
    transform: none;
  }
}
