/* EventSerenity — page publique d'un événement. --brand = couleur de l'événement */
:root { --brand: #0e7490; --ink: #0c1326; --mut: #5b6478; --paper: #f7f4ee; --line: #e6e8ee; --ease: cubic-bezier(.22,1,.36,1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
.ev-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons */
.ev-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--brand) 90%, black); transition: transform .3s var(--ease), filter .3s; }
.ev-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ev-btn-sm { padding: 9px 18px; font-size: 14.5px; }
.ev-btn-lg { padding: 16px 28px; font-size: 16.5px; }
.ev-btn-ghost { display: inline-flex; align-items: center; padding: 16px 26px; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); transition: background .3s; }
.ev-btn-ghost:hover { background: rgba(255,255,255,.12); }
.ev-btn-light { background: #fff; color: var(--brand); }
.ev-link { font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--mut); }
.ev-link:hover { color: var(--ink); }

/* En-tête */
.ev-top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.ev-top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.ev-brand img { height: 46px; width: auto; }
.ev-top-nav { display: flex; gap: 4px; margin-left: auto; }
.ev-top-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--mut); text-decoration: none; }
.ev-top-nav a:hover { background: #f1f5f9; color: var(--ink); }
.ev-top-cta { display: flex; align-items: center; gap: 16px; }

/* Héro */
.ev-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--brand); }
.ev-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.05); animation: evZoom 22s ease-in-out infinite alternate; }
@keyframes evZoom { to { transform: scale(1.14); } }
.ev-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 92%, black) 0%, color-mix(in srgb, var(--brand) 78%, transparent) 50%, rgba(6,10,23,.35) 100%), linear-gradient(0deg, rgba(6,10,23,.55), transparent 50%); }
.ev-hero-in { padding: 64px 0 72px; max-width: 820px; margin-left: max(20px, (100% - 1160px) / 2); }
.ev-org-pill { display: inline-flex; padding: 10px 16px; margin-bottom: 22px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }
.ev-org-pill img { height: 48px; width: auto; }
.ev-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13.5px; font-weight: 700; }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: evPulse 2s infinite; }
.ev-dot.live { background: #fb7185; }
@keyframes evPulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.ev-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.ev-tagline { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.88); max-width: 720px; }
.ev-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 24px 0 0; padding: 0; list-style: none; font-weight: 600; }
.ev-facts li { display: inline-flex; align-items: center; gap: 8px; }
.ev-facts svg { width: 20px; height: 20px; color: #fde68a; }
.ev-countdown { display: flex; gap: 10px; margin-top: 30px; }
.ev-countdown div { min-width: 82px; padding: 12px 10px; border-radius: 16px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); text-align: center; backdrop-filter: blur(6px); }
.ev-countdown b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ev-countdown span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ev-hero .ev-btn { background: #fff; color: var(--brand); }

/* Chiffres */
.ev-stats { background: #0b1224; color: #fff; }
.ev-stats-in { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; padding: 22px 0; }
.ev-stats b { display: block; font-size: 30px; font-weight: 800; text-align: center; }
.ev-stats span { display: block; color: #9aa6c3; font-size: 14px; text-align: center; }

/* Sections */
.ev-section { padding: 80px 0; }
.ev-alt { background: var(--paper); }
.ev-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ev-kicker.light { color: rgba(255,255,255,.75); }
.ev-section h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 26px; }
.ev-h3 { font-size: 18px; font-weight: 800; margin: 30px 0 12px; }
.ev-rich p { margin: 0 0 14px; color: #3b4458; }
.ev-rich ul { margin: 0 0 14px; padding-left: 22px; color: #3b4458; }
.ev-rich li { margin-bottom: 4px; }
.ev-rich li::marker { color: var(--brand); }

.ev-about { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.ev-about.no-poster { grid-template-columns: 1fr; max-width: 820px; }
.ev-tracks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ev-tracks li { padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, white); }
.ev-org-card { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 16px 18px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.ev-org-card img { height: 54px; width: auto; max-width: 50%; object-fit: contain; }
.ev-org-card small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.ev-org-card b { font-size: 15px; }
.ev-poster { position: sticky; top: 100px; display: block; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(12,19,38,.55); text-decoration: none; transition: transform .5s var(--ease); }
.ev-poster:hover { transform: translateY(-4px) rotate(-.5deg); }
.ev-poster span { display: block; padding: 12px 16px; background: #fff; color: var(--brand); font-weight: 700; font-size: 14.5px; }

/* Programme */
.ev-days { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.ev-day { padding: 12px 20px; border: 0; border-radius: 16px; background: #fff; font: inherit; font-weight: 700; color: var(--mut); text-align: left; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.ev-day span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.ev-day.on { background: var(--brand); color: #fff; box-shadow: 0 14px 26px -16px var(--brand); }
.ev-dayhead { font-size: 17px; margin: 0 0 14px; color: var(--mut); }
.js .ev-dayhead { display: none; }
.js .ev-daylist[data-hidden] { display: none; }
.ev-daylist + .ev-daylist { margin-top: 30px; }
.ev-sessions { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-s { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); border-left: 5px solid var(--c); }
.ev-s.is-break { background: transparent; box-shadow: none; border-left-color: transparent; padding-top: 8px; padding-bottom: 8px; }
.ev-s.is-break h4 { font-size: 15px; color: var(--mut); font-weight: 600; }
.ev-s.is-break .ev-s-tags { display: none; }
.ev-s time b { display: block; font-size: 17px; }
.ev-s time span { color: #94a3b8; font-size: 14px; }
.ev-s-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.ev-tag { padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: var(--mut); font-size: 12px; font-weight: 700; }
.ev-tag-c { background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); }
.ev-s h4 { font-size: 17.5px; font-weight: 800; }
.ev-s-room { margin: 4px 0 0; color: var(--mut); font-size: 14px; }
.ev-s-speakers { margin: 6px 0 0; font-size: 14px; font-weight: 600; }
.ev-s details { margin-top: 8px; }
.ev-s summary { cursor: pointer; color: var(--brand); font-weight: 700; font-size: 14px; }
.ev-s details .ev-rich { margin-top: 10px; font-size: 15px; }
.ev-note { margin: 22px 0 0; color: var(--mut); font-size: 13.5px; }

/* Lieux */
.ev-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ev-place { padding: 22px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.ev-place h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
.ev-place h3 svg { width: 20px; height: 20px; color: var(--brand); }
.ev-place ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ev-place li { display: flex; justify-content: space-between; gap: 12px; color: #3b4458; font-size: 15px; }
.ev-place li span { flex: none; color: #94a3b8; font-size: 13.5px; }

/* Inscription & partage */
.ev-join { background: linear-gradient(130deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #0b1224)); color: #fff; }
.ev-join-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.ev-join h2 { color: #fff; }
.ev-steps { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 16.5px; }
.ev-steps li { display: flex; gap: 14px; align-items: center; }
.ev-steps span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); font-weight: 800; }
.ev-share { padding: 24px; border-radius: 24px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ev-qr { width: 168px; height: 168px; margin: 0 auto 12px; }
.ev-qr img, .ev-qr svg { width: 100%; height: 100%; }
.ev-share p { margin: 0 0 12px; font-weight: 700; }
.ev-share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev-share-btns a, .ev-share-btns button { padding: 10px; border: 0; border-radius: 12px; background: #f1f5f9; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.ev-share-btns a:hover, .ev-share-btns button:hover { background: #e2e8f0; }
.ev-share .ev-url { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--mut); word-break: break-all; }

.ev-foot { padding: 34px 0; background: #04070f; color: #9aa6c3; font-size: 14px; }
.ev-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ev-foot img { height: 64px; width: auto; }
.ev-foot a { color: #fff; }

/* 404 */
.ev-404 { display: grid; place-items: center; min-height: 100vh; background: var(--paper); text-align: center; }
.ev-404 main { display: grid; justify-items: center; gap: 12px; padding: 20px; }
.ev-404 h1 { font-size: 32px; margin-top: 20px; }

@media (max-width: 900px) {
  .ev-top-nav { display: none; }
  .ev-top-cta { margin-left: auto; }
  .ev-about, .ev-join-in { grid-template-columns: 1fr; }
  .ev-poster { position: static; max-width: 420px; }
}
@media (max-width: 560px) {
  .ev-wrap { width: calc(100% - 32px); }
  .ev-hero-in { margin-left: 16px; margin-right: 16px; padding: 40px 0 52px; }
  .ev-top-in { height: 64px; gap: 12px; }
  .ev-brand img { height: 40px; }
  .ev-link { display: none; }
  .ev-countdown div { min-width: 0; flex: 1; padding: 10px 4px; }
  .ev-countdown b { font-size: 24px; }
  .ev-actions a { flex: 1 1 100%; justify-content: center; }
  .ev-s { grid-template-columns: 58px 1fr; gap: 12px; padding: 16px; }
  .ev-section { padding: 60px 0; }
  .ev-stats b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ev-hero-bg, .ev-dot { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 560px) { .ev-countdown span { font-size: 10px; letter-spacing: .03em; } }

/* ===== Héros v2 : logo client transparent + carte « En bref » ===== */
.ev-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; padding: 56px 0 68px; }
.ev-hero-grid .ev-hero-in { margin: 0; padding: 0; max-width: none; }
.ev-org-logo { display: block; height: 76px; width: auto; max-width: 100%; margin-bottom: 26px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.ev-org-logo.is-silhouette { filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.45)); }
.ev-brand img { height: 56px; }
.ev-brief { padding: 24px; border-radius: 24px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 30px 60px -30px rgba(0,0,0,.6); }
.ev-brief-title { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fde68a; }
.ev-brief ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ev-brief li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(6,10,23,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ev-brief-day { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ev-brief b { font-size: 17px; }
.ev-brief-city { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fde68a; }
.ev-brief-city svg { width: 16px; height: 16px; }
.ev-brief small { color: rgba(255,255,255,.75); font-size: 13.5px; }
.ev-brief-foot { margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.75); }
@media (max-width: 960px) {
  .ev-hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 52px; }
}
@media (max-width: 560px) {
  .ev-org-logo { height: 56px; margin-bottom: 20px; }
  .ev-brand img { height: 44px; }
  .ev-hero-grid { width: calc(100% - 32px); }
}

/* Documents publics */
.ev-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.ev-doc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: #fff; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ev-doc:hover { transform: translateY(-2px); box-shadow: 0 0 0 1.5px var(--brand), 0 18px 30px -20px rgba(12,19,38,.4); }
.ev-doc-ext { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ev-doc-body { flex: 1; min-width: 0; }
.ev-doc-body b { display: block; font-size: 15.5px; }
.ev-doc-body small { display: block; color: var(--mut); font-size: 13px; }
.ev-doc-dl svg { width: 22px; height: 22px; color: var(--brand); }

/* ===================== Icônes ===================== */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Menu de l'en-tête avec icônes */
.ev-top-nav a { display: inline-flex; align-items: center; gap: 7px; }
.ev-top-nav .ic { color: var(--brand); opacity: .85; transition: transform .3s var(--ease); }
.ev-top-nav a:hover .ic { transform: translateY(-1px); opacity: 1; }

/* Menu mobile : bouton ☰ dans l'en-tête, panneau latéral (le menu de l'en-tête est masqué sous 900 px) */
.ev-burger { display: none; }
.ev-menu[hidden] { display: none; }
@media (max-width: 900px) {
  .ev-burger { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; background: #f1f5f9; color: var(--ink); cursor: pointer; transition: transform .15s ease, background .2s; }
  .ev-burger:active { transform: scale(.92); }
  .ev-burger .ic { width: 22px; height: 22px; }
  html { scroll-padding-top: 80px; }
}
.ev-menu { position: fixed; inset: 0; z-index: 60; }
.ev-menu-backdrop { position: absolute; inset: 0; background: rgba(6,10,23,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s ease; }
.ev-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(380px, 88vw); overflow-y: auto; overscroll-behavior: contain; padding: max(16px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); background: #fff; box-shadow: -30px 0 60px -20px rgba(6,10,23,.45); transform: translateX(104%); transition: transform .38s var(--ease); }
.ev-menu.is-open .ev-menu-backdrop { opacity: 1; }
.ev-menu.is-open .ev-menu-panel { transform: none; }
.ev-menu-head { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.ev-menu-title { display: grid; gap: 4px; min-width: 0; flex: 1; }
.ev-menu-title .ev-tb-badge { justify-self: start; }
.ev-menu-title b { font-size: 18px; line-height: 1.2; color: var(--ink); }
.ev-menu-title small { color: var(--mut); font-size: 13px; }
.ev-menu-x { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 12px; background: #f1f5f9; color: var(--ink); cursor: pointer; }
.ev-menu-x:active { transform: scale(.92); }
.ev-menu-x .ic { width: 20px; height: 20px; }
.ev-menu-nav { display: grid; gap: 2px; padding: 12px 0; }
.ev-menu-nav a { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 14px; color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s; }
.ev-menu-nav a:hover, .ev-menu-nav a:focus-visible { background: #f1f5f9; }
.ev-menu-nav a:active { background: color-mix(in srgb, var(--brand) 12%, white); }
.ev-menu-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, white); color: var(--brand); }
.ev-menu-ic .ic { width: 19px; height: 19px; }
.ev-menu-nav a > span:nth-child(2) { flex: 1; }
.ev-menu-go { width: 16px; height: 16px; color: #94a3b8; transform: rotate(-90deg); }
.ev-menu-help { display: grid; gap: 4px; padding: 12px 10px; border-top: 1px solid var(--line); }
.ev-menu-help a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--mut); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.ev-menu-help .ic { width: 17px; height: 17px; color: var(--brand); }
.ev-menu-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; }
.ev-menu-foot .ev-btn, .ev-menu-foot .ev-btn-ghost { justify-content: center; width: 100%; padding: 14px 18px; font-size: 15.5px; }
.ev-menu-login { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; border-color: var(--line) !important; background: #fff; }
.ev-menu-login .ic { width: 18px; height: 18px; }
body.ev-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ev-menu-panel, .ev-menu-backdrop { transition: none; } }

/* ===================== Programme ===================== */
.ev-prog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.ev-prog-head h2 { margin-bottom: 0; max-width: 640px; }
.ev-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-filter button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; background: #fff; color: var(--mut); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.ev-filter button i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ev-filter button.on { background: var(--ink); color: #fff; box-shadow: none; }

/* Cartes des jours */
.ev-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 30px; }
.ev-day { display: grid; gap: 2px; padding: 16px 18px; border: 0; border-radius: 20px; background: #fff; text-align: left; font: inherit; color: var(--ink); cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ev-day:hover { transform: translateY(-2px); }
.ev-day-n { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.ev-day b { font-size: 18px; }
.ev-day-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--mut); font-size: 14px; font-weight: 600; }
.ev-day-meta .ic { width: 15px; height: 15px; color: var(--brand); }
.ev-day-meta em { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #f1f5f9; font-style: normal; font-size: 12px; font-weight: 700; }
.ev-day.on { background: var(--brand); color: #fff; box-shadow: 0 18px 34px -18px var(--brand); }
.ev-day.on .ev-day-n, .ev-day.on .ev-day-meta, .ev-day.on .ev-day-meta .ic { color: rgba(255,255,255,.85); }
.ev-day.on .ev-day-meta em { background: rgba(255,255,255,.18); color: #fff; }

/* Frise chronologique */
.ev-timeline { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ev-timeline::before { content: ''; position: absolute; top: 10px; bottom: 10px; left: 97px; width: 2px; background: linear-gradient(var(--line), var(--line)) ; }
.ev-t { position: relative; display: grid; grid-template-columns: 70px 56px 1fr; align-items: start; }
.ev-t[hidden] { display: none; }
.ev-t-time { padding-top: 12px; text-align: right; }
.ev-t-time b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.ev-t-time span { color: #94a3b8; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ev-t-dot { position: relative; z-index: 1; display: grid; place-items: center; justify-self: center; width: 42px; height: 42px; margin-top: 6px; border-radius: 50%; background: #fff; color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 45%, white), 0 0 0 6px var(--paper); }
.ev-t-dot .ic { width: 20px; height: 20px; }
.ev-t-card { padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); border-top: 4px solid var(--c); transition: box-shadow .3s, transform .3s var(--ease); }
.ev-t-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 20px 34px -24px rgba(12,19,38,.45); }
.ev-t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ev-badge { padding: 4px 10px; border-radius: 8px; background: var(--c); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ev-tag-par { display: inline-flex; align-items: center; gap: 4px; background: #fef3c7; color: #92400e; }
.ev-tag-par .ic { width: 13px; height: 13px; }
.ev-tag-live { background: #ffe4e6; color: #be123c; }
.ev-t-card h4 { font-size: 18.5px; font-weight: 800; line-height: 1.3; }
.ev-t-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; color: var(--mut); font-size: 14px; }
.ev-t-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-t-meta .ic { width: 16px; height: 16px; color: var(--c); }
.ev-t-card details { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.ev-t-card summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: var(--brand); font-weight: 700; font-size: 14px; }
.ev-t-card summary::-webkit-details-marker { display: none; }
.ev-t-card summary .ic { transition: transform .3s var(--ease); }
.ev-t-card details[open] summary .ic { transform: rotate(180deg); }
.ev-t-detail { margin-top: 12px; font-size: 15px; }
.ev-t-detail ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; padding: 0; list-style: none; }
.ev-t-detail li { position: relative; padding-left: 22px; font-size: 14px; }
.ev-t-detail li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--c); border-bottom: 2px solid var(--c); transform: rotate(-45deg); }
.ev-t.is-break .ev-t-dot { width: 34px; height: 34px; margin-top: 4px; color: #94a3b8; box-shadow: 0 0 0 1.5px var(--line), 0 0 0 6px var(--paper); }
.ev-t.is-break .ev-t-dot .ic { width: 17px; height: 17px; }
.ev-t.is-break .ev-t-time { padding-top: 8px; }
.ev-t.is-break .ev-t-time b { font-size: 15px; color: var(--mut); }
.ev-t-break { align-self: center; padding: 10px 16px; border-radius: 14px; border: 1.5px dashed var(--line); color: var(--mut); font-weight: 600; font-size: 15px; }
.ev-t-break span { font-weight: 500; font-size: 13.5px; }
.ev-t.is-live .ev-t-card { box-shadow: 0 0 0 2px #fb7185, 0 20px 34px -24px rgba(225,29,72,.5); }
.ev-note { display: flex; align-items: center; gap: 8px; }
.ev-note .ic { color: var(--brand); }

@media (max-width: 560px) {
  .ev-timeline::before { left: 72px; }
  .ev-t { grid-template-columns: 52px 42px 1fr; }
  .ev-t-dot { width: 34px; height: 34px; }
  .ev-t-dot .ic { width: 17px; height: 17px; }
  .ev-t-card { padding: 14px 15px; }
  .ev-t-card h4 { font-size: 16.5px; }
  .ev-t-time b { font-size: 15px; }
  .ev-t-time span { font-size: 12px; }
  .ev-filter { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .ev-filter button { flex: none; }
}
.ev-day .ev-day-meta { text-transform: none; letter-spacing: 0; display: flex; } .ev-day .ev-day-meta em { letter-spacing: 0; }
@media (max-width: 560px) { .ev-t { grid-template-columns: 50px 40px 1fr; column-gap: 4px; } .ev-t-time b { font-size: 14px; letter-spacing: -.02em; } .ev-timeline::before { left: 73px; } }

/* ===== Programme compact : défilement dans la carte, pas dans la page ===== */
.ev-program .ev-section, .ev-program { padding: 64px 0; }
.ev-prog-head h2 { font-size: clamp(22px, 2.2vw, 28px); }
.ev-days { margin-bottom: 14px; gap: 10px; }
.ev-day { padding: 12px 16px; border-radius: 16px; }
.ev-day b { font-size: 15.5px; }
.ev-day-meta { font-size: 12.5px; }
.ev-prog-scroll {
  position: relative; max-height: 560px; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 14px 8px 0; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 40px -32px rgba(12,19,38,.4);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 45%, white) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 36px), transparent);
}
.ev-prog-scroll.at-end { -webkit-mask-image: none; mask-image: none; }
.ev-prog-scroll:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.ev-prog-scroll::-webkit-scrollbar { width: 8px; }
.ev-prog-scroll::-webkit-scrollbar-thumb { border-radius: 8px; background: color-mix(in srgb, var(--brand) 40%, white); }
.ev-prog-scroll .ev-timeline { gap: 8px; }
.ev-prog-scroll .ev-timeline::before { left: 81px; top: 6px; bottom: 6px; }
.ev-prog-scroll .ev-t { grid-template-columns: 58px 46px 1fr; }
.ev-prog-scroll .ev-t-time { padding-top: 8px; }
.ev-prog-scroll .ev-t-time b { font-size: 14px; }
.ev-prog-scroll .ev-t-time span { font-size: 12px; }
.ev-prog-scroll .ev-t-dot { width: 32px; height: 32px; margin-top: 4px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, white), 0 0 0 5px #fff; }
.ev-prog-scroll .ev-t-dot .ic { width: 16px; height: 16px; }
.ev-prog-scroll .ev-t-card { padding: 11px 14px; border-radius: 14px; border-top-width: 3px; box-shadow: 0 0 0 1px var(--line); }
.ev-prog-scroll .ev-t-card:hover { transform: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 50%, white); }
.ev-prog-scroll .ev-t-tags { margin-bottom: 4px; gap: 4px; }
.ev-prog-scroll .ev-badge, .ev-prog-scroll .ev-tag { padding: 2px 8px; font-size: 10.5px; }
.ev-prog-scroll .ev-t-card h4 { font-size: 15px; line-height: 1.3; }
.ev-prog-scroll .ev-t-meta { gap: 3px 12px; margin-top: 5px; font-size: 12.5px; }
.ev-prog-scroll .ev-t-meta .ic { width: 14px; height: 14px; }
.ev-prog-scroll .ev-t-card details { margin-top: 8px; padding-top: 6px; }
.ev-prog-scroll .ev-t-card summary { font-size: 12.5px; }
.ev-prog-scroll .ev-t-card summary .ic { width: 16px; height: 16px; }
.ev-prog-scroll .ev-t-detail { margin-top: 8px; font-size: 13px; }
.ev-prog-scroll .ev-t-detail p { margin-bottom: 8px; }
.ev-prog-scroll .ev-t-detail li { font-size: 12.5px; }
.ev-prog-scroll .ev-t.is-break .ev-t-dot { width: 26px; height: 26px; margin-top: 3px; }
.ev-prog-scroll .ev-t.is-break .ev-t-dot .ic { width: 13px; height: 13px; }
.ev-prog-scroll .ev-t.is-break .ev-t-time { padding-top: 5px; }
.ev-prog-scroll .ev-t.is-break .ev-t-time b { font-size: 13px; }
.ev-prog-scroll .ev-t-break { padding: 6px 12px; border-radius: 10px; font-size: 13px; }
.ev-prog-scroll .ev-t-break span { font-size: 12px; }
.ev-prog-scroll .ev-daylist + .ev-daylist { margin-top: 0; }
.ev-note { font-size: 12.5px; }
@media (max-width: 560px) {
  .ev-prog-scroll { max-height: 70vh; padding: 12px 10px 8px 0; border-radius: 18px; }
  .ev-prog-scroll .ev-t { grid-template-columns: 46px 36px 1fr; column-gap: 2px; }
  .ev-prog-scroll .ev-timeline::before { left: 64px; }
  .ev-prog-scroll .ev-t-time b { font-size: 13px; }
  .ev-prog-scroll .ev-t-dot { width: 28px; height: 28px; }
  .ev-prog-scroll .ev-t-card h4 { font-size: 14px; }
}
@media (max-width: 560px) {
  .ev-days { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
  .ev-day { padding: 10px 12px; border-radius: 14px; }
  .ev-day-n { font-size: 10px; }
  .ev-day b { font-size: 13.5px; }
  .ev-day-meta { font-size: 11.5px; gap: 4px; }
  .ev-day-meta .ic { width: 13px; height: 13px; }
  .ev-day-meta em { display: none; }
  .ev-prog-head h2 { font-size: 22px; }
}

/* ===================== Héros v3 : galerie des lieux, images entières ===================== */
.ev-hero-bg.is-blur { filter: blur(26px) saturate(1.2) brightness(.7); transform: scale(1.15); animation: none; transition: background-image .8s; }
.ev-hero-shade { background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 94%, black) 0%, color-mix(in srgb, var(--brand) 80%, transparent) 55%, color-mix(in srgb, var(--brand) 55%, transparent) 100%); }
.ev-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; padding: 48px 0 56px; }
/* Grand écran : héros plus large, galerie mise en avant. */
@media (min-width: 961px) { .ev-hero-grid.ev-wrap { width: min(1380px, 100% - 48px); grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; } }
.ev-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.ev-tagline { font-size: clamp(16px, 1.4vw, 19px); }

.ev-daychips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ev-daychips li { padding: 7px 12px; border-radius: 12px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-size: 13.5px; }
.ev-daychips b { margin-right: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fde68a; }
.ev-daychips em { font-style: normal; font-weight: 700; }
.ev-countdown { margin-top: 22px; }
.ev-countdown div { min-width: 70px; padding: 10px 8px; }
.ev-countdown b { font-size: 26px; }
.ev-actions { margin-top: 26px; }

.ev-gallery { display: grid; gap: 10px; }
.ev-g-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: #0b1224; box-shadow: 0 40px 70px -35px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); }
.ev-g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s var(--ease); }
.ev-g-slide.on { opacity: 1; }
/* Fond : la même photo floutée, pour remplir le cadre sans rogner l'image */
.ev-g-blur { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) brightness(.55) saturate(1.2); }
.ev-g-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.ev-g-slide.on img { animation: gZoom 7s ease-out both; }
@keyframes gZoom { from { transform: scale(1.03); } to { transform: scale(1); } }
.ev-g-slide figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; pointer-events: none; }
.ev-g-place { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(6,10,23,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-weight: 800; font-size: 15px; }
.ev-g-place .ic { width: 16px; height: 16px; color: #fde68a; }
.ev-g-slide figcaption small { padding: 3px 8px; border-radius: 8px; background: rgba(6,10,23,.55); color: rgba(255,255,255,.85); font-size: 10.5px; }
.ev-g-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: #0b1224; cursor: pointer; opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.ev-g-stage:hover .ev-g-nav, .ev-g-nav:focus-visible { opacity: 1; }
.ev-g-nav:hover { transform: scale(1.08); }
.ev-g-nav.prev { left: 12px; } .ev-g-nav.next { right: 12px; }
.ev-g-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.ev-g-thumbs button { position: relative; overflow: hidden; height: 62px; padding: 0; border: 0; border-radius: 12px; background: #0b1224; cursor: pointer; opacity: .6; box-shadow: inset 0 0 0 2px transparent; transition: opacity .3s, box-shadow .3s; }
.ev-g-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.ev-g-thumbs button span { position: absolute; left: 6px; bottom: 4px; color: #fff; font-size: 11px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.ev-g-thumbs button.on, .ev-g-thumbs button:hover { opacity: 1; }
.ev-g-thumbs button.on { box-shadow: 0 0 0 2px #fde68a; }
.ev-g-thumbs button.on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fde68a; transform-origin: left; animation: gProg 5.5s linear both; }
@keyframes gProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 960px) {
  .ev-hero-grid { grid-template-columns: 1fr; }
  .ev-gallery { order: 0; }
  .ev-g-nav { opacity: 1; width: 34px; height: 34px; }
}
@media (max-width: 560px) {
  .ev-g-stage { border-radius: 18px; }
  .ev-g-thumbs button { height: 48px; }
  .ev-g-place { font-size: 13px; padding: 5px 10px; }
  .ev-g-slide figcaption small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ev-g-slide.on img, .ev-g-thumbs button.on::after { animation: none; } }

/* ===================== Topbar + menu compact ===================== */
.ev-topbar { position: relative; z-index: 21; height: 38px; overflow: hidden; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 92%, black), var(--brand) 55%, color-mix(in srgb, var(--brand) 70%, #22d3ee)); color: rgba(255,255,255,.88); font-size: 12.5px; transition: margin-top .35s var(--ease); }
.ev-topbar::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); transform: translateX(-100%); animation: evSweep 8s ease-in-out infinite; }
@keyframes evSweep { 60%, 100% { transform: translateX(100%); } }
.ev-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.ev-tb-info { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0; white-space: nowrap; }
.ev-tb-info b { color: #fff; }
.ev-tb-long { overflow: hidden; text-overflow: ellipsis; }
.ev-tb-short { display: none; }
.ev-tb-badge { flex: none; padding: 2px 9px; border-radius: 999px; background: #fde68a; color: #3b2a07; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ev-tb-badge.live { background: #fb7185; color: #fff; }
.ev-tb-cta { flex: none; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.45); }
.ev-tb-links { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.ev-tb-links a { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.88); text-decoration: none; }
.ev-tb-links a:hover { color: #fff; }
.ev-tb-links .ic { width: 14px; height: 14px; }
body.ev-scrolled .ev-topbar { margin-top: -38px; }

/* Menu de l'en-tête : plus petit, icônes collées au texte */
.ev-top-nav { gap: 2px; }
.ev-top-nav a { gap: 4px; padding: 7px 10px; font-size: 13.5px; }
.ev-top-nav .ic { width: 15px; height: 15px; }
.ev-top-cta .ev-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; }
.ev-top-cta .ev-link .ic { width: 15px; height: 15px; }
.ev-top-cta .ev-btn-sm { padding: 8px 16px; font-size: 13.5px; }
.ev-subnav a { gap: 4px; padding: 6px 11px; font-size: 12.5px; }
.ev-subnav .ic { width: 14px; height: 14px; }

@media (max-width: 1100px) { .ev-tb-links li:first-child { display: none; } }
@media (max-width: 760px) {
  .ev-tb-long, .ev-tb-links li:nth-child(2) { display: none; }
  .ev-tb-short { display: inline; }
  .ev-topbar { font-size: 12px; }
}
@media (max-width: 760px) { .ev-tb-cta { display: none; } }

/* ===================== Connexion : deux espaces ===================== */
.ev-login-menu .ic { width: 20px; height: 20px; color: var(--brand); }
.ev-login-menu b { display: block; font-size: 14px; }
.ev-login-menu small { display: block; color: var(--mut); font-size: 12px; }

.ev-access { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.ev-access-one { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.ev-acc { padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -34px rgba(12,19,38,.45); }
.ev-acc-head { display: flex; gap: 14px; align-items: center; }
.ev-acc-head h3 { font-size: 20px; font-weight: 800; }
.ev-acc-head p { margin: 2px 0 0; color: var(--mut); font-size: 14px; }
.ev-acc-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); }
.ev-acc-ic .ic { width: 26px; height: 26px; }
.ev-acc-s { background: #0b1224; color: #e8edf7; }
.ev-acc-s .ev-acc-head p, .ev-acc-s .ev-acc-list { color: #aab5cf; }
.ev-acc-s .ev-acc-ic { background: rgba(253,230,138,.12); color: #fde68a; }
.ev-acc-list { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none; color: #3b4458; font-size: 14.5px; }
.ev-acc-list li { position: relative; padding-left: 22px; }
.ev-acc-list li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.ev-acc-s .ev-acc-list li::before { border-color: #fde68a; }
.ev-acc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ev-acc-actions .ic { width: 18px; height: 18px; }
.ev-btn-out { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; color: var(--brand); font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 45%, white); }
.ev-btn-out small { font-weight: 600; opacity: .7; }
.ev-btn-dark { background: #fde68a; color: #2a1a02; box-shadow: none; }
.ev-acc-stores { display: grid; gap: 8px; margin-top: 16px; }
.ev-acc-stores details { border-radius: 14px; background: #f8fafc; box-shadow: 0 0 0 1px var(--line); }
.ev-acc-stores summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; }
.ev-acc-stores summary::-webkit-details-marker { display: none; }
.ev-acc-stores summary .ic { width: 18px; height: 18px; color: var(--brand); }
.ev-acc-stores summary .ic:last-child { margin-left: auto; color: var(--mut); transition: transform .3s; }
.ev-acc-stores details[open] summary .ic:last-child { transform: rotate(180deg); }
.ev-acc-stores p { margin: 0; padding: 0 14px 12px 40px; color: var(--mut); font-size: 13.5px; }
.ev-acc-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.ev-acc-qr > div { flex: none; width: 92px; height: 92px; }
.ev-acc-qr svg { width: 100%; height: 100%; }
.ev-acc-qr p { margin: 0; color: var(--mut); font-size: 13.5px; }
.ev-acc-note { display: flex; gap: 8px; margin: 16px 0 0; color: #8b97b3; font-size: 13px; }
.ev-acc-note .ic { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 900px) {
  .ev-access { grid-template-columns: 1fr; }
  .ev-acc-qr { display: none; }
  .ev-login { display: none; }
}
#acces > .ev-wrap > .ev-kicker, #acces > .ev-wrap > h2 { text-align: center; }

/* ===== Double marque : EventSerenity × client ===== */
.ev-cobrand { display: flex; align-items: center; gap: 12px; flex: none; }
.ev-cobrand-x { font-size: 18px; font-weight: 300; color: #b6bfcd; }
.ev-client { display: flex; align-items: center; height: 52px; padding: 4px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.ev-client:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--line), 0 8px 20px -12px rgba(12,19,38,.35); }
.ev-client img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
@media (max-width: 900px) {
  .ev-cobrand { gap: 8px; }
  .ev-client { height: 42px; padding: 3px 8px; }
  .ev-client img { height: 32px; max-width: 120px; }
}

/* ===== Héros : formes animées ===== */
.ev-hero-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ev-hero-deco > * { position: absolute; transition: translate .6s cubic-bezier(.22,1,.36,1); }
.ev-blob { border-radius: 50%; filter: blur(60px); opacity: .55; mix-blend-mode: screen; }
.ev-blob.b1 { width: 520px; height: 520px; top: -180px; right: 8%; background: radial-gradient(circle, rgba(248,168,35,.75), transparent 65%); animation: evFloat 14s ease-in-out infinite alternate; }
.ev-blob.b2 { width: 460px; height: 460px; bottom: -220px; left: -120px; background: radial-gradient(circle, rgba(56,189,248,.6), transparent 65%); animation: evFloat 18s ease-in-out infinite alternate-reverse; }
.ev-ring { border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.22); }
.ev-ring.r1 { width: 380px; height: 380px; top: -120px; left: 38%; animation: evSpin 60s linear infinite; }
.ev-ring.r2 { width: 220px; height: 220px; bottom: 30px; right: 38%; border-style: solid; border-color: rgba(248,168,35,.35); animation: evSpin 40s linear infinite reverse; }
.ev-ring.r2::after { content: ''; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: #f8a823; box-shadow: 0 0 18px #f8a823; }
.ev-dots { width: 260px; height: 160px; top: 40px; left: 3%; background-image: radial-gradient(rgba(255,255,255,.35) 1.4px, transparent 1.6px); background-size: 18px 18px; mask-image: linear-gradient(135deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%); }
.ev-lines { inset: 0; background: repeating-linear-gradient(115deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px); }
.ev-spark { bottom: -20px; left: var(--x); width: 6px; height: 6px; border-radius: 2px; background: rgba(255,255,255,.7); box-shadow: 0 0 12px rgba(255,255,255,.8); animation: evRise var(--d) linear infinite; animation-delay: var(--delay); }
.ev-spark:nth-child(odd) { background: #f8a823; box-shadow: 0 0 12px #f8a823; transform: rotate(45deg); }
@keyframes evFloat { to { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes evSpin { to { transform: rotate(360deg); } }
@keyframes evRise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-640px) rotate(220deg); opacity: 0; } }

/* Entrées progressives */
.ev-reveal-title .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); animation: evWord .8s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
@keyframes evWord { to { opacity: 1; transform: none; filter: none; } }
.ev-hero-in > :not(h1) { animation: evUp .8s cubic-bezier(.22,1,.36,1) both; }
.ev-hero-in > :nth-child(1) { animation-delay: .05s; }
.ev-hero-in > :nth-child(2) { animation-delay: .1s; }
.ev-hero-in > :nth-child(4) { animation-delay: .45s; }
.ev-hero-in > :nth-child(5) { animation-delay: .55s; }
.ev-hero-in > :nth-child(6) { animation-delay: .65s; }
.ev-hero-in > :nth-child(7) { animation-delay: .75s; }
.ev-hero-in > :nth-child(8) { animation-delay: .85s; }
.ev-gallery { animation: evPop 1s cubic-bezier(.22,1,.36,1) .35s both; }
@keyframes evUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes evPop { from { opacity: 0; transform: translateY(24px) scale(.96) rotate(1.2deg); } }
.ev-hero .ev-btn-lg { position: relative; overflow: hidden; }
.ev-hero .ev-btn-lg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: evShine 4.5s ease-in-out 1.6s infinite; }
@keyframes evShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.ev-org-logo { animation: evUp .8s cubic-bezier(.22,1,.36,1) both; }
@media (max-width: 900px) { .ev-ring.r1, .ev-dots { display: none; } .ev-blob { opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .ev-blob, .ev-ring, .ev-spark, .ev-hero .ev-btn-lg::after { animation: none !important; }
  .ev-reveal-title .w, .ev-hero-in > *, .ev-gallery, .ev-org-logo { animation: none !important; opacity: 1; transform: none; filter: none; }
}
/* En-tête avec double marque : libellés sur une ligne, plus compacts */
.ev-top-nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1360px) {
  .ev-top-in { gap: 14px; }
  .ev-top-nav { gap: 0; }
  .ev-top-nav a { padding: 7px 8px; font-size: 13px; gap: 4px; }
  .ev-top-cta { gap: 10px; }
}
@media (max-width: 480px) {
  .ev-cobrand-x { display: none; }
  .ev-top-cta .ev-link span, .ev-top-cta .ev-link { font-size: 0; }
  .ev-top-cta .ev-link .ic { width: 20px; height: 20px; }
  .ev-top-cta .ev-btn-sm { padding: 8px 12px; font-size: 13px; }
}

/* Logo du client sans cadre ni fond */
.ev-client { height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ev-client:hover { box-shadow: none; transform: translateY(-1px); }
.ev-client img { height: 46px; max-width: 180px; }
@media (max-width: 900px) { .ev-client { height: auto; padding: 0; } .ev-client img { height: 34px; max-width: 130px; } }

/* ===== Compte à rebours ===== */
.ev-countdown { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 26px; padding: 14px 18px 16px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 24px 50px -30px rgba(0,0,0,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ev-countdown div { min-width: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.ev-cd-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ev-cd-label .ev-dot { background: #f8a823; box-shadow: 0 0 0 4px rgba(248,168,35,.25); }
.ev-cd-units { display: flex; align-items: center; gap: 6px; }
.ev-countdown .ev-cd-u { position: relative; display: grid; place-items: center; width: 78px; height: 78px; }
.ev-cd-u svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ev-cd-u .trk { fill: rgba(6,10,23,.25); stroke: rgba(255,255,255,.14); stroke-width: 4; }
.ev-cd-u .arc { fill: none; stroke: #f8a823; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); filter: drop-shadow(0 0 6px rgba(248,168,35,.6)); }
.ev-cd-u:first-child .arc { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
.ev-countdown .ev-cd-u b { position: relative; margin-top: -8px; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.ev-countdown .ev-cd-u span { position: absolute; bottom: 15px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ev-cd-u b.tick { animation: evTick .45s cubic-bezier(.22,1,.36,1); }
@keyframes evTick { from { opacity: 0; transform: translateY(-40%) scale(.9); filter: blur(3px); } }
.ev-cd-sep { margin-top: -10px; font-size: 22px; font-weight: 800; font-style: normal; opacity: .5; animation: evBlink 1s steps(2, start) infinite; }
@keyframes evBlink { to { opacity: .15; } }
.ev-countdown.is-now .arc { stroke-dashoffset: 0 !important; }
@media (max-width: 560px) {
  .ev-countdown { display: flex; padding: 12px; }
  .ev-cd-units { justify-content: space-between; gap: 2px; }
  .ev-countdown .ev-cd-u { width: 66px; height: 66px; }
  .ev-countdown .ev-cd-u b { font-size: 21px; }
  .ev-countdown .ev-cd-u span { bottom: 12px; font-size: 8px; letter-spacing: .04em; }
  .ev-cd-sep { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ev-cd-u b.tick, .ev-cd-sep { animation: none; } }

/* ===== Affiche dynamique (composée à partir des données de l'événement) ===== */
.ev-affiche-wrap { position: sticky; top: 100px; margin: 0; }
.ev-affiche { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; aspect-ratio: 3 / 4.2; padding: 26px 24px 18px; border-radius: 24px; color: #fff;
  background: color-mix(in srgb, var(--brand) 92%, black); box-shadow: 0 40px 80px -40px rgba(12,19,38,.7), 0 0 0 1px rgba(255,255,255,.06) inset; container-type: inline-size; }
.af-bg, .af-bg i, .af-shade { position: absolute; inset: 0; }
.af-bg { z-index: -3; }
.af-bg i { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, transform 7s linear; }
.af-bg i.on { opacity: 1; transform: scale(1.02); }
.af-shade { z-index: -2; background:
  linear-gradient(180deg, color-mix(in srgb, var(--brand) 55%, transparent) 0%, color-mix(in srgb, var(--brand) 88%, black) 52%, color-mix(in srgb, var(--brand) 96%, black) 100%),
  repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px); }
.af-ring { position: absolute; z-index: -1; width: 70cqw; aspect-ratio: 1; right: -24cqw; top: 26%; border-radius: 50%; border: 2px solid rgba(248,168,35,.55); animation: evSpin 50s linear infinite; }
.af-ring::after { content: ''; position: absolute; top: 10%; left: 12%; width: 10px; height: 10px; border-radius: 50%; background: #f8a823; box-shadow: 0 0 16px #f8a823; }
.af-ring.r2 { width: 44cqw; right: auto; left: -18cqw; top: auto; bottom: 18%; border: 1.5px dashed rgba(255,255,255,.3); animation-direction: reverse; animation-duration: 36s; }
.af-ring.r2::after { display: none; }
.af-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.af-logo { height: 13cqw; max-height: 52px; width: auto; max-width: 68%; object-fit: contain; filter: drop-shadow(0 3px 10px rgba(0,0,0,.4)); }
.af-logo.is-silhouette { filter: brightness(0) invert(1); }
.af-badge { flex: none; padding: 5px 10px; border-radius: 999px; background: #f8a823; color: #1b1300; font-size: 12px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 8px 20px -8px rgba(248,168,35,.8); }
.af-main { margin-top: auto; }
.af-kicker { margin: 0 0 6px; font-size: 2.6cqw; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.7); line-height: 1.35; }
.af-title { margin: 0; font-size: 11cqw; line-height: .98; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.af-tag { margin: 8px 0 0; font-size: 3.6cqw; line-height: 1.35; color: rgba(255,255,255,.85); }
.af-date { display: flex; align-items: center; gap: 10px; }
.af-date b { font-size: 15cqw; line-height: .9; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-date span { padding-left: 10px; border-left: 3px solid #f8a823; font-size: 3.6cqw; font-weight: 800; line-height: 1.15; letter-spacing: .08em; }
.af-days { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.af-days li { padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 3.2cqw; font-weight: 700; }
.af-days em { margin-right: 6px; font-style: normal; font-size: .82em; letter-spacing: .08em; text-transform: uppercase; color: #f8c25a; }
.af-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); }
.af-stats { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.af-stats li { display: grid; font-size: 2.8cqw; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.af-stats b { font-size: 7cqw; line-height: 1; letter-spacing: -.02em; color: #fff; }
.af-qr { display: grid; justify-items: center; gap: 3px; padding: 6px; border-radius: 12px; background: #fff; }
.af-qr > div { width: 17cqw; height: 17cqw; }
.af-qr svg { display: block; width: 100%; height: 100%; }
.af-qr small { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.af-url { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 2.6cqw; color: rgba(255,255,255,.65); }
.af-by { font-weight: 800; color: #fff; }
.ev-affiche-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.ev-affiche-actions .ev-btn-out { padding: 9px 14px; font-size: 13.5px; }
.ev-affiche-actions .ic { width: 16px; height: 16px; }
@media (max-width: 980px) { .ev-affiche-wrap { position: static; max-width: 440px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .af-ring { animation: none; } .af-bg i { transition: none; } }

/* Impression : uniquement l'affiche, sur une page A4 */
@media print {
  body.print-poster > *:not(main) { display: none !important; }
  body.print-poster main > *:not(#apropos) { display: none !important; }
  body.print-poster #apropos .ev-about > *:not(.ev-affiche-wrap), body.print-poster .ev-affiche-actions { display: none !important; }
  body.print-poster #apropos, body.print-poster .ev-about { padding: 0; margin: 0; display: block; }
  body.print-poster .ev-affiche-wrap { position: static; max-width: none; width: 180mm; margin: 0 auto; }
  body.print-poster .ev-affiche { border-radius: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4 portrait; margin: 10mm; }
}
@media print {
  body.print-poster .af-date b { background: none; color: #ffd98a; -webkit-text-fill-color: #ffd98a; }
  body.print-poster .af-title, body.print-poster .af-logo { text-shadow: none; filter: none; }
  body.print-poster .af-badge, body.print-poster .af-ring::after { box-shadow: none; }
  body.print-poster .af-ring { animation: none; }
}

/* ===== Carte de partage ===== */
.ev-share { display: grid; gap: 16px; padding: 22px; text-align: left; border-radius: 24px; }
.ev-share-head { display: flex; align-items: center; gap: 12px; }
.ev-share-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); }
.ev-share-ic .ic { width: 20px; height: 20px; }
.ev-share-head b { display: block; font-size: 16px; }
.ev-share-head small { color: var(--mut); font-size: 13px; }
.ev-share-qr { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--line); }
.ev-share-qr .ev-qr { flex: none; width: 92px; height: 92px; margin: 0; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -10px rgba(12,19,38,.4); }
.ev-share-qr .ev-qr svg { width: 100%; height: 100%; }
.ev-share-qr small { font-size: 13px; font-weight: 600; color: var(--mut); }
.ev-share-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ev-share-btns .sn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 14px; background: var(--sn-soft); color: var(--sn); font-size: 12.5px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s; }
.ev-share-btns .sn svg { width: 22px; height: 22px; }
.ev-share-btns .sn:hover { transform: translateY(-2px); background: var(--sn); color: #fff; box-shadow: 0 12px 24px -12px var(--sn); }
.sn-whatsapp { --sn: #25d366; --sn-soft: #e8faef; }
.sn-whatsapp:not(:hover) { color: #128c4b; }
.sn-linkedin { --sn: #0a66c2; --sn-soft: #e8f1fb; }
.sn-facebook { --sn: #1877f2; --sn-soft: #e9f2fe; }
.sn-x { --sn: #0f1419; --sn-soft: #eef0f2; }
.sn-telegram { --sn: #229ed9; --sn-soft: #e7f5fc; }
.sn-email { --sn: #ea580c; --sn-soft: #fff1e8; }
.ev-share-link { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 14px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--line); }
.ev-share-link .ic { flex: none; width: 16px; height: 16px; color: var(--mut); }
.ev-share-link input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 13px var(--sans, inherit); color: var(--ink); text-overflow: ellipsis; }
.ev-copy { flex: none; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 700 13px var(--sans, inherit); cursor: pointer; transition: background .2s, transform .15s; }
.ev-copy:active { transform: scale(.96); }
.ev-copy.done { background: #16a34a; }
.ev-native-share { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: 700 14px var(--sans, inherit); cursor: pointer; }
.ev-native-share .ic { width: 16px; height: 16px; }
@media (max-width: 420px) { .ev-share-btns .sn span { font-size: 11.5px; } }

/* Barre du haut : Inscription et Accès e-Pass mis en avant */
.ev-tb-links li { display: flex; }
.ev-tb-links .tb-key a { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-weight: 700; color: #fff; }
.ev-tb-links .tb-key:first-child a { background: #f8a823; box-shadow: none; color: #1b1300; }
.ev-tb-links .tb-key a:hover { background: rgba(255,255,255,.24); }
.ev-tb-links .tb-key:first-child a:hover { background: #ffb940; }
.ev-tb-links .tb-sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
@media (max-width: 1100px) { .ev-tb-links li:first-child { display: flex; } .ev-tb-links .tb-phone, .ev-tb-links .tb-sep { display: none; } }
@media (max-width: 760px) {
  .ev-tb-links { gap: 6px; }
  .ev-tb-links li:nth-child(2) { display: flex; }
  .ev-tb-links li:not(.tb-key) { display: none; }
  .ev-tb-links .tb-key a { padding: 3px 8px; font-size: 11.5px; }
}
@media (max-width: 400px) { .ev-tb-short { display: none; } }

/* ===== Accès : libellés clairs et QR code stylé ===== */
.ev-acc-note-web { margin: 14px 0 8px; font-size: 13.5px; color: var(--mut); }
.ev-acc-stores ol { margin: 0; padding: 0 14px 12px 42px; color: var(--mut); font-size: 13.5px; line-height: 1.6; }
.ev-acc-stores ol li::marker { font-weight: 800; color: var(--brand); }
.ev-acc-qr { gap: 18px; padding: 16px; margin-top: 18px; border-top: 0; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 7%, white), #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 18%, white); }
.ev-acc-qr > .ev-qr-frame { position: relative; flex: none; width: 150px; height: 150px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -18px rgba(12,19,38,.5); }
.ev-qr-frame::before, .ev-qr-frame::after { content: ''; position: absolute; width: 22px; height: 22px; border: 3px solid #f8a823; }
.ev-qr-frame::before { top: -4px; left: -4px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.ev-qr-frame::after { bottom: -4px; right: -4px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.ev-qr-frame > div, .ev-qr-frame svg { width: 100%; height: 100%; display: block; }
.ev-acc-qr b { display: block; margin-bottom: 4px; font-size: 15px; color: var(--ink); }
.ev-acc-qr p { font-size: 13.5px; line-height: 1.5; }
/* Scan animé discret */
.ev-qr-frame > div { position: relative; overflow: hidden; border-radius: 8px; }
.ev-qr-frame > div::after { content: ''; position: absolute; left: 0; right: 0; height: 22%; top: -25%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 18%, transparent), transparent); animation: evScan 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes evScan { 50% { top: 100%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .ev-qr-frame > div::after { animation: none; display: none; } }
/* Le QR code garde ses propres couleurs (aucun style d'icône ne s'y applique) */
.qr-svg, .qr-svg * { stroke: none; }
.qr-svg > rect:first-child { fill: #fff !important; }
.qr-svg g { fill: var(--brand) !important; }
.qr-svg rect[fill="none"] { fill: none !important; stroke: var(--brand) !important; stroke-width: 1 !important; }
.qr-svg rect.eye-c { fill: var(--brand) !important; }
.qr-svg rect[fill="#fff"] { fill: #fff !important; }
.ev-acc-qr > div:last-child { flex: 1; width: auto; height: auto; }
.qr-svg g rect { fill: var(--brand) !important; }

/* ===================== Page d'inscription ===================== */
.reg-page { background: #f4f6fa; }
.reg-top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.reg-top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.reg-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--mut); text-decoration: none; }
.reg-back:hover { color: var(--ink); }
.reg-back .ic { width: 16px; height: 16px; }
.reg-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 60px; }
.reg-event { position: sticky; top: 96px; display: grid; gap: 16px; }
.reg-event-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; color: #fff; background: color-mix(in srgb, var(--brand) 92%, black); box-shadow: 0 30px 60px -36px rgba(12,19,38,.7); }
.reg-event-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .45; filter: saturate(1.1); }
.reg-event-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 40%, transparent), color-mix(in srgb, var(--brand) 95%, black)); }
.reg-event-in { padding: 26px; }
.reg-event-logo { height: 54px; width: auto; max-width: 80%; margin-bottom: 22px; }
.reg-event-logo.is-silhouette { filter: brightness(0) invert(1); }
.reg-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f8c25a; }
.reg-event h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.02em; }
.reg-tag { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: 14.5px; }
.reg-facts { display: grid; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: 14.5px; }
.reg-facts li { display: flex; align-items: center; gap: 8px; }
.reg-facts .ic { width: 17px; height: 17px; color: #f8c25a; }
.reg-steps { display: grid; gap: 10px; margin: 0; padding: 18px; list-style: none; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.reg-steps li { display: flex; gap: 12px; }
.reg-steps li > span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, white); color: var(--brand); font-weight: 800; font-size: 13px; }
.reg-steps b { display: block; font-size: 14px; }
.reg-steps small { color: var(--mut); font-size: 13px; }
.reg-form-card { padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(12,19,38,.4); }
.reg-form-card h2 { margin: 0; font-size: 24px; letter-spacing: -.01em; }
.reg-intro { margin: 8px 0 22px; color: var(--mut); font-size: 15px; }
.reg-intro b { color: var(--ink); }
.reg-form { display: grid; gap: 20px; }
.reg-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 12px; }
.reg-form legend { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.reg-form legend span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; letter-spacing: 0; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-full { grid-column: 1 / -1; }
.reg-field { display: grid; gap: 6px; }
.reg-field > span:first-child { font-size: 13px; font-weight: 700; color: #3a4357; }
.reg-field input, .reg-pass { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--line); font: 500 15px var(--sans, inherit); color: var(--ink); outline: none; transition: box-shadow .15s, background .15s; box-sizing: border-box; }
.reg-field input:focus, .reg-pass:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.reg-pass { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 0; }
.reg-pass input { box-shadow: none !important; background: none !important; }
.reg-pass button { flex: none; padding: 6px 10px; border: 0; border-radius: 8px; background: #e9eef5; font: 700 12px var(--sans, inherit); color: var(--ink); cursor: pointer; }
.reg-hint { color: var(--mut); font-size: 12.5px; line-height: 1.45; }
.reg-field.invalid input, .reg-field.invalid .reg-pass { box-shadow: inset 0 0 0 2px #e11d48; background: #fff5f6; }
.reg-tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.reg-ticket { position: relative; display: block; cursor: pointer; }
.reg-ticket input { position: absolute; opacity: 0; }
.reg-ticket > span { display: grid; gap: 2px; height: 100%; padding: 12px 14px 12px 40px; border-radius: 14px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; box-sizing: border-box; }
.reg-ticket > span::before { content: ''; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px #b8c2d3; background: #fff; }
.reg-ticket b { font-size: 14px; }
.reg-ticket small { font-size: 12px; color: var(--mut); line-height: 1.35; }
.reg-ticket input:checked + span { background: color-mix(in srgb, var(--brand) 8%, white); box-shadow: inset 0 0 0 2px var(--brand); }
.reg-ticket input:checked + span::before { box-shadow: inset 0 0 0 5px var(--brand); }
.reg-ticket input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.reg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3a4357; line-height: 1.45; cursor: pointer; }
.reg-consent input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); }
.reg-consent.invalid span { color: #e11d48; }
.reg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reg-error { padding: 12px 14px; border-radius: 12px; background: #fff1f3; color: #be123c; font-size: 14px; box-shadow: inset 0 0 0 1px #fecdd3; }
.reg-error p { margin: 0 0 4px; font-weight: 700; }
.reg-error ul { margin: 0; padding-left: 18px; }
.reg-submit { width: 100%; justify-content: center; }
.reg-submit.loading { opacity: .75; cursor: progress; }
.reg-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -6px 0 0; font-size: 12.5px; color: var(--mut); }
.reg-secure .ic { width: 14px; height: 14px; }
.reg-done, .reg-closed { display: grid; justify-items: center; gap: 10px; padding: 26px 10px; text-align: center; }
.reg-done-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 34px; font-weight: 800; animation: evPop .6s cubic-bezier(.22,1,.36,1); }
.reg-done p, .reg-closed p { max-width: 460px; margin: 0; color: var(--mut); }
.reg-done-badge { padding: 6px 14px; border-radius: 999px; background: #f6f8fb; font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: var(--ink) !important; }
.reg-back-link { font-size: 14px; color: var(--mut); }
.reg-foot { padding: 24px 0 40px; text-align: center; font-size: 13px; color: var(--mut); }
.reg-foot a { color: var(--brand); font-weight: 700; }
@media (max-width: 900px) {
  .reg-layout { grid-template-columns: 1fr; padding-top: 18px; gap: 18px; }
  .reg-event { position: static; }
  .reg-steps { display: none; }
  .reg-form-card { padding: 20px; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-top-in { height: 64px; }
  .reg-back { font-size: 0; }
  .reg-back .ic { width: 22px; height: 22px; }
}
.reg-done[hidden], .reg-closed[hidden], [data-reg-form-wrap][hidden] { display: none; }

/* ===== Formulaire d'inscription : champs compacts, icônes, validation en direct ===== */
.reg-form-card { padding: 26px 28px; }
.reg-form-card h2 { font-size: 21px; }
.reg-intro { margin: 6px 0 14px; font-size: 14px; }
.reg-progress { height: 4px; margin: 0 0 18px; border-radius: 999px; background: #eef1f6; overflow: hidden; }
.reg-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #f8a823); transition: width .4s cubic-bezier(.22,1,.36,1); }
.reg-form { gap: 16px; }
.reg-form fieldset { gap: 8px; padding: 14px 14px 12px; border-radius: 16px; background: #fafbfd; box-shadow: inset 0 0 0 1px #edf0f5; }
.reg-form legend { float: left; width: 100%; margin: 0 0 8px; font-size: 11.5px; }
.reg-form legend span { width: 20px; height: 20px; font-size: 11px; }
.reg-grid { gap: 8px 10px; clear: both; }
.reg-field { gap: 4px; }
.reg-field > span:first-child { font-size: 12px; font-weight: 700; color: #4a5468; }
.reg-input { position: relative; display: flex; align-items: center; }
.reg-input .ri { position: absolute; left: 11px; width: 16px; height: 16px; color: #94a0b4; pointer-events: none; transition: color .15s; }
.reg-field .reg-input input { height: 40px; padding: 0 34px 0 36px; border-radius: 10px; font-size: 14px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4ec; }
.reg-field .reg-input input::placeholder { color: #a7b0bf; }
.reg-field .reg-input input:focus { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.reg-input:focus-within .ri { color: var(--brand); }
.reg-input .rv { position: absolute; right: 11px; width: 16px; height: 16px; border-radius: 50%; background: #16a34a; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .2s; }
.reg-input .rv::after { content: ''; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.reg-field.valid .rv { opacity: 1; transform: none; }
.reg-field.valid .ri { color: #16a34a; }
.reg-field.invalid .reg-input input { box-shadow: inset 0 0 0 2px #e11d48 !important; background: #fff5f6; }
/* Mot de passe */
.reg-input.reg-pass { padding: 0; background: none; box-shadow: none; }
.reg-input.reg-pass input { padding-right: 112px; }
.reg-input.reg-pass button { position: absolute; right: 30px; padding: 4px 8px; font-size: 11.5px; }
.reg-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.reg-strength i { height: 4px; border-radius: 999px; background: #e6eaf0; transition: background .25s; }
.reg-strength[data-score="1"] i:nth-child(-n+1) { background: #e11d48; }
.reg-strength[data-score="2"] i:nth-child(-n+2) { background: #f59e0b; }
.reg-strength[data-score="3"] i:nth-child(-n+3) { background: #16a34a; }
.reg-strength[data-score="4"] i { background: #15803d; }
.reg-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.reg-rules em { padding: 2px 8px; border-radius: 999px; background: #eef1f6; font-size: 11.5px; font-style: normal; font-weight: 600; color: #7a8399; transition: background .2s, color .2s; }
.reg-rules em::before { content: '○ '; }
.reg-rules em.on { background: #dcfce7; color: #15803d; }
.reg-rules em.on::before { content: '✓ '; }
.reg-hint { font-size: 12px; }
/* Catégories compactes */
.reg-tickets { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.reg-ticket > span { padding: 8px 10px 8px 32px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4ec; }
.reg-ticket > span::before { left: 11px; top: 11px; width: 13px; height: 13px; }
.reg-ticket input:checked + span::before { box-shadow: inset 0 0 0 4px var(--brand); }
.reg-ticket b { font-size: 13px; }
.reg-ticket small { font-size: 11px; line-height: 1.3; }
.reg-ticket:hover > span { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, white); }
.reg-consent { padding: 0 4px; font-size: 12.5px; }
.reg-submit { height: 48px; font-size: 15px; }
@media (min-width: 1100px) {
  .reg-grid.three { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 900px) { .reg-form-card { padding: 18px 14px; } .reg-form fieldset { padding: 12px 10px; } }
@media (max-width: 1099px) { .reg-full-sm { grid-column: 1 / -1; } }
.reg-field .reg-input.reg-pass input { background: #fff !important; box-shadow: inset 0 0 0 1px #dfe4ec !important; }
.reg-field .reg-input.reg-pass input:focus { box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent) !important; }
.reg-field.invalid .reg-input.reg-pass input { box-shadow: inset 0 0 0 2px #e11d48 !important; background: #fff5f6 !important; }

/* ===== Pied de page de l'événement ===== */
.ev-foot-rich { position: relative; overflow: hidden; padding: 56px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 55%, #04070f), #04070f 60%); color: #a9b4cc; font-size: 14px; }
.ev-foot-rich::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand), #f8a823, var(--brand)); }
.ev-foot-glow { position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(248,168,35,.18), transparent 65%); pointer-events: none; }
.ev-foot-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.ev-foot-logos { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ev-foot-logos img { height: 58px; width: auto; }
.ev-foot-logos span { color: #5d6b88; font-size: 20px; }
.ev-foot-logos .ev-foot-client { height: 46px; max-width: 180px; object-fit: contain; }
.ev-foot-client.is-silhouette { filter: brightness(0) invert(1); }
.ev-foot-title { margin: 0; color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.ev-foot-meta { margin: 4px 0 0; color: #f8c25a; font-weight: 700; font-size: 13.5px; }
.ev-foot-tag { margin: 10px 0 0; max-width: 360px; line-height: 1.5; }
.ev-foot-cta { margin-top: 18px; padding: 11px 18px; font-size: 14px; background: #fff; color: var(--brand); }
.ev-foot-col { display: grid; align-content: start; gap: 9px; }
.ev-foot-col h4 { margin: 0 0 6px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ev-foot-col a { display: inline-flex; align-items: center; gap: 8px; color: #a9b4cc; text-decoration: none; transition: color .15s, transform .15s; }
.ev-foot-col a:hover { color: #fff; transform: translateX(2px); }
.ev-foot-col .ic { width: 15px; height: 15px; color: #f8c25a; }
.ev-foot-day { display: grid; gap: 1px; margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.ev-foot-day b { color: #f8c25a; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ev-foot-day span { color: #fff; font-weight: 600; }
.ev-foot-day small { color: #8e9ab5; }
.ev-foot-org { margin: 4px 0 0; color: #dfe5f1; line-height: 1.45; }
.ev-foot-org small { display: block; color: #8e9ab5; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ev-foot-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px 0 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7f8aa5; }
.ev-foot-bottom p { margin: 0; }
.ev-foot-bottom a { color: #fff; text-decoration: none; }
.ev-foot-own { padding: 6px 12px; border-radius: 999px; background: rgba(248,168,35,.14); color: #f8c25a !important; font-weight: 700; }
.ev-foot-own:hover { background: rgba(248,168,35,.24); }
@media (max-width: 980px) { .ev-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .ev-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ev-foot-grid { grid-template-columns: 1fr; } .ev-foot-bottom { justify-content: center; text-align: center; } }
.ev-foot-rich .ev-foot-cta { color: var(--brand) !important; font-weight: 800; }
.ev-foot-rich .ev-foot-cta:hover { background: #f8c25a; }
.ev-foot-bottom .ev-foot-nd { flex-basis: 100%; }
@media (min-width: 981px) { .ev-foot-bottom .ev-foot-nd { flex-basis: auto; order: 3; } }

/* Inscription : choix du pays (drapeaux, recherche) et indicatif téléphonique */
.cc { position: relative; }
.cc-btn { width: 100%; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4ec; font: 600 14px inherit; font-family: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.cc-btn:focus-visible, .cc-btn[aria-expanded=true] { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px color-mix(in srgb, var(--brand) 12%, transparent); }
.cc-flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-caret { width: 16px; height: 16px; color: #94a0b4; flex: none; transition: transform .2s; }
.cc-btn[aria-expanded=true] .cc-caret { transform: rotate(180deg); }
.cc-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); min-width: 280px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(12,19,38,.45); }
.cc-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 38px; border-radius: 10px; background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--line); }
.cc-search svg { width: 16px; height: 16px; color: #94a0b4; flex: none; }
.cc-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 500 14px inherit; font-family: inherit; }
.cc-pop ul { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.cc-group { position: sticky; top: 0; z-index: 1; padding: 8px 10px 4px; background: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.cc-pop [role=option] { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: 14px; outline: none; }
.cc-pop [role=option] img { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cc-pop [role=option] span { flex: 1; }
.cc-pop [role=option] small { color: var(--mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.cc-pop [role=option]:hover, .cc-pop [role=option]:focus { background: color-mix(in srgb, var(--brand) 7%, white); }
.cc-pop [role=option][aria-selected=true] { background: color-mix(in srgb, var(--brand) 12%, white); font-weight: 700; }
.cc-pop [hidden] { display: none !important; }
.cc-empty { padding: 14px 10px; color: var(--mut); font-size: 13px; text-align: center; }
.cc-note { display: block; margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: #fff7e0; color: #7a5d06; font-size: 12px; line-height: 1.4; }
.reg-field.invalid .cc-btn { box-shadow: inset 0 0 0 2px #e11d48; background: #fff5f6; }
.reg-dial { position: absolute; left: 34px; font-style: normal; font-weight: 700; font-size: 14px; color: #3a4357; pointer-events: none; font-variant-numeric: tabular-nums; }
.reg-field .reg-input .reg-dial + input { padding-left: 82px; }
.cc-note[hidden] { display: none; }
.reg-field .cc-search input { height: 36px; padding: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; }

/* ===== Formulaire d'inscription compact : champs de 36 px, deux colonnes, tout reste lisible ===== */
.reg-form.is-compact .reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.reg-form.is-compact .reg-full { grid-column: 1 / -1; }
.reg-form.is-compact .reg-field > span:first-child, .reg-form.is-compact .reg-field > label > span { font-size: 11.5px; font-weight: 700; color: #4a5468; letter-spacing: .01em; }
.reg-form.is-compact .reg-field .reg-input input { height: 36px; padding: 0 30px 0 32px; border-radius: 9px; font-size: 13.5px; text-overflow: ellipsis; }
.reg-form.is-compact .reg-input .ri { left: 10px; width: 15px; height: 15px; }
.reg-form.is-compact .reg-input .rv { right: 9px; width: 14px; height: 14px; }
.reg-form.is-compact .reg-input .rv::after { left: 4px; top: 2px; }
.reg-form.is-compact .reg-dial { font-size: 13px; }
.reg-form.is-compact .cc-btn { height: 36px; border-radius: 9px; font-size: 13.5px; }
.reg-form.is-compact .reg-ticket { padding: 9px 11px; }
.reg-form.is-compact .reg-input.reg-pass input { padding-right: 104px; }
@media (max-width: 560px) { .reg-form.is-compact .reg-grid { grid-template-columns: 1fr; } }

/* Suggestions (organisation, fonction) */
.reg-field[data-ac] { position: relative; }
.reg-ac { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; max-height: 260px; overflow: auto; margin: 4px 0 0; padding: 4px; list-style: none; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px #dfe4ec, 0 18px 40px -18px rgba(15,23,42,.45); animation: regAc .14s ease-out; }
.reg-ac li { padding: 7px 10px; border-radius: 8px; font-size: 13.5px; color: #1e293b; cursor: pointer; line-height: 1.3; }
.reg-ac li b { font-weight: 800; color: var(--brand); }
.reg-ac li:hover, .reg-ac li[aria-selected="true"] { background: color-mix(in srgb, var(--brand) 9%, #fff); }
.reg-ac-note { color: #15803d; font-size: 11.5px; font-weight: 600; }
@keyframes regAc { from { opacity: 0; transform: translateY(-4px); } }
.reg-form.is-compact .reg-dial { left: 31px; }
.reg-form.is-compact .reg-field .reg-input .reg-dial + input { padding-left: 74px; }

/* Inscription : volet « Votre séjour » */
.reg-stay-hint { margin: 0 0 10px; color: #5b6577; font-size: 13px; }
.reg-stay { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.reg-switch { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4ec; cursor: pointer; transition: box-shadow .15s, background .15s; }
.reg-switch:has(input:checked) { background: color-mix(in srgb, var(--brand) 6%, #fff); box-shadow: inset 0 0 0 2px var(--brand); }
.reg-switch input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.reg-switch b { display: block; font-size: 13.5px; color: #1e293b; }
.reg-switch small { color: #6b7385; font-size: 12px; }
.reg-form.is-compact .reg-select { width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4ec; font: 500 13.5px inherit; font-family: inherit; color: #1e293b; }

/* ---------- Teaser vidéo du héros : révélé seulement quand la vidéo joue, l'image reste en attendant ---------- */
.ev-gallery.has-teaser .ev-g-stage { aspect-ratio: 16 / 9; }
.ev-gallery.has-teaser .ev-g-slide img { object-fit: cover; color: transparent; }
@media (max-width: 960px) { .ev-gallery.has-teaser { order: -1; } }
.ev-teaser { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ev-teaser-frame { position: absolute; inset: 0; background: #000; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.ev-teaser-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ev-teaser.is-ready .ev-teaser-frame { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .9s ease; }
.ev-teaser-play, .ev-teaser-bar button { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(8,13,30,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s ease, background .2s ease; }
.ev-teaser-play { position: absolute; top: 14px; left: 14px; padding: 6px 16px 6px 6px; font-size: .92rem; }
.ev-teaser-play:hover, .ev-teaser-bar button:hover { background: rgba(8,13,30,.9); }
.ev-teaser-play:active, .ev-teaser-bar button:active { transform: scale(.95); }
.ev-teaser-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 0 0 rgba(225,29,72,.6); animation: evTeaserPulse 2.2s ease-out infinite; }
.ev-teaser-ic svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; }
.ev-teaser.is-loading .ev-teaser-ic { animation: evTeaserPulse .9s ease-out infinite; }
.ev-teaser.is-ready .ev-teaser-play, .ev-teaser.is-failed .ev-teaser-play { display: none; }
.ev-teaser-bar { position: absolute; top: 12px; right: 12px; display: none; gap: 6px; }
.ev-teaser.is-ready .ev-teaser-bar { display: flex; }
.ev-teaser-bar button { padding: 6px 12px; font-size: .8rem; }
@keyframes evTeaserPulse { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.55); } 100% { box-shadow: 0 0 0 14px rgba(225,29,72,0); } }
@media (prefers-reduced-motion: reduce) { .ev-teaser-ic { animation: none !important; } }

/* ===== Programme sur plusieurs lieux : grille horaire, une colonne par salle, regroupées par site ===== */
.pg { display: grid; grid-template-columns: 58px repeat(var(--n), minmax(210px, 1fr)); column-gap: 10px; min-width: calc(58px + var(--n) * 220px); padding: 0 0 8px 0; }
.pg-corner { position: sticky; left: 0; top: 0; z-index: 4; display: grid; place-items: center; background: #fff; color: #94a3b8; }
.pg-corner .ic { width: 18px; height: 18px; }
.pg-site { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 7px; margin: 0 0 6px; padding: 9px 12px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 14.5px; box-shadow: 0 8px 18px -12px var(--brand); }
.pg-site .ic { width: 16px; height: 16px; flex: none; }
.pg-room { position: sticky; top: 44px; z-index: 3; margin-bottom: 8px; padding: 5px 10px; border-radius: 9px; background: color-mix(in srgb, var(--brand) 10%, white); color: var(--brand); font-weight: 700; font-size: 12.5px; text-align: center; box-shadow: 0 -10px 0 #fff; }
.pg-hour { position: sticky; left: 0; z-index: 2; grid-column: 1; margin-top: 2px; padding-right: 8px; background: #fff; color: #94a3b8; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.pg-hour.is-full { color: var(--ink); }
.pg-line { grid-column: 2 / -1; border-top: 1px dashed #eef0f4; pointer-events: none; }
.pg-line.is-full { border-top: 1px solid var(--line); }
.pg-cell { position: relative; z-index: 1; display: flex; padding: 3px 0; min-width: 0; }
.pg-cell[hidden] { display: none; }
.pg-card { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 24px -22px rgba(12,19,38,.5); border-top: 4px solid var(--c); transition: box-shadow .3s, transform .3s var(--ease); }
.pg-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 20px 34px -24px rgba(12,19,38,.45); }
.pg-card h4 { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.pg-card .ev-t-tags { margin-bottom: 6px; }
.pg-time { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--mut); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-time .ic, .pg-who .ic { width: 14px; height: 14px; color: var(--c); flex: none; }
.pg-who { display: flex; gap: 6px; margin: 8px 0 0; color: var(--mut); font-size: 13px; }
.pg-card details { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.pg-card summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: var(--brand); font-weight: 700; font-size: 13px; }
.pg-card summary::-webkit-details-marker { display: none; }
.pg-card details[open] summary .ic { transform: rotate(180deg); }
.pg-card .ev-t-detail ul { grid-template-columns: 1fr; }
.pg-cell.is-wide .pg-card .ev-t-detail ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pg-cell.is-live .pg-card { box-shadow: 0 0 0 2px #fb7185, 0 20px 34px -24px rgba(225,29,72,.5); }
.pg-break { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 12px; border: 1.5px dashed var(--line); background: #fafbfc; color: var(--mut); font-size: 13px; font-weight: 600; }
.pg-break .ic { width: 15px; height: 15px; flex: none; color: #94a3b8; }
.pg-break b { font-variant-numeric: tabular-nums; color: var(--ink); }
.ev-prog-scroll:has(.pg) { overflow-x: auto; padding-left: 0; max-height: min(80vh, 860px); }
.ev-gallery.has-teaser .ev-g-nav { display: none; }
@media (max-width: 760px) {
  .pg { grid-template-columns: 46px repeat(var(--n), minmax(200px, 78vw)); min-width: 0; column-gap: 8px; }
  .pg-site { font-size: 13px; padding: 8px 10px; }
  .ev-prog-scroll:has(.pg) { scroll-snap-type: x proximity; }
  .pg-room { scroll-snap-align: start; scroll-margin-left: 54px; }
}

/* ===== Héros avec teaser : texte à gauche, vidéo à droite, bande « compte à rebours + journées » en bas ===== */
.ev-hero.is-teaser .ev-ring, .ev-hero.is-teaser .ev-blob, .ev-hero.is-teaser .ev-spark { display: none; }
.ev-hero.is-teaser .ev-hero-shade { background: radial-gradient(120% 90% at 85% 40%, color-mix(in srgb, var(--brand) 35%, transparent) 0%, transparent 60%), linear-gradient(100deg, color-mix(in srgb, var(--brand) 96%, black) 0%, color-mix(in srgb, var(--brand) 88%, black) 45%, color-mix(in srgb, var(--brand) 70%, black) 100%); }
.ev-hero.is-teaser .ev-hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); column-gap: 56px; row-gap: 0; align-items: start; padding: 44px 0 40px; }
.ev-hero.is-teaser .ev-hero-in { display: contents; }
.ev-hero.is-teaser .ev-hero-in > * { grid-column: 1; }
.ev-hero.is-teaser .ev-gallery { grid-column: 2; grid-row: 1 / 9; align-self: center; }
.ev-hero.is-teaser .ev-gallery.has-teaser .ev-g-stage { border-radius: 22px; box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.14), 0 0 0 8px rgba(255,255,255,.04); }
.ev-hero.is-teaser .ev-org-logo { height: 58px; margin-bottom: 20px; }
.ev-hero.is-teaser .ls-edition { margin-bottom: 12px; }
.ev-hero.is-teaser .ev-status { justify-self: start; margin-bottom: 14px; padding: 5px 12px; font-size: 12.5px; }
.ev-hero.is-teaser h1 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.04; }
.ev-hero.is-teaser .ev-hero-theme { margin-top: 10px; }
.ev-hero.is-teaser .ev-tagline { margin-top: 12px; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.8); }
.ev-hero.is-teaser .ev-facts { margin-top: 18px; gap: 8px 22px; font-size: 15px; }
.ev-hero.is-teaser .ev-actions { margin-top: 24px; }
/* Bande du bas : compte à rebours (gauche) et journées (sous la vidéo) */
.ev-hero.is-teaser .ev-countdown, .ev-hero.is-teaser .ev-daychips { grid-row: 9; align-self: stretch; margin-top: 36px; }
.ev-hero.is-teaser .ev-daychips { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; }
.ev-hero.is-teaser .ev-daychips li { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14.5px; }
.ev-hero.is-teaser .ev-daychips b { margin: 0 0 2px; }
.ev-hero.is-teaser .ev-daychips em { color: #fde68a; }
.ev-hero.is-teaser .ev-countdown { width: auto; }
@media (max-width: 960px) {
  .ev-hero.is-teaser .ev-hero-grid { grid-template-columns: minmax(0, 1fr); padding: 24px 0 36px; }
  .ev-hero.is-teaser .ev-gallery, .ev-hero.is-teaser .ev-countdown, .ev-hero.is-teaser .ev-daychips { grid-column: 1; grid-row: auto; }
  .ev-hero.is-teaser .ev-gallery { margin-bottom: 26px; }
  .ev-hero.is-teaser .ev-countdown, .ev-hero.is-teaser .ev-daychips { margin-top: 22px; }
  .ev-hero.is-teaser .ev-daychips { grid-template-columns: 1fr; gap: 8px; }
  .ev-hero.is-teaser .ev-org-logo { height: 48px; }
}

.ev-daychips em::before { content: ' · '; font-weight: 400; color: rgba(255,255,255,.7); }
.ev-hero.is-teaser .ev-daychips em::before { content: none; }
.ev-hero.is-teaser .ev-countdown { justify-self: start; }
/* En-tête mobile : logos, S'inscrire et menu ☰ (la connexion est dans le menu) */
@media (max-width: 900px) {
  .ev-top-cta { gap: 8px; }
  .ev-top-cta .ev-link { display: none; }
}
@media (max-width: 420px) {
  .ev-top-in { gap: 8px; }
  .ev-cobrand { min-width: 0; gap: 6px; }
  .ev-client img { max-height: 34px; width: auto; max-width: 112px; }
  .ev-brand img { height: 36px; width: auto; }
  .ev-top-cta .ev-btn-sm { padding: 8px 13px; font-size: 13px; }
  .ev-burger { width: 40px; height: 40px; border-radius: 12px; }
}
