/* Billetterie Metz'Torii / Spina'Torii
   Couleurs officielles (identiques à GestionTorii) : Metz'Torii orange → ambre, Spina'Torii vert → vert clair,
   sur une « nuit » chaude. Le festival affiché est donné par la classe du <body> (site-slug-…). */

:root,
.site-slug-metztorii {
    --bt-marque-1: #EE7D1A;
    --bt-marque-2: #F4A40C;
    --bt-marque-accent: #C4202B;
    --bt-marque-texte: #c2410c;      /* orange lisible sur fond clair */
    --bt-sur-marque: #1c1917;        /* texte posé sur un bouton aux couleurs du festival */
    --bt-marque-doux: #fff4e8;
    --bt-marque-trait: #fbd5ad;
    --bt-lueur-1: rgba(238, 125, 26, .60);
    --bt-lueur-2: rgba(196, 32, 43, .45);
    --bt-papier: #faf6f1;
    --bt-ligne: #ebe3d9;
}

.site-slug-spinatorii {
    --bt-marque-1: #0F5E2E;
    --bt-marque-2: #5A9A3B;
    --bt-marque-accent: #D7DD48;
    --bt-marque-texte: #0F5E2E;
    --bt-sur-marque: #ffffff;
    --bt-marque-doux: #eef6e9;
    --bt-marque-trait: #c6dfb6;
    --bt-lueur-1: rgba(90, 154, 59, .62);
    --bt-lueur-2: rgba(215, 221, 72, .38);
    --bt-papier: #f4f7f1;
    --bt-ligne: #dde6d5;
}

:root {
    --bt-nuit: #1c1917;
    --bt-nuit-2: #292524;
    --bt-surface: #ffffff;
    --bt-texte: #1c1917;
    --bt-texte-doux: #6b625a;
    --bt-ok: #15803d;
    --bt-ok-doux: #f0fdf4;
    --bt-alerte: #b45309;
    --bt-alerte-doux: #fffbeb;
    --bt-danger: #b91c1c;
    --bt-danger-doux: #fef2f2;
    --bt-rayon: 18px;
    --bt-rayon-petit: 12px;
    --bt-ombre: 0 1px 2px rgba(28, 25, 23, .05), 0 8px 24px rgba(28, 25, 23, .06);
    --bt-ombre-forte: 0 24px 60px rgba(28, 25, 23, .16);
    --bt-police: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bt-largeur: 1180px;
}

/* ---------- Base ---------- */

html { font-size: 16px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.bt {
    background: var(--bt-papier);
    color: var(--bt-texte);
    font-family: var(--bt-police);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bt a { color: var(--bt-marque-texte); text-underline-offset: 3px; }
.bt a:hover { color: var(--bt-texte); }
.bt h1, .bt h2, .bt h3, .bt h4 { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--bt-texte); text-wrap: balance; }
.bt :focus-visible { outline: 3px solid var(--bt-marque-1); outline-offset: 2px; border-radius: 6px; }
.bt-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.18em; }

.bt-conteneur { width: 100%; max-width: var(--bt-largeur); margin: 0 auto; padding-inline: 20px; }
.bt-principal { flex: 1 0 auto; padding-bottom: 3rem; }
.bt-etiquette { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--bt-marque-texte); }
.bt-doux { color: var(--bt-texte-doux); }
.bt-chiffres { font-variant-numeric: tabular-nums; }
.bt-visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */

.bt-entete {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--bt-ligne);
}

.bt-entete .bt-conteneur { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.bt-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bt-texte) !important; }
.bt-logo img { height: 40px; width: auto; }
.bt-logo-mot { font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; }
.bt-logo-mot span { color: var(--bt-marque-texte); }
.bt-logo-sous { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bt-texte-doux); line-height: 1; }

.bt-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.bt-nav a {
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
    padding: .55rem .85rem; border-radius: 999px;
    color: var(--bt-texte) !important; text-decoration: none; font-weight: 650; font-size: .95rem;
}
.bt-nav a:hover { background: var(--bt-marque-doux); }
.bt-nav a.bt-nav-compte { border: 1px solid var(--bt-ligne); background: #fff; }
@media (max-width: 575.98px) {
    .bt-nav a .bt-nav-texte-long, .bt-nav a.bt-nav-acheter { display: none; }
    .bt-logo img { height: 34px; }
    .bt-nav a { padding: .5rem .75rem; }
}

/* ---------- Pied de page ---------- */

.bt-pied { background: var(--bt-nuit); color: rgba(255, 255, 255, .78); padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.bt-pied a { color: #fff !important; }
.bt-pied .bt-conteneur { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.bt-pied-liens { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.bt-pied-paiement { display: flex; align-items: center; gap: .5rem; }

/* ---------- Boutons ---------- */

.bt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .7rem 1.35rem;
    border: 0; border-radius: 14px;
    font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none !important;
    cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.bt-btn:active { transform: translateY(1px); }
.bt-btn[disabled], .bt-btn.desactive { opacity: .45; cursor: not-allowed; transform: none; }
.bt-btn-principal {
    background: linear-gradient(120deg, var(--bt-marque-1), var(--bt-marque-2));
    color: var(--bt-sur-marque) !important;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--bt-marque-1) 30%, transparent);
}
.bt-btn-principal:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--bt-marque-1) 42%, transparent); }
.bt-btn-second { background: #fff; color: var(--bt-texte) !important; border: 1.5px solid var(--bt-ligne); }
.bt-btn-second:hover { border-color: var(--bt-marque-1); }
.bt-btn-clair { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .28); }
.bt-btn-clair:hover { background: rgba(255, 255, 255, .2); }
.bt-btn-large { width: 100%; }
.bt-btn-petit { min-height: 38px; padding: .45rem .9rem; font-size: .9rem; border-radius: 11px; }

/* ---------- Héros ---------- */

.bt-heros {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 8% 15%, var(--bt-lueur-1), transparent 45%),
        radial-gradient(circle at 95% 95%, var(--bt-lueur-2), transparent 48%),
        var(--bt-nuit);
    overflow: hidden;
}
.bt-heros::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 18px 18px;
}
.bt-heros .bt-conteneur { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: 3rem 3.25rem; }
.bt-heros h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin: .35rem 0 .9rem; }
.bt-heros .bt-etiquette { color: var(--bt-marque-2); }
.site-slug-spinatorii .bt-heros .bt-etiquette { color: var(--bt-marque-accent); }
.bt-heros-infos { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: 1.05rem; color: rgba(255, 255, 255, .88); margin-bottom: 1.6rem; }
.bt-heros-infos span { display: inline-flex; align-items: center; gap: .45rem; }
.bt-heros-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bt-heros-torii { justify-self: end; width: min(320px, 100%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.bt-atouts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bt-atouts li {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .4rem .75rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
    font-size: .86rem; color: rgba(255, 255, 255, .9);
}
@media (max-width: 767.98px) {
    .bt-heros .bt-conteneur { grid-template-columns: 1fr; padding-block: 2rem 2.25rem; }
    .bt-heros-torii { display: none; }
    .bt-heros-actions .bt-btn { flex: 1 1 auto; }
}

/* ---------- Étapes ---------- */

.bt-etapes { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0; counter-reset: etape; overflow-x: auto; scrollbar-width: none; }
.bt-etapes li { counter-increment: etape; flex: 1 0 auto; }
.bt-etapes a, .bt-etapes span {
    display: flex; align-items: center; gap: .55rem; white-space: nowrap;
    padding: .6rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem;
    color: var(--bt-texte-doux) !important; background: #fff; border: 1px solid var(--bt-ligne);
}
.bt-etapes a::before, .bt-etapes span::before {
    content: counter(etape); display: inline-grid; place-items: center;
    width: 1.55rem; height: 1.55rem; border-radius: 50%; font-size: .8rem;
    background: var(--bt-marque-doux); color: var(--bt-marque-texte);
}
.bt-etapes .actif a, .bt-etapes .actif span { color: var(--bt-texte) !important; border-color: var(--bt-marque-1); }
.bt-etapes .actif a::before, .bt-etapes .actif span::before { background: var(--bt-marque-1); color: var(--bt-sur-marque); }
.bt-etapes .fait span::before { content: "✓"; background: var(--bt-ok); color: #fff; }

/* ---------- Mise en page achat ---------- */

.bt-achat { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; margin-top: 2rem; }
.bt-achat > * { min-width: 0; }
@media (max-width: 991.98px) { .bt-achat { grid-template-columns: minmax(0, 1fr); } }

.bt-section { margin-bottom: 2.75rem; scroll-margin-top: 84px; }
.bt-section-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.1rem; }
.bt-section-tete h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin: .2rem 0 0; }
.bt-section-tete p { margin: .35rem 0 0; color: var(--bt-texte-doux); max-width: 60ch; }

/* ---------- Cartes billets ---------- */

.bt-grille-billets { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.bt-billet {
    position: relative;
    display: flex; flex-direction: column; gap: .55rem;
    padding: 1.15rem 1.15rem 1rem;
    background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: var(--bt-rayon);
    box-shadow: var(--bt-ombre);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.bt-billet.choisi { border-color: var(--bt-marque-1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bt-marque-1) 18%, transparent), var(--bt-ombre); }
.bt-billet h3 { font-size: 1.12rem; margin: 0; }
.bt-billet p { margin: 0; color: var(--bt-texte-doux); font-size: .93rem; }
.bt-billet-pied { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.bt-prix { font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bt-prix small { font-size: .8rem; font-weight: 600; color: var(--bt-texte-doux); }
.bt-prix-gratuit { color: var(--bt-ok); }

.bt-pastille {
    display: inline-flex; align-items: center; gap: .3rem; width: fit-content;
    padding: .2rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 800;
    background: var(--bt-marque-doux); color: var(--bt-marque-texte);
}
.bt-pastille-alerte { background: var(--bt-alerte-doux); color: var(--bt-alerte); }
.bt-pastille-ok { background: var(--bt-ok-doux); color: var(--bt-ok); }
.bt-pastille-neutre { background: #f5f2ee; color: var(--bt-texte-doux); }

/* Sélecteur de quantité */
.bt-quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--bt-ligne); border-radius: 999px; background: #fff; }
.bt-quantite button {
    width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%;
    display: inline-grid; place-items: center; color: var(--bt-texte); cursor: pointer; font-size: 1.25rem; font-weight: 700;
}
.bt-quantite button:hover:not([disabled]) { background: var(--bt-marque-doux); color: var(--bt-marque-texte); }
.bt-quantite button[disabled] { opacity: .3; cursor: not-allowed; }
.bt-quantite output { min-width: 1.8rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.bt-billet.epuise { opacity: .62; }

/* ---------- Invités ---------- */

.bt-invites { display: grid; gap: 1.25rem; }
.bt-invite { background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: 22px; box-shadow: var(--bt-ombre); overflow: hidden; }
.bt-invite-tete { display: flex; gap: 1rem; align-items: center; padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--bt-ligne); }
.bt-avatar {
    width: 72px; height: 72px; flex: 0 0 auto; border-radius: 20px; object-fit: cover;
    display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; color: #fff;
    background: linear-gradient(135deg, var(--bt-marque-1), var(--bt-marque-accent));
}
.site-slug-spinatorii .bt-avatar { background: linear-gradient(135deg, var(--bt-marque-1), var(--bt-marque-2)); }
.bt-invite-tete h3 { font-size: 1.3rem; margin: 0; }
.bt-invite-tete p { margin: .15rem 0 0; color: var(--bt-texte-doux); font-size: .92rem; }
.bt-offres { display: grid; }
.bt-offre { padding: 1rem 1.25rem; display: grid; gap: .7rem; }
.bt-offre + .bt-offre { border-top: 1px dashed var(--bt-ligne); }
.bt-offre.choisie { background: color-mix(in srgb, var(--bt-marque-doux) 55%, #fff); }
.bt-offre h4 { font-size: 1.05rem; margin: .2rem 0 0; }
.bt-offre p { margin: .15rem 0 0; color: var(--bt-texte-doux); font-size: .9rem; }
.bt-activite-titre { font-size: .8rem; font-weight: 800; color: var(--bt-texte-doux); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.bt-jour { display: grid; gap: .35rem; margin-bottom: .5rem; }
.bt-jour-titre { font-size: .85rem; font-weight: 700; }
.bt-creneaux { display: flex; flex-wrap: wrap; gap: .45rem; }
.bt-creneau {
    display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15;
    min-width: 76px; padding: .45rem .65rem; border-radius: 12px;
    border: 1.5px solid var(--bt-ligne); background: #fff; color: var(--bt-texte);
    font-weight: 800; font-variant-numeric: tabular-nums; cursor: pointer;
}
.bt-creneau small { font-weight: 600; font-size: .72rem; color: var(--bt-texte-doux); }
.bt-creneau:hover:not([disabled]) { border-color: var(--bt-marque-1); }
.bt-creneau[aria-pressed="true"] { background: var(--bt-marque-1); border-color: var(--bt-marque-1); color: var(--bt-sur-marque); }
.bt-creneau[aria-pressed="true"] small { color: inherit; opacity: .85; }
.bt-creneau.peu small { color: var(--bt-alerte); }
.bt-creneau[aria-pressed="true"].peu small { color: inherit; }
.bt-creneau[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Panier ---------- */

.bt-achat > aside { position: sticky; top: 84px; }
.bt-panier {
    background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: 22px; box-shadow: var(--bt-ombre);
    padding: 1.25rem;
}
.bt-panier h2 { font-size: 1.2rem; margin: 0 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.bt-panier-vide { color: var(--bt-texte-doux); font-size: .93rem; margin: .25rem 0 1rem; }
.bt-panier-lignes { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .6rem; }
.bt-panier-lignes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .75rem; font-size: .93rem; }
.bt-panier-lignes .detail { grid-column: 1 / -1; color: var(--bt-texte-doux); font-size: .82rem; }
.bt-panier-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .85rem; margin-top: .25rem; border-top: 1px solid var(--bt-ligne); font-weight: 800; }
.bt-panier-total strong { font-size: 1.55rem; letter-spacing: -.02em; }
.bt-panier-note { margin: .75rem 0 0; font-size: .82rem; color: var(--bt-texte-doux); display: flex; gap: .4rem; align-items: start; }
.bt-panier-message { margin: .75rem 0 0; }

/* Barre panier sur téléphone */
.bt-barre-panier {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--bt-ligne); box-shadow: 0 -10px 30px rgba(28, 25, 23, .1);
}
.bt-barre-panier .bt-conteneur { display: flex; align-items: center; gap: .9rem; padding: 0; }
.bt-barre-total { display: grid; line-height: 1.15; }
.bt-barre-total small { color: var(--bt-texte-doux); font-size: .8rem; }
.bt-barre-total strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.bt-barre-panier .bt-btn { margin-left: auto; }
@media (max-width: 991.98px) {
    .bt-achat > aside { position: static; }
    .bt-barre-panier { display: block; }
    body.bt-avec-barre .bt-principal { padding-bottom: 6.5rem; }
    body.bt-avec-barre .bt-pied { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Alertes ---------- */

.bt-alerte {
    display: flex; gap: .75rem; align-items: start;
    padding: .9rem 1rem; border-radius: 14px; border: 1px solid;
    font-size: .95rem;
}
.bt-alerte > .bt-ico { margin-top: .15rem; }
.bt-alerte p { margin: 0; }
.bt-alerte-info { background: var(--bt-marque-doux); border-color: var(--bt-marque-trait); color: var(--bt-texte); }
.bt-alerte-info > .bt-ico { color: var(--bt-marque-texte); }
.bt-alerte-ok { background: var(--bt-ok-doux); border-color: #bbf7d0; color: #14532d; }
.bt-alerte-attention { background: var(--bt-alerte-doux); border-color: #fde68a; color: #713f12; }
.bt-alerte-erreur { background: var(--bt-danger-doux); border-color: #fecaca; color: #7f1d1d; }
.bt-alerte .bt-alerte-actions { margin-left: auto; flex: 0 0 auto; }
div.bt-alerte-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.bt-alerte-actions form { margin: 0; }
.bt-alerte ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.validation-summary-valid { display: none; }

/* Bandeau partenaire */
.bt-partenaire {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem;
    padding: 1rem 1.25rem; border-radius: 18px; margin-top: 1.5rem;
    background: var(--bt-nuit); color: #fff;
}
.bt-partenaire strong { font-size: 1.15rem; }
.bt-partenaire .bt-btn { margin-left: auto; }

/* ---------- Cartes génériques et formulaires ---------- */

.bt-carte { background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: 22px; box-shadow: var(--bt-ombre); padding: 1.5rem; }
.bt-carte + .bt-carte { margin-top: 1.25rem; }
.bt-carte h2 { font-size: 1.3rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .55rem; }
.bt-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bt-champs .plein { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .bt-champs { gap: .9rem .75rem; } }
.bt-champ label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.bt-champ input, .bt-champ select, .bt-champ textarea {
    width: 100%; min-height: 50px; padding: .7rem .9rem;
    border: 1.5px solid var(--bt-ligne); border-radius: 14px; background: #fff;
    font-size: 1rem; color: var(--bt-texte);
}
.bt-champ input:focus, .bt-champ select:focus, .bt-champ textarea:focus { outline: none; border-color: var(--bt-marque-1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bt-marque-1) 18%, transparent); }
.bt-champ .field-validation-error, .bt-champ .text-danger { display: block; color: var(--bt-danger); font-size: .85rem; margin-top: .3rem; }
.bt-champ input.input-validation-error { border-color: var(--bt-danger); }
.bt-aide { font-size: .84rem; color: var(--bt-texte-doux); margin-top: .3rem; }

/* Choix du paiement */
.bt-paiements { display: grid; gap: .75rem; }
.bt-paiement {
    width: 100%; text-align: left; display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--bt-ligne); background: #fff; cursor: pointer;
    color: var(--bt-texte);
}
.bt-paiement:hover { border-color: var(--bt-marque-1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bt-marque-1) 14%, transparent); }
.bt-paiement-icone { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bt-marque-doux); color: var(--bt-marque-texte); flex: 0 0 auto; }
.bt-paiement strong { display: block; font-size: 1.02rem; }
.bt-paiement small { color: var(--bt-texte-doux); }
.bt-paiement .bt-ico-fleche { margin-left: auto; color: var(--bt-texte-doux); }
.bt-paiement-principal { background: linear-gradient(120deg, var(--bt-marque-1), var(--bt-marque-2)); border-color: transparent; color: var(--bt-sur-marque); }
.bt-paiement-principal small, .bt-paiement-principal .bt-ico-fleche { color: inherit; opacity: .85; }
.bt-paiement-principal .bt-paiement-icone { background: rgba(255, 255, 255, .25); color: inherit; }

/* Récapitulatif */
.bt-recap { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.bt-recap li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; }
.bt-recap .nom { font-weight: 700; }
.bt-recap .detail { grid-column: 1 / -1; color: var(--bt-texte-doux); font-size: .86rem; }
.bt-recap .erreur { grid-column: 1 / -1; color: var(--bt-danger); font-size: .86rem; font-weight: 600; }

/* ---------- Compte (mise en page partagée avec GestionTorii) ---------- */

.bt-compte {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 1040px; margin: 2rem auto; border-radius: 28px; overflow: hidden;
    background: #fff; box-shadow: var(--bt-ombre-forte);
}
.bt-compte-heros {
    position: relative; color: #fff; padding: 2.5rem;
    background:
        radial-gradient(circle at 12% 18%, var(--bt-lueur-1), transparent 46%),
        radial-gradient(circle at 92% 92%, var(--bt-lueur-2), transparent 48%),
        var(--bt-nuit);
    display: flex; flex-direction: column; gap: 1.2rem;
}
.bt-compte-heros::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; }
.bt-compte-heros > * { position: relative; z-index: 1; }
.bt-compte-heros h1 { color: #fff; font-size: 1.9rem; margin: 0; }
.bt-compte-heros p { color: rgba(255, 255, 255, .82); margin: 0; }
.bt-compte-heros ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .65rem; }
.bt-compte-heros li { display: flex; gap: .7rem; align-items: center; color: rgba(255, 255, 255, .9); }
.bt-compte-heros li .bt-ico { width: 2.2rem; height: 2.2rem; padding: .5rem; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.bt-compte-torii { width: 70px; height: auto; }
.bt-compte-form { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.bt-compte-form h2 { font-size: 1.6rem; margin: 0; }
.bt-separateur { display: flex; align-items: center; gap: .75rem; color: var(--bt-texte-doux); font-size: .85rem; }
.bt-separateur::before, .bt-separateur::after { content: ""; flex: 1; height: 1px; background: var(--bt-ligne); }
.bt-code { letter-spacing: .5em; text-align: center; font-size: 1.7rem !important; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
    .bt-compte { grid-template-columns: 1fr; margin: 1rem auto; border-radius: 22px; }
    .bt-compte-heros { padding: 1.5rem; }
    .bt-compte-heros ul { display: none; }
    .bt-compte-form { padding: 1.5rem; }
}

/* ---------- Mes billets ---------- */

.bt-commande { margin-bottom: 2rem; }
.bt-commande-tete { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .9rem; }
.bt-commande-tete h2 { font-size: 1.2rem; margin: 0; }
.bt-commande-tete .bt-commande-actions { margin-left: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.bt-pass-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.bt-pass {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--bt-ombre);
    border: 1.5px solid var(--bt-ligne);
}
.bt-pass-tete { padding: 1rem 1.15rem; color: var(--bt-sur-marque); background: linear-gradient(120deg, var(--bt-marque-1), var(--bt-marque-2)); }
.bt-pass-tete strong { display: block; font-size: 1.08rem; line-height: 1.2; }
.bt-pass-tete span { font-size: .82rem; opacity: .9; }
.bt-pass-corps { padding: 1rem 1.15rem 1.15rem; display: grid; gap: .75rem; justify-items: center; text-align: center; }
.bt-pass-corps img { width: 100%; max-width: 220px; aspect-ratio: 1; image-rendering: pixelated; border-radius: 12px; }
.bt-pass-corps .detail { font-size: .88rem; color: var(--bt-texte-doux); }
.bt-pass::before, .bt-pass::after {
    content: ""; position: absolute; top: 74px; width: 22px; height: 22px; border-radius: 50%; background: var(--bt-papier);
    border: 1.5px solid var(--bt-ligne);
}
.bt-pass::before { left: -12px; }
.bt-pass::after { right: -12px; }
.bt-pass.invalide { opacity: .6; }
.bt-pass.invalide .bt-pass-tete { background: #78716c; color: #fff; }
.bt-dedicace { width: 100%; text-align: left; display: grid; gap: .35rem; padding: .75rem; border-radius: 14px; background: var(--bt-marque-doux); border: 1px solid var(--bt-marque-trait); }
.bt-dedicace label { font-weight: 800; font-size: .85rem; }
.bt-dedicace .ligne { display: flex; gap: .5rem; }
.bt-dedicace input { flex: 1; min-width: 0; min-height: 42px; border-radius: 11px; border: 1.5px solid var(--bt-marque-trait); padding: .45rem .7rem; font-weight: 700; }

/* ---------- Page de résultat ---------- */

.bt-resultat { max-width: 640px; margin: 2.5rem auto; text-align: center; }
.bt-resultat-icone { width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; }
.bt-resultat-icone .bt-ico { width: 44px; height: 44px; stroke-width: 2.5; }
.bt-resultat-icone.ok { background: var(--bt-ok-doux); color: var(--bt-ok); }
.bt-resultat-icone.attente { background: var(--bt-alerte-doux); color: var(--bt-alerte); }
.bt-resultat-icone.erreur { background: var(--bt-danger-doux); color: var(--bt-danger); }
.bt-resultat h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.bt-resultat .bt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Texte long (CGV) ---------- */

.bt-texte-long { max-width: 760px; margin: 2rem auto; background: #fff; border-radius: 22px; padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--bt-ombre); }
.bt-texte-long h1 { font-size: 1.9rem; }
.bt-texte-long h2, .bt-texte-long h3 { font-size: 1.2rem; margin-top: 1.75rem; }

/* ---------- Compléments accueil ---------- */

.bt [hidden] { display: none !important; }
.bt-espace-haut { margin-top: 1rem; }
.bt-texte-alerte { color: var(--bt-alerte); font-weight: 700; }

.bt-logo-billetterie { padding-left: .65rem; border-left: 1px solid var(--bt-ligne); line-height: 1.2; }
@media (max-width: 380px) { .bt-logo-billetterie { display: none; } }

.bt-pastilles { display: flex; flex-wrap: wrap; gap: .35rem; }
.bt-pastilles:not(:has(*)) { display: none; }
.bt-pastille .bt-ico { width: .95em; height: .95em; }

.bt-partenaire .bt-etiquette { color: var(--bt-marque-2); }
.site-slug-spinatorii .bt-partenaire .bt-etiquette { color: var(--bt-marque-accent); }
.bt-partenaire-note { color: rgba(255, 255, 255, .78); font-size: .9rem; }

/* Accès rapide aux invités */
.bt-invites-nav { display: flex; gap: .5rem; overflow-x: auto; padding: .15rem .1rem .75rem; margin-bottom: .5rem; scrollbar-width: thin; }
.bt-invites-nav a {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem;
    padding: .3rem .85rem .3rem .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--bt-ligne);
    color: var(--bt-texte) !important; text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap;
}
.bt-invites-nav a:hover { border-color: var(--bt-marque-1); }
.bt-avatar-mini { width: 30px; height: 30px; border-radius: 50%; font-size: .72rem; }
.bt-invite { scroll-margin-top: 84px; }
.bt-invite-tete p a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .25rem; }
.bt-invite-tete p a .bt-ico { width: .9em; height: .9em; }

.bt-offre.epuise > div:first-child { opacity: .6; }
.bt-offre { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: start; }
.bt-offre > .bt-creneaux-zone { grid-column: 1 / -1; }
.bt-offre-droite { display: grid; justify-items: end; gap: .45rem; }
.bt-offre-droite .bt-prix { font-size: 1.3rem; }
.bt-offre .bt-pastilles { margin-top: .45rem; }

/* Créneaux */
.bt-creneaux-zone { display: grid; gap: .75rem; padding-top: .35rem; }
.bt-billet .bt-creneaux-zone { border-top: 1px dashed var(--bt-ligne); margin-top: .35rem; padding-top: .8rem; }
.bt-activite { display: grid; gap: .5rem; }
.bt-activite-titre { font-weight: 800; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--bt-texte); margin: 0; }
.bt-jour { margin: 0; }
.bt-jour-titre { color: var(--bt-texte-doux); font-weight: 700; font-size: .82rem; }
.bt-creneau { min-height: 48px; justify-content: center; }
.a-completer { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bt-alerte) 35%, transparent) !important; border-color: var(--bt-alerte) !important; }
.bt-offre.a-completer { border-radius: 14px; }

/* Panier */
.bt-panier-suggestion {
    display: flex; gap: .65rem; align-items: start; margin: .25rem 0 .5rem; padding: .75rem .85rem; border-radius: 14px;
    background: var(--bt-marque-doux); border: 1px dashed var(--bt-marque-trait);
    color: var(--bt-texte) !important; text-decoration: none; font-size: .88rem;
}
.bt-panier-suggestion > .bt-ico { color: var(--bt-marque-texte); margin-top: .1rem; }
.bt-panier-rappel { background: var(--bt-alerte-doux); border-color: #fde68a; }
.bt-panier-rappel > .bt-ico { color: var(--bt-alerte); }
.bt-panier-lignes li > span:first-child { min-width: 0; }
.bt-carte-compte { margin-top: 1rem; padding: 1.15rem 1.25rem; display: grid; gap: .75rem; justify-items: start; }
.bt-carte-compte p { margin: 0; font-size: .92rem; color: var(--bt-texte-doux); }
.bt-carte-compte p strong { color: var(--bt-texte); }
.bt-lien-aide { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 700; text-decoration: none; }
.bt-btn.en-cours { opacity: .7; cursor: progress; }

.bt-barre-total { text-decoration: none; color: var(--bt-texte) !important; }
.bt-barre-panier { transition: transform .2s ease; }
.bt-barre-panier.masquee { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .bt-barre-panier { transition: none; } }

/* ---------- Commande ---------- */

.bt-etapes .fait a::before { content: "✓"; background: var(--bt-ok); color: #fff; }
.bt-etapes .fait a:hover { border-color: var(--bt-ok); }
@media (max-width: 575.98px) {
    .bt-etapes { gap: .35rem; }
    .bt-etapes li { flex: 0 0 auto; }
    .bt-etapes li.actif { flex: 1 0 auto; }
    .bt-etapes li:not(.actif) a, .bt-etapes li:not(.actif) span { font-size: 0; gap: 0; padding: .45rem; }
    .bt-etapes li:not(.actif) a::before, .bt-etapes li:not(.actif) span::before { font-size: .8rem; }
}

.bt-achat-commande { margin-top: 1.25rem; }
@media (min-width: 992px) {
    .bt-achat-commande > .bt-recap-colonne { grid-column: 2; grid-row: 1; }
    .bt-achat-commande > .bt-commande-colonne { grid-column: 1; grid-row: 1; }
    .bt-recap-carte > summary { pointer-events: none; }
    .bt-recap-chevron { display: none; }
}

.bt-recap-carte { padding: 1.15rem 1.25rem; }
.bt-recap-carte > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; }
.bt-recap-carte > summary::-webkit-details-marker { display: none; }
.bt-recap-titre { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.1rem; }
.bt-recap-resume { display: inline-flex; align-items: center; gap: .35rem; color: var(--bt-texte-doux); font-size: .95rem; }
.bt-recap-resume strong { color: var(--bt-texte); font-size: 1.1rem; }
.bt-recap-chevron { transition: transform .15s ease; }
.bt-recap-carte[open] .bt-recap-chevron { transform: rotate(90deg); }
.bt-recap .detail { display: flex; gap: .35rem; align-items: center; }
.bt-recap .detail .bt-ico { width: .95em; height: .95em; }

.bt-garanties { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; font-size: .9rem; color: var(--bt-texte-doux); }
.bt-garanties li { display: flex; gap: .6rem; align-items: center; }
.bt-garanties .bt-ico { color: var(--bt-marque-texte); }
@media (max-width: 991.98px) { .bt-garanties { display: none; } }

.bt-carte h1.bt-carte-titre { font-size: 1.3rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .55rem; }
.bt-aide-haut { margin: -.4rem 0 1.1rem; font-size: .9rem; }
.bt-aide .bt-ico { color: var(--bt-marque-texte); }
.bt-form-commande > .bt-alerte { margin-bottom: 1rem; }
.bt-form-commande > .bt-alerte ul { margin: 0; }
.bt-suggestion-mail { margin-top: .4rem; font-size: .9rem; padding: .5rem .7rem; border-radius: 10px; background: var(--bt-alerte-doux); color: #713f12; }
.bt-suggestion-mail button { border: 0; background: none; padding: 0; font-weight: 800; color: var(--bt-marque-texte); text-decoration: underline; cursor: pointer; }
.bt-paiement.en-cours { opacity: .7; cursor: progress; }
.bt-paiement > span:nth-child(2) { min-width: 0; }
.bt-note-helloasso { display: flex; gap: .5rem; align-items: start; }
.bt-note-helloasso .bt-ico { margin-top: .2rem; }

.bt-montant-a-payer { display: flex; justify-content: space-between; align-items: baseline; padding: .85rem 1rem; border-radius: 14px; background: var(--bt-marque-doux); font-weight: 700; }
.bt-montant-a-payer strong { font-size: 1.5rem; }
.bt-carte-paiement .kr-embedded { width: 100% !important; max-width: 440px; margin: 1.25rem auto .5rem; }
.bt-carte-paiement .kr-payment-button { width: 100%; }

/* ---------- Résultat de commande ---------- */

.bt-resultat > p { margin-left: auto; margin-right: auto; max-width: 52ch; }
.bt-numero-commande { margin: .75rem auto 0; }
.bt-redirection { margin-top: 1rem; font-size: .9rem; color: var(--bt-texte-doux); }
.bt-redirection button { border: 0; background: none; padding: 0 0 0 .4rem; color: var(--bt-marque-texte); font-weight: 700; text-decoration: underline; cursor: pointer; }
.bt-garanties-resultat { display: grid !important; text-align: left; max-width: 460px; margin: 2rem auto 0; padding: 1.1rem 1.25rem; background: #fff; border-radius: 18px; border: 1px solid var(--bt-ligne); }
.bt-garanties-resultat li { align-items: start; }
.bt-garanties-resultat .bt-ico { margin-top: .2rem; }
@media (max-width: 575.98px) {
    .bt-resultat { margin-top: 1.5rem; }
    .bt-resultat .bt-actions .bt-btn { width: 100%; }
}

/* ---------- Compte et billets ---------- */

.bt-pile { display: grid; gap: .9rem; }
.bt-espace-bas { margin-bottom: 1.25rem; }
.bt-btn-fournisseur { justify-content: center; }
.bt-ico-marque { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.bt-compte-heros .bt-etiquette { color: var(--bt-marque-2); }
.site-slug-spinatorii .bt-compte-heros .bt-etiquette { color: var(--bt-marque-accent); }
.bt-compte-form > div > p { margin: .4rem 0 0; }
.bt-compte-form .bt-aide { margin: 0; }
.bt-code::placeholder { color: #d6cfc7; letter-spacing: .35em; }

.bt-page-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin: 2rem 0 1.5rem; }
.bt-page-tete h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: .25rem 0 .4rem; }
.bt-page-tete p { margin: 0; max-width: 62ch; }
.bt-partenaire-liens { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }

.bt-commandes { display: grid; gap: 1rem; }
.bt-commande { margin: 0; background: #fff; border: 1.5px solid var(--bt-ligne); border-radius: 22px; box-shadow: var(--bt-ombre); overflow: hidden; }
.bt-commande > summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; margin: 0; display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; }
.bt-commande > summary::-webkit-details-marker { display: none; }
.bt-commande-titre { flex: 1 1 220px; min-width: 0; }
.bt-commande-titre h2 { font-size: 1.15rem; margin: 0; }
.bt-commande-titre p { margin: .2rem 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.bt-commande-chevron { color: var(--bt-texte-doux); transition: transform .15s ease; }
.bt-commande[open] .bt-commande-chevron { transform: rotate(90deg); }
.bt-commande-corps { padding: 0 1.25rem 1.25rem; display: grid; gap: 1rem; }
.bt-commande-actions { display: flex; justify-content: flex-start; }
.bt-commande-actions .bt-btn { white-space: normal; text-align: left; }
.bt-pass-creneau { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; font-size: .88rem; }
.bt-pass-corps .bt-lien-aide { justify-content: center; }
.bt-pass-corps .bt-dedicace small { font-size: .78rem; }
.bt-pass::before, .bt-pass::after { background: #fff; }
@media (max-width: 575.98px) {
    .bt-page-tete { margin-top: 1.25rem; }
    .bt-commande > summary, .bt-commande-corps { padding-left: 1rem; padding-right: 1rem; }
    .bt-pass-grille { grid-template-columns: minmax(0, 1fr); }
}
.bt-pass-corps { grid-template-columns: minmax(0, 1fr); }
.bt-pass-corps > * { max-width: 100%; }
.bt-pass-creneau { flex-wrap: wrap; justify-content: center; text-align: center; }
.bt-dedicace .ligne input { min-width: 0; }
.bt-texte-large { max-width: var(--bt-largeur); overflow-x: auto; }
.bt-texte-long p { overflow-wrap: anywhere; }

/* ---------- Bandeau du site de test (identique à GestionTorii) ---------- */

.bt-dev {
    position: relative; z-index: 1031;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem;
    padding: .5rem 16px; background: #7f1d1d; color: #fff; font-size: .9rem; text-align: center;
    border-bottom: 7px solid transparent;
    border-image: repeating-linear-gradient(-45deg, #facc15 0 12px, #1c1917 12px 24px) 7;
}
.bt-dev-titre {
    display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
    font-weight: 900; font-size: 1.1rem; letter-spacing: .14em;
    background: #facc15; color: #1c1917; padding: .1rem .7rem; border-radius: 6px;
}
.bt-dev b { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .bt-dev { font-size: .82rem; } .bt-dev-titre { font-size: .95rem; } }
@media print { .bt-dev { display: none; } }

/* ---------- Mes billets : filtre et éditions ---------- */

.bt-filtre-commandes { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--bt-ligne); max-width: 100%; overflow-x: auto; }
.bt-filtre-commandes a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; text-decoration: none; color: var(--bt-texte-doux) !important; }
.bt-filtre-commandes .bt-court { display: none; }
.bt-filtre-commandes a.actif { background: var(--bt-nuit); color: #fff !important; }
.bt-filtre-commandes a:not(.actif):hover { background: var(--bt-marque-doux); color: var(--bt-texte) !important; }
.bt-edition { margin-bottom: 2rem; }
.bt-edition-tete { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: .9rem; padding-left: .9rem; border-left: 5px solid var(--bt-marque-1); }
.bt-edition-tete h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: .1rem 0 .15rem; }
.bt-edition-tete p { margin: 0; font-size: .92rem; }
.bt-edition .bt-etiquette { color: var(--bt-marque-texte); }
.bt-dedicace { grid-template-columns: minmax(0, 1fr); }
.bt-dedicace .ligne input { width: 0; }
@media (max-width: 575.98px) {
    .bt-filtre-commandes { display: flex; width: 100%; }
    .bt-filtre-commandes a { flex: 1; justify-content: center; }
    .bt-filtre-commandes .bt-long { display: none; }
    .bt-filtre-commandes .bt-court { display: inline; }
}

/* ---------- Mes billets : changer de créneau ---------- */

.bt-changer-creneau { width: 100%; text-align: left; border-radius: 14px; border: 1px solid var(--bt-ligne); background: #fff; }
.bt-changer-creneau > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .5rem .75rem; font-weight: 800; font-size: .88rem; color: var(--bt-marque-texte); }
.bt-changer-creneau > summary::-webkit-details-marker { display: none; }
.bt-changer-creneau[open] > summary { border-bottom: 1px dashed var(--bt-ligne); }
.bt-changer-creneau form { display: grid; gap: .65rem; padding: .75rem; }
.bt-changer-creneau fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-changer-creneau legend { float: none; width: auto; margin: 0 0 .35rem; padding: 0; }
.bt-changer-creneau .bt-creneau { position: relative; }
.bt-changer-creneau .bt-creneau input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.bt-creneau:has(input:checked) { background: var(--bt-marque-1); border-color: var(--bt-marque-1); color: var(--bt-sur-marque); }
.bt-creneau:has(input:checked) small { color: inherit; opacity: .85; }
.bt-creneau:has(input:focus-visible) { outline: 3px solid var(--bt-marque-trait); outline-offset: 2px; }
.bt-changer-creneau .bt-btn { justify-self: start; }
/* Facture d'une commande : demande (adresse), état, téléchargement */
.bt-facture { display: grid; gap: .6rem; margin-top: .75rem; }
.bt-facture > .bt-btn { justify-self: start; white-space: normal; text-align: left; }
.bt-facture-etat { display: flex; gap: .5rem; align-items: flex-start; margin: 0; font-size: .9rem; color: var(--bt-texte-doux); }
.bt-facture-etat .bt-ico { flex: 0 0 auto; margin-top: .15rem; color: var(--bt-marque-texte); }
.bt-facture-demande { border-radius: 14px; border: 1px solid var(--bt-ligne); background: #fff; }
.bt-facture-demande > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .85rem; font-weight: 800; font-size: .9rem; color: var(--bt-marque-texte); }
.bt-facture-demande > summary::-webkit-details-marker { display: none; }
.bt-facture-demande[open] > summary { border-bottom: 1px dashed var(--bt-ligne); }
.bt-facture-form { display: grid; gap: .85rem; padding: .85rem; }
.bt-facture-form .bt-btn { justify-self: start; }
.bt-facture-case { display: flex; gap: .5rem; align-items: center; font-weight: 700; font-size: .9rem; }
.bt-facture-case input { width: 1.15rem; height: 1.15rem; accent-color: var(--bt-marque-1); }
.bt-facture-suivi { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; margin: 0; padding: .55rem .75rem; border-radius: 12px; background: #fff7e6; border: 1px dashed #f0b45a; font-size: .84rem; }
.bt-facture-suivi .bt-lien-aide { background: none; border: 0; padding: 0; color: var(--bt-marque-texte); font-size: .84rem; }

/* ---------- Commande : code de réduction ---------- */

.bt-recap-remise { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .75rem; margin-top: .9rem; padding: .7rem .85rem; border-radius: 14px; background: var(--bt-marque-doux); border: 1.5px dashed var(--bt-marque-trait); }
.bt-recap-remise .nom { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.bt-recap-remise .bt-chiffres { font-weight: 800; color: var(--bt-ok); white-space: nowrap; }
.bt-recap-remise .detail { grid-column: 1 / -1; color: var(--bt-texte-doux); font-size: .84rem; }
.bt-code-carte { margin-top: .75rem; padding: .35rem 1rem; }
.bt-code-applique { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; min-height: 44px; font-size: .92rem; }
.bt-code-applique > span { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.bt-code-carte .bt-code-erreur { margin-bottom: .5rem; }
.bt-code-form { padding-bottom: .65rem; }
.bt-code-saisie > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 700; font-size: .92rem; color: var(--bt-marque-texte); }
.bt-code-saisie > summary::-webkit-details-marker { display: none; }
.bt-code-form { display: flex; gap: .5rem; margin-top: .2rem; }
.bt-code-form input { flex: 1; min-width: 0; width: 0; min-height: 44px; border-radius: 11px; border: 1.5px solid var(--bt-ligne); padding: .45rem .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bt-code-form input:focus { outline: 3px solid var(--bt-marque-trait); border-color: var(--bt-marque-1); }
.bt-code-form .bt-btn { min-height: 44px; }
.bt-code-erreur { margin: .45rem 0 0; color: #b91c1c; font-size: .86rem; font-weight: 600; }
.bt-code-retirer { margin: 0; }
.bt-code-retirer button { background: none; border: 0; padding: 0; color: var(--bt-marque-texte); }

/* ---------- Mes billets : bons de réduction ---------- */

.bt-bons-titre { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin: 0 0 .7rem; }
.bt-bons-liste { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bt-bon { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem .9rem; align-items: center; padding: .9rem 1rem; border-radius: 18px; background: #fff; border: 1.5px dashed var(--bt-marque-trait); box-shadow: var(--bt-ombre); }
.bt-bon-valeur { grid-row: span 2; display: grid; place-items: center; width: 5.75rem; min-height: 64px; padding: .3rem .5rem; border-radius: 14px; background: var(--bt-marque-doux); color: var(--bt-marque-texte); font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.bt-bon-corps { display: grid; gap: .2rem; min-width: 0; }
.bt-bon-corps strong { overflow-wrap: anywhere; }
.bt-bon-corps .bt-doux { font-size: .86rem; }
.bt-bon-code { font-size: .86rem; }
.bt-bon-code b { letter-spacing: .06em; user-select: all; }
.bt-bon-corps .bt-pastille { justify-self: start; }
.bt-bon-action { grid-column: 2; justify-self: start; }
.bt-bon.utilise, .bt-bon.expire { opacity: .65; border-style: solid; border-color: var(--bt-ligne); }
.bt-bon.utilise .bt-bon-valeur, .bt-bon.expire .bt-bon-valeur { background: #f1f5f9; color: var(--bt-texte-doux); }

/* ---------- Connexion de l'équipe en tant que client ---------- */

.bt-equipe { position: sticky; top: 0; z-index: 1032; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem .9rem; padding: .55rem 16px; background: #1e3a8a; color: #fff; font-size: .88rem; text-align: center; box-shadow: 0 4px 14px rgba(15, 23, 42, .25); }
.bt-equipe-titre { display: inline-flex; align-items: center; gap: .35rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: #fff; color: #1e3a8a; padding: .1rem .6rem; border-radius: 6px; white-space: nowrap; }
.bt-equipe b { overflow-wrap: anywhere; }
.bt-equipe form { margin: 0; }
.bt-equipe-quitter { min-height: 36px; padding: .3rem .9rem; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; font-weight: 800; }
.bt-equipe-quitter:hover { background: #fff; color: #1e3a8a; }
@media (max-width: 575.98px) {
    .bt-equipe { flex-wrap: nowrap; justify-content: space-between; gap: .6rem; padding: .4rem 12px; font-size: .82rem; text-align: left; }
    .bt-equipe-long { display: none; }
    .bt-equipe-titre { padding: .1rem .45rem; letter-spacing: .04em; }
    .bt-equipe-texte { flex: 1; min-width: 0; }
    .bt-equipe-quitter { min-height: 34px; padding: .2rem .75rem; }
}
@media print { .bt-equipe { display: none; } }

/* Aide : demandes au support (Mes billets) et formulaire */
.bt-demandes { background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: 18px; padding: 1rem 1.1rem; }
.bt-demandes-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .4rem; }
.bt-demandes-tete .bt-bons-titre { margin: 0; }
.bt-demandes-vide { margin: .25rem 0 0; font-size: .92rem; }
.bt-demandes-liste { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .5rem; }
.bt-demande { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .6rem 0; border-top: 1px solid var(--bt-ligne); }
.bt-demande:first-child { border-top: 0; }
.bt-demande-corps { flex: 1 1 14rem; min-width: 0; display: grid; gap: .1rem; }
.bt-demande-corps strong { overflow-wrap: anywhere; }
.bt-demande-corps .bt-doux { font-size: .85rem; }
.bt-pastille-attente { background: #fff4dc; color: #8a5300; }
.bt-commande-aide { margin-top: .75rem; }
.bt-aide-form textarea { min-height: 9rem; resize: vertical; }
.bt-aide-form input[type="file"] { width: 100%; padding: .55rem; border: 1.5px dashed var(--bt-ligne); border-radius: 12px; background: #fff; font-size: .9rem; }
.bt-aide-remboursement { margin-top: .6rem; font-size: .88rem; }
.bt-aide-remboursement[hidden] { display: none; }
.bt-aide-pieces-erreur { display: block; margin-top: .3rem; color: var(--bt-danger); font-weight: 700; }
.bt-aide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.25rem; }

/* Bourse de revente : mise en vente, bourse publique, achat */
.bt-atouts a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bt-revente-page .bt-revente-form, .bt-revente-page .bt-carte { max-width: 720px; }
.bt-revente-billet { display: flex; align-items: flex-start; gap: .85rem; max-width: 720px; padding: 1rem 1.1rem; border-radius: 18px; background: var(--bt-marque-doux); border: 1.5px solid var(--bt-marque-trait); }
.bt-revente-billet > .bt-ico { width: 1.6rem; height: 1.6rem; flex: 0 0 auto; color: var(--bt-marque-texte); margin-top: .1rem; }
.bt-revente-billet > div { display: grid; gap: .15rem; min-width: 0; }
.bt-revente-billet strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.bt-revente-billet .bt-doux { font-size: .88rem; }
.bt-revente-prix { position: relative; max-width: 14rem; }
.bt-revente-prix input { padding-right: 2.2rem; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.bt-revente-prix span { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--bt-texte-doux); }
.bt-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.bt-choix legend { grid-column: 1 / -1; float: none; width: auto; font-weight: 700; font-size: .92rem; margin: 0 0 .35rem; padding: 0; }
.bt-champ.bt-choix label { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .65rem; align-items: start; margin: 0; padding: .8rem .9rem; border: 1.5px solid var(--bt-ligne); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 400; font-size: 1rem; }
.bt-champ.bt-choix input[type="radio"] { grid-row: span 2; width: 1.15rem; height: 1.15rem; min-height: 0; margin: .15rem 0 0; padding: 0; accent-color: var(--bt-marque-1); box-shadow: none; }
.bt-choix strong { font-size: .97rem; }
.bt-choix small { color: var(--bt-texte-doux); font-size: .84rem; }
.bt-champ.bt-choix label:has(input:checked) { border-color: var(--bt-marque-1); background: var(--bt-marque-doux); }
.bt-champ.bt-choix label:has(input:focus-visible) { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bt-marque-1) 18%, transparent); }
.bt-revente-calcul { padding: .9rem 1rem; border-radius: 14px; background: #faf8f5; border: 1px solid var(--bt-ligne); gap: .45rem; }
.bt-revente-calcul li > span:first-child { color: var(--bt-texte-doux); }
.bt-revente-net { padding-top: .45rem; border-top: 1px solid var(--bt-ligne); }
.bt-revente-net span:first-child { color: var(--bt-texte) !important; font-weight: 800; }
.bt-revente-net strong { font-size: 1.2rem; }
.bt-revente-erreur { display: block; margin-top: .4rem; color: var(--bt-danger); font-weight: 700; font-size: .88rem; }
.bt-revente-iban[hidden] { display: none; }
.bt-revente-iban { padding: 1rem; border-radius: 16px; border: 1.5px dashed var(--bt-ligne); }
.bt-revente-iban .bt-aide { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; }
.bt-revente-iban input[name="Iban"], .bt-revente-iban input[name="Bic"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; }
.bt-revente-regles { margin-top: 1.25rem; }
.bt-revente-regles li { align-items: flex-start; }
.bt-revente-regles .bt-ico { flex: 0 0 auto; margin-top: .15rem; }
.bt-revente-edition { font-size: 1.25rem; margin: 0 0 .75rem; }
.bt-revente-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .9rem; }
.bt-revente-offre { display: grid; grid-template-rows: 1fr auto; background: var(--bt-surface); border: 1.5px solid var(--bt-ligne); border-radius: 18px; box-shadow: var(--bt-ombre); overflow: hidden; }
.bt-revente-offre-corps { display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem; }
.bt-revente-offre-corps strong { font-size: 1.02rem; overflow-wrap: anywhere; }
.bt-revente-offre-corps .bt-doux { font-size: .86rem; }
.bt-revente-creneau { display: inline-flex; align-items: flex-start; gap: .4rem; font-size: .9rem; font-weight: 600; }
.bt-revente-creneau .bt-ico { flex: 0 0 auto; margin-top: .15rem; color: var(--bt-marque-texte); }
.bt-revente-offre-pied { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 1.1rem; background: #faf8f5; border-top: 1px solid var(--bt-ligne); }
.bt-revente-offre-pied > div { display: grid; line-height: 1.15; }
.bt-revente-prix-public { font-size: 1.35rem; font-weight: 900; letter-spacing: -.02em; }
.bt-revente-offre-pied small { font-size: .76rem; }
.bt-pass-revente { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .75rem; font-size: .88rem; }
.bt-pass-revente a { font-weight: 700; }
@media (max-width: 575.98px) {
    .bt-revente-grille { grid-template-columns: minmax(0, 1fr); }
    .bt-revente-prix { max-width: none; }
    .bt-revente-page .bt-aide-actions .bt-btn { width: 100%; justify-content: center; }
}

/* Autocomplétion des adresses (Base Adresse Nationale) */
.bt-adresse { position: relative; }
.bt-adresse-liste { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem; list-style: none; background: #fff; border: 1.5px solid var(--bt-ligne); border-radius: 14px; box-shadow: 0 14px 34px rgba(28, 25, 23, .16); max-height: min(20rem, 60vh); overflow-y: auto; }
.bt-adresse-liste[hidden] { display: none; }
.bt-adresse-liste li { display: grid; gap: .05rem; min-height: 44px; align-content: center; padding: .55rem .75rem; border-radius: 10px; cursor: pointer; }
.bt-adresse-liste li strong { font-size: .97rem; font-weight: 700; overflow-wrap: anywhere; }
.bt-adresse-liste li span { font-size: .84rem; color: var(--bt-texte-doux); }
.bt-adresse-liste li:hover, .bt-adresse-liste li[aria-selected="true"] { background: var(--bt-marque-doux); }

/* Invités de l'accueil : fiches repliées, recherche et filtre (beaucoup d'invités) */
.bt-invites { grid-template-columns: minmax(0, 1fr); gap: .65rem; grid-auto-flow: dense; }
@media (min-width: 768px) {
    .bt-invites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-invite[open] { grid-column: 1 / -1; }
}
.bt-invite { border-radius: 18px; align-self: start; }
.bt-invite[hidden] { display: none; }
.bt-invite > summary { list-style: none; cursor: pointer; }
.bt-invite > summary::-webkit-details-marker { display: none; }
.bt-invite > .bt-invite-tete { gap: .8rem; padding: .6rem .9rem; border-bottom: 0; min-height: 62px; }
.bt-invite[open] > .bt-invite-tete { border-bottom: 1px solid var(--bt-ligne); }
.bt-invite > summary:hover .bt-invite-nom { color: var(--bt-marque-texte); }
.bt-invite > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--bt-marque-1) 45%, transparent); outline-offset: -3px; border-radius: 18px; }
.bt-invite-tete .bt-avatar { width: 44px; height: 44px; border-radius: 13px; font-size: .95rem; }
.bt-invite-resume { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.bt-invite-nom { font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.bt-invite-infos { color: var(--bt-texte-doux); font-size: .86rem; }
.bt-invite-prix { font-weight: 700; color: var(--bt-marque-texte); white-space: nowrap; }
.bt-invite-prix.complet { color: var(--bt-texte-doux); }
.bt-invite-choisi { flex: 0 0 auto; padding: .15rem .55rem; border-radius: 999px; background: var(--bt-ok-doux); color: var(--bt-ok); font-size: .74rem; font-weight: 800; }
.bt-invite-choisi[hidden] { display: none; }
.bt-invite-chevron { color: var(--bt-texte-doux); transition: transform .15s ease; }
.bt-invite[open] .bt-invite-chevron { transform: rotate(90deg); }
.bt-invite-lien { display: inline-flex; align-items: center; gap: .3rem; margin: .8rem 1.25rem 0; font-weight: 700; font-size: .9rem; text-decoration: none; }
.bt-invite-lien .bt-ico { width: .9em; height: .9em; }
.bt-invites-outils { display: grid; gap: .6rem; margin-bottom: .9rem; }
.bt-invites-recherche { position: relative; display: block; margin: 0; }
.bt-invites-recherche > .bt-ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--bt-texte-doux); pointer-events: none; }
.bt-invites-recherche input { width: 100%; min-height: 50px; padding: .7rem .9rem .7rem 2.75rem; border: 1.5px solid var(--bt-ligne); border-radius: 14px; background: #fff; font-size: 1rem; color: var(--bt-texte); }
.bt-invites-recherche input:focus { outline: none; border-color: var(--bt-marque-1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bt-marque-1) 18%, transparent); }
.bt-invites-filtres { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: none; }
.bt-invites-filtres button { flex: 0 0 auto; min-height: 40px; padding: .35rem 1rem; border-radius: 999px; border: 1.5px solid var(--bt-ligne); background: #fff; color: var(--bt-texte); font-weight: 700; font-size: .92rem; }
.bt-invites-filtres button.actif { background: var(--bt-nuit); border-color: var(--bt-nuit); color: #fff; }
.bt-invites-compte { margin: 0; font-size: .86rem; color: var(--bt-texte-doux); }
.bt-invites-vide { margin: .5rem 0 0; color: var(--bt-texte-doux); }
.bt-invites-vide[hidden] { display: none; }
.bt-invites-vide .bt-lien-aide { background: none; border: 0; padding: 0; color: var(--bt-marque-texte); }

/* Bourse aux billets : bandeau de l'accueil et lien sur un billet épuisé */
.bt-bourse-bandeau { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; padding: .8rem 1rem; border-radius: 18px; background: var(--bt-surface); border: 1.5px solid var(--bt-marque-trait); box-shadow: var(--bt-ombre); color: var(--bt-texte) !important; text-decoration: none; }
.bt-bourse-bandeau:hover { border-color: var(--bt-marque-1); }
.bt-bourse-bandeau-icone { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--bt-marque-doux); color: var(--bt-marque-texte); }
.bt-bourse-bandeau-icone .bt-ico { width: 1.35rem; height: 1.35rem; }
.bt-bourse-bandeau-texte { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.bt-bourse-bandeau-texte span { color: var(--bt-texte-doux); font-size: .9rem; }
.bt-bourse-bandeau-action { display: inline-flex; align-items: center; gap: .3rem; flex: 0 0 auto; font-weight: 800; color: var(--bt-marque-texte); }
a.bt-pastille-bourse { background: var(--bt-marque-doux); color: var(--bt-marque-texte); text-decoration: none; border: 1px solid var(--bt-marque-trait); }
a.bt-pastille-bourse:hover { border-color: var(--bt-marque-1); }
.bt-billet.epuise:has(.bt-pastille-bourse) { opacity: 1; }
.bt-billet.epuise:has(.bt-pastille-bourse) > :not(.bt-pastilles) { opacity: .62; }

/* pass Culture : réserver un billet avec son pass (lien vers l'offre sur pass Culture) */
.bt-passculture { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .7rem; padding: .55rem .8rem; border-radius: 12px; border: 1.5px dashed var(--bt-marque-trait); background: var(--bt-marque-doux); color: var(--bt-texte) !important; text-decoration: none; }
.bt-passculture:hover { border-color: var(--bt-marque-1); }
.bt-passculture > span { display: grid; line-height: 1.25; }
.bt-passculture strong { font-size: .9rem; }
.bt-passculture small { font-size: .78rem; color: var(--bt-texte-doux); }
.bt-passculture .bt-ico { color: var(--bt-marque-texte); }
.bt-passculture-carte { margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1.5px dashed var(--bt-marque-trait); background: var(--bt-marque-doux); }
.bt-passculture-carte h2 { font-size: 1.05rem; margin: 0 0 .4rem; }
.bt-passculture-carte p { margin: 0 0 .6rem; font-size: .92rem; }
.bt-passculture-carte .bt-btn { margin-bottom: .4rem; }
.bt-passculture-carte form { margin: 0; }
.bt-passculture-choix { display: grid; gap: .45rem; }
.bt-passculture-choix .bt-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.bt-passculture-carte .bt-lien-aide { background: none; border: 0; padding: 0; color: var(--bt-marque-texte); }
.bt-passculture-seul { max-width: 520px; margin: 0 auto; }
.bt-pass-attente { margin: 0; padding: .8rem .9rem; border-radius: 12px; background: var(--bt-marque-doux); border: 1.5px dashed var(--bt-marque-trait); font-size: .9rem; }
/* Commande : paiement, facture, disponibilité des billets */
.bt-commande-infos { list-style: none; margin: 0 0 1rem; padding: .65rem .85rem; display: grid; gap: .3rem; border-radius: 12px; background: #faf8f5; border: 1px solid var(--bt-ligne); font-size: .9rem; }
.bt-commande-infos li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.bt-commande-infos li > span { color: var(--bt-texte-doux); }
.bt-commande-infos strong, .bt-commande-infos a { font-weight: 700; overflow-wrap: anywhere; }
