:root {
  color-scheme: light;
  --cream: #fff5e9;
  --ink: #2c1014;
  --wine: #5c0714;
  --gold: #f3c82d;
  --white: #fff9ef;
  --night: #26070a;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--page-ink, var(--white));
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.tariff-page {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  background: var(--page-bg);
  background-attachment: fixed;
}

.tariff-page::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.82;
  background: var(--texture, none);
}

.tariff-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: var(--lights, none);
}

.tariff-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 840px);
  margin: 0 auto;
  padding: 42px 22px 54px;
  text-align: center;
}

.tariff-title,
.tariff-day,
.tariff-quote,
.tariff-heading,
.tariff-price,
.tariff-contact strong {
  font-family: Georgia, "Times New Roman", serif;
}

.tariff-title,
.tariff-day,
.tariff-quote,
.tariff-heading,
.tariff-price,
.tariff-contact,
.tariff-details p {
  margin: 0;
}

.tariff-title {
  color: var(--title, var(--wine));
  font-size: 5.4rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
  white-space: nowrap;
}

.tariff-subtitle {
  margin: 17px auto 0;
  color: var(--subtitle, var(--wine));
  font-size: clamp(0.98rem, 3.9vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.22;
  text-transform: uppercase;
}

.tariff-day {
  margin-top: 50px;
  color: var(--title, var(--wine));
  font-size: clamp(2rem, 7.6vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
}

.tariff-note {
  margin: 12px 0 0;
  color: var(--page-ink, var(--ink));
  font-size: clamp(1rem, 3.9vw, 1.34rem);
  line-height: 1.34;
}

.tariff-times {
  margin: 30px 0 0;
  color: var(--page-ink, var(--ink));
  font-size: clamp(1.48rem, 5.8vw, 2.25rem);
  font-weight: 750;
  line-height: 1.23;
}

.tariff-location {
  margin: 32px 0 0;
  color: var(--location, var(--wine));
  font-size: clamp(1.08rem, 4.3vw, 1.58rem);
  font-weight: 700;
  line-height: 1.3;
}

.tariff-location span {
  display: block;
  font-weight: 400;
}

.tariff-level {
  margin: 28px 0 0;
  color: var(--accent, var(--wine));
  font-size: clamp(1.08rem, 4.2vw, 1.48rem);
  font-weight: 750;
  line-height: 1.25;
}

.tariff-rule {
  width: min(100%, 570px);
  height: 2px;
  margin: 38px auto;
  border: 0;
  background: var(--rule, var(--wine));
}

.tariff-heading {
  color: var(--accent, var(--wine));
  font-size: clamp(2.35rem, 8vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.tariff-list {
  display: grid;
  gap: 26px;
  margin: 26px auto 0;
}

.tariff-price {
  color: var(--title, var(--wine));
  font-size: clamp(1.5rem, 5.7vw, 2.25rem);
  font-weight: 600;
  line-height: 1.14;
}

.tariff-price strong {
  color: var(--accent, var(--wine));
}

.tariff-details {
  display: grid;
  gap: 3px;
  margin: 6px auto 0;
  color: var(--page-ink, var(--ink));
  font-size: clamp(0.98rem, 3.7vw, 1.26rem);
  line-height: 1.28;
}

.tariff-contact {
  margin-top: 52px;
  color: var(--accent, var(--wine));
  font-size: clamp(1.72rem, 6.2vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
}

.tariff-contact span,
.tariff-contact a {
  display: block;
  color: var(--page-ink, var(--ink));
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.53em;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.tariff-contact span {
  margin-top: 14px;
}

.tariff-contact a {
  font-size: 1em;
}

.tariff-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid currentColor;
  color: var(--action, var(--wine));
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.tariff-action:hover,
.tariff-action:focus-visible {
  background: var(--action, var(--wine));
  color: var(--action-text, var(--cream));
  outline: none;
}

.lundi-tariff {
  --page-bg:
    linear-gradient(rgba(255, 249, 240, 0.08), rgba(238, 204, 176, 0.1)),
    url("../assets/backgrounds/tarifs-lundi-v2.png") center top / cover no-repeat;
  --texture: linear-gradient(100deg, rgba(255, 255, 255, 0.04), transparent 42%, rgba(92, 7, 20, 0.025));
  --page-ink: #251319;
  --title: #5c0714;
  --subtitle: #5c0714;
  --accent: #5c0714;
  --location: #5c0714;
  --rule: rgba(92, 7, 20, 0.34);
  --action: #5c0714;
  --action-text: #fff5e9;
  --lights: linear-gradient(to bottom, transparent 0 68%, rgba(255, 250, 236, 0.08));
}

.samedi-tariff,
.dimanche-tariff {
  --page-ink: #fff9ef;
  --title: #fff9ef;
  --subtitle: #fff9ef;
  --accent: #f3c82d;
  --location: #fff9ef;
  --rule: rgba(243, 200, 45, 0.82);
  --action: #f3c82d;
  --action-text: #3a0a08;
}

.samedi-tariff {
  --page-bg: url("../assets/backgrounds/arr-plan-samedi-web.png") center top / cover no-repeat;
  --texture: none;
  --lights: none;
}

.dimanche-tariff {
  --page-bg: url("../assets/backgrounds/arr-plan-dimanche-web.png") center top / cover no-repeat;
  --texture: none;
  --lights: none;
}

/* The supplied Sunday background is brightest through the pricing area. */
.dimanche-tariff .tariff-level,
.dimanche-tariff .tariff-heading,
.dimanche-tariff .tariff-price strong {
  color: #7d3200;
  text-shadow: 0 1px 0 rgba(255, 236, 186, 0.38);
}

.samedi-tariff .tariff-shell,
.dimanche-tariff .tariff-shell {
  text-shadow: 0 2px 16px rgba(27, 5, 3, 0.32);
}

.samedi-tariff .tariff-title,
.dimanche-tariff .tariff-title {
  text-shadow: 0 4px 24px rgba(35, 5, 4, 0.26);
}

@media (max-width: 699px) {
  .tariff-page {
    background-attachment: scroll;
  }

  .tariff-page::before,
  .tariff-page::after {
    position: absolute;
    min-height: 100%;
  }
}

.samedi-tariff .tariff-title,
.samedi-tariff .tariff-heading,
.samedi-tariff .tariff-price,
.dimanche-tariff .tariff-title,
.dimanche-tariff .tariff-heading,
.dimanche-tariff .tariff-price {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.samedi-tariff .tariff-title,
.dimanche-tariff .tariff-title {
  white-space: nowrap;
}

.samedi-tariff .tariff-title {
  font-size: 6.4rem;
}

.dimanche-tariff .tariff-title {
  font-size: 5.7rem;
}

.samedi-tariff .tariff-subtitle,
.dimanche-tariff .tariff-subtitle {
  font-size: clamp(1.1rem, 4.4vw, 1.78rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.samedi-tariff .tariff-day,
.dimanche-tariff .tariff-day {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2.05rem, 7.6vw, 4.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.samedi-tariff .tariff-note,
.samedi-tariff .tariff-location,
.samedi-tariff .tariff-times,
.samedi-tariff .tariff-level,
.dimanche-tariff .tariff-note,
.dimanche-tariff .tariff-location,
.dimanche-tariff .tariff-times,
.dimanche-tariff .tariff-level {
  font-family: "Arial Narrow", Arial, sans-serif;
}

.samedi-tariff .tariff-contact,
.dimanche-tariff .tariff-contact {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  .tariff-shell {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .tariff-list {
    gap: 31px;
  }
}

@media (max-width: 699px) {
  .tariff-title {
    font-size: 2.75rem;
  }

  .samedi-tariff .tariff-title {
    font-size: 3.1rem;
  }

  .dimanche-tariff .tariff-title {
    font-size: 2.5rem;
  }
}
