/* Happy Run — Clubbing Yakro */

:root {
  --pink: #ec2f73;
  --pink-deep: #c81a5c;
  --blue: #2f5bd6;
  --blue-deep: #1f43ad;
  --navy: #0d1342;
  --ink: #12163a;
  --yellow: #ffc83d;
  --cyan: #3fd4ff;
  --paper: #fff6ef;
  --white: #ffffff;
  --muted: #5d6185;

  --font-display: "Titan One", "Arial Black", system-ui, sans-serif;
  --font-script: "Pacifico", "Brush Script MT", cursive;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Boutons */
.btn {
  --bg: var(--pink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--white);
  font: 700 1rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn--pink { box-shadow: 0 10px 28px -10px rgba(236, 47, 115, .85); }
.btn--pink:hover { background: var(--pink-deep); transform: translateY(-2px); }
.btn--ghost { --bg: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .22); }
.btn--white { --bg: var(--white); color: var(--blue-deep); }
.btn--white:hover { transform: translateY(-2px); }
.btn--disabled { --bg: #e4e1ea; color: #8d8aa0; cursor: not-allowed; }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .92rem; }
.btn--lg { min-height: 60px; padding: 0 2em; font-size: 1.1rem; }

/* En-tête */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  color: var(--white);
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.is-solid { background: rgba(13, 19, 66, .92); backdrop-filter: blur(10px); padding-block: 10px; box-shadow: 0 8px 30px -18px #000; }
.topbar__logo img { height: 46px; width: auto; }
.topbar__nav { display: flex; gap: 26px; margin-left: auto; }
.topbar__nav a { text-decoration: none; font-weight: 600; opacity: .9; }
.topbar__nav a:hover { opacity: 1; color: var(--yellow); }
.topbar__burger { display: none; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy); }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 19, 66, .92) 0%, rgba(13, 19, 66, .55) 48%, rgba(13, 19, 66, .1) 100%),
    linear-gradient(0deg, rgba(13, 19, 66, .95) 0%, transparent 35%),
    radial-gradient(70% 60% at 0% 100%, rgba(236, 47, 115, .45), transparent 70%);
}
.hero__shade::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .22; mix-blend-mode: overlay; }

.hero__eyebrow {
  display: inline-flex; gap: .4em; align-items: center;
  font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem;
  color: rgba(255, 255, 255, .85);
}
.hero__eyebrow span { background: var(--yellow); color: var(--navy); padding: .3em .7em; border-radius: 6px; letter-spacing: .1em; }
.hero__title { margin: 18px 0 34px; }
.hero__brand {
  display: block;
  font: 400 clamp(2.4rem, 6.4vw, 4.6rem)/.95 var(--font-display);
  letter-spacing: .01em; text-transform: uppercase;
}
.hero__neon {
  display: block; margin-top: .05em;
  font: 400 clamp(3.4rem, 10vw, 7.4rem)/1.02 var(--font-script);
  color: #ffe9f3;
  text-shadow:
    0 0 6px rgba(255, 255, 255, .7),
    0 0 18px var(--pink),
    0 0 42px var(--pink),
    0 0 80px rgba(47, 91, 214, .9);
  transform: rotate(-4deg); transform-origin: left center;
}
.hero__when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 1.15rem; }
.hero__when strong {
  background: var(--pink); padding: .35em .9em; border-radius: 8px;
  font: 400 1.05rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .03em;
  box-shadow: 4px 4px 0 var(--blue);
}
.hero__when span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.countdown { display: flex; gap: 10px; margin: 28px 0 32px; }
.countdown div {
  min-width: 74px; padding: 10px 8px 8px; text-align: center;
  border-radius: 14px; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
}
.countdown b { display: block; font: 400 1.9rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--blue { background: var(--blue); color: var(--white); overflow: hidden; }
.section--blue::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .25; mix-blend-mode: soft-light; pointer-events: none; }
.section__head { max-width: 700px; margin-bottom: 44px; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink);
}
.kicker--yellow { color: var(--navy); background: var(--yellow); padding: .3em .7em; border-radius: 6px; }
.title { font: 400 clamp(2rem, 4.6vw, 3.3rem)/1.04 var(--font-display); text-transform: uppercase; color: var(--pink); letter-spacing: .005em; }
.section--blue .title { color: var(--white); }
.lead { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.section__head--light .lead { color: rgba(255, 255, 255, .85); }

/* Kits */
.kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
.kit {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: 26px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 19, 66, .06), 0 24px 50px -30px rgba(13, 19, 66, .45);
}
.kit--featured { background: var(--navy); color: var(--white); box-shadow: 0 30px 60px -28px rgba(236, 47, 115, .7); }
.kit--featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--pink), var(--blue), var(--cyan)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.kit__badge { align-self: flex-start; margin-bottom: 18px; padding: .3em .8em; border-radius: 999px; background: rgba(63, 212, 255, .16); color: var(--cyan); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.kit__name { font: 400 1.5rem/1.1 var(--font-display); text-transform: uppercase; }
.kit__price { margin: 10px 0 22px; font: 400 3rem/1 var(--font-display); color: var(--pink); }
.kit--featured .kit__price { color: var(--yellow); }
.kit__items { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.kit__items li { position: relative; padding-left: 30px; }
.kit__items li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.kit .btn { margin-top: auto; }
.kit--soldout { background: #f3f0f5; }
.kit--soldout > *:not(.kit__stamp) { opacity: .5; }
.kit--soldout .kit__items li::before { background-color: #9b98ad; }
.kit__stamp {
  position: absolute; top: 26px; right: 22px; z-index: 1;
  padding: .3em .7em; border: 3px solid var(--pink); border-radius: 8px;
  color: var(--pink); font: 400 1.25rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  transform: rotate(10deg);
  background: rgba(255, 255, 255, .7);
}

/* Navette */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; position: relative; }
.ticket {
  --notch: radial-gradient(circle at 0 50%, transparent 11px, #000 11.5px) left / 51% 100% no-repeat,
           radial-gradient(circle at 100% 50%, transparent 11px, #000 11.5px) right / 51% 100% no-repeat;
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px 30px;
  background: var(--white); color: var(--blue-deep);
  border-radius: 10px;
  -webkit-mask: var(--notch); mask: var(--notch);
  transition: rotate .3s var(--ease), translate .3s var(--ease), opacity .8s var(--ease), transform .8s var(--ease);
}
.ticket:nth-child(odd) { rotate: -1.2deg; }
.ticket:nth-child(even) { rotate: 1deg; }
.ticket:hover { rotate: 0deg; translate: 0 -3px; }
.ticket__route { font: 400 1.15rem/1.2 var(--font-display); text-transform: uppercase; }
.ticket__route i { font-style: normal; color: var(--pink); }
.ticket__price { font: 400 1.9rem/1.1 var(--font-display); color: var(--pink); }
.ticket__price small { font: 600 .85rem var(--font-body); color: var(--blue-deep); text-transform: uppercase; letter-spacing: .08em; }
.navette__book { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; }
.navette__book .btn--pink { box-shadow: 0 14px 30px -12px rgba(13, 19, 66, .6); }
.navette__help { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.navette__help a { color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.navette__help a:hover { color: var(--yellow); }

/* Concept */
.concept { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.concept__photo { margin: 0; position: relative; }
.concept__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 14px 14px 0 var(--blue); }
.concept__photo::after { content: ""; position: absolute; top: -18px; left: -18px; width: 90px; height: 90px; border-radius: 50%; background: var(--yellow); z-index: -1; }
.concept__text > p:not(.kicker) { margin-top: 18px; font-size: 1.08rem; color: #3a3e63; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.stats div { padding: 18px 14px; border-radius: 16px; background: var(--white); box-shadow: 0 14px 30px -24px rgba(13, 19, 66, .5); }
.stats dt { font: 400 1.6rem/1 var(--font-display); color: var(--blue); }
.stats dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }

/* Partenaires */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.partners li { display: grid; place-items: center; aspect-ratio: 1.35; border-radius: 18px; background: var(--paper); }
.partners img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }

/* Bandeau final */
.cta-band { position: relative; padding: 90px 0; background: linear-gradient(120deg, var(--pink) 0%, #b41f86 45%, var(--blue) 100%); color: var(--white); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .3; mix-blend-mode: overlay; }
.cta-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__neon { font: 400 clamp(2.2rem, 6vw, 4.2rem)/1.15 var(--font-script); text-shadow: 0 0 20px rgba(255, 255, 255, .45); }
.cta-band .btn--pink { --bg: var(--white); color: var(--pink-deep); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .5); }

/* Pied de page */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer__brand p { max-width: 300px; }
.footer__icons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.footer .footer__icons a { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s var(--ease), color .2s var(--ease); }
.footer .footer__icons a:hover { background: var(--pink); color: var(--white); }
.footer__icons svg { width: 19px; height: 19px; }
.footer nav a small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .5); }
.footer__brand img { height: 64px; width: auto; margin-bottom: 16px; }
.footer a { overflow-wrap: anywhere; }
.footer h3 { margin-bottom: 14px; color: var(--white); font: 700 .8rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.footer a { display: block; text-decoration: none; margin-bottom: 6px; }
.footer a:hover { color: var(--yellow); }
.footer__big { font: 400 1.35rem/1.2 var(--font-display); color: var(--white); white-space: nowrap; }
.footer__social { list-style: none; margin: 0; padding: 0; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; opacity: .7; }

/* Teaser */
.teaser { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; }
.teaser::backdrop { background: rgba(8, 10, 35, .85); backdrop-filter: blur(4px); }
.teaser__frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.teaser__frame iframe { width: 100%; height: 100%; border: 0; }
.teaser__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }

.notfound { min-height: 70vh; display: flex; align-items: center; padding-top: 140px; }
.notfound .btn { margin-top: 28px; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 860px) {
  .topbar { gap: 12px; }
  .topbar__logo img { height: 38px; }
  .topbar__cta { margin-left: auto; }
  .topbar__burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); cursor: pointer; }
  .topbar__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease); }
  .topbar__nav {
    position: fixed; inset: 0; z-index: -1; height: 100dvh;
    flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    margin: 0; background: var(--navy);
    font: 400 1.7rem var(--font-display); text-transform: uppercase;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .menu-open .topbar__nav { opacity: 1; visibility: visible; }
  /* Le flou de l'en-tête (backdrop-filter) enfermerait le menu plein écran dans la hauteur de la barre. */
  .menu-open .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy); }
  .menu-open { overflow: hidden; }
  .menu-open .topbar__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .topbar__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero { align-items: flex-end; }
  .hero__shade { background: linear-gradient(0deg, rgba(13, 19, 66, .96) 0%, rgba(13, 19, 66, .62) 50%, rgba(13, 19, 66, .2) 100%); }
  .countdown div { min-width: 0; flex: 1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }

  .kits, .tickets { grid-template-columns: 1fr; }
  .concept { grid-template-columns: 1fr; }
  .concept__photo img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stats div { padding: 14px 10px; }
  .stats dt { font-size: 1.25rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band__inner { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .topbar__cta { display: none; }
  .topbar__burger { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Pages intérieures ===== */
.is-page .topbar { background: rgba(13, 19, 66, .96); padding-block: 10px; }
.btn--block { width: 100%; }
.btn--outline { --bg: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px rgba(13, 19, 66, .2); }
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--navy); }

.page-head { position: relative; padding: 130px 0 56px; background: var(--navy); color: var(--white); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 100% 0%, rgba(236, 47, 115, .55), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(47, 91, 214, .6), transparent 70%); }
.page-head::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .2; mix-blend-mode: overlay; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head__title { margin-top: 6px; font: 400 clamp(2.2rem, 6vw, 3.8rem)/1.02 var(--font-display); text-transform: uppercase; }
.page-head__lead { margin-top: 14px; max-width: 640px; font-size: 1.08rem; color: rgba(255, 255, 255, .85); }
.page-head--paid::before { background: radial-gradient(60% 90% at 100% 0%, rgba(63, 212, 255, .45), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(236, 47, 115, .6), transparent 70%); }
.checkout-wrap { padding-top: 48px; }

.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; font-weight: 500; }
.notice--error { background: #ffe3ec; color: #9b1145; }
.notice--warn { background: #fff1cf; color: #6b4a00; }

/* Formulaire de commande */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.checkout > .notice { grid-column: 1 / -1; margin: 0; }
.checkout__main { display: grid; gap: 22px; }
.step { margin: 0; padding: 26px; border: 0; border-radius: 22px; background: var(--white); box-shadow: 0 16px 40px -30px rgba(13, 19, 66, .45); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 400 1.25rem var(--font-display); text-transform: uppercase; color: var(--navy); }
.step legend small { font: 500 .85rem var(--font-body); text-transform: none; color: var(--muted); }
.step legend + * { clear: both; }
.step__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: var(--white); font-size: 1rem; }

.kit-pick { display: grid; gap: 12px; }
.kit-line { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 2px #e7e3ee; transition: box-shadow .2s var(--ease), background .2s var(--ease); }
.kit-line.is-on { box-shadow: inset 0 0 0 2.5px var(--pink); background: #fff3f7; }
.kit-line__info { display: grid; gap: 4px; min-width: 0; }
.kit-line__top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.kit-line__top b { font-size: 1.08rem; color: var(--navy); }
.kit-line__price { font: 400 1.25rem var(--font-display); color: var(--pink); white-space: nowrap; }
.kit-line__items { font-size: .88rem; color: var(--muted); }
.kit-line.is-disabled .kit-line__info { opacity: .5; }
.kit-line__out { flex: none; padding: .15em .6em; border: 2px solid var(--pink); border-radius: 6px; color: var(--pink); font: 400 .85rem var(--font-display); text-transform: uppercase; transform: rotate(6deg); }
.kit-line .qty__ctrl { flex: none; background: var(--white); }
.summary__empty { color: rgba(255, 255, 255, .65); font-size: .92rem; }

.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.qty__label { font-weight: 600; color: var(--navy); }
.qty__ctrl { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 2px #e7e3ee; }
.qty__ctrl button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.4rem; color: var(--navy); cursor: pointer; border-radius: 50%; }
.qty__ctrl button:hover { background: #f3eff7; }
.qty__ctrl input { width: 44px; border: 0; text-align: center; font: 700 1.1rem var(--font-body); color: var(--navy); background: none; -moz-appearance: textfield; }
.qty__ctrl input::-webkit-inner-spin-button, .qty__ctrl input::-webkit-outer-spin-button { -webkit-appearance: none; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .92rem; color: var(--navy); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 0; border-radius: 12px; background: #f6f3f8; box-shadow: inset 0 0 0 1.5px #e4dfeb;
  font: 500 1rem var(--font-body); color: var(--ink);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--blue); }
.field__error { color: #c0124f; font-size: .86rem; font-weight: 600; }
.field:has(.field__error) input, .field:has(.field__error) select { box-shadow: inset 0 0 0 2px #e8577f; }
.step > .field__error, .summary > .field__error { margin-top: 8px; }

.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; color: var(--navy); }
.switch input { position: absolute; opacity: 0; }
.switch__ui { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #dcd6e5; transition: background .25s var(--ease); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--pink); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--yellow); outline-offset: 2px; }
.switch b { color: var(--pink); white-space: nowrap; }
.hint { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.delivery { margin-top: 18px; }

.summary { position: sticky; top: 90px; padding: 26px; border-radius: 22px; background: var(--navy); color: var(--white); box-shadow: 0 30px 60px -30px rgba(13, 19, 66, .8); }
.summary__title { margin-bottom: 16px; font: 400 1.2rem var(--font-display); text-transform: uppercase; }
.summary__lines { margin: 0; display: grid; gap: 10px; }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines dt { color: rgba(255, 255, 255, .8); }
.summary__lines dd { margin: 0; font-weight: 700; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 20px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .25); }
.summary__total b { font: 400 2rem var(--font-display); color: var(--yellow); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; font-size: .9rem; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.summary .field__error { color: #ff9dbd; margin: -10px 0 14px; }
.summary__secure { margin-top: 12px; font-size: .82rem; text-align: center; color: rgba(255, 255, 255, .65); }

/* Commande et billets */
.order { max-width: 900px; }
.order__card { max-width: 460px; padding: 26px; border-radius: 22px; background: var(--navy); color: var(--white); }
.order__card form { margin-top: 4px; }
.tickets-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.eticket { border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 24px 50px -30px rgba(13, 19, 66, .55); break-inside: avoid; }
.eticket__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: linear-gradient(120deg, var(--pink), #b41f86 55%, var(--blue)); color: var(--white); }
.eticket__head img { height: 40px; width: auto; }
.eticket__head span { font: 400 1.3rem var(--font-script); }
.eticket__body { position: relative; padding: 22px 20px 20px; text-align: center; border-top: 2px dashed #e6e1ee; }
.eticket__qr { margin: 0 auto; width: 220px; height: 220px; }
.eticket__code { margin: 8px 0 14px; font: 700 1.15rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--navy); }
.eticket dl { margin: 0; display: grid; gap: 6px; text-align: left; font-size: .92rem; }
.eticket dl div { display: flex; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid #f0edf4; }
.eticket dt { color: var(--muted); }
.eticket dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.order__note { margin-top: 24px; color: var(--muted); }
.order__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .page-head { padding: 108px 0 40px; }
  .step { padding: 20px 16px; }
  .grid2 { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .footer, .page-head, .order__actions, .order__note { display: none !important; }
  body, .section--paper { background: #fff !important; }
  .section { padding: 0; }
  .eticket { box-shadow: none; border: 1px solid #ccc; }
  .eticket__head { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Accueil : choix de l'édition ===== */
.hero--hub .hero__title { margin-bottom: 18px; }
.hub__lead { max-width: 520px; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; margin-top: 26px; }
.edition-card {
  position: relative; display: grid; gap: 8px; padding: 22px 22px 20px;
  border-radius: 22px; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.edition-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .14); }
.edition-card.is-open { background: linear-gradient(135deg, rgba(236, 47, 115, .9), rgba(47, 91, 214, .85)); box-shadow: 0 24px 50px -24px rgba(236, 47, 115, .9); }
.edition-card__status { justify-self: start; padding: .3em .75em; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.edition-card.is-open .edition-card__status { background: var(--yellow); color: var(--navy); }
.edition-card__neon { margin-top: 4px; font: 400 2rem/1.15 var(--font-script); text-shadow: 0 0 14px rgba(255, 255, 255, .45); }
.edition-card:not(.is-open) .edition-card__neon { opacity: .75; text-shadow: none; }
.edition-card__when { font-weight: 600; font-size: .95rem; opacity: .9; }
.edition-card__go { margin-top: 8px; font-weight: 700; }
.edition-card__go i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.edition-card:hover .edition-card__go i { transform: translateX(4px); }
.hero__spacer { height: 22px; }
@media (max-width: 860px) {
  .editions { grid-template-columns: 1fr; }
  .hero--hub { align-items: flex-end; }
}

/* ===== Mes billets ===== */
.access { max-width: 460px; }
.access .step { display: grid; gap: 18px; }
.access__to { color: var(--muted); }
.access__again { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; font-size: .92rem; color: var(--muted); }
.access__again a, .linklike { color: var(--pink); font-weight: 600; }
.linklike { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.code-input { font: 700 1.8rem/1 ui-monospace, Menlo, Consolas, monospace !important; letter-spacing: .5em; text-align: center; }
.notice--info { background: #e4ecff; color: #1f3a8a; }
.order-block + .order-block { margin-top: 44px; }
.order-block__title { margin-bottom: 18px; font: 400 1.4rem var(--font-display); text-transform: uppercase; color: var(--navy); }
.order-block__title small { display: block; margin-top: 4px; font: 500 .95rem var(--font-body); text-transform: none; color: var(--muted); }
.order__actions form { margin: 0; }

/* ===== Points de retrait ===== */
.pickup { margin-top: 14px; }
.pickup-list { display: grid; gap: 10px; margin-top: 10px; }
.pickup-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 2px #e7e3ee; cursor: pointer; }
.pickup-option input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pink); flex: none; }
.pickup-option b { display: block; color: var(--navy); }
.pickup-option small { display: block; color: var(--muted); font-size: .88rem; }
.pickup-option:has(input:checked) { box-shadow: inset 0 0 0 2.5px var(--pink); background: #fff3f7; }
.check a { color: inherit; text-decoration: underline; }
.points { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.point { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 20px; background: var(--white); box-shadow: 0 16px 40px -30px rgba(13, 19, 66, .45); }
.point h3 { font: 400 1.15rem var(--font-display); text-transform: uppercase; color: var(--navy); }
.point p { color: var(--muted); }
.point a { margin-top: 6px; color: var(--pink); font-weight: 700; text-decoration: none; }
.section--tight { padding-top: 0; }

/* ===== Conditions ===== */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: 100px; display: grid; gap: 4px; }
.legal__toc a { padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.legal__toc a:hover { background: var(--white); color: var(--navy); }
.legal__body { max-width: 720px; padding: 34px; border-radius: 22px; background: var(--white); color: #2a2e52; }
.legal__body h2 { margin: 30px 0 10px; font: 700 1.2rem var(--font-body); color: var(--navy); scroll-margin-top: 100px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { line-height: 1.7; }
.legal__body p + p { margin-top: 10px; }
.legal__body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal__body a { color: var(--pink); }
.legal__date { margin-top: 30px !important; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; gap: 20px; }
  .legal__toc { position: static; grid-template-columns: 1fr 1fr; }
  .legal__body { padding: 22px 18px; }
}
.tag-team { display: inline-block; padding: .15em .6em; border-radius: 6px; background: var(--yellow); color: var(--navy); font: 700 .72rem var(--font-body); text-transform: uppercase; letter-spacing: .06em; vertical-align: middle; }
