/* TITETI — site public. S'appuie sur ui/titeti.css (tokens et composants).
   La découverte (accueil, événement, organisateur) vit la nuit ; l'achat et les billets restent clairs. */
html { scroll-behavior: smooth; scrollbar-color: var(--t-po-3) transparent; }
@view-transition { navigation: auto; }
.page { min-height: 100dvh; display: flex; flex-direction: column; }
.cadre { width: min(1280px, 100% - 2.5rem); margin-inline: auto; }
.cadre-etroit { width: min(720px, 100% - 2.5rem); margin-inline: auto; }
main { flex: 1; }
.nuit { --t-fond: var(--t-po); }
.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: .7rem 1rem; border-radius: 12px; background: var(--t-rea); color: var(--t-po); font-weight: 650; text-decoration: none; }
.evitement:focus { top: 1rem; }

/* ---------- En-tête : posé sur l'affiche, il se remplit quand on descend */
.tete { --h: 68px; position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .94); border-bottom: 1px solid var(--t-trait); transition: background-color .25s, border-color .25s; }
.tete .cadre { display: flex; align-items: center; gap: 1rem; height: var(--h); }
.tete-logo { flex: none; }
.tete-logo img { height: 34px; width: auto; }
.logo-nuit { display: none; }
.tete-recherche { flex: 0 1 380px; margin-left: clamp(.5rem, 3vw, 2.5rem); position: relative; display: flex; align-items: center; }
.tete-recherche svg { position: absolute; left: .9rem; width: 20px; height: 20px; color: var(--t-texte-3); pointer-events: none; }
.tete-recherche input { width: 100%; height: 44px; padding: 0 1rem 0 2.75rem; border: 0; border-radius: 999px; background: var(--t-nacre); font-size: 1rem; }
.tete-recherche input::placeholder { color: var(--t-texte-3); }
.tete-recherche input:focus { outline: 0; box-shadow: 0 0 0 3px var(--t-po-3); }
.tete-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.tete-nav a.simple { padding: .5rem .7rem; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 10px; }
.tete-nav a.simple:hover { background: var(--t-nacre); }
.tete-creer { background: var(--t-po); color: #fff; white-space: nowrap; }
.tete-creer:hover { background: var(--t-po-2); }
.tete-nuit .tete { background: transparent; border-bottom-color: transparent; }
.tete-nuit .tete[data-colle], .tete-pleine .tete { background: rgb(26 18 71 / .96); border-bottom-color: var(--t-trait); }
.tete-nuit .logo-clair { display: none; }
.tete-nuit .logo-nuit { display: block; }
.tete-nuit .tete { color: #fff; }
.tete-nuit .tete-recherche input { background: rgb(255 255 255 / .14); color: #fff; }
.tete-nuit .tete-recherche input::placeholder, .tete-nuit .tete-recherche svg { color: #D9D5F5; }
.tete-nuit .tete-recherche input:focus { box-shadow: 0 0 0 3px var(--t-rea); background: rgb(26 18 71 / .7); }
.tete-nuit .tete-nav a.simple:hover { background: rgb(255 255 255 / .12); }
.tete-nuit .tete-creer { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); }
.tete-nuit .tete-creer:hover { background: #fff; color: var(--t-po); box-shadow: none; }
@media (max-width: 860px) { .tete-nav a.simple { display: none; } }
@media (max-width: 560px) {
  .tete { --h: 60px; }
  .tete .cadre { gap: .6rem; }
  .tete-logo img { height: 28px; }
  .tete .cadre { position: relative; }
  .tete-recherche { margin-left: auto; flex: none; width: 44px; }
  .tete-recherche svg { left: 12px; }
  .tete-recherche input { padding: 0 0 0 44px; cursor: pointer; }
  .tete-recherche input::placeholder { color: transparent; }
  .tete-recherche:focus-within { position: absolute; inset: 8px 0; width: auto; z-index: 2; }
  .tete-recherche:focus-within input { padding-right: 1rem; cursor: text; background: #fff; color: var(--t-po); box-shadow: 0 0 0 3px var(--t-rea); }
  .tete-recherche:focus-within svg { color: var(--t-po-3); }
  .tete-nav { margin-left: 0; }
  .tete-creer { padding-inline: .8rem; font-size: .88rem; }
}

/* ---------- La une : l'affiche du soir choisi remplit l'écran */
.une { position: relative; isolation: isolate; margin-top: calc(-1 * 68px); min-height: min(100svh - 70px, 880px); display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(1.5rem, 4vh, 3rem); padding: calc(68px + 2rem) 0 clamp(1.25rem, 3vh, 2.25rem); background: var(--teinte, var(--t-po)); overflow: hidden; }
.une-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; animation: une-souffle 24s var(--t-sortie) both; }
@keyframes une-souffle { from { transform: scale(1.07); } to { transform: scale(1); } }
.une::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(26 18 71 / .94) 0%, rgb(26 18 71 / .78) 32%, rgb(26 18 71 / .12) 68%, rgb(26 18 71 / 0) 100%),
  linear-gradient(0deg, var(--t-po) 0%, rgb(26 18 71 / .82) 22%, rgb(26 18 71 / 0) 52%),
  linear-gradient(180deg, rgb(26 18 71 / .55) 0%, rgb(26 18 71 / 0) 22%); }
.une-texte { color: #fff; }
.une-titre { font-size: clamp(3.4rem, 11.5vw, 10rem); line-height: .9; letter-spacing: -.012em; max-width: 9.5ch; text-wrap: balance; }
.une-titre a { text-decoration: none; }
.une-titre a:hover { color: var(--t-rea); }
.une-quand { margin-top: clamp(.9rem, 2vh, 1.4rem); font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: #E4E1FA; }
.une-quand strong { color: #fff; font-weight: 700; }
.une-accroche { margin-top: .5rem; font-size: clamp(1rem, 1.4vw, 1.2rem); color: #D9D5F5; max-width: 46ch; }
.une-action { margin-top: clamp(1.1rem, 2.5vh, 1.75rem); display: flex; align-items: center; gap: .9rem 1.25rem; flex-wrap: wrap; }
.une-action .t-btn-grand { min-height: 60px; font-size: 1.125rem; padding-inline: 1.75rem; }
.une-prix { color: #E4E1FA; font-weight: 600; }
.une-prix b { color: #fff; font-size: 1.7rem; margin-inline: .15rem; }
.une-vide { padding-block: 4rem 1rem; }

/* Le ruban des jours : une seule rangée, jamais de retour à la ligne */
.ruban-titre { font-size: .9rem; font-weight: 600; color: #C9C4EC; margin-bottom: .65rem; }
.ruban { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: clamp(4px, .6vw, 9px); }
.jour > * { display: flex; flex-direction: column; justify-content: space-between; height: clamp(92px, 13vh, 124px); padding: .7rem .75rem .65rem; border-radius: 14px; background: rgb(255 255 255 / .1); color: #fff; text-decoration: none; transition: background-color .18s, transform .25s var(--t-sortie); }
.jour small { font-size: .8rem; font-weight: 600; color: #D9D5F5; }
.jour b { font-size: clamp(1.7rem, 3.1vw, 2.9rem); }
.jour i { display: flex; align-items: center; gap: 3px; height: 8px; font-style: normal; }
.jour s { width: 7px; height: 7px; border-radius: 50%; background: var(--t-rea); }
.jour em { font-style: normal; font-weight: 700; font-size: .75rem; line-height: 1; color: var(--t-rea); }
.jour a:hover { background: rgb(255 255 255 / .22); transform: translateY(-3px); }
.jour-vide > * { background: rgb(255 255 255 / .04); }
.jour-vide b, .jour-vide small { color: rgb(255 255 255 / .42); }
.jour-auj > * { box-shadow: inset 0 0 0 2px rgb(255 255 255 / .75); background: rgb(255 255 255 / .1); }
.jour-auj b, .jour-auj small { color: #fff; }
.jour[aria-current].jour-auj > * { box-shadow: none; }
.jour[aria-current] > * { background: var(--t-rea); color: var(--t-po); }
.jour[aria-current] small { color: var(--t-po); }
.jour[aria-current] s { background: var(--t-po); }
.jour[aria-current] em { color: var(--t-po); }
.jour[aria-current] a:hover { background: var(--t-rea-fort); }
@media (max-width: 760px) {
  .une { min-height: min(100svh, 820px); margin-top: -60px; padding-top: calc(60px + 1.5rem); }
  .une::before { background: linear-gradient(0deg, var(--t-po) 0%, rgb(26 18 71 / .9) 34%, rgb(26 18 71 / .3) 62%, rgb(26 18 71 / 0) 78%), linear-gradient(180deg, rgb(26 18 71 / .6) 0%, rgb(26 18 71 / 0) 18%); }
  .une-image { object-position: 50% 18%; }
  .ruban-zone { width: 100%; }
  .ruban-titre { padding-inline: 1.25rem; }
  .ruban { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.5rem - 6 * 6px) / 7.4); gap: 6px; overflow-x: auto; padding-inline: 1.25rem; scroll-snap-type: x proximity; scrollbar-width: none; }
  .ruban::-webkit-scrollbar { display: none; }
  .jour { scroll-snap-align: start; }
  .jour > * { height: 88px; padding: .55rem .5rem; border-radius: 12px; }
  .jour b { font-size: 1.75rem; }
  .jour small { font-size: .74rem; }
}

/* ---------- Trouver vite : la barre de filtres reste sous l'en-tête */
.trouver { position: sticky; top: 68px; z-index: 20; background: var(--t-po); border-bottom: 1px solid var(--t-trait); scroll-margin-top: 68px; }
.puces { display: flex; align-items: center; gap: .45rem; overflow-x: auto; padding: .8rem 2.5rem .8rem 0; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 3rem), #0000); mask: linear-gradient(90deg, #000 calc(100% - 3rem), #0000); }
.puces::-webkit-scrollbar { display: none; }
.puce { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; background: var(--t-surface-2); color: var(--t-texte-2); transition: background-color .15s, color .15s; }
.puce:hover { background: var(--t-po-3); color: #fff; }
.puce[aria-current="true"] { background: #fff; color: var(--t-po); }
.puces-sep { flex: none; width: 1.5px; height: 24px; background: var(--t-trait-fort); margin-inline: .35rem; }
@media (max-width: 560px) { .trouver { top: 60px; } .trouver .cadre { width: 100%; } .puces { padding-inline: 1.25rem; } }

/* ---------- Les affiches */
.aff { position: relative; flex: none; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate; background: var(--t-surface-2); color: #fff; text-decoration: none; }
.aff > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--t-sortie); }
.aff::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(18 12 54 / .97) 0%, rgb(18 12 54 / .86) 30%, rgb(18 12 54 / .45) 50%, rgb(18 12 54 / 0) 72%); }
.aff:hover > img, .aff:focus-visible > img { transform: scale(1.05); }
.aff-sansimg { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; background: var(--t-po-2); }
.aff-sansimg img { width: 34%; opacity: .85; }
.aff-jour { position: absolute; top: .75rem; left: .75rem; display: grid; justify-items: center; min-width: 52px; padding: .45rem .55rem .4rem; border-radius: 13px; background: #fff; color: var(--t-po); font-size: .76rem; font-weight: 700; line-height: 1; }
.aff-jour b { font-size: 1.65rem; margin-bottom: .1rem; }
.aff-bas { position: absolute; inset: auto 0 0 0; display: grid; gap: .3rem; padding: 1rem 1.05rem 1.05rem; }
.aff-quand { font-size: .86rem; font-weight: 600; color: #E4E1FA; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff-titre { font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: .95; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aff-prix { font-size: .95rem; font-weight: 700; color: #fff; }
.aff-grand .aff-titre { font-size: clamp(2rem, 3.6vw, 3.4rem); }

/* Rubrique : un titre, puis une rangée qui défile */
.rubrique { padding-top: clamp(2.75rem, 6vw, 4.75rem); }
.rubrique-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.rubrique-tout { flex: none; font-weight: 600; font-size: .95rem; color: #fff; text-decoration: underline; text-decoration-color: var(--t-trait-fort); padding: .6rem 0; }
.rubrique-tout:hover { text-decoration-color: #fff; }
.rang { position: relative; }
.piste { --bord: max(1.25rem, (100vw - 1280px) / 2); display: flex; gap: clamp(.75rem, 1.4vw, 1.25rem); overflow-x: auto; padding: 4px var(--bord) 1rem; scroll-padding-inline: var(--bord); scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.piste::-webkit-scrollbar { display: none; }
.piste .aff { width: clamp(220px, 23vw, 300px); scroll-snap-align: start; }
.piste .aff-grand { width: clamp(280px, 36vw, 470px); aspect-ratio: auto; }
.rang-fleche { position: absolute; top: calc(50% - .5rem); z-index: 2; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--t-po); cursor: pointer; box-shadow: 0 2px 6px rgb(0 0 0 / .25), 0 12px 28px rgb(0 0 0 / .35); transition: opacity .2s, transform .2s var(--t-sortie); }
.rang-fleche svg { width: 24px; height: 24px; }
.rang-fleche:hover { transform: scale(1.08); }
.rang-avant { left: max(.6rem, (100vw - 1280px) / 2 - 26px); }
.rang-apres { right: max(.6rem, (100vw - 1280px) / 2 - 26px); }
.rang[data-debut] .rang-avant, .rang[data-fin] .rang-apres { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 760px) { .rang-fleche { display: none; } }
@media (max-width: 600px) { .piste .aff { width: 62vw; } .piste .aff-grand { width: 78vw; aspect-ratio: 4 / 5; } }

/* Une sélection (jour, île, catégorie, recherche) : les affiches en mur */
.selection { padding-top: clamp(2.25rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); min-height: 40vh; }
.selection-compte { margin-top: .6rem; color: var(--t-texte-2); }
.mur { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
@media (max-width: 560px) { .mur { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; } .mur .aff { border-radius: 16px; } .mur .aff-titre { font-size: 1.3rem; } .mur .aff-bas { padding: .7rem; } .mur .aff-jour { top: .5rem; left: .5rem; min-width: 44px; } }

/* Par île : les noms en très grand, les affiches en éventail */
.iles { padding-top: clamp(3rem, 7vw, 5.5rem); }
.iles-liste { list-style: none; margin: 1.25rem 0 0; padding: 0; border-top: 1.5px solid var(--t-trait); }
.ile { display: grid; grid-template-columns: minmax(0, 1fr) 9ch clamp(120px, 15vw, 210px); align-items: center; gap: 1rem clamp(1rem, 3vw, 2.5rem); padding: clamp(.6rem, 1.4vw, 1rem) 0; border-bottom: 1.5px solid var(--t-trait); text-decoration: none; }
.ile-nom { font-size: clamp(2.6rem, 8.5vw, 6.75rem); line-height: .9; color: var(--t-texte-3); transition: color .2s, transform .35s var(--t-sortie); transform-origin: left; }
.ile-compte { font-weight: 600; color: var(--t-texte-2); white-space: nowrap; }
.ile-affiches { display: flex; justify-content: flex-end; }
.ile-affiches img { width: clamp(52px, 6vw, 84px); aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 3px var(--t-po); transition: transform .35s var(--t-sortie); }
.ile-affiches img + img { margin-left: clamp(-26px, -2.4vw, -18px); }
.ile:hover .ile-nom, .ile:focus-visible .ile-nom { color: #fff; transform: translateX(.12em); }
.ile:hover .ile-compte { color: #fff; }
.ile:hover .ile-affiches img:nth-child(1) { transform: rotate(-6deg) translateX(-8px); }
.ile:hover .ile-affiches img:nth-child(3) { transform: rotate(6deg) translateX(8px); }
@media (max-width: 560px) { .ile { grid-template-columns: minmax(0, 1fr) auto; } .ile-compte { grid-column: 1; grid-row: 2; margin-top: -.6rem; font-size: .9rem; } .ile-affiches { grid-row: 1 / 3; grid-column: 2; } }

/* Tout le programme : jour après jour */
.programme { padding-top: clamp(3rem, 7vw, 5.5rem); }
.programme-mois { margin: 2.25rem 0 .5rem; font-size: 1.5rem; color: var(--t-texte-2); }
.programme-liste { list-style: none; margin: 0; padding: 0; }
.ligne { display: grid; grid-template-columns: 64px 64px minmax(0, 1fr) auto auto; align-items: center; gap: 0 clamp(.75rem, 2vw, 1.5rem); padding: .7rem 0; text-decoration: none; transition: background-color .15s, padding .25s var(--t-sortie); }
.programme-liste li + li { border-top: 1px solid var(--t-trait); }
.ligne:hover { background: var(--t-surface); padding-inline: .75rem; }
.ligne-jour { display: grid; justify-items: center; line-height: 1; }
.ligne-jour b { font-size: 2.3rem; }
.ligne-jour small { margin-top: .2rem; font-size: .8rem; font-weight: 600; color: var(--t-texte-2); }
.ligne-img { width: 64px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--t-surface-2); }
.ligne-img img { width: 100%; height: 100%; object-fit: cover; }
.ligne-txt { display: grid; gap: .25rem; min-width: 0; }
.ligne-txt b { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1; }
.ligne-txt span { color: var(--t-texte-2); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ligne-cat { font-size: .85rem; font-weight: 600; color: var(--t-texte-2); padding: .3rem .7rem; border-radius: 999px; background: var(--t-surface-2); white-space: nowrap; }
.ligne-prix { min-width: 7.5ch; text-align: right; font-weight: 700; color: #fff; white-space: nowrap; }
@media (max-width: 760px) { .ligne-txt span { white-space: normal; } .ligne { grid-template-columns: 44px 52px minmax(0, 1fr); row-gap: .15rem; } .ligne-cat { display: none; } .ligne-jour b { font-size: 1.8rem; } .ligne-img { width: 52px; grid-row: 1 / 3; grid-column: 2; } .ligne-jour { grid-row: 1 / 3; } .ligne-prix { grid-column: 3; text-align: left; font-size: .9rem; } }
.vide { padding: 3rem 1.5rem; text-align: center; background: var(--t-surface-2); border-radius: 22px; }

/* ---------- Pour celles et ceux qui organisent */
.bande { margin-top: clamp(1.5rem, 4vw, 3rem); background: var(--t-rea); color: var(--t-po); }
.bande ::selection { background: var(--t-po); color: var(--t-rea); }
.bande .cadre { padding: clamp(2.75rem, 7vw, 5.5rem) 0; }
.bande-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.bande-tete h2 { font-size: clamp(2.6rem, 7.5vw, 6rem); line-height: .97; max-width: 15ch; }
.bande-tete .t-btn { min-height: 60px; font-size: 1.125rem; padding-inline: 1.75rem; }
.bande :focus-visible { outline-color: var(--t-po); }
.bande-points { list-style: none; margin: clamp(2rem, 4vw, 3.25rem) 0 0; padding: 1.5rem 0 0; border-top: 2px solid rgb(26 18 71 / .22); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); font-size: 1.02rem; line-height: 1.5; }
.bande-points b { display: block; margin-bottom: .35rem; font-family: var(--t-titre); font-weight: 800; font-size: 1.5rem; line-height: 1; }
@media (max-width: 760px) { .bande-points { grid-template-columns: 1fr; } }

/* ---------- Pied */
.pied { background: #120C36; color: #C9C4EC; padding: 2.5rem 0; font-size: .9rem; }
.pied .cadre { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.pied img { height: 32px; width: auto; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.section-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: clamp(2.5rem, 6vw, 4rem) 0 1.25rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .une-image { animation: none; } @view-transition { navigation: none; } }

/* Page d'événement : la scène */
.scene { position: relative; isolation: isolate; margin-top: -68px; min-height: min(92svh, 860px); display: grid; align-items: end; padding: calc(68px + 2.5rem) 0 clamp(1.75rem, 4vh, 3rem); background: var(--teinte, var(--t-po)); color: #fff; overflow: hidden; }
.scene-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: une-souffle 24s var(--t-sortie) both; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(26 18 71 / .9) 0%, rgb(26 18 71 / .6) 36%, rgb(26 18 71 / .1) 70%, rgb(26 18 71 / .3) 100%),
  linear-gradient(0deg, var(--t-po) 0%, rgb(26 18 71 / .78) 24%, rgb(26 18 71 / 0) 58%),
  linear-gradient(180deg, rgb(26 18 71 / .6) 0%, rgb(26 18 71 / 0) 22%); }
.scene-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.scene-titre { font-size: clamp(3.2rem, 10.5vw, 9.5rem); line-height: .9; letter-spacing: -.012em; max-width: 10ch; }
.scene-accroche { margin-top: clamp(.9rem, 2vh, 1.4rem); font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.35; color: #fff; max-width: 34ch; }
.scene-fil { margin-top: .9rem; font-weight: 600; color: #D9D5F5; }
.scene-fil a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .45); }
.scene-fil a:hover { text-decoration-color: #fff; }
.scene-billet { --coupe: 172px; width: 100%; }
.scene-billet-haut { height: 172px; padding: 1.35rem 1.5rem 0; display: grid; align-content: start; gap: .3rem; overflow: hidden; }
.scene-date { display: flex; align-items: center; gap: .7rem; margin-bottom: .2rem; }
.scene-date b { font-size: 4.4rem; line-height: .82; }
.scene-date span { font-family: var(--t-titre); font-weight: 800; font-size: 1.45rem; line-height: .98; text-transform: capitalize; }
.scene-quand { font-size: .98rem; }
.scene-quand strong { font-weight: 700; }
.scene-lieu { font-size: .98rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scene-billet-bas { padding: 1.25rem 1.5rem 1.4rem; display: grid; gap: .9rem; }
.scene-prix { display: flex; align-items: baseline; gap: .5rem; font-weight: 650; }
.scene-prix b { font-size: 2.7rem; }
.scene-prix small { font-size: .9rem; font-weight: 600; }
.scene-billet .t-btn { width: 100%; min-height: 60px; font-size: 1.125rem; }
.scene-billet :focus-visible { outline-color: var(--t-po); }
.scene-etat { font-family: var(--t-titre); font-size: 1.8rem; line-height: 1; }
@media (max-width: 860px) {
  .scene { margin-top: -60px; min-height: 0; padding-top: min(52svh, 420px); }
  .scene::before { background: linear-gradient(0deg, var(--t-po) 0%, var(--t-po) 30%, rgb(26 18 71 / .75) 52%, rgb(26 18 71 / 0) 76%), linear-gradient(180deg, rgb(26 18 71 / .6) 0%, rgb(26 18 71 / 0) 16%); }
  .scene-image { height: min(74svh, 640px); object-position: 50% 20%; }
  .scene-grille { grid-template-columns: 1fr; }
}

/* Ce qui rassure avant d'acheter */
.atouts { background: var(--t-po); color: #fff; border-top: 1px solid var(--t-trait); }
.atouts ul { list-style: none; margin: 0 auto; padding: clamp(1.25rem, 3vw, 1.9rem) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem clamp(1rem, 3vw, 2.5rem); }
.atouts li { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; line-height: 1.4; color: var(--t-texte-2); }
.atouts svg { flex: none; width: 26px; height: 26px; color: var(--t-rea); }
.atouts b { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 900px) { .atouts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .atouts ul { grid-template-columns: 1fr; gap: .9rem; } }

.pratique { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--t-trait); }
.pratique > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--t-trait); }
.pratique dt { font-family: var(--t-titre); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.pratique dd { margin: 0; font-weight: 650; font-size: 1.05rem; }
.pratique dd small { display: block; font-weight: 400; font-size: .95rem; color: var(--t-texte-2); }
.pratique dd .t-lien { display: inline-block; margin-top: .35rem; font-size: .95rem; }
.pratique-texte { font-weight: 400 !important; }
@media (max-width: 560px) { .pratique > div { grid-template-columns: 1fr; } }
.partage { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; align-items: start; }
.corps-achat { position: sticky; top: 84px; }
@media (max-width: 900px) { .corps { grid-template-columns: 1fr; } .corps-achat { position: static; order: -1; } }
.prose { font-size: 1.125rem; line-height: 1.65; max-width: 62ch; white-space: pre-line; }
.prose::first-line { font-weight: 650; font-size: 1.3rem; }
.bloc + .bloc { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.bloc h2 { margin-bottom: .85rem; }
.orga { display: flex; align-items: center; gap: .9rem; text-decoration: none; padding: 1rem; border: 1px solid var(--t-trait); border-radius: 18px; }
.orga:hover { border-color: var(--t-po-3); }
.orga-rond { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--t-po); color: var(--t-rea); display: grid; place-items: center; font-family: var(--t-titre); font-weight: 800; font-size: 1.5rem; overflow: hidden; }

/* Achat */
.achat { border: 2px solid var(--t-po); border-radius: 24px; padding: 1.4rem; background: #fff; box-shadow: var(--t-ombre-2); }
.achat h2 { margin-bottom: .25rem; }
.dates { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0 .25rem; }
.dates label { position: relative; cursor: pointer; }
.dates input { position: absolute; opacity: 0; inset: 0; }
.dates span { display: block; padding: .55rem .9rem; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--t-trait-fort); font-weight: 600; font-size: .95rem; }
.dates input:checked + span { background: var(--t-po); color: #fff; box-shadow: none; }
.dates input:focus-visible + span { outline: 3px solid var(--t-po-3); outline-offset: 2px; }
.tarif { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--t-trait); }
.tarif-nom { font-weight: 650; font-size: 1.05rem; }
.tarif-prix { font-family: var(--t-titre); font-weight: 800; font-size: 1.35rem; }
.tarif-desc { color: var(--t-texte-2); font-size: .9rem; }
.tarif[data-complet="1"] { opacity: .55; }
.coord { display: grid; gap: .85rem; margin-top: 1.25rem; }
.coord-deux { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.coord-deux .t-input { min-width: 0; }
.prenoms { border: 0; margin: .35rem 0 0; padding: 1rem; min-width: 0; border-radius: 14px; background: var(--t-nacre); }
.prenoms legend { float: left; width: 100%; padding: 0; }
.prenoms .t-aide { clear: both; display: block; margin: .15rem 0 .75rem; }
.prenoms-liste { display: grid; gap: .7rem; }
.total { display: flex; align-items: baseline; justify-content: space-between; margin: 1.25rem 0 .85rem; }
.total b { font-family: var(--t-titre); font-size: 2rem; font-weight: 800; }
.rassure { margin-top: .75rem; font-size: .85rem; color: var(--t-texte-2); text-align: center; }
.barre { display: none; }
@media (max-width: 900px) {
  .barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--t-trait); box-shadow: 0 -8px 24px rgb(26 18 71 / .1); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--t-sortie), visibility 0s .35s; }
  .barre[data-visible="1"] { transform: none; visibility: visible; transition-delay: 0s; }
  .barre b { font-family: var(--t-titre); font-size: 1.6rem; font-weight: 800; display: block; line-height: 1; }
  body:has(.barre) .pied { padding-bottom: 6.5rem; }
}

/* Commande et billets */
.suite { padding: clamp(2rem, 6vw, 4rem) 0 4rem; }
.suite h1 { max-width: 18ch; }
.suite .sous { margin-top: .85rem; font-size: 1.1rem; color: var(--t-texte-2); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.billets { display: grid; gap: 1.5rem; margin-top: 2.25rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.billet { --coupe: 204px; }
.billet-haut { padding: 1.4rem 1.4rem 1rem; height: 204px; overflow: hidden; }
.billet-haut h3 { font-size: 1.7rem; margin-top: .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.billet-ligne { margin-top: .45rem; font-size: .95rem; font-weight: 600; }
.billet-bas { padding: 1.4rem; display: grid; grid-template-columns: 148px 1fr; gap: 1.1rem; align-items: center; }
.billet-qr { background: #fff; padding: 10px; border-radius: 14px; width: 148px; height: 148px; }
.billet-qr svg { width: 128px; height: 128px; }
.billet-num { font-family: var(--t-titre); font-weight: 800; font-size: 1.5rem; }
.recap { margin-top: 2.5rem; border-top: 1px solid var(--t-trait); padding-top: 1.25rem; display: grid; gap: .4rem; max-width: 460px; }
.recap div { display: flex; justify-content: space-between; gap: 1rem; }
.compte-a-rebours { font-family: var(--t-titre); font-weight: 800; font-size: 3.5rem; font-variant-numeric: tabular-nums; line-height: 1; }

/* Page organisateurs */
.bareme { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.bareme th, .bareme td { padding: .8rem .5rem; text-align: right; border-bottom: 1px solid var(--t-trait); }
.bareme th:first-child, .bareme td:first-child { text-align: left; }
.bareme th { font-size: .85rem; color: var(--t-texte-2); font-weight: 600; }
.bareme td:last-child { font-weight: 700; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.5rem; margin-top: 2rem; }
.points h3 { margin-bottom: .4rem; }
.points p { color: var(--t-texte-2); }

/* Après l'achat : d'autres sorties, de nouveau dans la nuit */
.suite-nuit { background: var(--t-po); color: #fff; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.suite-nuit .rubrique { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Page d'un organisateur */
.orga-tete { padding: clamp(2.5rem, 7vw, 5rem) 0 0; }
.orga-tete h1 { font-size: clamp(3rem, 10vw, 8rem); line-height: .88; }
.orga-tete p { margin-top: 1rem; max-width: 52ch; font-size: 1.15rem; color: var(--t-texte-2); }
.orga-tete .selection-compte { color: var(--t-texte-2); font-weight: 600; font-size: 1rem; }
