/* =========================================================
   PAGE ÉVÉNEMENT — billetterie (blueprint.html, blueprint-merci.html)
   S'appuie sur style.css (couleurs, verre, typo, boutons).
   ========================================================= */

.ev { --ev-top: calc(var(--nav-h) + var(--nav-top)); }
.ev section[id] { scroll-margin-top: calc(var(--nav-h) + var(--nav-top) + 16px); }

/* ---------- Hero : texte + vidéo ---------- */
.ev-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--ev-top) + clamp(24px, 3.5vw, 48px)) 0 clamp(48px, 5vw, 72px);
  min-height: 100svh; display: flex; align-items: center;
}
.ev-hero-bg { position: absolute; inset: -80px; z-index: -2; background: #000 url("../assets/event/blueprint-poster.webp") center 30% / cover no-repeat; filter: blur(70px) brightness(.32) saturate(1.2); transform: scale(1.1); }
.ev-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 50% at 78% 30%, rgba(246,212,58,.18), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(246,212,58,.1), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%);
}
.ev-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ev-hero .chip { margin-bottom: 22px; }
.ev-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246,212,58,.6); animation: evPulse 2s var(--ease) infinite; }
@keyframes evPulse { 70% { box-shadow: 0 0 0 10px rgba(246,212,58,0); } 100% { box-shadow: 0 0 0 0 rgba(246,212,58,0); } }
.ev-title { font-size: clamp(52px, 6.4vw, 96px); line-height: .92; }
.ev-title .gold-text { display: block; font-style: italic; padding-bottom: .06em; }
.ev-title small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 16px 0 0 4px; }
.ev-hero .sub { max-width: 40ch; color: rgba(255,255,255,.8); margin-top: 22px; }
.ev-hero .actions { margin-top: 26px; }

.ev-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 680px; }
.ev-facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; }
.ev-facts svg { grid-row: span 2; width: 22px; height: 22px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ev-facts b { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.ev-facts small { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }

/* Places restantes */
.ev-seats { margin-top: 26px; max-width: 420px; }
.ev-seats-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.ev-seats-row b { color: var(--white); font-weight: 600; }
.ev-seats-bar { position: relative; height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.ev-seats-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--fill, 0)); border-radius: inherit; background: linear-gradient(90deg, var(--gold-print), var(--gold)); box-shadow: 0 0 14px rgba(246,212,58,.6); transition: transform 1.6s var(--ease-out); }
.ev-seats.is-low .ev-seats-row b { color: var(--gold); }

/* Lecteur vidéo — téléphone en verre */
.ev-player { position: relative; justify-self: center; width: min(100%, 380px, calc((100svh - var(--ev-top) - 120px) * 9 / 16)); min-width: 280px; }
.ev-phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 40px; padding: 8px;
  background: linear-gradient(150deg, #3b3b3b 0%, #141414 30%, #0a0a0a 55%, #262626 80%, #111 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 1px rgba(255,255,255,.3), 0 0 0 1px #000,
    0 60px 120px -40px rgba(0,0,0,.95), 0 0 90px -30px rgba(246,212,58,.45);
}
.ev-screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #000 url("../assets/event/blueprint-poster.webp") center / cover; transform: translateZ(0); cursor: pointer; }
.ev-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 18%, transparent 70%, rgba(0,0,0,.55) 100%); }
.ev-sound.glass {
  width: auto; height: auto;
  position: absolute; left: 50%; bottom: 30px; z-index: 3; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  min-height: 48px; padding: 0 20px 0 16px; border-radius: 980px; font-size: 14px; font-weight: 600; color: var(--white);
  transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.ev-sound.glass svg { width: 20px; height: 20px; flex: none; }
.ev-sound.glass:hover { transform: translateX(-50%) scale(1.04); }
.ev-sound.glass:active { transform: translateX(-50%) scale(.96); }
.ev-player.is-sound .ev-sound { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(10px); }
.ev-mute { position: absolute; right: 14px; top: 14px; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .3s; }
.ev-player.is-sound .ev-mute { opacity: 1; pointer-events: auto; }
.ev-state { position: absolute; left: 50%; top: 50%; z-index: 2; width: 74px; height: 74px; margin: -37px 0 0 -37px; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .45s var(--spring); pointer-events: none; }
.ev-state svg { width: 28px; height: 28px; margin-left: 3px; }
.ev-player.is-paused .ev-state { opacity: 1; transform: none; }
.ev-progress { position: absolute; left: 18px; right: 18px; bottom: 12px; z-index: 2; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.ev-progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--gold); }
.ev-player-cap { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }

@media (max-width: 900px) {
  .ev-player { width: min(100%, 360px); min-width: 0; }
  .ev-hero { min-height: 0; padding-top: calc(var(--ev-top) + 28px); }
  .ev-hero-grid { grid-template-columns: 1fr; }
  .ev-hero-copy { text-align: center; }
  .ev-hero .sub { margin-left: auto; margin-right: auto; }
  .ev-hero .actions { justify-content: center; }
  .ev-facts { margin-left: auto; margin-right: auto; text-align: left; }
  .ev-seats { margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 640px) {
  .ev-hero .chip-more { display: none; }
  .ev-facts { grid-template-columns: 1fr; }
  .ev-facts li { padding: 12px 14px; border-radius: 16px; }
}

/* ---------- Compte à rebours ---------- */
.ev-count { padding: 0 0 clamp(56px, 7vw, 96px); }
.ev-count-card { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 22px clamp(20px, 3vw, 34px); border-radius: var(--r-xl); }
.ev-count-card p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.ev-count-card p small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.ev-clock { display: flex; gap: 10px; }
.ev-clock div { min-width: 76px; padding: 12px 10px 10px; border-radius: 18px; text-align: center; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ev-clock b { display: block; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.ev-clock small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) {
  .ev-count-card { justify-content: center; text-align: center; }
  .ev-clock { width: 100%; justify-content: center; gap: 8px; }
  .ev-clock div { flex: 1; min-width: 0; padding: 10px 4px 8px; border-radius: 14px; }
  .ev-clock b { font-size: 30px; }
  .ev-clock small { font-size: 9.5px; letter-spacing: .08em; }
}

/* ---------- Accroche + pour qui ---------- */
.ev-hook-q { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 0; max-width: 20ch; text-wrap: balance; }
.ev-hook-q em { color: var(--gold-print); }
.ev-hook-text { margin: 26px 0 0; max-width: 60ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: rgba(26,26,26,.72); }
.ev-for { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); }
.ev-for h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-print); margin: 0 0 22px; }
.ev-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.ev-checks li { position: relative; padding: 14px 0 0 34px; border-top: 1px solid rgba(26,26,26,.1); font-size: 16px; line-height: 1.4; color: rgba(26,26,26,.85); }
.ev-checks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(180deg, #fde68a 0%, var(--gold) 50%, #e8c42a 100%) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain no-repeat;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.ev-checks li::after { content: ""; position: absolute; left: 7px; top: 19px; width: 8px; height: 5px; border-left: 2px solid var(--anthracite); border-bottom: 2px solid var(--anthracite); transform: rotate(-45deg); }
@media (max-width: 900px) { .ev-checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ev-checks { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Programme ---------- */
.ev-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.ev-step { position: relative; padding: 30px 28px 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; min-height: 240px; }
.ev-step--wide { grid-column: span 2; }
.ev-step-n { font-family: var(--serif); font-size: 64px; font-weight: 500; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(246,212,58,.6); margin-bottom: auto; padding-bottom: 28px; }
.ev-step .eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.ev-step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -.01em; }
.ev-step p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.ev-step--gold { --lg-fill: linear-gradient(155deg, rgba(246,212,58,.22) 0%, rgba(246,212,58,.06) 45%, rgba(255,255,255,.05) 100%); }
@media (max-width: 1000px) { .ev-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .ev-steps { grid-template-columns: 1fr; gap: 12px; }
  .ev-step--wide { grid-column: auto; }
  .ev-step { min-height: 0; padding: 22px 20px 24px; }
  .ev-step-n { font-size: 46px; padding-bottom: 16px; }
}

/* ---------- Sujets ---------- */
.ev-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ev-topic { padding: 22px 20px 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .6s var(--ease-out); }
.ev-topic:hover { transform: translateY(-4px); }
.ev-topic svg { width: 28px; height: 28px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ev-topic h3 { margin: 6px 0 0; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.08; }
.ev-topic p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1200px) { .ev-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ev-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ev-topic { padding: 16px 14px; border-radius: 20px; } .ev-topic h3 { font-size: 19px; } .ev-topic p { font-size: 13px; } }

/* ---------- Cadeaux ---------- */
.ev-gifts { position: relative; isolation: isolate; overflow: hidden; }
.ev-gifts::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1200px, 140vw); height: 700px; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(246,212,58,.2), transparent 70%); filter: blur(30px); pointer-events: none; }
.ev-gift-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ev-prize { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; --lg-fill: linear-gradient(155deg, rgba(246,212,58,.26) 0%, rgba(246,212,58,.08) 45%, rgba(255,255,255,.06) 100%); }
.ev-prize-big { font-family: var(--serif); font-weight: 600; font-size: clamp(72px, 9vw, 132px); line-height: .85; letter-spacing: -.03em; }
.ev-prize h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.05; margin: 18px 0 10px; }
.ev-prize p { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.ev-perks { list-style: none; margin: 0; padding: clamp(10px, 2vw, 18px) clamp(22px, 3vw, 34px); border-radius: var(--r-xl); display: grid; }
.ev-perks li { display: flex; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; line-height: 1.35; color: rgba(255,255,255,.9); }
.ev-perks li + li { border-top: 1px solid rgba(255,255,255,.1); }
.ev-perks svg { flex: none; width: 24px; height: 24px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ev-perks b { font-weight: 600; }
@media (max-width: 900px) { .ev-gift-grid { grid-template-columns: 1fr; } .ev-prize { min-height: 0; } }

/* ---------- Billets ---------- */
.ev-tickets .section-top { justify-content: center; text-align: center; }
.ev-tickets .section-top .sub { margin-left: auto; margin-right: auto; max-width: 40ch; }
.ev-shop { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; max-width: 1180px; margin: 0 auto; }
.ev-ticket-list { display: grid; gap: 14px; align-content: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.ev-ticket { position: relative; display: block; cursor: pointer; }
.ev-ticket input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ev-ticket-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 24px 26px; border-radius: var(--r-lg);
  transition: transform .5s var(--spring), box-shadow .4s var(--ease);
}
.ev-ticket:hover .ev-ticket-card { transform: translateY(-2px); }
.ev-radio { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); display: grid; place-items: center; transition: box-shadow .3s, background .3s; }
.ev-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--black); transform: scale(0); transition: transform .4s var(--spring); }
.ev-ticket input:checked + .ev-ticket-card { --lg-shadow: 0 30px 60px -24px rgba(0,0,0,.7), 0 0 0 1.5px rgba(246,212,58,.85), 0 0 50px -12px rgba(246,212,58,.45); }
.ev-ticket input:checked + .ev-ticket-card .ev-radio { background: linear-gradient(180deg, #fde68a, var(--gold) 50%, #e8c42a); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.ev-ticket input:checked + .ev-ticket-card .ev-radio::after { transform: scale(1); }
.ev-ticket input:focus-visible + .ev-ticket-card { outline: 2px solid var(--gold); outline-offset: 3px; }
.ev-ticket-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 500; line-height: 1.05; }
.ev-ticket-desc { display: block; margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.ev-badge { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black); padding: 5px 10px; border-radius: 980px; background: linear-gradient(180deg, #fde68a, var(--gold) 50%, #e8c42a); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.ev-price { text-align: right; }
.ev-price b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 3.6vw, 50px); line-height: 1; letter-spacing: -.02em; }
.ev-price small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ev-price s { color: var(--ink-3); }

.ev-summary { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--ev-top) + 16px); align-self: start; }
.ev-summary h3 { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.ev-qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ev-qty > span { font-size: 15px; color: var(--ink-2); }
.ev-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 980px; background: rgba(0,0,0,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ev-stepper button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--white); transition: background .2s, transform .3s var(--spring); }
.ev-stepper button:hover { background: rgba(255,255,255,.1); }
.ev-stepper button:active { transform: scale(.9); }
.ev-stepper button[disabled] { opacity: .3; pointer-events: none; }
.ev-stepper output { min-width: 32px; text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ev-incl { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 9px; }
.ev-incl li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.86); }
.ev-incl li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.ev-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.ev-total span { font-size: 15px; color: var(--ink-2); }
.ev-total span small { display: block; font-size: 12.5px; color: var(--ink-3); }
.ev-total b { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.ev-summary .pill { width: 100%; min-height: 58px; font-size: 17px; }
.ev-pill-arrow { transition: transform .35s var(--spring); }
.pill:hover .ev-pill-arrow { transform: translateX(4px); }
.ev-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ev-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.ev-trust svg { flex: none; width: 17px; height: 17px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ev-soldout { display: none; }
.is-soldout .ev-soldout { display: block; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(255,107,90,.14); font-size: 15px; }
@media (max-width: 960px) { .ev-shop { grid-template-columns: 1fr; } .ev-summary { position: static; } }
@media (max-width: 560px) {
  .ev-ticket-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .ev-price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .ev-price b { font-size: 34px; }
}

/* ---------- Organisateurs ---------- */
.ev-org { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ev-org-copy p { margin: 22px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: rgba(26,26,26,.72); max-width: 54ch; }
.ev-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.ev-stat { padding: 18px 18px 16px; border-radius: 22px; }
.ev-stat b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: var(--anthracite); }
.ev-stat small { display: block; margin-top: 6px; font-size: 13px; line-height: 1.3; color: rgba(26,26,26,.62); }
@media (max-width: 900px) { .ev-org { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ev-stats { gap: 8px; } .ev-stat { padding: 14px 12px; border-radius: 18px; } .ev-stat small { font-size: 11.5px; } }

/* Organisateur : chiffres de l'événement à droite */
.ev-org .ev-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.ev-org .ev-stat { padding: 22px 22px 20px; }

/* Logo texte de l'événement (nav + pied de page) */
.ev-wordmark { display: inline-flex; flex-direction: column; line-height: 1; color: var(--white); }
.ev-wordmark span { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.ev-wordmark small { margin-top: 4px; font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.footer .ev-wordmark span { font-size: 32px; }
.footer .ev-wordmark small { font-size: 10px; }

/* ---------- Lieu ---------- */
.ev-venue { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; }
.ev-venue-card { padding: clamp(26px, 3.5vw, 44px); border-radius: var(--r-xl); }
.ev-venue-card address { font-style: normal; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; margin: 0 0 8px; }
.ev-venue-card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.ev-venue-card .actions { margin-top: 26px; }
.ev-venue-card .actions .pill { min-height: 46px; padding: 0 20px; font-size: 15px; }
.ev-venue-facts { list-style: none; margin: 0; padding: clamp(10px, 2vw, 18px) clamp(22px, 3vw, 34px); border-radius: var(--r-xl); display: grid; }
.ev-venue-facts li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 15px; }
.ev-venue-facts li + li { border-top: 1px solid rgba(255,255,255,.1); }
.ev-venue-facts small { color: var(--ink-3); font-size: 13px; }
.ev-venue-facts strong { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .ev-venue { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.ev-faq { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.ev-faq details { border-radius: 22px; }
.ev-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-size: clamp(16px, 1.4vw, 18px); font-weight: 600; letter-spacing: -.01em;
}
.ev-faq summary::-webkit-details-marker { display: none; }
.ev-faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-3px) rotate(45deg); transition: transform .4s var(--spring); }
.ev-faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.ev-faq details p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 70ch; }
.ev-faq details p a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Appel final ---------- */
.ev-final { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.ev-final-bg { position: absolute; inset: 0; z-index: -1; }
.ev-final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.9); }
.ev-final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 30%, rgba(0,0,0,.72) 70%, #000 100%), radial-gradient(50% 50% at 50% 50%, rgba(246,212,58,.14), transparent 70%); }
.section-top--center { justify-content: center; text-align: center; }
.ev-final .actions { justify-content: center; }
.ev-final .headline { max-width: 16ch; margin: 0 auto; }
.ev-final .sub { margin-left: auto; margin-right: auto; max-width: 40ch; }

/* ---------- Barre d'achat collante ---------- */
.ev-bar {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90;
  width: min(640px, calc(100% - 20px)); display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 22px; border-radius: 980px;
  --lg-fill: linear-gradient(155deg, rgba(40,40,40,.78) 0%, rgba(14,14,14,.82) 100%);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--spring), opacity .3s;
}
.ev-bar.is-on { transform: translate(-50%, 0); opacity: 1; }
.ev-bar-copy { min-width: 0; line-height: 1.25; }
.ev-bar-copy b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-bar-copy small { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-bar .pill { flex: none; min-height: 48px; padding: 0 22px; }
@media (max-width: 400px) { .ev-bar { padding-left: 16px; } .ev-bar .pill { padding: 0 16px; font-size: 15px; } }

/* ---------- Fenêtre de paiement ---------- */
.ev-sheet { width: min(620px, calc(100vw - 20px)); }
.ev-sheet-body { padding: clamp(26px, 4.5vw, 44px); }
.ev-sheet-body .title { font-size: clamp(30px, 3.6vw, 40px); padding-right: 50px; }
.ev-recap { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 18px 0 22px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ev-recap span { font-size: 15px; line-height: 1.35; }
.ev-recap span small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.ev-recap b { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1; white-space: nowrap; }
.ev-recap s { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-3); margin-right: 6px; }
.ev-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ev-form .field--full { grid-column: 1 / -1; }
.ev-promo { grid-column: 1 / -1; }
.ev-promo-toggle { font-size: 14px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.ev-promo-row { display: flex; gap: 8px; align-items: stretch; }
.ev-promo-row .field { flex: 1; min-width: 0; }
.ev-promo-row .field input { text-transform: uppercase; }
.ev-promo-row .pill { min-height: 0; padding: 0 18px; font-size: 14px; }
.ev-promo-msg { display: block; margin: 8px 4px 0; font-size: 13px; color: var(--ink-2); }
.ev-promo-msg.is-ok { color: var(--gold); }
.ev-promo-msg.is-err { color: #ff9a8e; }
.ev-optin { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; margin-top: 4px; }
.ev-optin input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.ev-pay { grid-column: 1 / -1; margin-top: 8px; }
.ev-pay .pill { width: 100%; min-height: 58px; font-size: 17px; }
.ev-pay .pill[aria-busy="true"] { pointer-events: none; filter: saturate(.6); }
.ev-pay .pill[aria-busy="true"] .ev-pill-arrow { display: none; }
.ev-pay .pill[aria-busy="true"]::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; animation: evSpin .8s linear infinite; }
@keyframes evSpin { to { transform: rotate(360deg); } }
.ev-fine { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); text-align: center; }
.ev-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.ev-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 10px; }
.ev-cards span { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
@media (max-width: 560px) {
  .ev-form { grid-template-columns: minmax(0, 1fr); }
  .ev-sheet { max-height: calc(100dvh - 20px); }
  .ev-sheet-body { padding: 24px 18px 22px; }
  .ev-recap { padding: 14px; }
  .ev-recap b { font-size: 28px; }
}

/* ---------- Page de remerciement ---------- */
.ev-thanks { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--ev-top) + 40px) 0 80px; position: relative; isolation: isolate; overflow: hidden; }
.ev-thanks::before { content: ""; position: absolute; left: 50%; top: 30%; width: min(1100px, 140vw); height: 700px; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(246,212,58,.2), transparent 70%); filter: blur(30px); pointer-events: none; }
.ev-thanks .wrap { max-width: calc(760px + var(--gutter) * 2); text-align: center; }
.ev-check { width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fde68a, var(--gold) 50%, #e8c42a); box-shadow: 0 0 0 10px rgba(246,212,58,.14), 0 0 0 22px rgba(246,212,58,.06), 0 20px 50px -10px rgba(246,212,58,.6), inset 0 1px 0 rgba(255,255,255,.8); }
.ev-check svg { width: 38px; height: 38px; stroke: #000; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: evDraw .7s .3s var(--ease-out) forwards; }
@keyframes evDraw { to { stroke-dashoffset: 0; } }
.ev-thanks .headline { font-size: clamp(44px, 6vw, 80px); }
.ev-thanks .sub { margin-left: auto; margin-right: auto; max-width: 38ch; }
.ev-thanks .sub b { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.ev-ticket-stub { margin: 36px auto 0; text-align: left; border-radius: var(--r-xl); overflow: hidden; }
.ev-stub-top { padding: 26px 28px 22px; }
.ev-stub-top .eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.ev-stub-top h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; }
.ev-stub-top p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.ev-stub-cut { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.18); margin: 0 22px; }
.ev-stub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 28px 26px; }
.ev-stub-grid small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.ev-stub-grid b { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; }
.ev-thanks .actions { justify-content: center; }
.ev-pay-wise { min-height: 60px; padding: 0 34px; font-size: 18px; }
.ev-pay-note { margin: 22px auto 0; max-width: 52ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ev-pay-note b { color: var(--white); }
.ev-next { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.ev-next li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ev-next li b { color: var(--white); font-weight: 600; }
.ev-next svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .ev-stub-grid { grid-template-columns: 1fr 1fr; } .ev-stub-top, .ev-stub-grid { padding-left: 20px; padding-right: 20px; } }

@media (prefers-reduced-motion: reduce) {
  .ev-live, .ev-check svg { animation: none; stroke-dashoffset: 0; }
  .ev-bar, .ev-seats-bar i { transition: none; }
}
