/* ═══ Page Événements — Devil Performance ═══
   Charte : le violet c'est la salle, l'orange c'est l'effort (chrono + alerte places uniquement).
   Ticket façon t-shirt DEVIL'ROX (ticket de caisse), chrono façon timer LED de la salle. */
:root {
  --nuit: #050505; --nuit-2: #0a090e; --carte: #0d0c12; --champ: #131219; --filet: #26262D;
  --violet: #7C3AED; --violet-d: #5B21B6; --lilas: #A78BFA; --violet-nuit: #1B0B33;
  --orange: #FF7A1A; --blanc: #F5F3FF; --gris: #9A96A8; --papier: #F3F1EA;
}
html { overflow-x: clip; }
#ev-app { overflow-x: clip; }   /* halo du ticket, affiche inclinée : jamais de défilement horizontal (clip garde le sticky) */
.ev-page { font-family: Barlow, system-ui, sans-serif; }
.ev-page ::selection { background: var(--violet); color: #fff; }
.nav-blur { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
@keyframes pdot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.pdot { animation: pdot 2s ease-in-out infinite; }

.ev-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.ev-section { position: relative; padding: 110px 0; }
.ev-section--sombre { background: var(--nuit-2); }
.ev-kicker { font: 700 12px/1 'Barlow Condensed', sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--lilas); margin-bottom: 16px; }
.ev-h2 { font: 900 clamp(38px, 6vw, 68px)/.92 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 22px; }
.ev-h2 em { font-style: normal; color: var(--lilas); text-shadow: 0 0 40px rgba(124, 58, 237, .55); }
.ev-texte { color: rgba(245, 243, 255, .62); font-weight: 300; font-size: 17px; line-height: 1.7; max-width: 60ch; }
.ev-texte + .ev-texte { margin-top: 14px; }
.ev-texte strong { color: rgba(245, 243, 255, .9); font-weight: 500; }

/* boutons (texte blanc sur violet : règle 2 de la charte) */
.ev-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--violet); color: #fff;
  font: 700 14px/1 'Barlow Condensed', sans-serif; letter-spacing: .16em; text-transform: uppercase; padding: 18px 30px;
  border-radius: 14px; border: 0; cursor: pointer; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, .35), 0 10px 30px rgba(124, 58, 237, .25); }
.ev-btn:hover { background: #6D28D9; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(167, 139, 250, .5), 0 16px 44px rgba(124, 58, 237, .4); }
.ev-btn:focus-visible { outline: 2px solid var(--lilas); outline-offset: 3px; }
.ev-btn--ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ev-btn--ghost:hover { background: rgba(124, 58, 237, .12); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); }
.ev-btn svg { width: 16px; height: 16px; flex: none; }
.ev-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* apparitions */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.on { opacity: 1; transform: none; }
html.failsafe .reveal, html.no-js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* secours sans JS */
.ev-secours { display: none; padding: 160px 0 100px; }
html.no-js .ev-secours, html.failsafe .ev-secours { display: block; }
html.failsafe #ev-app { display: none; }

/* bandeau exemple */
.ev-exemple { position: relative; z-index: 3; margin: 92px auto -70px; max-width: 1140px; padding: 0 20px; }
.ev-exemple p { border: 1px dashed rgba(167, 139, 250, .5); background: rgba(27, 11, 51, .7); border-radius: 14px; padding: 12px 16px;
  font: 600 13px/1.45 Barlow, sans-serif; color: var(--blanc); text-align: center; }
.ev-exemple strong { color: var(--lilas); text-transform: uppercase; letter-spacing: .12em; font-family: 'Barlow Condensed', sans-serif; }

/* ═══ HERO ═══ */
.ev-hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.ev-hero__fond { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(124, 58, 237, .22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(91, 33, 182, .16), transparent 70%),
    linear-gradient(rgba(124, 58, 237, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(124, 58, 237, .045) 1px, transparent 1px) 0 0 / 56px 56px; }
.ev-hero__grille { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.ev-puce { display: inline-flex; align-items: center; gap: 9px; background: rgba(124, 58, 237, .1); border: 1px solid rgba(124, 58, 237, .28);
  border-radius: 99px; padding: 7px 15px; font: 600 12px/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lilas); }
.ev-puce .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--lilas); display: block; }
.ev-puce--fin { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(245, 243, 255, .7); }
.ev-titre { font: 900 clamp(66px, 10.5vw, 150px)/.84 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: -.012em;
  margin: 26px 0 0; text-shadow: 0 0 60px rgba(124, 58, 237, .45); overflow-wrap: anywhere; }
.ev-titre--long { font-size: clamp(54px, 7.4vw, 104px); line-height: .88; }
.ev-titre__ed { display: block; margin-top: 14px; font: 700 clamp(17px, 2.2vw, 24px)/1.1 'Barlow Condensed', sans-serif; letter-spacing: .24em;
  color: var(--lilas); text-shadow: none; }
.ev-accroche { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; font-weight: 300; color: rgba(245, 243, 255, .7); max-width: 46ch; }
.ev-meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ev-meta li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: rgba(245, 243, 255, .8); }
.ev-meta svg { width: 20px; height: 20px; flex: none; color: var(--lilas); margin-top: 1px; }
.ev-meta strong { font-weight: 600; color: #fff; }
.ev-meta a { color: inherit; text-decoration: underline; text-decoration-color: rgba(167, 139, 250, .45); text-underline-offset: 3px; }
.ev-meta a:hover { color: var(--lilas); }
.ev-chiffres { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--filet); }
.ev-prix__lbl { display: block; font: 600 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--gris); margin-bottom: 8px; }
.ev-prix strong { font: 900 44px/1 'Barlow Condensed', sans-serif; letter-spacing: .01em; }
.ev-prix span:last-child { color: var(--gris); font-size: 14px; margin-left: 6px; }
.ev-prix strong small { font-size: 17px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-right: 6px; }
.ev-places--libre .ev-jauge { display: none; }

/* jauge de places */
.ev-places__txt { display: flex; justify-content: space-between; gap: 10px; font: 600 13px/1.2 'Barlow Condensed', sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(245, 243, 255, .7); margin-bottom: 10px; }
.ev-places__txt b { font-weight: 700; color: #fff; }
.ev-places__alerte { color: var(--orange); }
.ev-jauge { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; }
.ev-jauge i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lilas));
  box-shadow: 0 0 14px rgba(124, 58, 237, .7); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.ev-places--complet .ev-jauge i { background: rgba(245, 243, 255, .5); box-shadow: none; }

/* affiche + chrono */
.ev-affiche { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; transform: rotate(1.6deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .6), 0 0 80px rgba(124, 58, 237, .18);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.ev-affiche:hover { transform: rotate(0) scale(1.01); }
.ev-affiche picture, .ev-affiche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-affiche::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 5, 5, .1) 0%, transparent 35%, rgba(5, 5, 5, .25) 60%, rgba(5, 5, 5, .85) 100%); }
.ev-affiche__date { position: absolute; z-index: 2; top: 18px; left: 18px; background: var(--blanc); color: var(--nuit); border-radius: 12px;
  padding: 10px 12px 8px; text-align: center; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ev-affiche__date b { display: block; font-size: 34px; font-weight: 900; line-height: .9; }
.ev-affiche__date span { font-size: 12px; font-weight: 700; letter-spacing: .2em; }

.chrono { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; background: rgba(5, 5, 5, .84); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 12px 10px; }
.chrono__lbl { text-align: center; font: 600 10px/1 'Barlow Condensed', sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--gris); margin-bottom: 12px; }
.chrono__rang { display: flex; justify-content: center; align-items: flex-start; gap: 6px; font-size: 46px; color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(255, 122, 26, .7)); }
.chrono__g { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.chrono__g > span:last-child { font: 600 9px/1 'Barlow Condensed', sans-serif; letter-spacing: .28em; color: var(--gris); filter: none; text-transform: uppercase; }
.chrono__chiffres { display: flex; gap: .1em; }
.chrono__sep { width: .14em; height: 1em; display: flex; flex-direction: column; justify-content: center; gap: .26em; align-items: center; }
.chrono__sep::before, .chrono__sep::after { content: ''; width: .11em; height: .11em; background: currentColor; border-radius: 1px; }
.chrono__sep { animation: pdot 1s steps(1) infinite; }
.chrono--fini .chrono__rang { color: var(--lilas); filter: drop-shadow(0 0 6px rgba(167, 139, 250, .6)); }
/* afficheur 7 segments : data-v = chiffre, les segments éteints restent visibles en fantôme */
.d7 { position: relative; display: block; width: .56em; height: 1em; }
.d7 i { position: absolute; background: currentColor; transition: opacity .12s; }
.d7 .a, .d7 .d, .d7 .g { left: .08em; right: .08em; height: .1em; clip-path: polygon(.05em 0, calc(100% - .05em) 0, 100% 50%, calc(100% - .05em) 100%, .05em 100%, 0 50%); }
.d7 .b, .d7 .c, .d7 .e, .d7 .f { width: .1em; height: calc(50% - .08em); clip-path: polygon(50% 0, 100% .05em, 100% calc(100% - .05em), 50% 100%, 0 calc(100% - .05em), 0 .05em); }
.d7 .a { top: 0; } .d7 .d { bottom: 0; } .d7 .g { top: calc(50% - .05em); }
.d7 .b { right: 0; top: .05em; } .d7 .c { right: 0; bottom: .05em; }
.d7 .e { left: 0; bottom: .05em; } .d7 .f { left: 0; top: .05em; }
.d7[data-v="0"] .g,
.d7[data-v="1"] .a, .d7[data-v="1"] .d, .d7[data-v="1"] .e, .d7[data-v="1"] .f, .d7[data-v="1"] .g,
.d7[data-v="2"] .c, .d7[data-v="2"] .f,
.d7[data-v="3"] .e, .d7[data-v="3"] .f,
.d7[data-v="4"] .a, .d7[data-v="4"] .d, .d7[data-v="4"] .e,
.d7[data-v="5"] .b, .d7[data-v="5"] .e,
.d7[data-v="6"] .b,
.d7[data-v="7"] .d, .d7[data-v="7"] .e, .d7[data-v="7"] .f, .d7[data-v="7"] .g,
.d7[data-v="9"] .e { opacity: .07; }

/* défilant */
.ev-defile { position: relative; overflow: hidden; padding: 16px 0; background: linear-gradient(90deg, #12011f 0%, #3b0764 45%, #12011f 100%);
  border-block: 1px solid rgba(167, 139, 250, .15); }
.ev-defile__piste { display: flex; width: max-content; animation: ev-defile 32s linear infinite; }
.ev-defile__lot { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ev-defile__lot span { font: 900 16px/1 'Barlow Condensed', sans-serif; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; }
.ev-defile__lot span:nth-child(4n+3) { color: rgba(245, 243, 255, .65); }
.ev-defile__lot svg { width: 14px; height: 14px; color: var(--lilas); opacity: .7; flex: none; }
@keyframes ev-defile { to { transform: translateX(-50%); } }

/* ═══ TICKET (façon t-shirt DEVIL'ROX) ═══ */
.ev-ticket__grille { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 80px; align-items: center; }
.ev-ticket__grille--seul { grid-template-columns: 1fr; max-width: 820px; }
.recu { --fond: var(--papier); --encre: #111014; position: relative; width: 100%; max-width: 420px; margin: 0 auto; background: var(--fond); color: var(--encre);
  padding: 40px 30px 36px; font-family: 'VT323', ui-monospace, monospace; transform: rotate(-1.4deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 18px 51% repeat-x,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 51% repeat-x; }
.recu-cadre { position: relative; }
.recu-cadre::before { content: ''; position: absolute; inset: 8% -6% -4% 10%; background: radial-gradient(closest-side, rgba(124, 58, 237, .35), transparent); filter: blur(30px); z-index: -1; }
.recu__entete { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; text-align: center; }
.recu__entete svg { width: 34px; height: 34px; }
.recu__marque { font: 800 clamp(34px, 4.2vw, 44px)/.95 Barlow, sans-serif; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.recu__marque--long { font-size: clamp(26px, 3vw, 31px); line-height: 1; }
.recu__sous { margin-top: 8px; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.recu__slogan { margin: 22px auto 0; max-width: 26ch; text-align: center; font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.recu__code { margin: 20px auto 6px; width: 86%; height: 46px; }
.recu__code svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.recu__code-txt { text-align: center; font-size: 15px; letter-spacing: .3em; opacity: .7; }
.recu__lignes { list-style: none; margin: 22px 0 0; padding: 0; }
.recu__lignes li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 2px 3px; font-size: 23px; line-height: 1;
  text-transform: uppercase; letter-spacing: .03em; border-bottom: 1.5px solid currentColor; border-radius: 0 0 40% 40% / 0 0 3px 3px; }
.recu__lignes li span:last-child { text-align: right; opacity: .85; }
.recu__total { display: flex; justify-content: space-between; margin-top: 18px; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; }
.recu__pied { margin-top: 18px; text-align: center; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.ev-inclus { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ev-inclus li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025);
  border: 1px solid var(--filet); font-size: 15px; color: rgba(245, 243, 255, .85); }
.ev-inclus svg { width: 18px; height: 18px; flex: none; color: var(--lilas); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.ev-tags b { font: 600 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--gris); margin-right: 6px; }
.ev-tag { font: 700 13px/1 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px;
  background: rgba(124, 58, 237, .12); border: 1px solid rgba(124, 58, 237, .32); color: var(--lilas); }

/* ═══ DÉROULÉ ═══ */
.ev-deroule__grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.ev-frise { list-style: none; margin: 0; padding: 0; position: relative; }
.ev-frise::before { content: ''; position: absolute; left: 86px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--violet), rgba(124, 58, 237, .1)); }
.ev-frise li { display: grid; grid-template-columns: 70px 1fr; gap: 34px; align-items: baseline; padding: 16px 0; position: relative; }
.ev-frise li::before { content: ''; position: absolute; left: 82px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--nuit);
  border: 2px solid var(--lilas); box-shadow: 0 0 12px rgba(167, 139, 250, .6); }
.ev-frise time { font: 800 26px/1 'Barlow Condensed', sans-serif; letter-spacing: .02em; color: #fff; text-align: right; }
.ev-frise p { font-size: 17px; color: rgba(245, 243, 255, .75); line-height: 1.5; }
.ev-photo2 { margin-top: 34px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 360px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07); }
.ev-photo2 img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══ INSCRIPTION ═══ */
.ev-insc__grille { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.ev-recap { position: sticky; top: 110px; }
.ev-assur { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ev-assur li { display: flex; gap: 12px; font-size: 15px; color: rgba(245, 243, 255, .7); line-height: 1.45; }
.ev-assur svg { width: 20px; height: 20px; flex: none; color: var(--lilas); margin-top: 1px; }
.ev-assur a { color: var(--lilas); }
.ev-recap .ev-places { margin-top: 26px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid var(--filet); }

.ev-form { background: var(--carte); border: 1px solid var(--filet); border-radius: 26px; padding: 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.ev-form fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.ev-form legend { font: 800 20px/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; padding: 0;
  display: flex; align-items: center; gap: 10px; }
.ev-form legend i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--violet-nuit);
  color: var(--lilas); font-size: 14px; }
.ev-sous { font: 700 13px/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lilas); margin: 22px 0 12px; }
.ev-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-grille--3 { grid-template-columns: 1fr 1fr 110px; }
.ev-grille + .ev-grille { margin-top: 18px; }
.ev-plein { grid-column: 1 / -1; }
.ev-champ label { display: block; font: 600 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); margin: 0 0 8px 2px; }
.ev-champ input, .ev-champ select, .ev-champ textarea { width: 100%; background: var(--champ); border: 1px solid var(--filet); border-radius: 12px; color: #fff;
  font: 400 16px/1.3 Barlow, sans-serif; padding: 14px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
.ev-champ select { background-image: linear-gradient(45deg, transparent 50%, var(--lilas) 50%), linear-gradient(135deg, var(--lilas) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.ev-champ textarea { min-height: 84px; resize: vertical; }
.ev-aide { margin: -2px 2px 4px; font-size: 13px; line-height: 1.45; color: var(--gris); }
.ev-champ input::placeholder, .ev-champ textarea::placeholder { color: #6f6b7b; }
.ev-champ input:focus, .ev-champ select:focus, .ev-champ textarea:focus { border-color: var(--violet); background: #17151f; box-shadow: 0 0 0 4px rgba(124, 58, 237, .18); }
.ev-champ input:user-invalid, .ev-champ select:user-invalid { border-color: #f87171; }

.ev-tarifs { display: grid; gap: 12px; }
.ev-tarif { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 16px;
  border: 1px solid var(--filet); background: var(--champ); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.ev-tarif input { position: absolute; opacity: 0; pointer-events: none; }
.ev-tarif__rond { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4a4656; display: grid; place-items: center; transition: border-color .2s; }
.ev-tarif__rond::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--lilas); transform: scale(0); transition: transform .2s; }
.ev-tarif strong { display: block; font: 700 18px/1.15 'Barlow Condensed', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.ev-tarif small { display: block; margin-top: 4px; color: var(--gris); font-size: 14px; line-height: 1.35; }
.ev-tarif b { font: 900 30px/1 'Barlow Condensed', sans-serif; white-space: nowrap; }
.ev-tarif:has(input:checked) { border-color: var(--violet); background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(27, 11, 51, .55));
  box-shadow: 0 0 0 1px var(--violet), 0 14px 40px rgba(124, 58, 237, .18); }
.ev-tarif:has(input:checked) .ev-tarif__rond { border-color: var(--lilas); }
.ev-tarif:has(input:checked) .ev-tarif__rond::after { transform: scale(1); }
.ev-tarif:has(input:focus-visible) { outline: 2px solid var(--lilas); outline-offset: 3px; }
.ev-tarif--seul { cursor: default; border-color: var(--violet); background: linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(27, 11, 51, .55)); }
.ev-tarif--seul .ev-tarif__rond { border-color: var(--lilas); }
.ev-tarif--seul .ev-tarif__rond::after { transform: scale(1); }
.ev-etapes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ev-etapes li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 16px; line-height: 1.5; color: rgba(245, 243, 255, .78); }
.ev-etapes b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--violet-nuit); color: var(--lilas);
  font: 800 15px/1 'Barlow Condensed', sans-serif; }
.ev-resa__btn { width: 100%; margin-top: 28px; padding: 22px; font-size: 16px; }
.ev-resa .ev-envoi__mini { display: block; line-height: 1.6; }
.ev-resa .ev-envoi__mini svg { display: inline; vertical-align: -2px; margin-right: 4px; }

.ev-segments { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-segments label { position: relative; cursor: pointer; }
.ev-segments input { position: absolute; opacity: 0; pointer-events: none; }
.ev-segments span { display: block; padding: 13px 22px; border-radius: 12px; border: 1px solid var(--filet); background: var(--champ);
  font: 700 15px/1 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(245, 243, 255, .7); transition: all .2s; }
.ev-segments input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.ev-segments input:focus-visible + span { outline: 2px solid var(--lilas); outline-offset: 2px; }

.ev-accord { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(245, 243, 255, .65); cursor: pointer; }
.ev-accord input { width: 20px; height: 20px; flex: none; accent-color: var(--violet); margin-top: 1px; }
.ev-accord a { color: var(--lilas); }
.ev-envoi { margin-top: 26px; }
.ev-envoi .ev-btn { width: 100%; padding: 22px; font-size: 16px; }
.ev-envoi__mini { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--gris); text-align: center; }
.ev-envoi__mini svg { width: 14px; height: 14px; }
.ev-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ev-message { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.ev-message.on { display: block; }
.ev-message--erreur { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.ev-message--info { background: rgba(124, 58, 237, .12); border: 1px solid rgba(124, 58, 237, .35); color: #ddd6fe; }
.ev-message a { color: #fff; font-weight: 600; }
.ev-ferme { text-align: center; padding: 44px 26px; }
.ev-ferme h3 { font: 900 40px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; margin-bottom: 14px; }
.ev-ferme p { color: rgba(245, 243, 255, .65); max-width: 44ch; margin: 0 auto; line-height: 1.6; }
.ev-ferme .ev-ctas { justify-content: center; }
.ev-attente { cursor: progress; }
.ev-roue { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ev-tourne .8s linear infinite; }
@keyframes ev-tourne { to { transform: rotate(360deg); } }

/* ═══ FAQ ═══ */
.ev-faq { max-width: 820px; }
.ev-faq details { border-bottom: 1px solid var(--filet); }
.ev-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 2px;
  font: 700 21px/1.25 'Barlow Condensed', sans-serif; letter-spacing: .03em; }
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 400 24px/1 Barlow, sans-serif;
  color: var(--lilas); background: rgba(124, 58, 237, .1); transition: transform .3s; }
.ev-faq details[open] summary::after { transform: rotate(45deg); }
.ev-faq details p { padding: 0 2px 24px; color: rgba(245, 243, 255, .65); line-height: 1.7; max-width: 64ch; }

/* ═══ INFOS PRATIQUES ═══ */
.ev-infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ev-info { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 20px; background: var(--carte); border: 1px solid var(--filet);
  text-decoration: none; color: inherit; transition: transform .3s, border-color .3s, box-shadow .3s; }
a.ev-info:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .45); box-shadow: 0 24px 60px rgba(124, 58, 237, .14); }
.ev-info svg { width: 26px; height: 26px; color: var(--lilas); }
.ev-info b { font: 800 20px/1.1 'Barlow Condensed', sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.ev-info span { color: rgba(245, 243, 255, .6); font-size: 15px; line-height: 1.5; }

/* ═══ À VENIR + ÉDITIONS PASSÉES ═══ */
.ev-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.ev-carte { display: block; border-radius: 22px; overflow: hidden; background: var(--carte); border: 1px solid var(--filet); text-decoration: none; color: inherit;
  transition: transform .3s, border-color .3s; }
.ev-carte:hover { transform: translateY(-5px); border-color: rgba(124, 58, 237, .45); }
.ev-carte picture { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ev-carte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-carte__corps { padding: 20px; }
.ev-carte__corps small { font: 600 12px/1 'Barlow Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--lilas); }
.ev-carte__corps h3 { font: 900 28px/1 'Barlow Condensed', sans-serif; text-transform: uppercase; margin: 10px 0 6px; }
.ev-carte__corps p { color: var(--gris); font-size: 15px; }
.ev-passe + .ev-passe { margin-top: 56px; }
.ev-passe__tete { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.ev-passe__tete h3 { font: 900 clamp(30px, 4vw, 44px)/1 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.ev-passe__tete h3 span { color: var(--lilas); }
.ev-passe__tete p { color: var(--gris); font-size: 15px; }
.ev-bande { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 250px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--violet) transparent; cursor: grab; }
.ev-bande picture { scroll-snap-align: start; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; background: var(--carte); }
.ev-bande img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; pointer-events: none; }
.ev-bande picture:hover img { transform: scale(1.05); }
.ev-vide { text-align: center; padding: 170px 0 80px; position: relative; }
.ev-vide .ev-texte { margin: 0 auto; }
.ev-vide .ev-ctas { justify-content: center; }

/* ═══ BILLET (après inscription) : le ticket « sort de l'imprimante » ═══ */
.billet { position: fixed; inset: 0; z-index: 2147483100;   /* au-dessus du bandeau cookies (meta.js), qui revient à la fermeture */ display: flex; padding: 76px 16px 28px; overflow-y: auto; overscroll-behavior: contain; }
.billet[hidden] { display: none; }
.billet__fond { position: fixed; inset: 0; background: rgba(5, 5, 5, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.billet__boite { position: relative; width: min(440px, 100%); margin: auto; }
.billet__fente { position: relative; z-index: 2; height: 18px; border-radius: 99px; background: #18161f;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 30px rgba(124, 58, 237, .35); }
.billet__papier { position: relative; overflow: hidden; margin: -9px 14px 0; padding-bottom: 6px; }
.billet__papier .recu { --fond: var(--papier); --encre: #111014; transform: none; max-width: none; padding-top: 34px; animation: ev-imprime 2.2s steps(22, end) both; }
.recu::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px); }
@keyframes ev-imprime { from { transform: translateY(-100%); } to { transform: none; } }
.recu__statut { margin: 18px 0 4px; text-align: center; font-size: 28px; letter-spacing: .06em; text-transform: uppercase; }
.recu__statut--attente { animation: pdot 1s steps(2) infinite; }
.recu__infos { list-style: none; margin: 14px 0 0; padding: 0; }
.recu__infos li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0 2px; font-size: 20px; line-height: 1.05; text-transform: uppercase;
  border-bottom: 1px dashed rgba(17, 16, 20, .45); }
.recu__infos li span:first-child { opacity: .6; flex: none; }
.recu__infos li span:last-child { text-align: right; overflow-wrap: anywhere; }
.billet__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; opacity: 0; transform: translateY(10px);
  animation: ev-monte .5s 2.1s ease forwards; }
.billet__actions .ev-btn { padding: 15px 12px; font-size: 13px; letter-spacing: .12em; }
.billet__actions .ev-plein { grid-column: 1 / -1; }
@keyframes ev-monte { to { opacity: 1; transform: none; } }
.billet__fermer { position: absolute; z-index: 3; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .07); color: #fff; display: grid; place-items: center; }
.billet__fermer:hover { background: rgba(124, 58, 237, .3); }
.billet__fermer svg { width: 22px; height: 22px; }
.billet__note { margin-top: 14px; text-align: center; font-size: 14px; color: rgba(245, 243, 255, .6); line-height: 1.5; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .ev-hero__grille { gap: 44px; }
  .ev-ticket__grille { gap: 50px; }
  .ev-insc__grille { grid-template-columns: 300px 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .ev-section { padding: 80px 0; }
  .ev-hero { padding: 108px 0 64px; }
  .ev-exemple { margin: 88px auto -84px; }
  .ev-hero__grille, .ev-ticket__grille, .ev-deroule__grille, .ev-insc__grille { grid-template-columns: 1fr; }
  .ev-hero__visuel { order: -1; max-width: 520px; width: 100%; margin: 0 auto; }
  .ev-affiche { transform: none; aspect-ratio: 4 / 4.6; }
  .ev-recap { position: static; }
  .ev-infos { grid-template-columns: 1fr; }
  .ev-ticket__grille .recu-cadre { order: 2; }
}
@media (max-width: 600px) {
  .ev-wrap { padding: 0 16px; }
  .ev-titre { margin-top: 20px; }
  .ev-chiffres { grid-template-columns: 1fr; gap: 20px; }
  .chrono { left: 10px; right: 10px; bottom: 10px; padding: 12px 8px 9px; }
  .chrono__rang { font-size: 34px; gap: 4px; }
  .ev-form { padding: 22px 18px; border-radius: 22px; }
  .ev-grille, .ev-grille--3 { grid-template-columns: 1fr; }
  .ev-inclus { grid-template-columns: 1fr; }
  .ev-tarif { grid-template-columns: 22px 1fr; }
  .ev-tarif b { grid-column: 2; font-size: 26px; }
  .ev-frise::before { left: 66px; }
  .ev-frise li { grid-template-columns: 52px 1fr; gap: 30px; }
  .ev-frise li::before { left: 62px; }
  .ev-frise time { font-size: 21px; }
  .recu { padding: 36px 22px 32px; }
  .recu__lignes li { font-size: 21px; }
  .ev-ctas .ev-btn { flex: 1 1 100%; }
  .billet__actions { grid-template-columns: 1fr; }
}
