/* À VÉRIFIER : couleurs — approximations from client.json, not an official brand guide. */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #3a3a3a;
  --line: #d6d6d6;
  --red: #cd1608;
  --red-hover: #9f1006;
  --gold: #c5a46a;
  --soft: #f4f4f4;
  --header: #ffffff;
  --focus: #111111;
  --link: #cd1608;
  --radius: 8px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --measure: 65ch;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f5;
    --paper: #111111;
    --muted: #d4d4d4;
    --line: #3a3a3a;
    --soft: #1c1c1c;
    --header: #111111;
    --focus: #ffffff;
    --link: #c5a46a;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-padding-top: 18rem;
  scroll-padding-bottom: 1.5rem;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

body {
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 0.9rem;
  max-width: var(--measure);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 8vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.01em;
  margin-top: 0;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a,
button {
  cursor: pointer;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 1rem;
  top: 0.5rem;
  z-index: 80;
  transform: translateY(-200%);
  min-height: 48px;
  min-width: 48px;
  padding: 0.6rem 1rem;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(68rem, calc(100% - 2rem - env(safe-area-inset-left) - env(safe-area-inset-right)));
  margin-inline: auto;
}

.demo {
  background: #c5a46a;
  color: #111111;
}

.demo p {
  max-width: none;
  margin: 0;
  padding: 0.7rem 0;
  color: #111111;
  font-size: 1rem;
  line-height: 1.4;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  padding-block: 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.header-call {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.5rem;
  row-gap: 0;
  min-height: 48px;
  max-width: 100%;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.nav-scroll {
  overflow: visible;
  padding-bottom: 0.35rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0 0 0.15rem;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  outline-offset: -3px;
}

.nav-list a[aria-current="page"] {
  font-weight: 800;
  box-shadow: inset 0 -3px 0 var(--ink);
}

.actions {
  flex: 1 0 100%;
  display: flex;
  gap: 8px;
  padding: 0 0 0.35rem;
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  user-select: none;
  transition: background-color 120ms ease-out, transform 120ms ease-out, border-color 120ms ease-out;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.actions .btn {
  flex: 1 1 auto;
  width: 100%;
}

.actions .btn-primary {
  background: var(--red);
  border-color: transparent;
  color: #ffffff;
}

a[href^="tel:"] {
  user-select: text;
}

.hero {
  background: #111111;
  color: #ffffff;
  border-bottom: 4px solid #c5a46a;
  padding: 1.35rem 0 1.6rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero p {
  color: #ffffff;
}

.hero .motto {
  color: #c5a46a;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

.slogan {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.ticket {
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 1.15rem;
  max-width: 26rem;
  position: relative;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 6px;
  background: #cd1608;
  border-radius: 0 2px 2px 0;
}

.ticket p,
.ticket .slot {
  color: #111111;
  max-width: none;
}

.ticket-k {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.ticket .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.hero .btn-ghost {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
  max-width: 26rem;
}

main {
  padding-bottom: 1rem;
}

main:focus {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}

.block {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.block > :last-child {
  margin-bottom: 0;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 1rem;
  padding: 1rem 0 0;
}

.crumbs a,
.crumbs [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
}

.crumbs a {
  font-weight: 700;
}

.lead {
  font-size: 1.125rem;
}

.paths,
.foot-links,
.social,
.plain,
.roster,
.people {
  list-style: none;
  margin: 0;
  padding: 0;
}

.paths a,
.foot-links a,
.social a,
a.more {
  display: flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  max-width: 100%;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.paths a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  max-width: 28rem;
}

.stack .btn {
  width: 100%;
}

.hours {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr);
  margin: 0 0 1rem;
  max-width: 36rem;
}

.hours dt,
.hours dd {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  font-weight: 700;
  padding-right: 0.75rem;
}

.hours dd {
  font-variant-numeric: tabular-nums;
}

.hours dd.mark {
  margin: 0.35rem 0;
  padding: 0.45rem 0.65rem;
  border: 1px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
}

.prices,
.benefits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 40rem;
}

.prices li,
.benefits li,
.news article {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.prices li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem;
}

.amount {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin: 0;
}

.option-name {
  font-weight: 700;
  margin: 0;
}

.roster li,
.people li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

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

.num {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.name {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pos,
.role {
  color: var(--muted);
}

.roster .slot,
.people .slot {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
}

.slot {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  max-width: none;
}

.ticket .slot {
  background: #f4f4f4;
  color: #111111;
  border-color: #111111;
}

.photo-slot {
  min-height: 7rem;
  display: flex;
  align-items: center;
}

.policy {
  font-weight: 700;
}

.news article h3 {
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
  max-width: var(--measure);
}

.social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  overflow-wrap: anywhere;
}

.hashtags {
  font-weight: 700;
}

@media (min-width: 768px) {
  .social {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .foot-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.5rem;
  }

  .stack {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }

  .stack .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 12rem;
    scroll-padding-bottom: 1.5rem;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .header-call {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .actions {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
  }

  .actions .btn {
    flex: 0 0 auto;
    width: auto;
  }

  .actions .btn-ghost,
  .actions .btn-secondary {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 26rem);
    grid-template-areas:
      "copy ticket"
      "rest ticket";
    column-gap: 2.5rem;
    row-gap: 0.5rem;
    align-items: start;
  }

  .hero-copy { grid-area: copy; }
  .hero .ticket { grid-area: ticket; }
  .hero-rest { grid-area: rest; }

  .foot-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.btn:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--red-hover);
  }

  .btn-secondary:hover {
    background: var(--soft);
  }

  .hero .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .paths a:hover,
  .nav-list a:hover {
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:active {
    transform: none;
  }
}

::selection {
  background: #c5a46a;
  color: #111111;
}
