/* ============================================================
   BOUCHERIE ARROUD — écran d'entrée : trois façons de commander
   ============================================================ */

:root {
  --ink: #15110f;
  --ink-2: #221b18;
  --bone: #f5f0e6;
  --muted: rgba(245, 240, 230, .66);
  --line: rgba(245, 240, 230, .14);
  --blood: #7a160f;
  --blood-2: #9e2216;
  --brass: #c09a5e;
  --ok: #7fd18b;
  --g: clamp(18px, 3.4vw, 48px);
  --f-display: "Gloock", Georgia, serif;
  --f-cond: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; background: var(--ink); color: var(--bone); font: 400 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* photo de fond très assombrie */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(.3); transform: scale(1.1); }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 0%, rgba(158, 34, 22, .35), transparent 60%), linear-gradient(180deg, rgba(21, 17, 15, .4), var(--ink) 75%); }

/* en-tête */
.hd { display: flex; align-items: center; gap: 20px; padding: 22px var(--g); }
.hd__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hd__mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--brass); color: var(--brass); font: 900 22px/1 var(--f-cond); }
.hd__word { font: 900 26px/1 var(--f-cond); text-transform: uppercase; letter-spacing: .04em; }
.hd__state { margin: 0 auto 0 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hd__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0a33a; }
.hd__state.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 209, 139, .15); }
.hd__link { font-size: 14px; font-weight: 600; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s; }
.hd__link:hover { border-color: var(--bone); }

/* titre */
.choose { max-width: 1400px; margin: 0 auto; padding: clamp(8px, 3vh, 36px) var(--g) 40px; }
.choose__title { margin: 0 0 clamp(20px, 4vh, 40px); font-weight: 400; }
.choose__title .ln { display: block; overflow: hidden; }
.choose__title .ln > span { display: inline-block; }
.choose__title .ln:first-child > span { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--f-display); color: var(--brass); margin-bottom: 10px; }
.ln--cond > span { font: 900 clamp(38px, 5vw, 84px)/.9 var(--f-cond); text-transform: uppercase; letter-spacing: -.005em; }

/* les trois choix */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.choice {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
  animation: enter 1.1s var(--ease) both;
}
.choice:nth-child(1) { animation-delay: .45s; }
.choice:nth-child(2) { animation-delay: .55s; }
.choice:nth-child(3) { animation-delay: .65s; }
@keyframes enter { from { opacity: 0; transform: translateY(60px); } }
.choice:hover { transform: translateY(-6px); border-color: rgba(192, 154, 94, .6); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.choice__visual { aspect-ratio: 16 / 8; overflow: hidden; background: #0b0908; }
.choice__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.choice:hover .choice__visual img { transform: scale(1.06); }
.choice__visual--lockers { display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #2c1512, #0b0908 70%); }
.choice__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.choice__tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--blood); color: #fff; }
.choice__tag--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.choice h2 { margin: 0; font: 900 clamp(32px, 2.8vw, 44px)/.95 var(--f-cond); text-transform: uppercase; }
.choice p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.choice__meta { font-size: 14.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.choice__meta b { color: var(--bone); }
.choice__go {
  position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bone); color: var(--ink); font-size: 22px; font-weight: 600;
  transform: scale(.8); opacity: 0; transition: .35s var(--ease);
}
.choice:hover .choice__go, .choice:focus-visible .choice__go { transform: none; opacity: 1; }

.choose__foot { margin: 28px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.choose__foot a { color: var(--muted); }

/* mur de casiers animé */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 4px; width: 76%; background: #000; border-radius: 4px; transform: perspective(1000px) rotateX(10deg); box-shadow: 0 30px 50px -20px #000; }
.locker { position: relative; aspect-ratio: 3 / 3.6; perspective: 600px; }
.locker__in { position: absolute; inset: 0; background: linear-gradient(#eef4f5, #c3cfd2); display: flex; align-items: flex-end; padding: 4px; }
.locker__in span { width: 100%; height: 45%; background: #ebe3d4; border-radius: 2px; }
.locker__door { position: absolute; inset: 0; transform-origin: 0 50%; transition: transform 1s var(--ease); background: linear-gradient(135deg, #8a1b13, #5a100b); display: flex; align-items: flex-end; justify-content: space-between; padding: 4px 5px; }
.locker__num { font: 700 clamp(10px, .9vw, 13px)/1 var(--f-cond); color: var(--brass); backface-visibility: hidden; }
.locker__led { width: 5px; height: 5px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 6px #ff5a3c; margin-bottom: 2px; backface-visibility: hidden; }
.locker.is-ready .locker__led { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.locker.is-open .locker__door { transform: rotateY(-105deg); }

@media (max-width: 960px) {
  .choices { grid-template-columns: 1fr; }
  .choice { flex-direction: row; }
  .choice__visual { width: 38%; aspect-ratio: auto; flex: none; }
  .choice__body { padding: 18px; }
  .choice__go { opacity: 1; transform: none; width: 38px; height: 38px; right: 12px; top: auto; bottom: 14px; font-size: 18px; }
  .choice p { font-size: 14.5px; }
  .hd__state { display: none; }
  .hd { justify-content: space-between; }
}
@media (max-width: 560px) {
  .choice { flex-direction: column; }
  .choice__visual { width: 100%; aspect-ratio: 16 / 7; }
  .choice__go { top: 12px; bottom: auto; }
  .hd__link { padding: 8px 12px; font-size: 13px; }
}
