/* Billetterie rodéo : poussière d'arène, encre de sellerie, bleu denim, rouge d'affiche. */
:root {
  --ink: #2a1d13;
  --dust: #e4d3b2;
  --dust-deep: #d4bd92;
  --paper: #fffdf8;
  --denim: #1f3a56;
  --denim-deep: #152a40;
  --straw: #f3e6c8;
  --red: #a8231b;
  --red-deep: #861a14;
  --muted: #6b5a48;
  --ok: #2f6b3a;
  --warn: #9a5b00;
  --radius: 6px;
  --display: "Rye", "Rockwell", Georgia, serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dust);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  font-variation-settings: "wdth" 100;
}
img { max-width: 100%; }
a { color: var(--denim); text-underline-offset: 2px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: 1.35rem; font-weight: 800; font-variation-settings: "wdth" 85; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 .9em; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(620px, 100% - 2rem); padding-block: 2.5rem 3rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.center { text-align: center; }
.hint { color: var(--muted); font-size: .875rem; font-weight: 400; }

/* ─── Barre du haut ─────────────────────────────────────── */
.topbar { background: var(--denim); color: var(--straw); border-bottom: 3px solid var(--ink); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 54px; width: auto; }
@media (max-width: 520px) { .brand img { height: 44px; } }
.foot-name img { display: block; height: 38px; width: auto; margin-bottom: .4rem; }
.foot-small { font-size: .82rem; opacity: .75; }
.brand:hover { color: #fff; }
.topbar nav { display: flex; gap: 1.25rem; }
.topbar nav a { color: var(--straw); text-decoration: none; font-weight: 600; }
.topbar nav a:hover { color: #fff; text-decoration: underline; }

/* ─── Typographie d'affiche ─────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .005em;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  margin: 0 0 .25em;
  text-wrap: balance;
}
.lede { font-size: 1.2rem; max-width: 40ch; color: var(--ink); }

/* ─── Accueil ───────────────────────────────────────────── */
.home-head { padding: 3.5rem 0 2rem; border-bottom: 2px solid var(--ink); }
.events-list { padding: 1.5rem 0 4rem; }
.event-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--dust-deep);
}
.date-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red); color: var(--straw);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: .5rem 0 .6rem;
}
.date-day { font-family: var(--display); font-size: 2.3rem; line-height: 1; }
.date-month { text-transform: lowercase; font-weight: 700; font-variation-settings: "wdth" 75; }
.event-row h2 { font-size: 1.6rem; margin-bottom: .2em; }
.event-row h2 a { color: var(--ink); text-decoration: none; }
.event-row h2 a:hover { color: var(--red); }
.event-row-sub { margin-bottom: .3em; }
.event-row-meta { color: var(--muted); margin: 0; }
.event-row-cta { text-align: right; }
.from { font-weight: 700; margin-bottom: .5rem; }
.tag { display: inline-block; font-weight: 700; color: var(--muted); margin: 0 0 .5rem; }
.tag-soldout { color: var(--red); font-family: var(--display); font-size: 1.4rem; font-weight: 400; transform: rotate(-4deg); }
.empty { padding: 3rem 0; max-width: 60ch; }
.empty-small { color: var(--muted); }

/* ─── Boutons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--red); color: #fff;
  border: 2px solid var(--ink); border-radius: 4px;
  padding: .75rem 1.25rem;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { background: var(--red-deep); color: #fff; }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--straw); color: var(--ink); }
.btn-block { display: block; width: 100%; font-size: 1.1rem; padding: 1rem; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.link-btn:hover { color: var(--red); }

/* ─── Affiche de l'événement ────────────────────────────── */
.poster {
  position: relative; overflow: hidden;
  background: var(--denim-deep); color: var(--straw);
  border-bottom: 3px solid var(--ink);
}
.poster-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .32; filter: grayscale(.6) contrast(1.1);
}
.poster-in { position: relative; padding: 3.5rem 0 3rem; }
.poster .display { color: var(--straw); max-width: 16ch; }
.poster-date { font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; color: #fff; }
.poster-sub { font-size: 1.25rem; max-width: 45ch; }
.poster-where { margin: 0; color: #fff; }

.event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 3rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}
.prose { max-width: 65ch; margin-bottom: 2rem; }
.prose p { line-height: 1.65; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

/* ─── Achat : talons de billets ─────────────────────────── */
.buy { position: sticky; top: 1rem; }
.buy-title { font-family: var(--display); font-weight: 400; font-size: 2rem; font-variation-settings: normal; }
.stubs { margin-bottom: 1.25rem; }
.stub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: .8rem;
}
.stub-main { padding: .9rem 1rem; }
.stub-main h3 { margin-bottom: .2rem; }
.stub-main p { margin: 0 0 .25rem; font-size: .9rem; color: var(--muted); }
.stub-main .stub-note { color: var(--ink); font-weight: 600; }
.stub-main .stub-low { color: var(--red); font-weight: 700; }
.stub-side {
  position: relative;
  border-left: 2px dashed var(--ink);
  padding: .8rem .6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-align: center;
}
/* Encoches de la perforation */
.stub-side::before, .stub-side::after {
  content: ""; position: absolute; left: -12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--dust); border: 2px solid var(--ink);
}
.stub-side::before { top: -13px; clip-path: inset(50% 0 0 0); }
.stub-side::after { bottom: -13px; clip-path: inset(0 0 50% 0); }
.stub-price { font-weight: 800; font-size: 1.15rem; margin: 0; font-variation-settings: "wdth" 90; }
.stub-state { margin: 0; font-size: .85rem; font-weight: 700; color: var(--muted); }
.stub-off { background: #f1e8d6; }
.stub-off h3 { color: var(--muted); }

.stepper { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; background: #fff; }
.stepper button {
  width: 2.3rem; border: 0; background: var(--straw); color: var(--ink);
  font: 700 1.25rem/1 var(--body); cursor: pointer;
}
.stepper button:hover { background: var(--dust-deep); }
.stepper input {
  width: 2.8rem; border: 0; border-inline: 2px solid var(--ink);
  text-align: center; font: 700 1.05rem var(--body); padding: .45rem 0;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ─── Récapitulatif ─────────────────────────────────────── */
.summary { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: .6rem 0; margin-bottom: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.sum-total { font-weight: 800; font-size: 1.2rem; border-top: 1px dashed var(--ink); margin-top: .35rem; padding-top: .5rem; }

/* ─── Formulaires ───────────────────────────────────────── */
.block { border: 0; padding: 0; margin: 0 0 1.25rem; }
.block legend { font-weight: 800; font-size: 1.1rem; margin-bottom: .6rem; padding: 0; }
label { display: block; font-weight: 600; margin-bottom: .8rem; }
input:not([type=radio]):not([type=checkbox]), select, textarea {
  display: block; width: 100%; margin-top: .3rem;
  padding: .65rem .75rem; font: 400 1rem var(--body);
  border: 2px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink);
}
.stepper input { margin-top: 0; width: 2.8rem; display: inline-block; border-radius: 0; border-block: 0; }
label .hint { display: block; }
.method {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: .75rem .9rem; margin-bottom: .6rem; cursor: pointer; font-weight: 400;
}
.method:has(input:checked) { background: var(--straw); box-shadow: inset 5px 0 0 var(--red); }
.method input { margin-top: .3rem; accent-color: var(--red); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin-bottom: 1.1rem; }
.check input { margin-top: .3rem; accent-color: var(--red); }

.alert { border: 2px solid var(--ink); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1.25rem; font-weight: 600; }
.alert-error { background: #f7d9d4; border-color: var(--red); }
.alert-ok { background: #dcead8; border-color: var(--ok); }

/* ─── Page de commande ──────────────────────────────────── */
.order-page { padding: 2.5rem 0 4rem; }
.order-head { margin-bottom: 1.5rem; }
.order-event { margin-bottom: .3rem; font-weight: 600; }
.order-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; font-variation-settings: "wdth" 80; }
.ref { font-family: var(--display); font-weight: 400; letter-spacing: .03em; }
.status { display: inline-block; font-weight: 700; padding: .25rem .7rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); margin: 0; }
.status-paid { background: #dcead8; }
.status-pending, .status-awaiting_verification { background: #f6e3b8; }
.status-cancelled, .status-expired, .status-refunded { background: #eadfd2; color: var(--muted); }

.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.order-main section { margin-bottom: 1.5rem; }
.order-side { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; }
.side-event { margin-bottom: 1rem; }
.side-meta { font-size: .9rem; color: var(--muted); }
.deadline { background: #f6e3b8; border-left: 5px solid var(--warn); padding: .7rem .9rem; }
.steps { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.steps li { margin-bottom: .4rem; }

.pay-rows { margin: 0 0 1rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); }
.pay-row { display: grid; grid-template-columns: 11rem 1fr; gap: .5rem 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--dust-deep); align-items: center; }
.pay-row:last-child { border-bottom: 0; }
.pay-row dt { color: var(--muted); font-size: .9rem; }
.pay-row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.pay-value { font-weight: 800; font-size: 1.1rem; word-break: break-all; }
.copy-btn {
  flex: none; border: 2px solid var(--ink); background: var(--straw); color: var(--ink);
  border-radius: 4px; padding: .35rem .7rem; font: 700 .85rem var(--body); cursor: pointer;
}
.copy-btn:hover { background: var(--dust-deep); }
.copy-btn.copied { background: #dcead8; }
.declare { margin-top: 1.25rem; padding: 1rem; border: 2px dashed var(--ink); border-radius: var(--radius); }
.details { margin-top: 1rem; }
.details summary { cursor: pointer; font-weight: 700; color: var(--denim); }
.details[open] summary { margin-bottom: .75rem; }
.other-methods .btn { margin-top: .25rem; }
.cancel-form { margin-top: 2rem; }
.inline-form { margin-bottom: 1rem; }

.ticket-list { display: grid; gap: .8rem; }
.ticket {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: .8rem 1rem;
}
.ticket-off { opacity: .55; }
.ticket-label { font-weight: 800; margin: 0; }
.ticket-code { font-family: var(--display); font-size: 1.2rem; letter-spacing: .06em; margin: .3rem 0 0; }
.ticket-note { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.ticket-qr { width: 140px; height: 140px; image-rendering: pixelated; }

.message h1 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; }

/* ─── Pied de page ──────────────────────────────────────── */
.site-foot { background: var(--ink); color: var(--straw); padding: 2rem 0; }
.site-foot a { color: var(--straw); }
.foot-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-in p { margin: 0 0 .3rem; }
.foot-name { font-family: var(--display); font-size: 1.2rem; }

/* ─── Billets imprimables ───────────────────────────────── */
.print-page { background: #fff; padding: 1rem; }
.print-bar { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.print-ticket {
  display: grid; grid-template-columns: 1fr 210px; max-width: 760px;
  border: 2px solid #000; border-radius: 6px; margin-bottom: 1rem; page-break-inside: avoid; break-inside: avoid;
}
.print-main { padding: 1rem 1.25rem; }
.print-main p { margin: 0 0 .2rem; }
.print-main h1 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin-bottom: .4rem; }
.print-site { font-weight: 700; color: var(--muted); }
.print-label { font-weight: 800; font-size: 1.15rem; margin-top: .6rem !important; }
.print-small { font-size: .85rem; color: #444; }
.print-side { border-left: 2px dashed #000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .75rem; }
.print-code { font-family: var(--display); letter-spacing: .06em; margin: .3rem 0 0; }
@media print {
  .print-bar { display: none; }
  .print-page { padding: 0; }
}

/* ─── Bandeaux de promotion + compte à rebours ─────────── */
.btn-small { padding: .45rem .8rem; font-size: .9rem; box-shadow: 2px 2px 0 var(--ink); }
.promo-strip { background: var(--red); color: #fff; border-bottom: 3px solid var(--ink); }
.promo-strip-in { display: grid; gap: .5rem; padding-block: .75rem; }
.promo {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .5rem 1.25rem; align-items: center;
}
.promo + .promo { border-top: 1px dashed rgba(255,255,255,.45); padding-top: .6rem; }
.promo-kicker {
  margin: 0; font-family: var(--display); font-size: 1.05rem; color: var(--straw);
  border: 2px solid var(--straw); padding: .1rem .55rem .15rem; transform: rotate(-3deg);
}
.promo-title { margin: 0; font-weight: 800; font-size: 1.15rem; font-variation-settings: "wdth" 90; }
.promo-msg { margin: 0; font-size: .92rem; opacity: .92; }
.promo-soon { opacity: .95; }
.promo-soon .promo-kicker { background: var(--straw); color: var(--red); }
.promo-over { opacity: .6; }
.promo-cta { background: var(--straw); color: var(--ink); }
.promo-cta:hover { background: #fff; color: var(--ink); }

.countdown { display: flex; align-items: center; gap: .6rem; }
.cd-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; max-width: 7rem; line-height: 1.15; }
.cd-units { display: flex; gap: .3rem; }
.cd-unit {
  display: flex; flex-direction: column; align-items: center; min-width: 2.9rem;
  background: var(--ink); color: var(--straw); border-radius: 4px; padding: .25rem .3rem .2rem;
}
.cd-unit b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-unit small { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.cd-urgent .cd-unit { background: var(--straw); color: var(--red); }

.chosen-seats { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); padding: .6rem .8rem; margin-bottom: 1rem; }
.chosen-title { font-weight: 800; margin-bottom: .3rem; }
.chosen-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.chosen-list li { display: grid; grid-template-columns: 1fr auto auto; gap: .6rem; align-items: center; padding: .2rem 0; border-bottom: 1px dotted var(--dust-deep); }
.chosen-list .link-btn { font-size: 1.2rem; line-height: 1; text-decoration: none; }
.stub-price s { color: var(--muted); font-weight: 600; font-size: .85em; margin-right: .15em; }
.sum-discount { color: var(--ok); font-weight: 700; }
.promo-code { margin-bottom: 1rem; }
.promo-code label { font-weight: 700; display: block; margin-bottom: .3rem; }
.promo-code-row { display: flex; gap: .5rem; }
.promo-code-row input { flex: 1; min-width: 0; padding: .55rem .7rem; border: 2px solid var(--ink); border-radius: 4px; font: inherit; text-transform: uppercase; }
.promo-ok { color: var(--ok) !important; font-weight: 700; }
.promo-bad { color: var(--red) !important; font-weight: 700; }
.seat-lines { list-style: none; margin: 0 0 .3rem; padding: 0 0 0 .9rem; font-size: .82rem; color: var(--muted); }
.ticket-seat, .print-seat { font-weight: 800; color: var(--red); margin: .1rem 0 0 !important; }

/* ─── Accueil : diaporama, prochain rodéo, galerie ─────── */
.hero { position: relative; min-height: min(78vh, 680px); background: var(--ink); color: var(--straw); overflow: hidden; border-bottom: 3px solid var(--ink); display: flex; align-items: flex-end; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; margin: 0; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,29,19,.1) 30%, rgba(42,29,19,.88)); pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding-block: 3rem 2.5rem; width: min(1120px, 100% - 2rem); margin-inline: auto; }
.hero .display { color: var(--straw); max-width: 14ch; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.hero .lede { color: #fff; }
.hero-next {
  display: inline-grid; gap: .5rem; margin-top: 1rem; padding: 1rem 1.2rem;
  background: rgba(255,253,248,.96); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--red);
}
.hero-next-kicker { margin: 0; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.hero-next-title { margin: 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.05; }
.hero-next .countdown { color: var(--ink); }
.hero-next-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.hero-dots { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; display: flex; gap: .4rem; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--straw); background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--straw); }
.hero-caption { position: absolute; z-index: 3; left: 1rem; top: 1rem; font-size: .8rem; background: rgba(42,29,19,.7); color: var(--straw); padding: .2rem .5rem; border-radius: 3px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: 2.1rem; margin: 0 0 1rem; font-variation-settings: normal; }
.gallery { padding: 2.5rem 0 3.5rem; border-top: 2px solid var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--dust-deep); }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 96vw); max-height: 94vh; }
.lightbox::backdrop { background: rgba(20,14,9,.92); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 96vw; max-height: 84vh; border: 3px solid var(--straw); }
.lightbox figcaption { color: var(--straw); text-align: center; padding: .5rem; }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); background: var(--straw); border: 2px solid var(--ink); font-size: 1.6rem; width: 2.8rem; height: 2.8rem; cursor: pointer; border-radius: 50%; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-close { position: fixed; top: 1rem; right: 1rem; background: var(--straw); border: 2px solid var(--ink); font-weight: 800; padding: .4rem .8rem; cursor: pointer; }

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .event-grid, .order-grid { grid-template-columns: 1fr; gap: 2rem; }
  .buy { position: static; }
  .promo { grid-template-columns: 1fr; gap: .4rem; }
  .promo-kicker { justify-self: start; }
  .gallery-grid a:first-child { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  .event-row { grid-template-columns: 4.2rem 1fr; gap: 1rem; }
  .event-row-cta { grid-column: 1 / -1; text-align: left; }
  .date-day { font-size: 1.8rem; }
  .stub { grid-template-columns: minmax(0, 1fr) 8.2rem; }
  .pay-row { grid-template-columns: 1fr; }
  .ticket { flex-direction: column; align-items: flex-start; }
  .print-ticket { grid-template-columns: 1fr; }
  .print-side { border-left: 0; border-top: 2px dashed #000; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .hero .slide { transition: none; }
}

/* ─── Partenaires ───────────────────────────────────────── */
.partners { background: var(--paper); border-top: 2px solid var(--ink); padding: 2.5rem 0 3rem; }
.partner-tier + .partner-tier { margin-top: 1.75rem; }
.partner-tier-label { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin-bottom: .75rem; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; }
.partner-logos a, .partner-logos li > img { display: block; }
.partner-logos img { display: block; max-width: 180px; max-height: 70px; width: auto; height: auto; object-fit: contain; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.partner-logos a:hover img { filter: none; transform: scale(1.04); }
.partner-principal .partner-logos img { max-width: 300px; max-height: 120px; }
.partner-soutien .partner-logos img { max-width: 130px; max-height: 50px; }

/* ─── Avis ──────────────────────────────────────────────── */
.stars { display: inline-flex; gap: 1px; font-size: 1.15em; line-height: 1; vertical-align: -0.1em; }
.star { background: linear-gradient(90deg, #d08a11 var(--f), #cdbfa6 var(--f)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews-block { padding: 2.5rem 0 2rem; border-top: 2px solid var(--ink); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; }
.rating-big { font-size: 1.1rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rating-big strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.review-cards-list { grid-template-columns: 1fr; max-width: 760px; }
.review-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 3px 3px 0 var(--dust-deep); }
.review-meta { font-size: .85rem; color: var(--muted); margin: .35rem 0 .5rem; }
.review-text { margin: 0; }
.review-reply { margin-top: .75rem; padding: .6rem .8rem; background: var(--straw); border-left: 4px solid var(--red); font-size: .92rem; }
.review-reply p { margin: 0; }
.review-reply-by { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem !important; }
.reviews-page { padding: 2.5rem 0 4rem; }
.reviews-summary { max-width: 460px; margin-bottom: 2rem; }
.rating-bars { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .3rem; }
.rating-bars li { display: grid; grid-template-columns: 2.5rem 1fr 2rem; gap: .6rem; align-items: center; font-size: .9rem; font-weight: 700; }
.bar { height: 10px; background: var(--dust-deep); border-radius: 5px; overflow: hidden; }
.bar span { display: block; height: 100%; background: #d08a11; }
.pager { display: flex; gap: 1.5rem; align-items: center; }
.review-form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.review-form label { display: grid; gap: .3rem; font-weight: 700; }
.review-form textarea, .review-form input[type=text], .review-form input[name=author] { font: inherit; padding: .6rem .7rem; border: 2px solid var(--ink); border-radius: 4px; background: #fff; }
.star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.star-input legend { font-weight: 700; margin-bottom: .3rem; float: left; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.4rem; line-height: 1; color: #cdbfa6; cursor: pointer; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #d08a11; }
.star-input input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.review-cta { background: var(--straw); border: 2px dashed var(--ink); border-radius: var(--radius); padding: 1rem; margin: 1.25rem 0; }

/* ─── Vérification, billet, transfert ───────────────────── */
.verify-page { padding-bottom: 3rem; }
.verify-form { display: flex; gap: .5rem; margin: 1.25rem 0 1.5rem; }
.verify-form input { flex: 1; min-width: 0; font: 700 1.1rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .7rem .8rem; border: 2px solid var(--ink); border-radius: 4px; }
.verdict { border: 3px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.25rem; box-shadow: 4px 4px 0 var(--ink); }
.verdict p { margin: 0 0 .4rem; }
.verdict-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.verdict-good { background: #e3f0e3; border-color: var(--ok); }
.verdict-good .verdict-title { color: var(--ok); }
.verdict-bad { background: #f8e1de; border-color: var(--red); }
.verdict-bad .verdict-title { color: var(--red); }
.verdict-warn { background: #fbefd5; border-color: #9a5b00; }
.verify-details { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.25rem; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1rem; }
.verify-details dt { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.verify-details dd { margin: 0; font-weight: 600; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ticket-transfer { display: inline-block; margin-top: .3rem; font-weight: 700; font-size: .9rem; }
.steps-mini { background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--radius); padding: 1rem 1rem 1rem 2.2rem; margin: 1rem 0; }
.steps-mini li + li { margin-top: .4rem; }
.check-line { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 500 !important; }
.check-line input { margin-top: .3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) { .verify-details { grid-template-columns: 1fr; gap: .1rem; } .verify-details dd { margin-bottom: .5rem; } }
.topbar nav a { white-space: nowrap; }
@media (max-width: 560px) {
  .nav-long { display: none; }
  .topbar nav { gap: .9rem; font-size: .92rem; }
  .topbar nav a[href="/"] { display: none; } /* le logo mène déjà à l'accueil */
}

/* ─── Réassurance, annonces, points forts, FAQ ─────────── */
.trust { background: var(--ink); color: var(--straw); padding: 1.1rem 0; }
.trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .9rem 2rem; }
.trust-item { display: flex; gap: .7rem; align-items: flex-start; }
.trust-ico { font-size: 1.3rem; color: var(--straw); background: var(--red); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; flex: none; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span span, .trust-item div span { font-size: .85rem; opacity: .85; }
.trust-item a { color: var(--straw); }
.annonces { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; padding: 2rem 0 0; }
.annonce { background: var(--paper); border: 2px solid var(--ink); border-left-width: 8px; border-radius: var(--radius); padding: 1rem 1.2rem; }
.annonce h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.annonce p { margin: 0 0 .4rem; }
.annonce-important { border-left-color: var(--red); background: #fdf3f1; }
.annonce-info { border-left-color: var(--denim); }
.intro { padding: 2.5rem 0 1rem; }
.intro-text { max-width: 65ch; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.highlight { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem 1.2rem 1.1rem; box-shadow: 4px 4px 0 var(--dust-deep); position: relative; }
.highlight-num { position: absolute; top: -14px; left: 1.1rem; width: 30px; height: 30px; display: grid; place-items: center; background: var(--red); color: var(--straw); font-family: var(--display); border: 2px solid var(--ink); border-radius: 50%; }
.highlight h3 { margin: .4rem 0 .3rem; font-size: 1.05rem; }
.highlight p { margin: 0; font-size: .93rem; color: var(--muted); }
.faq { padding: 2.5rem 0 3rem; border-top: 2px solid var(--ink); }
.faq-list { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--dust-deep); padding: .2rem 0; }
.faq summary { cursor: pointer; font-weight: 800; padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); max-width: 62ch; }
.tag-left { background: var(--red); color: #fff; border-color: var(--red); }

/* ─── Modes de paiement ─────────────────────────────────── */
.method { display: flex; gap: .7rem; align-items: flex-start; }
.method-ico { font-size: 1.2rem; line-height: 1.2; color: var(--denim); }
.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--ok); color: #fff; padding: .1rem .45rem; border-radius: 999px; vertical-align: .1em; }
.badge-off { background: var(--muted); }
.method-off { border: 2px dashed var(--muted) !important; background: #f1ece3 !important; color: var(--muted); cursor: not-allowed; }
.method-off strong { color: var(--muted); }
.method-steps { background: var(--straw); border: 2px solid var(--ink); border-radius: var(--radius); padding: .8rem 1rem .8rem 1rem; margin: -.4rem 0 .9rem; }
.method-steps-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--red); margin: 0 0 .35rem; }
.method-steps ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.method-steps li + li { margin-top: .3rem; }

/* ─── Partage et barre d'achat mobile ───────────────────── */
.share-row { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; padding: 1.5rem 0; font-weight: 600; }
.share-btn { font: 700 .88rem var(--body); padding: .45rem .8rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--ink); cursor: pointer; }
.share-btn:hover { background: var(--ink); color: var(--straw); }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: var(--straw); border-top: 3px solid var(--red); padding: .6rem 0 calc(.6rem + env(safe-area-inset-bottom, 0px)); }
.buybar-in { width: min(1120px, 100% - 2rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.buybar-title { margin: 0; font-weight: 800; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 55vw; }
.buybar-price { margin: 0; font-size: .82rem; opacity: .85; }
@media (min-width: 861px) { .buybar { display: none; } }

/* En-tête sans photo : fond « affiche de rodéo » pour que l'accueil reste soigné avant l'ajout d'images. */
.home-head {
  position: relative; background: var(--denim); color: var(--straw); padding: 3.5rem 0 3rem; border-bottom: 3px solid var(--ink); overflow: hidden;
}
.home-head::before {
  content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--straw) 0 2px, transparent 2px 54px);
}
.home-head > .wrap { position: relative; }
.home-head .display { color: var(--straw); max-width: 16ch; }
.home-head .lede { color: #fff; opacity: .92; }
.rev-badge { display: inline-block; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: var(--dust-deep); color: var(--ink); padding: .08rem .45rem; border-radius: 999px; }
.rev-badge-ok { background: var(--ok); color: #fff; }
.tabs-public { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.5rem; }
.tabs-public a { padding: .45rem .9rem; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); font-weight: 700; font-size: .9rem; }
.tabs-public a.on { background: var(--ink); color: var(--straw); }
.kind-scores { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .3rem; }
.kind-scores li { display: flex; gap: .5rem; align-items: baseline; font-size: .92rem; }
.kind-scores strong { font-size: 1.05rem; }
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40; max-width: 560px; margin-inline: auto;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--ink); padding: 1rem 1.1rem; }
.consent p { margin: 0 0 .7rem; font-size: .9rem; }
.consent-actions { display: flex; gap: .5rem; justify-content: flex-end; }
@media (max-width: 860px) { .consent { bottom: 5rem; } }
