/* Billetterie des brunchs. Chargée avec vg-carte.css (champs, boutons, avis). Mobile d'abord. */

.vgb-liste { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.vgb-tuile { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3ddd3; border-radius: 6px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.vgb-tuile:hover { border-color: #141210; transform: translateY(-2px); color: inherit; }
.vgb-tuile__img { aspect-ratio: 16 / 10; background: #141210 center / cover no-repeat; position: relative; }
.vgb-tuile__img.is-vide { display: grid; place-items: center; }
.vgb-tuile__img.is-vide img { width: 38%; opacity: .9; }
.vgb-tuile__corps { padding: 18px 18px 20px; display: grid; gap: 6px; }
.vgb-tuile__date { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6b6b6b; }
.vgb-tuile__titre { font-size: 22px; line-height: 1.2; margin: 0; }
.vgb-tuile__bas { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 14px; }

.vgb-etat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #e7f4ec; color: #1e5c37; }
.vgb-etat.is-complet, .vgb-etat.is-annule, .vgb-etat.is-vente_terminee, .vgb-etat.is-passe { background: #fdecea; color: #8a1c1c; }
.vgb-etat.is-a_venir { background: #fff4e5; color: #6a3c00; }
.vgb-tuile__img .vgb-etat { position: absolute; top: 12px; left: 12px; }

/* Détail d'un brunch */
.vgb-hero { background: #0c0c0d; color: #f2f0eb; padding: 40px 0 34px; position: relative; overflow: hidden; }
.vgb-hero__fond { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .32; }
.vgb-hero__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,.2), #0c0c0d 92%); }
.vgb-hero .container { position: relative; }
.vgb-hero .vgc-eyebrow { color: #d9ab52; }
.vgb-hero h1 { color: #f2f0eb; font-size: clamp(30px, 6vw, 52px); line-height: 1.05; margin: 10px 0 16px; text-wrap: balance; }
.vgb-faits { display: grid; gap: 8px; font-size: 16px; margin: 0 0 18px; padding: 0; list-style: none; }
.vgb-faits li { display: flex; gap: 10px; align-items: baseline; }
.vgb-faits i { color: #d9ab52; width: 18px; text-align: center; }
.vgb-faits small { display: block; color: rgba(242,240,235,.62); font-size: 14px; }
.vgb-compte { display: flex; gap: 10px; margin-top: 4px; }
.vgb-compte div { min-width: 64px; padding: 10px 6px 8px; border: 1px solid rgba(242,240,235,.2); border-radius: 4px; text-align: center; }
.vgb-compte b { display: block; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.vgb-compte span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,240,235,.6); }

.vgb-page { padding: 34px 0 80px; }
.vgb-cols { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .vgb-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; } }
.vgb-description { font-size: 16px; line-height: 1.7; color: #3a3a3a; white-space: pre-line; }
.vgb-carte-info { background: #f6f2ec; border-radius: 6px; padding: 16px 18px; font-size: 14px; line-height: 1.6; color: #3a3a3a; margin-top: 20px; }

.vgb-etape { margin-bottom: 26px; }
.vgb-etape > h2 { font-size: 18px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.vgb-etape > h2 span { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #141210; color: #fff !important; -webkit-text-fill-color: #fff; font: 700 14px/1 "DM Sans", Arial, sans-serif; }

.vgb-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 16px; border: 1px solid #e3ddd3; border-radius: 6px; margin-bottom: 10px; background: #fff; }
.vgb-type.is-choisi { border-color: #141210; box-shadow: inset 4px 0 0 #d9ab52; }
.vgb-type.is-epuise { opacity: .55; }
.vgb-type__nom { font-weight: 700; font-size: 16px; }
.vgb-type__desc { font-size: 13px; color: #6b6b6b; margin-top: 2px; }
.vgb-type__prix { font-weight: 700; font-size: 16px; margin-top: 6px; }
.vgb-type__reste { font-size: 12px; color: #8a1c1c; font-weight: 600; }
.vgb-pas { display: inline-flex; align-items: center; border: 1px solid #141210; border-radius: 4px; overflow: hidden; }
.vgb-pas button { width: 46px; height: 46px; border: 0; background: #fff; font-size: 22px; line-height: 1; color: #141210; cursor: pointer; }
.vgb-pas button:disabled { color: #c9c2b6; cursor: not-allowed; }
.vgb-pas output { min-width: 34px; text-align: center; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }

.vgb-participants { display: grid; gap: 10px; }
.vgb-recap { background: #141210; color: #f2f0eb; border-radius: 6px; padding: 18px; margin: 8px 0 16px; font-size: 15px; }
.vgb-recap table { width: 100%; border-collapse: collapse; }
.vgb-recap td { padding: 4px 0; vertical-align: top; }
.vgb-recap td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vgb-recap tfoot td { border-top: 1px solid rgba(242,240,235,.2); padding-top: 10px; font-weight: 700; font-size: 18px; }
.vgb-recap .vgb-vide { color: rgba(242,240,235,.6); }
.vgb-mentions { font-size: 13px; color: #6b6b6b; line-height: 1.55; margin-top: 12px; }

/* Barre d'achat collante sur téléphone */
.vgb-barre { position: sticky; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid #e3ddd3; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 18px; }

/* Mes billets */
.vgb-grille { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 22px; }
.vgb-billet { margin: 0; display: grid; gap: 10px; }
.vgb-billet canvas { width: 100%; height: auto; display: block; border-radius: 4% / 2.3%; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.vgb-attente { display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.vgb-roue { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #e3ddd3; border-top-color: #141210; animation: vgb-tourne 1s linear infinite; }
@keyframes vgb-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vgb-roue { animation-duration: 3s; } }
.vgb-minuteur { font-variant-numeric: tabular-nums; font-weight: 700; }

/* Vérification publique d'un billet */
.vgb-verif { max-width: 460px; margin: 0 auto; padding: 48px 0 80px; text-align: center; }
