/* Player atmosphere, derived from the original CONTE homepage. */
.brand { position: relative; isolation: isolate; }
.brand .brand-ghost { display: none; position: absolute; inset: 0; pointer-events: none; }
.footer-story { text-align: right; }
.footer-story small { display: block; margin-top: 6px; font-size: 12px; color: #97879e; }
.ui-icon { width: 24px; height: 24px; flex: none; vertical-align: middle; }
.player-ambient { display: none; }
.player-view { --green: #c4f4ae; background: #09070c; }
.player-view .player-ambient { display: block; position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.player-view { isolation: isolate; }
.ambient-halo { position: absolute; inset: -15%; background: radial-gradient(ellipse at 15% 20%, #64337b30, transparent 48%), radial-gradient(ellipse at 85% 75%, #4b27672b, transparent 44%), url('assets/conte-accueil.webp') center / cover; opacity: .22; filter: saturate(.65); animation: ambient-breathe 18s ease-in-out infinite alternate; }
.ambient-grain { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #cb9ff908 0 1px, transparent 1px 4px); opacity: .32; }
.ambient-dust { position: absolute; inset: 0; }
.ambient-dust i { position: absolute; left: var(--x); top: -20px; width: 4px; height: 12px; border-radius: 70% 20% 60% 40%; background: linear-gradient(#dfb0ff, #9460bf22); box-shadow: 0 0 12px #c280ef88; opacity: 0; animation: falling-dust var(--duration) linear var(--delay) infinite; }
.player-view .header, .player-view main, .player-view .footer { position: relative; }
.player-view .header { border-bottom-color: #c497e228; }
.player-view .brand .brand-ghost { display: block; opacity: 0; filter: drop-shadow(-2px 0 #e28cf4) drop-shadow(2px 0 #b0cfdd); animation: logo-echo 8.5s steps(1,end) infinite; }
.player-view .brand:hover .brand-ghost { animation-duration: 1.8s; }
.player-view nav a { transition: color .2s, text-shadow .2s; }
.player-view nav a:hover { color: #f1d6ff; text-shadow: 0 0 20px #c38ade80; }
.player-view .eyebrow { color: #d7a6f4; }
.player-view h1 { text-shadow: 0 0 35px #c497e21c; animation: title-haze 11s ease-in-out infinite; }
.glitch-text { position: relative; display: inline-block; }
.glitch-text::before, .glitch-text::after { content: attr(data-text) / ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.glitch-text::before { color: #d09aee; animation: title-echo 9s steps(1,end) infinite; }
.glitch-text::after { color: #c0e7d5; animation: title-echo 9s steps(1,end) .09s infinite reverse; }
.player-view .button { transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.player-view .button:active:not(:disabled) { transform: translateY(2px) scale(.985); }
.player-view .button.primary { background: linear-gradient(115deg,#d7a9ef,#b784d7); border-color: #e4baff80; box-shadow: 0 4px 25px #b879db20, inset 0 1px #ffffff38; }
.player-view .button.primary:hover:not(:disabled) { box-shadow: 0 5px 35px #bc7eeb50, inset 0 1px #ffffff70; transform: translateY(-2px); background: #dfb6f7; }
.player-view .button.primary .ui-icon { width: 20px; height: 20px; }
.player-view .field input:focus, .player-view .field select:focus { border-color: #c497e2; box-shadow: 0 0 0 4px #c497e211; }
.player-view .page-narrow > .panel, .player-view .reservation-card, .player-view .gate-panel { background: linear-gradient(135deg,#20142be8,#100c16f5); }
.player-view .page-narrow, .player-view .gate { animation: surface-arrive .55s ease-out both; }
.player-view dialog[open] { background: linear-gradient(135deg,#281734,#110d17); box-shadow: 0 15px 120px #9a54c52b; animation: surface-arrive .3s ease-out both; }
.player-view .success-mark { box-shadow: 0 0 32px #c4f4ae26; }
.booking-page { max-width: 1220px; margin: auto; }
.booking-intro { margin-bottom: 26px; }
.booking-intro .price { color: #eed6fa; font-variant-numeric: tabular-nums; font-size: 32px; }
.booking-flow { min-width: 0; }
.player-view .experience { height: 180px; border: 1px solid #b087c53b; border-radius: 10px; padding: 26px; background-image: linear-gradient(0deg,#100815ed, #10081545 75%),url('assets/conte-accueil.webp'); background-position: center 43%; box-shadow: inset 0 0 60px #0008, 0 18px 50px #0003; }
.player-view .experience::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg,transparent 30%,#c392e71c 49%,transparent 65%); background-size: 250% 100%; animation: light-drift 14s ease-in-out infinite; }
.player-view .experience h2 { position: relative; font-size: 28px; letter-spacing: -.025em; }
.facts { position: relative; gap: 12px 24px; }
.facts > span { display: inline-flex; align-items: center; gap: 7px; }
.facts .ui-icon { width: 17px; height: 17px; color: #d2b4e1; }
.booking-calendar { padding: 24px; border: 1px solid #c497e22c; background: linear-gradient(145deg,#1a1121e8,#110c18ef); border-radius: 10px; }
.calendar-head .actions { gap: 16px; }
.date { min-height: 91px; background: #09060d4d; transition: border-color .2s, background .2s, transform .2s; }
.date:hover:not(:disabled) { transform: translateY(-2px); border-color: #d2afe166; background: #b580d015; }
.date.selected { background: linear-gradient(145deg,#ac71cc26,#211529); position: relative; z-index: 1; border-color: #d9a6f5; box-shadow: inset 0 1px #e6c2fd38, 0 0 16px #bd72ed70, 0 0 34px #a750de35; }
.date i { font-size: 12px; }
.date .has-slots { color: var(--green); font-weight: 550; }
.date .count-short { display: none; }
.slots-heading { scroll-margin-top: 24px; }
.slots { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.slot { min-height: 113px; padding: 15px 7px 12px; border-color: #9a84aa42; background: linear-gradient(145deg,#24182f,#16101e); border-radius: 7px; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.slot strong { font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.slot:hover:not(:disabled) { transform: translateY(-3px); border-color: #cba8e1; box-shadow: 0 6px 20px #0006, 0 0 18px #bd7cdf17; }
.slot:active:not(:disabled) { transform: scale(.98); }
.slot.selected { background: linear-gradient(140deg,#62417380,#301b43); border-color: #dfb6f9; box-shadow: 0 0 0 1px #d8b4ed22, 0 0 25px #ad6bd326; }
.slot:disabled { opacity: .66; }
.slot .seat-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 10px 0 8px; }
.seat-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #93849e; flex: none; }
.seat-dot.available { background: var(--green); border-color: #e4ffce; box-shadow: 0 0 6px #c4f4ae85, 0 0 12px #b6ef9438; }
.seat-dot.occupied { background: #030205; border-color: #b4df9e; }
.slot .seat-label { margin: 0; color: #c4b5cd; font-size: 12px; }
.slot .slot-selected { position: absolute; top: 6px; right: 7px; color: #f1d8ff; line-height: 1; margin: 0; font-size: 12px; }
.seat-legend { display: flex; gap: 12px 20px; flex-wrap: wrap; margin: 16px 0 0; color: #b7aabc; font-size: 12px; }
.seat-legend > span { display: flex; align-items: center; gap: 7px; }
.slots-caption { margin: 12px 0 0; max-width: 900px; line-height: 1.65; }
.code-control { padding: 4px 0; }
.booking-calendar > .code-control { margin-top: 14px; padding-top: 12px; border-top: 1px solid #ffffff0d; }
.code-check { align-items: center; margin: 8px 0; cursor: pointer; font-size: 13px; gap: 8px; }
.code-check input { margin: 0; }
.code-check .ui-icon { width: 18px; height: 18px; color: var(--purple); }
#code-field { margin-top: 15px; animation: surface-arrive .22s ease-out; }
#code-field > label { margin-bottom: 7px; }
.code-entry { display: flex; flex-direction: row; gap: 9px; margin-bottom: 10px; max-width: 500px; }
.code-entry input { min-width: 0; flex: 1; }
.booking-checkout.summary { position: static; margin-top: 26px; padding: 30px; scroll-margin-top: 24px; border-color: #cda5e376; background: radial-gradient(ellipse at 0 0,#78429330,transparent 60%),linear-gradient(135deg,#21132ce8,#160f20f7); box-shadow: 0 0 60px #b879dd10; animation: checkout-arrive .4s ease-out both; }
.checkout-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #ffffff16; margin-bottom: 23px; }
.checkout-heading > .ui-icon { width: 38px; height: 38px; color: #d6afea; }
.checkout-heading .eyebrow { margin-bottom: 5px; }
.checkout-heading h2 { font-size: 28px; margin: 0; scroll-margin-top: 60px; }
.checkout-heading > .text-button { margin-left: auto; }
.checkout-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 42px; }
.booking-checkout form { margin-top: 0; min-width: 0; }
.checkout-selection { min-width: 0; }
.cart-line { padding: 4px 0 18px; margin-bottom: 18px; }
.cart-line > span { white-space: nowrap; }
.cart-line strong { font-size: 16px; font-weight: 550; }
.cart-line small { margin: 8px 0; line-height: 1.8; }
.cart-line .ui-icon { width: 15px; height: 15px; margin: 0 4px 2px 0; color: #c69edd; }
.checkout-note { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 22px; }
.checkout-note .ui-icon { width: 19px; height: 19px; margin-top: 2px; color: #d0a6e6; }
.booking-checkout .total { padding-top: 20px; border-top: 1px solid #ffffff14; align-items: center; }
.booking-checkout .total strong { color: #ecd4f8; font-size: 28px; }
.booking-checkout .check:not(.code-check) { line-height: 1.65; }
.booking-checkout .button.primary { min-height: 51px; }
.experience-levels { margin-top: 48px; }
.experience-levels > .eyebrow { margin-bottom: 8px; }
.experience-levels > h2 { font-size: 30px; margin-bottom: 22px; }
.meters { padding: 0; margin: 0; gap: 16px; border: 0; }
.level-card { padding: 25px 22px; background: linear-gradient(145deg,#271933d9,#17101eeb); border: 1px solid #bf94da35; border-radius: 9px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.level-card:hover { transform: translateY(-4px); border-color: #c399da6b; box-shadow: 0 8px 30px #0005; }
.level-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.level-top > .ui-icon { width: 44px; height: 44px; color: #d7afea; filter: drop-shadow(0 0 13px #ae72d050); }
.level-value { font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: #eedbf9; }
.level-value > span { font-size: 18px; color: #a894b5; letter-spacing: 0; margin-left: 3px; }
.level-card h3 { font-size: 22px; margin: 0 0 16px; }
.meter-track { gap: 6px; }
.meter-track i { height: 8px; border-radius: 2px; background: #060409; border: 1px solid #6c517c73; }
.meter-track i.on { background: linear-gradient(90deg,#ab72c9,#e0b9f4); border-color: #c797e4; box-shadow: 0 0 12px #b783d629; }
.level-card h4 { font-size: 15px; line-height: 1.5; font-weight: 550; margin: 22px 0 9px; }
.level-card p { font-size: 14px; line-height: 1.75; color: #c0afcb; margin: 0; }
.practical-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.practical-card { display: flex; align-items: flex-start; gap: 17px; border: 1px solid #b290c52b; padding: 23px; border-radius: 8px; background: #110c18bf; }
.practical-card > .ui-icon { color: #bd9acf; width: 28px; height: 28px; }
.practical-card h3 { margin: 2px 0 9px; font-size: 17px; }
.practical-card p { margin: 0; font-size: 14px; line-height: 1.75; color: #b9a8c3; }
.player-view .footer { padding-top: 30px; padding-bottom: 32px; }
@keyframes falling-dust { 0% { opacity: 0; transform: translate3d(0,-20px,0) rotate(0); } 12% { opacity: .65; } 75% { opacity: .42; } 100% { opacity: 0; transform: translate3d(var(--drift),110vh,0) rotate(260deg) scale(.25); } }
@keyframes ambient-breathe { from { transform: scale(1) translate(-1%,0); opacity: .15; } to { transform: scale(1.04) translate(1%,1%); opacity: .28; } }
@keyframes light-drift { 0%,100% { background-position: 100% 50%; opacity: .2; } 50% { background-position: 0% 50%; opacity: .85; } }
@keyframes title-haze { 0%,86%,100% { text-shadow: 0 0 35px #c497e21c; } 89%,93% { text-shadow: 2px 0 #c497e244,-2px 0 #aad5cc22,0 0 32px #c497e250; } }
@keyframes logo-echo { 0%,86%,91%,100% { opacity: 0; transform: none; clip-path: inset(0); } 87% { opacity: .8; transform: translate(4px,-1px); clip-path: inset(20% 0 45%); } 89% { opacity: .6; transform: translate(-3px,1px); clip-path: inset(68% 0 8%); } }
@keyframes title-echo { 0%,89%,94%,100% { opacity: 0; transform: none; clip-path: inset(0); } 90% { opacity: .7; transform: translate(-3px,0); clip-path: inset(18% 0 64%); } 92% { opacity: .5; transform: translate(3px,0); clip-path: inset(64% 0 18%); } }
@keyframes surface-arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes checkout-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:1000px) {
  .slots { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .meters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .checkout-columns { gap: 26px; }
  .booking-checkout.summary { padding: 25px; }
}
@media (max-width:760px) {
  .booking-intro { position: relative; align-items: start; }
  .booking-intro h1 { font-size: clamp(29px,6vw,39px); }
  .booking-intro .price { font-size: 23px; padding-top: 26px; }
  .booking-intro .muted { font-size: 14px; line-height: 1.6; }
  .player-view .experience { height: 175px; padding: 20px; }
  .player-view .experience h2 { font-size: 25px; }
  .facts { font-size: 12px; gap: 8px 16px; }
  .booking-calendar { padding: 18px 14px; }
  .date { min-height: 85px; }
  .date i { font-size: 12px; }
  .date .count-long { display: none; }
  .date .count-short { display: inline; }
  .slots { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .slot { padding: 14px 5px 12px; min-height: 108px; }
  .slot strong { font-size: 23px; }
  .slot .seat-dots { gap: 4px; }
  .seat-dot { width: 10px; height: 10px; }
  .slots-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .slots-heading h3 { font-size: 16px; }
  .code-check { font-size: 12px; gap: 7px; }
  .code-check .ui-icon { display: none; }
  .checkout-columns { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .booking-checkout.summary { padding: 22px 18px; }
  .checkout-heading { gap: 13px; flex-wrap: wrap; }
  .checkout-heading h2 { font-size: 25px; }
  .checkout-heading > .text-button { margin-left: 50px; text-align: left; }
  .checkout-heading > .ui-icon { width: 32px; height: 32px; }
  .checkout-note { margin: 15px 0; }
  .booking-checkout .fields { grid-template-columns: minmax(0,1fr); gap: 0; }
  .experience-levels { margin-top: 37px; }
  .experience-levels > h2 { font-size: 27px; }
  .meters { gap: 12px; }
  .level-card { padding: 20px 16px; }
  .level-top { margin-bottom: 15px; }
  .level-top > .ui-icon { width: 36px; height: 36px; }
  .level-value { font-size: 38px; }
  .level-value > span { font-size: 15px; }
  .level-card h3 { font-size: 20px; }
  .practical-cards { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .practical-card { padding: 21px 18px; }
  .footer-story { text-align: left; }
  .player-view .footer { gap: 14px; font-size: 12px; }
  .ambient-dust i:nth-child(even) { display: none; }
}
@media (max-width:420px) {
  .booking-intro { display: block; }
  .booking-intro .price { padding-top: 16px; font-size: 25px; display: flex; align-items: baseline; gap: 9px; }
  .booking-intro .price span { font-size: 12px; }
  .booking-calendar { padding: 16px 10px; }
  .date i { font-size: 11px; }
  .date { padding-inline: 1px; }
  .seat-dot { width: 9px; height: 9px; }
  .slot .seat-dots { gap: 3px; }
  .slot .seat-label { font-size: 11px; }
  .meters { grid-template-columns: minmax(0,1fr); }
  .level-card { padding: 24px; }
  .level-top > .ui-icon { width: 45px; height: 45px; }
  .level-value { font-size: 45px; }
}
@media (prefers-reduced-motion:reduce) {
  .player-view *, .player-view *::before, .player-view *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ambient-dust, .brand .brand-ghost, .glitch-text::before, .glitch-text::after { display: none !important; }
  .slot:hover:not(:disabled), .date:hover:not(:disabled), .level-card:hover, .player-view .button.primary:hover:not(:disabled) { transform: none; }
}
