/* Pages publiques — reprises du site webatas.fr (site.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--red-link); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.site-header { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; min-height: 86px; }
.site-header img { height: 58px; width: auto; max-width: 220px; object-fit: contain; }
.site-header .name { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none; }
.hero { padding-top: 72px; padding-bottom: 88px; text-align: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.h-page { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 88px); line-height: .95; margin: 18px 0 0; color: var(--accent); }
.lead { font-size: 20px; color: var(--muted); max-width: 52ch; margin: 16px auto 0; }
.contact { margin-top: 28px; color: var(--text-2); font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; font-family: inherit; }
.btn-red { background: var(--accent); color: #fff; } .btn-red:hover { background: var(--accent-hover); color: #fff; }
.btn-out { background: #fff; color: var(--ink); border-color: var(--line-2); } .btn-out:hover { border-color: var(--ink); color: var(--ink); }
.list { list-style: none; padding: 0; margin: 32px auto 0; max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.list a { display: block; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.list a:hover { border-color: var(--accent); }
.site-footer { background: var(--bg); border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 14px; padding: 24px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--text-2); }

/* ---------- Programme du théâtre : texte à gauche, carte « Dates et tarifs » à droite ---------- */
.show { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
.show + .show { border-top: 1px solid var(--line-soft); }
.show-main { min-width: 0; }
.h-show { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; color: var(--accent); margin: 14px 0 0; text-wrap: balance; overflow-wrap: anywhere; }
.credits { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0; padding: 0; font-size: 15px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 600; }
.poster { display: block; width: 100%; max-width: 320px; height: auto; margin-top: 24px; border-radius: 14px; box-shadow: 0 14px 36px rgba(28, 27, 26, .16); }
.summary { margin-top: 20px; max-width: 62ch; font-size: 16.5px; color: var(--text-2); }
.summary p { margin: 0 0 12px; }
.show-side { position: sticky; top: 20px; }
.side-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--white); box-shadow: 0 6px 24px rgba(28, 27, 26, .06); }
.side-notice { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; line-height: 1.45; }
.side-notice strong { font-size: 15px; }
.side-notice a { color: var(--accent-dark); font-weight: 600; }
.side-intro { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.side-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.perf-list { list-style: none; margin: 0; padding: 0; }
.perf { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; font-size: 15px; }
.perf-list li:last-child .perf { border-bottom: 0; }
.perf .d { font-weight: 600; }
.perf .t { font-variant-numeric: tabular-nums; color: var(--text-2); }
.perf .r { font-size: 13px; font-weight: 600; color: var(--muted); }
.perf.bookable .r { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.perf.bookable:hover .d { color: var(--accent); }
.perf.full { opacity: .5; }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 2px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.prices li:last-child { border-bottom: 0; }
.prices li small { display: block; color: var(--muted); font-size: 13px; }
.prices li > span small { display: block; margin: 1px 0 0 17px; }
.prices b { font-size: 16px; white-space: nowrap; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
@media (max-width: 600px) {
  .site-header .name { font-size: 22px; }
  .site-header .lk { white-space: nowrap; font-size: 15px; }
}
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 48px; }
  .show-side { position: static; }
}

/* Choix de la date (échange de billet) */
.notice { margin: 24px 0 8px; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-dark); font-size: 16px; line-height: 1.5; }
.notice a { color: var(--accent-dark); font-weight: 600; }
.h-sub { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin: 28px 0 12px; }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.date-chip { padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); }
.date-chip b { display: block; font-size: 15px; font-weight: 600; }
.date-chip .t { display: block; font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--accent); }
.date-chip .r { display: block; font-size: 13px; font-weight: 600; color: var(--accent-dark); }
.date-chip.full { opacity: .55; }

/* ---------- Billets à l'écran ---------- */
.tickets-page { padding-top: 40px; padding-bottom: 64px; }
.lead-sm { color: var(--muted); margin: 8px 0 24px; }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.ticket { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 20px; border: 1.5px solid var(--line-2); border-left: 8px solid var(--accent); border-radius: var(--radius); background: #fff; }
.ticket h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; margin: 0 0 8px; }
.ticket p { margin: 2px 0; font-size: 15px; }
.ticket .when { font-weight: 600; }
.ticket .seat { font-size: 18px; font-weight: 700; margin-top: 10px; }
.ticket .proof { color: var(--accent-dark); font-weight: 600; }
.ticket-qr { flex: 0 0 150px; width: 150px; }
.ticket-qr svg { width: 100%; height: auto; display: block; }
@media (max-width: 520px) { .ticket { flex-direction: column; align-items: stretch; } .ticket-qr { width: 200px; flex-basis: auto; margin: 0 auto; } }

/* ---------- Réservation en ligne ---------- */
.site-header.slim .wrap { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.site-header.slim img { height: 44px; }
.lk { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.buy { padding-top: 24px; padding-bottom: 56px; }
.crumb { font-size: 14px; margin: 0 0 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.buy-head { display: flex; gap: 14px; align-items: center; }
.poster-xs { width: 56px; height: 76px; object-fit: cover; border-radius: 8px; }
.h-buy { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 7vw, 52px); line-height: 1; margin: 0; color: var(--ink); }
.when { margin: 4px 0 0; color: var(--text-2); font-weight: 600; }
.buy-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 18px 0; font-size: 13px; font-weight: 600; color: var(--faint); }
.buy-steps li { padding: 6px 12px; border-radius: 999px; background: var(--bg); }
.buy-steps li.on { background: var(--accent); color: #fff; }
.buy-steps li.done { background: var(--accent-soft); color: var(--accent-dark); }
.buy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
@media (max-width: 860px) { .buy-layout { grid-template-columns: 1fr; } }
.buy-plan .plan-wrap { margin-top: 0; }
.buy-box { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: 18px; }
.buy-box h2 { font-size: 18px; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; }
.sel-badge b { display: inline-flex; min-width: 28px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; align-items: center; justify-content: center; font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; margin: 6px 0; }
.empty { color: var(--muted); margin: 8px 0; }
.err-msg { color: #8A1414; font-weight: 600; font-size: 14px; }
.flash { padding: 12px 16px; border-radius: 12px; font-weight: 600; margin: 0 0 14px; }
.flash.err { background: #FDECEC; color: #8A1414; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; }
.fld { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.fld:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
select.fld { -webkit-appearance: none; appearance: none; padding-right: 32px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231C1B1A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; }
.fld-sm { min-height: 38px; padding: 6px 10px; font-size: 15px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.tool-row { display: flex; gap: 8px; align-items: center; }
.best .fld { flex: 0 0 64px; width: 64px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text-2); border: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; }
.countdown { background: var(--accent-soft); color: var(--accent-dark); padding: 10px 14px; border-radius: 10px; font-weight: 600; margin: 4px 0 12px; }
.countdown.urgent { background: #FDECEC; color: #8A1414; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.cart-lines small { display: block; color: var(--accent-dark); font-size: 13px; }
.seat-list { margin-top: 24px; }
.seat-list summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); }
.row-pick { border: 1px solid var(--line-soft); border-radius: 10px; margin: 10px 0; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.row-pick legend { font-weight: 600; font-size: 14px; padding: 0 4px; }
.row-pick .check { font-size: 14px; }
.date-chip.bookable { cursor: pointer; text-decoration: none; color: var(--ink); }
.date-chip.bookable:hover { border-color: var(--accent); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 15%, transparent); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.terms { max-width: 72ch; }
.sim .notice { margin-top: 0; }
.plan-legend i.none { background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
/* Échange : date choisie */
.date-chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.notice.notice-sm { margin: 4px 0 0; padding: 10px 14px; font-size: 14px; }
/* Période d'essai en ligne (clés Stripe de test) */
.trial-banner { padding: 8px 16px; background: #C46A00; color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
