/* ==========================================================================
   Guichetto — feuille de style unique

   Deux ambiances pilotées par une classe sur <body> :
     .theme-public  familles : chaleureux, arrondi, coloré (site public + compte)
     .theme-app     gestion et administration : plus neutre et plus dense,
                    pour que des tableaux de 40 lignes restent lisibles.
   Les deux partagent la même structure ; seules les variables changent.
   ========================================================================== */

:root {
    /* --- Ambiance familles (valeurs par défaut) --- */
    --bg: #fdf8f3;
    --bg-deep: #f7ede3;
    --surface: #ffffff;
    --border: #f0e3d6;
    --border-strong: #ddc9b6;
    --text: #2f2a33;
    --text-soft: #6d6470;
    --text-mute: #9a919d;

    --primary: #e8593c;          /* corail : action principale */
    --primary-dark: #cc4227;
    --primary-soft: #fdeae4;
    --accent: #f2a63b;           /* ambre : mises en avant, prix */
    --accent-soft: #fdf1dc;
    --secondary: #2aa39c;        /* turquoise : informations, calme */
    --secondary-soft: #e0f5f3;

    --success: #2f8f5b;
    --success-soft: #e5f5eb;
    --warning: #c07a12;
    --warning-soft: #fdf2dd;
    --danger: #cc3f3f;
    --danger-soft: #fdeaea;
    --info: #2a7fa3;
    --info-soft: #e4f2f8;

    --radius-lg: 22px;
    --radius: 16px;
    --radius-sm: 11px;
    --shadow: 0 2px 4px rgba(94, 62, 42, .04), 0 8px 24px rgba(94, 62, 42, .07);
    --shadow-lift: 0 10px 30px rgba(94, 62, 42, .13);

    --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    --font-display: var(--font);
    --heading-weight: 750;
    --heading-spacing: -.015em;
}

/* --- Ambiance gestion : mêmes composants, ton neutre et compact --- */
.theme-app {
    --bg: #f6f7f9;
    --bg-deep: #eef1f5;
    --border: #e3e7ec;
    --border-strong: #c9d1db;
    --text: #1e2430;
    --text-soft: #5c6675;
    --text-mute: #8b93a1;

    --primary: #1f6f68;
    --primary-dark: #17544f;
    --primary-soft: #e3f1ef;
    --accent: #b9761a;
    --accent-soft: #fbf1e2;
    --secondary: #2a6fa3;
    --secondary-soft: #e6f0f8;

    --radius-lg: 12px;
    --radius: 10px;
    --radius-sm: 7px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .05);
    --shadow-lift: 0 6px 22px rgba(16, 24, 40, .09);
    --heading-weight: 650;
    --heading-spacing: -.02em;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
body.theme-app { font-size: 15px; line-height: 1.55; }

h1, h2, h3, h4 {
    line-height: 1.22; margin: 0 0 .6rem;
    font-family: var(--font-display);
    font-weight: var(--heading-weight);
    letter-spacing: var(--heading-spacing);
}
h1 { font-size: 1.85rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; }
body.theme-app h1 { font-size: 1.6rem; }
p { margin: 0 0 .9rem; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
small { font-size: .82rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* En gestion, les tableaux comptent beaucoup de colonnes : on laisse la zone
   centrale prendre toute la largeur utile de l'écran plutôt que de comprimer
   les données dans la colonne de lecture confortable du site public. */
body.theme-app .container { max-width: 1720px; padding: 0 28px; }
body.theme-app .app-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }

/* ---------------------------------------------------------------- en-tête */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 40;
}
body.theme-public .site-header { box-shadow: 0 1px 0 rgba(94, 62, 42, .04); }
.site-header .inner {
    display: flex; align-items: center; gap: 24px;
    height: 68px;
}
.brand {
    font-family: var(--font-display);
    font-weight: 800; font-size: 1.3rem; color: var(--text);
    letter-spacing: -.03em; display: inline-flex; align-items: center; gap: 8px;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--primary); }
.brand::before {
    content: ""; width: 26px; height: 26px; border-radius: 9px; flex: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: inset 0 -2px 6px rgba(0, 0, 0, .12);
}
body.theme-app .brand::before { border-radius: 7px; }

.main-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }

/* Le :not(.btn) est indispensable : sans lui, `.main-nav a` (0-1-1) écrase
   `.btn` (0-1-0) et le bouton perd son fond — texte blanc sur fond blanc. */
.main-nav a:not(.btn), .main-nav button:not(.btn) {
    padding: 8px 14px; border-radius: 999px;
    color: var(--text-soft); font-size: .93rem; font-weight: 600;
    background: none; border: 0; cursor: pointer; font-family: inherit;
    transition: background .14s ease, color .14s ease;
}
.main-nav a:not(.btn):hover, .main-nav button:not(.btn):hover {
    background: var(--bg-deep); color: var(--text); text-decoration: none;
}
.main-nav a.is-active:not(.btn) { background: var(--primary-soft); color: var(--primary-dark); }
.main-nav .btn { margin-left: 4px; }

/* ------------------------------------------------------------------ pied */
.site-footer {
    margin-top: 64px; padding: 30px 0 42px;
    border-top: 1px solid var(--border); background: var(--surface);
    color: var(--text-mute); font-size: .87rem;
}
.site-footer .inner { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.site-footer a:not(.btn) { color: var(--text-soft); }

/* ------------------------------------------------------- bandeau d'accueil */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #fff3ea 0%, #fde7de 45%, #e2f4f2 100%);
    border-radius: var(--radius-lg);
    padding: 44px 42px 40px;
    margin: 26px 0 34px;
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { font-size: 2.35rem; margin-bottom: .5rem; }
.hero p { font-size: 1.08rem; color: var(--text-soft); margin-bottom: 22px; max-width: 30em; }
.hero-search { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
.hero-search input[type=search] {
    flex: 1 1 240px; border-radius: 999px; padding: 12px 20px;
    border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .9);
    font-size: .97rem;
}
.hero-art {
    position: absolute; right: -10px; bottom: -14px; width: 300px; max-width: 42%;
    opacity: .95; pointer-events: none; z-index: 1;
}
@media (max-width: 760px) {
    .hero { padding: 30px 24px 28px; }
    .hero h1 { font-size: 1.75rem; }
    .hero-art { display: none; }
}

/* --------------------------------------------------------------- messages */
.flash-stack { margin: 18px 0 0; display: grid; gap: 10px; }
.flash {
    padding: 13px 17px; border-radius: var(--radius-sm);
    border: 1px solid transparent; font-size: .93rem; font-weight: 500;
}
.flash-success { background: var(--success-soft); border-color: #bfe3ca; color: var(--success); }
.flash-error   { background: var(--danger-soft);  border-color: #f3c6c4; color: var(--danger); }
.flash-warning { background: var(--warning-soft); border-color: #f0d9ad; color: var(--warning); }
.flash-info    { background: var(--info-soft);    border-color: #bfe0f0; color: var(--info); }

/* ----------------------------------------------------------------- cartes */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
body.theme-app .card { padding: 22px 24px; }
.card + .card { margin-top: 18px; }
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.card-header h2, .card-header h3 { margin: 0; }
.card-sub { color: var(--text-soft); font-size: .89rem; margin: -6px 0 14px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.page-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 18px; flex-wrap: wrap; margin: 28px 0 20px;
}
.page-head p { color: var(--text-soft); margin: 4px 0 0; }

/* ------------------------------------------------------------- statistiques */
.stat {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 20px;
}
.stat .value { font-size: 1.7rem; font-weight: 750; letter-spacing: -.02em; }
.stat .label { color: var(--text-soft); font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.stat.warning .value { color: var(--warning); }
.stat.danger .value  { color: var(--danger); }
.stat.success .value { color: var(--success); }

/* ---------------------------------------------------------------- boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
    font-size: .94rem; font-weight: 650; font-family: inherit;
    cursor: pointer; background: var(--primary); color: #fff; text-decoration: none;
    box-shadow: 0 2px 8px rgba(232, 89, 60, .22);
    transition: background .14s ease, transform .1s ease, box-shadow .14s ease;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
body.theme-app .btn {
    border-radius: var(--radius-sm); padding: 9px 17px; box-shadow: none;
}
body.theme-app .btn:hover { transform: none; }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: none; }
.btn-secondary:hover { background: var(--bg-deep); color: var(--text); }
.btn-success { background: var(--success); box-shadow: 0 2px 8px rgba(47, 143, 91, .22); }
.btn-success:hover { background: #226f45; }
.btn-danger { background: var(--danger); box-shadow: 0 2px 8px rgba(204, 63, 63, .22); }
.btn-danger:hover { background: #a92f2f; }
.btn-sm { padding: 7px 15px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-link { background: none; color: var(--primary-dark); border: 0; padding: 4px 6px; box-shadow: none; }
.btn-link:hover { background: none; text-decoration: underline; transform: none; }

.actions { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }

/* ------------------------------------------------------------ formulaires */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 650; font-size: .89rem; margin-bottom: 6px; }
.field .hint { color: var(--text-mute); font-size: .82rem; margin-top: 4px; display: block; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=date], input[type=datetime-local], input[type=search],
select, textarea {
    width: 100%; padding: 11px 14px; font-size: .96rem; font-family: inherit;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text);
    transition: border-color .14s ease, box-shadow .14s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}
textarea { min-height: 110px; resize: vertical; }
.field-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.field-inline > * { flex: 1 1 150px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .91rem; }
.checkbox input { width: auto; margin-top: 3px; flex: none; accent-color: var(--primary); }

/* --------------------------------------------------------------- tableaux */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .91rem; }
th, td { padding: 12px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); font-weight: 700; }
tbody tr:hover { background: var(--bg); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Un peu d'air dans les listes de gestion, qu'on lit longtemps. */
body.theme-app th, body.theme-app td { padding: 13px 16px; }
body.theme-app th:first-child, body.theme-app td:first-child { padding-left: 4px; }
body.theme-app th:last-child, body.theme-app td:last-child { padding-right: 4px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; letter-spacing: .03em; }

/* ------------------------------------------------------------- étiquettes */
.badge {
    display: inline-block; padding: 4px 11px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger  { background: var(--danger-soft);  color: var(--danger); }
.badge-info    { background: var(--info-soft);    color: var(--info); }
.badge-muted   { background: var(--bg-deep); color: var(--text-soft); }

/* ------------------------------------------------------------ mise en page */
.app-shell { display: grid; grid-template-columns: 238px 1fr; gap: 26px; align-items: start; }
.sidebar {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; position: sticky; top: 84px; box-shadow: var(--shadow);
}
.sidebar h4 {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--text-mute); margin: 14px 8px 6px; font-weight: 700;
}
.sidebar h4:first-child { margin-top: 4px; }
.sidebar a:not(.btn) {
    display: block; padding: 9px 12px; border-radius: var(--radius-sm);
    color: var(--text-soft); font-size: .91rem; font-weight: 550;
}
.sidebar a:not(.btn):hover { background: var(--bg-deep); color: var(--text); text-decoration: none; }
.sidebar a.is-active:not(.btn) { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; }

@media (max-width: 860px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

/* ------------------------------------------------------- cartes spectacle */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 22px; }
.event-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
    transition: transform .16s ease, box-shadow .16s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* Bandeau décoratif : à défaut d'affiche, chaque carte reçoit un aplat
   dégradé et un motif de confettis, pour éviter la grille toute grise. */
.event-card .banner {
    height: 84px; position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #f0803f 55%, var(--accent) 100%);
}
.event-card .banner::after {
    content: ""; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 18% 32%, rgba(255, 255, 255, .5) 3px, transparent 3.5px),
        radial-gradient(circle at 42% 70%, rgba(255, 255, 255, .35) 4px, transparent 4.5px),
        radial-gradient(circle at 68% 26%, rgba(255, 255, 255, .45) 3px, transparent 3.5px),
        radial-gradient(circle at 86% 62%, rgba(255, 255, 255, .3) 5px, transparent 5.5px);
}
.event-grid .event-card:nth-child(3n+2) .banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #48b8a4 55%, #8ed2a6 100%);
}
.event-grid .event-card:nth-child(3n+3) .banner {
    background: linear-gradient(135deg, #9b6bd6 0%, #c07ad4 55%, var(--accent) 100%);
}
.event-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.event-card h3 { margin: 0 0 3px; font-size: 1.1rem; }
.event-card h3 a { color: var(--text); }
.event-card h3 a:hover { color: var(--primary-dark); text-decoration: none; }
.event-card .club { color: var(--text-soft); font-size: .87rem; margin-bottom: 11px; }
.event-card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: .87rem; color: var(--text-soft); }
.event-card .price {
    font-weight: 700; color: var(--accent);
    background: var(--accent-soft); padding: 3px 11px; border-radius: 999px;
}

/* ------------------------------------------------------------ plan de salle */
/* Le plan de salle a besoin de plus de place que la colonne de lecture
   habituelle : on élargit le conteneur sur cette page et on aère la grille. */
.container:has(.seatmap-layout) { max-width: 1440px; }
.seatmap-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 980px) { .seatmap-layout { grid-template-columns: 1fr; } }

.stage {
    background: linear-gradient(180deg, #4a3550, #2f2a33); color: #fff;
    text-align: center; padding: 13px; border-radius: 10px 10px 30px 30px;
    font-size: .84rem; letter-spacing: .24em; text-transform: uppercase;
    font-weight: 650; margin-bottom: 28px;
}

.level { margin-bottom: 32px; }
.level-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.level-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.level-head .price { margin-left: auto; font-weight: 700; }

.seat-row { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.row-label {
    width: 26px; flex: none; text-align: center; font-size: .76rem;
    color: var(--text-mute); font-weight: 700;
}
.seats { display: flex; gap: 7px; flex-wrap: wrap; }

.seat {
    width: 28px; height: 28px; border-radius: 9px; border: 1px solid transparent;
    font-size: .67rem; font-weight: 700; cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: inherit; transition: transform .1s ease, box-shadow .1s ease;
}
.seat:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.seat-free    { background: #e2f5ea; border-color: #a5d9bb; color: #1f7048; }
.seat-free:hover { background: #c6ebd6; transform: scale(1.12); box-shadow: 0 3px 8px rgba(47, 143, 91, .25); }
.seat-mine    { background: var(--primary); border-color: var(--primary-dark); color: #fff; transform: scale(1.06); box-shadow: 0 3px 10px rgba(232, 89, 60, .35); }
.seat-taken   { background: #e9e6e9; border-color: #d6d1d6; color: #a49da4; cursor: not-allowed; }
.seat-held    { background: var(--warning-soft); border-color: #ecd3a4; color: #a06a11; cursor: not-allowed; }
.seat-closed  { background: #f2f0f2; border-color: #e4e1e4; color: #bab5ba; cursor: not-allowed; }
.seat-pmr     { background: var(--info-soft); border-color: #a8d5ea; color: var(--info); cursor: not-allowed; }
.seat-tech,
.seat-blocked { background: #ede4f8; border-color: #d3c0ec; color: #7c52b8; cursor: not-allowed; }
.seat-broken  { background: repeating-linear-gradient(45deg, #f4f2f4, #f4f2f4 3px, #e6e2e6 3px, #e6e2e6 6px);
                border-color: #dcd7dc; color: #b4aeb4; cursor: not-allowed; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .83rem; color: var(--text-soft); margin-top: 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 16px; border-radius: 5px; border: 1px solid transparent; display: inline-block; }

.cart { position: sticky; top: 84px; }
.cart ul { list-style: none; margin: 0 0 14px; padding: 0; }
.cart li {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.cart .total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 750; margin: 16px 0; }
.cart .timer {
    font-size: .84rem; color: var(--warning); background: var(--warning-soft);
    padding: 10px 13px; border-radius: var(--radius-sm); margin-bottom: 14px; font-weight: 600;
}
.cart-remove {
    color: var(--text-mute); font-size: 1.15rem; line-height: 1;
    padding: 2px 8px; border-radius: 50%; flex: none;
}
.cart-remove:hover { color: var(--danger); background: var(--danger-soft); text-decoration: none; }

/* ------------------------------------------------------------------- QR */
.qr-block {
    text-align: center; padding: 22px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.qr-block img { max-width: 100%; height: auto; image-rendering: pixelated; }

.payment-code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.55rem; font-weight: 700; letter-spacing: .09em;
    background: var(--accent-soft); color: #8a5309;
    padding: 13px 20px; border-radius: var(--radius-sm); display: inline-block;
}

.definition { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 9px 18px; font-size: .93rem; }
.definition dt { color: var(--text-soft); }
.definition dd { margin: 0; font-weight: 600; }

.notice {
    padding: 15px 18px; border-radius: var(--radius-sm); font-size: .92rem;
    border-left: 4px solid var(--secondary); background: var(--secondary-soft); color: #15625d;
}
.notice-warning { border-left-color: var(--warning); background: var(--warning-soft); color: #8a5309; }
.notice-danger  { border-left-color: var(--danger);  background: var(--danger-soft);  color: #9c2b2b; }
.notice-success { border-left-color: var(--success); background: var(--success-soft); color: #226f45; }

.empty { text-align: center; padding: 48px 22px; color: var(--text-mute); }
.empty h3 { color: var(--text-soft); }

.muted { color: var(--text-soft); }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; }

/* ------------------------------------------------------------- impression */
.ticket {
    border: 2px dashed var(--border-strong); border-radius: var(--radius);
    padding: 20px; display: grid; grid-template-columns: 1fr 160px; gap: 18px;
    margin-bottom: 16px; background: var(--surface); page-break-inside: avoid;
}
.ticket .seat-big { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.ticket .qr { text-align: center; }
.ticket .qr img { width: 100%; max-width: 155px; height: auto; }

.print-only { display: none; }

@media print {
    body { background: #fff; font-size: 12px; }
    .no-print, .site-header, .site-footer, .hero { display: none !important; }
    .print-only { display: block !important; }
    .ticket { border-color: #999; box-shadow: none; }
    .card { box-shadow: none; border-color: #ccc; }
    a { color: #000; }
}

/* ----------------------------------------------------------- accessibilité */
.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;
}

/* Respecte le réglage système : plus aucune animation décorative. */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .event-card:hover, .btn:hover, .seat-free:hover { transform: none; }
}
