@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(fonts/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url(fonts/inter-tight-latin-700-normal.woff2) format("woff2"); }

:root {
  --orange: #f26b1d; --orange-2: #ff8a3d; --ink: #15171b; --ink-2: #5d636d; --cream: #fbf8f2;
  --navy: #14254a; --gold: #c9a45c; --green: #2f9e5b;
  --glass-dark: rgba(18, 20, 24, 0.55); --glass-light: rgba(255, 255, 255, 0.72);
  --r: 14px; --ease: cubic-bezier(.2, .7, .2, 1);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  font-family: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; background: #0b0d10; color: #fff; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; transition: filter .9s var(--ease); }
#gl.dim { filter: blur(2.5px) brightness(.48) saturate(.85); }

/* Apparition générique */
.hero, .hint, .classbar, .float, .legend, .stepper, .inter, .passWrap, .finale, .pill, .back, .seatBar {
  opacity: 0; transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.on { opacity: 1 !important; }

/* Loader */
#loader { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; gap: 18px; background: #0b0d10; transition: opacity .8s var(--ease), visibility .8s; }
#loader .logo { font-weight: 700; letter-spacing: .5em; font-size: 15px; padding-left: .5em; }
#loader .bar { width: 120px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); background-size: 200% 100%; animation: sweep 1.1s linear infinite; justify-self: center; }
#loader.off { opacity: 0; visibility: hidden; }
@keyframes sweep { from { background-position: 100% 0 } to { background-position: -100% 0 } }

/* Barre du haut */
.top { position: fixed; z-index: 10; top: 0; left: 0; right: 0; padding: calc(18px + var(--safe-t)) 22px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; pointer-events: none; }
.top > * { pointer-events: auto; }
.left { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .32em; font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.brand svg { width: 28px; height: 28px; }
.brand svg rect { fill: var(--navy); } .brand svg path { stroke: var(--orange); stroke-width: 3; fill: none; stroke-linecap: round; }
.flightTag { justify-self: end; font-size: 11px; font-weight: 600; letter-spacing: .18em; padding: 8px 14px; border-radius: 999px; background: var(--glass-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.flightTag span { color: var(--orange-2); }
.back { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--glass-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateX(-6px); }
.back.on { transform: none; } .back:hover { background: rgba(18,20,24,.75); }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--glass-dark); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 6px 30px rgba(0,0,0,.18); transform: translateY(-6px); white-space: nowrap; }
.pill.on { transform: none; }
.pill .k { font-size: 10.5px; letter-spacing: .22em; font-weight: 700; color: #e9c98f; }
.pill .sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); }
.pill .v { font-size: 14px; font-weight: 600; }

/* Hero */
.hero { position: fixed; z-index: 5; left: clamp(22px, 5vw, 72px); bottom: calc(clamp(28px, 9vh, 96px) + var(--safe-b)); max-width: 640px; transform: translateY(14px); }
.hero.on { transform: none; }
.hero::before { content: ""; position: absolute; inset: -120px -160px -90px -140px; z-index: -1; background: radial-gradient(closest-side, rgba(10,22,46,.42), transparent); pointer-events: none; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero h1 { margin: 14px 0 14px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.025em; font-weight: 600; text-shadow: 0 2px 30px rgba(0,25,60,.25); }
.hero h1 span { color: rgba(255,255,255,.72); }
.hero .lead { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.5; color: rgba(255,255,255,.9); max-width: 44ch; }
.cta { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.cta .from { font-size: 14px; color: rgba(255,255,255,.85); } .cta .from b { font-weight: 700; color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 14.5px; padding: 12px 22px; transition: transform .25s var(--ease), background .25s, box-shadow .25s; white-space: nowrap; }
.btn.lg { padding: 15px 30px; font-size: 16px; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px rgba(242,107,29,.35), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn.primary:disabled { background: var(--green); box-shadow: 0 8px 24px rgba(47,158,91,.35); cursor: default; transform: none; }
.btn.ghost { background: rgba(20,22,26,.72); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.ghost:hover { background: rgba(20,22,26,.9); transform: translateY(-1px); }
.link { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); padding: 8px 4px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); }
.link:hover { color: #fff; }

.hint { position: fixed; z-index: 5; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.92); padding: 8px 14px; border-radius: 999px; background: rgba(18,20,24,.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; pointer-events: none; }
.hint .mouse { width: 14px; height: 21px; border: 1.6px solid currentColor; border-radius: 8px; position: relative; flex: none; }
.hint .mouse::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(6px); opacity: 0 } 100% { opacity: 0 } }

/* Barre des classes */
.classbar { position: fixed; z-index: 6; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 12px); display: flex; gap: 8px; padding: 6px; border-radius: 20px; background: rgba(255,255,255,.68); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 14px 50px rgba(10,30,70,.22); }
.classbar.on { transform: translate(-50%, 0); }
.cbtn { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; padding: 10px 18px 10px 12px; border-radius: 14px; color: var(--ink); min-width: 168px; transition: background .2s; }
.cbtn .n { grid-row: span 2; align-self: center; font-size: 11px; font-weight: 700; color: var(--ink-2); letter-spacing: .08em; }
.cbtn .t { font-weight: 650; font-weight: 600; font-size: 15px; }
.cbtn .p { font-size: 12.5px; color: var(--ink-2); }
.cbtn:hover, .cbtn.hot { background: #fff; }
.cbtn.hot .p { color: var(--orange); }

/* Étiquettes flottantes */
.float { position: fixed; z-index: 7; left: 0; top: 0; pointer-events: none; will-change: transform; }
.zone { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(255,255,255,.82); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(10,30,70,.2); white-space: nowrap; }
.zone b { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.zone span { font-size: 12.5px; color: var(--ink-2); }
.tip { min-width: 236px; padding: 12px 16px 13px; border-radius: 14px; background: rgba(255,255,255,.86); color: var(--ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 14px 40px rgba(10,30,70,.25); transition: opacity .2s; }
.tip small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-2); }
.tip .row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 4px 0 3px; }
.tip b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.tip .pr { font-size: 17px; font-weight: 600; color: var(--orange); }
.tip em { display: block; margin-top: 6px; font-size: 11.5px; font-style: normal; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(47,158,91,.16); }
.tip.busy .status { color: #7b818b; } .tip.busy .status i { box-shadow: none; }

.legend { position: fixed; z-index: 6; right: 22px; bottom: calc(24px + var(--safe-b)); display: flex; gap: 14px; list-style: none; font-size: 12px; font-weight: 600; color: var(--ink); padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend .free { background: linear-gradient(135deg, #dc7436 50%, #d9c6a3 50%); } .legend .busy { background: #5f646d; } .legend .sel { background: #ffcc33; box-shadow: 0 0 0 2px rgba(255,204,51,.35); }

.stepper { position: fixed; z-index: 6; left: 22px; bottom: calc(24px + var(--safe-b)); display: flex; gap: 6px; list-style: none; font-size: 12px; font-weight: 600; padding: 6px; border-radius: 999px; background: rgba(18,20,24,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.stepper li { display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 999px; color: rgba(255,255,255,.55); transition: background .3s, color .3s; }
.stepper span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 10px; background: rgba(255,255,255,.1); }
.stepper .done { color: rgba(255,255,255,.85); } .stepper .done span { background: rgba(47,158,91,.9); color: #fff; }
.stepper .cur { color: #fff; background: rgba(255,255,255,.12); } .stepper .cur span { background: var(--orange); color: #fff; }

/* Interstitiel de classe */
.inter { position: fixed; z-index: 6; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; transform: scale(1.03); }
.inter.on { transform: none; }
.inter h2 { margin: 14px 0 16px; font-size: clamp(44px, 8vw, 96px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #f1ece3; text-shadow: 0 4px 40px rgba(0,0,0,.4); }
.inter.first h2 { background: linear-gradient(180deg, #f6deaa, #c9a45c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inter .rule { width: 64px; height: 2px; background: var(--orange); border-radius: 2px; }
.inter.first .rule { background: var(--gold); }
.inter .meta { margin-top: 16px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.85); letter-spacing: .02em; }

/* Barre « Votre place » */
.seatBar { position: fixed; z-index: 7; left: 50%; bottom: calc(24px + var(--safe-b)); transform: translate(-50%, 12px); display: flex; align-items: center; gap: 22px; padding: 12px 12px 12px 22px; border-radius: 22px; background: rgba(255,255,255,.8); color: var(--ink); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 14px 50px rgba(10,30,70,.22); width: max-content; max-width: calc(100vw - 32px); }
.seatBar.on { transform: translate(-50%, 0); }
.sb-info small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-2); }
.sb-info b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.sb-feat { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; font-size: 12px; color: var(--ink-2); }
.sb-feat li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.sb-views { display: flex; padding: 4px; border-radius: 999px; background: rgba(21,23,27,.07); }
.sb-views button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.sb-views button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(10,30,70,.12); }
.sb-cta { display: flex; align-items: center; gap: 14px; }
.sb-price { font-size: 20px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.seatBar.biz .sb-price { color: var(--navy); }
.seatBar.first .sb-price { color: #a98238; }
.seatBar.first #sbGo { background: linear-gradient(180deg, #d9b66b, #b88d3e); color: #1a1408; box-shadow: 0 8px 24px rgba(185,141,62,.4); }

/* Carte d'embarquement */
.passWrap { position: fixed; z-index: 8; left: 50%; top: 50%; width: min(820px, calc(100vw - 32px)); transform: translate(-50%, -22%) perspective(1200px) rotateX(10deg); display: flex; flex-direction: column; align-items: center; gap: 14px; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.passWrap.on { transform: translate(-50%, -30%); }
.passWrap.away { opacity: 0 !important; transform: translate(-50%, -120%) rotate(-4deg) !important; transition-duration: .7s; }
.pass { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 210px; color: var(--ink); filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.pass > .main, .pass > .stub { background: var(--cream); position: relative; }
.pass > .main { border-radius: 18px 0 0 18px; -webkit-mask: radial-gradient(circle 12px at 100% 0, transparent 11.5px, #000 12px) top/100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 11.5px, #000 12px) bottom/100% 51% no-repeat; mask: radial-gradient(circle 12px at 100% 0, transparent 11.5px, #000 12px) top/100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, transparent 11.5px, #000 12px) bottom/100% 51% no-repeat; }
.pass > .stub { border-radius: 0 18px 18px 0; text-align: center; padding-bottom: 18px; display: flex; flex-direction: column; align-items: center; transition: transform .9s var(--ease); -webkit-mask: radial-gradient(circle 12px at 0 0, transparent 11.5px, #000 12px) top/100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 11.5px, #000 12px) bottom/100% 51% no-repeat; mask: radial-gradient(circle 12px at 0 0, transparent 11.5px, #000 12px) top/100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, transparent 11.5px, #000 12px) bottom/100% 51% no-repeat; }
.pass > .stub::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; border-left: 2px dashed rgba(21,23,27,.16); }
.pass .head { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.pass .stub .head { width: 100%; justify-content: center; }
.pass .head .lbl { display: inline-flex; align-items: center; gap: 10px; }
.pass .head svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(90deg); }
.pass .route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 26px 16px; }
.pass .route > div { display: flex; flex-direction: column; }
.pass .route .r { text-align: right; align-items: flex-end; }
.pass .route b { font-size: clamp(34px, 5.4vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.pass .route small { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.pass .route em { font-style: normal; font-size: 17px; font-weight: 500; margin-top: 2px; }
.pass .route .mid { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; align-self: start; padding-top: 14px; }
.pass .route .mid .dash { flex: 1; min-width: 20px; border-top: 2px dotted rgba(21,23,27,.25); }
.pass .route .mid svg { width: 20px; height: 20px; fill: var(--orange); }
.pass .route .mid small { width: 100%; text-align: center; margin: 2px 0 0; font-size: 9.5px; letter-spacing: .18em; font-weight: 600; }
.pass .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 26px; padding: 14px 0 22px; border-top: 1px solid rgba(21,23,27,.08); }
.pass .facts small, .pass .stub > small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9a9ea6; }
.pass .facts span { display: block; margin-top: 5px; font-size: 19px; font-weight: 500; }
.pass .acc { color: var(--orange); font-weight: 600 !important; }
.pass .stub > small { margin-top: 20px; }
.pass .seat { font-size: 46px; font-weight: 600; color: var(--orange); letter-spacing: -.02em; line-height: 1.05; }
.pass .stub .status { margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(47,158,91,.1); }
.pass .bars { width: 150px; height: 34px; margin-top: 16px; } .pass .bars svg { width: 100%; height: 100%; fill: #2a2d33; }
.pass .price { margin-top: 10px; font-size: 21px; font-weight: 600; } .pass .price small { font-size: 10px; letter-spacing: .14em; color: #9a9ea6; margin-right: 6px; font-weight: 700; }
.pass .stamp { position: absolute; right: 232px; top: 64px; padding: 6px 16px; border: 3px solid var(--green); border-radius: 10px; color: var(--green); font-weight: 700; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none; mix-blend-mode: multiply; }
.pass.confirmed .stamp { animation: stamp .55s cubic-bezier(.3,1.6,.5,1) .15s forwards; }
.pass.confirmed .stub { transform: translateX(14px) rotate(2.5deg); }
@keyframes stamp { to { opacity: .9; transform: rotate(-12deg) scale(1); } }
/* Business : bleu nuit */
.pass.biz .head { background: var(--navy); }
.pass.biz .route .mid svg { fill: var(--navy); }
/* Première : noir & or */
.pass.first .head { background: #111214; color: var(--gold); }
.pass.first .route .mid svg, .pass.first .acc, .pass.first .seat { color: #a98238; fill: #a98238; }
.pass.first .route .mid svg { fill: var(--gold); }
.pass.first > .main, .pass.first > .stub { background: #f7f1e6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; padding: 6px; border-radius: 999px; background: rgba(18,20,24,.55); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.actions .ask { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); padding: 0 4px; }
.passWrap > .link { padding: 6px 14px; border-radius: 999px; background: rgba(18,20,24,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; }
.passWrap > .link:hover { background: rgba(18,20,24,.6); }
.btn.ghost { border-color: rgba(255,255,255,.18); }
.pass.first ~ .actions .btn.primary { background: linear-gradient(180deg, #d9b66b, #b88d3e); box-shadow: 0 8px 24px rgba(185,141,62,.4); color: #1a1408; }

/* Final */
.finale { position: fixed; z-index: 9; inset: 0; display: grid; place-items: center start; padding: 24px clamp(24px, 7vw, 110px); }
.fin { width: min(440px, 100%); padding: 30px 30px 26px; border-radius: 22px; background: rgba(255,255,255,.84); color: var(--ink); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 30px 80px rgba(30,20,60,.35); transform: translateY(20px); transition: transform .9s var(--ease); }
.finale.on .fin { transform: none; }
.fin .ok { color: var(--green); display: flex; align-items: center; gap: 8px; letter-spacing: .18em; }
.fin .ok i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47,158,91,.15); }
.fin h2 { font-size: 46px; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 4px; }
.fin .sub { color: var(--ink-2); font-size: 15px; }
.fin dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 22px 0 16px; padding: 18px 0; border-block: 1px solid rgba(21,23,27,.08); }
.fin dt { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9a9ea6; }
.fin dd { font-size: 18px; font-weight: 600; margin-top: 3px; }
.fin .ref { font-size: 13px; color: var(--ink-2); margin-bottom: 20px; } .fin .ref b { color: var(--ink); letter-spacing: .08em; }
.fin .btn { width: 100%; }
.credit { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--safe-b)); text-align: center; font-size: 12px; color: rgba(255,255,255,.9); padding: 8px 16px; border-radius: 999px; background: rgba(20,16,30,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); width: max-content; max-width: calc(100vw - 32px); }
.credit a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

.fade { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.98), rgba(236,243,252,.98)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transition: opacity .6s var(--ease); }
.fade.on { opacity: 1; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; }

/* Mobile */
@media (max-width: 720px) {
  .top { grid-template-columns: 1fr auto; padding-inline: 14px; }
  .top .pill { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 10px; }
  .flightTag { font-size: 10px; padding: 7px 11px; letter-spacing: .14em; }
  .hero { left: 18px; right: 18px; bottom: calc(76px + var(--safe-b)); }
  .cta { gap: 14px; }
  .classbar { flex-direction: column; width: calc(100vw - 28px); bottom: calc(14px + var(--safe-b)); }
  .cbtn { min-width: 0; grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; padding: 11px 14px; }
  .cbtn .n { grid-row: auto; }
  .legend { right: auto; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); white-space: nowrap; }
  .stepper { display: none !important; }
  .stepper li { padding-right: 9px; font-size: 11px; }
  .hint { bottom: calc(20px + var(--safe-b)); white-space: normal; text-align: center; max-width: calc(100vw - 40px); font-size: 11.5px; }
  .legend.on ~ .hint, .legend:not([hidden]) ~ .hint { bottom: calc(62px + var(--safe-b)); }
  .passWrap { top: auto; bottom: calc(12px + var(--safe-b)); transform: translate(-50%, 30px); gap: 10px; }
  .passWrap.on { transform: translate(-50%, 0); }
  .pass { grid-template-columns: 1fr; }
  .pass > .main { border-radius: 18px 18px 0 0; -webkit-mask: none; mask: none; }
  .pass > .stub { border-radius: 0 0 18px 18px; -webkit-mask: none; mask: none; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; text-align: left; padding: 12px 18px 14px; gap: 0 14px; }
  .pass > .stub::before { left: 16px; right: 16px; top: 0; bottom: auto; border-left: 0; border-top: 2px dashed rgba(21,23,27,.16); }
  .pass .stub .head, .pass .stub .bars { display: none; }
  .pass .stub > small { margin: 0; grid-column: 1; }
  .pass .seat { grid-column: 1; grid-row: 2; font-size: 30px; }
  .pass .stub .status { grid-column: 2; grid-row: 1 / span 2; justify-self: start; }
  .pass .price { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .pass .head { height: 38px; padding: 0 16px; font-size: 9.5px; }
  .pass .route { padding: 14px 16px 10px; gap: 10px; }
  .pass .route em { font-size: 14px; } .pass .route small { margin-top: 4px; font-size: 11px; }
  .pass .facts { margin: 0 16px; padding: 10px 0 12px; grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .pass .facts span { font-size: 15px; }
  .pass .stamp { right: 16px; top: 54px; font-size: 16px; }
  .pass.confirmed .stub { transform: translateY(8px) rotate(1.2deg); }
  .actions { gap: 6px; border-radius: 24px; } .actions .btn { padding: 11px 16px; font-size: 13.5px; }
  .finale { place-items: center; padding: 20px; }
  .seatBar { flex-direction: column; align-items: stretch; gap: 10px; width: calc(100vw - 24px); bottom: calc(12px + var(--safe-b)); padding: 14px; }
  .sb-views { align-self: center; }
  .sb-cta { justify-content: space-between; }
  .sb-feat { font-size: 11px; }
  .credit { font-size: 11px; white-space: normal; }
  .actions .ask { display: none; }
  .fin h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .2s !important; }
}


/* ==========================================================================
   DIRECTION ARTISTIQUE « SIGNALÉTIQUE D'AÉROPORT »
   Surfaces pleines et angles nets (plus de verre dépoli), titres en
   Barlow Condensed. Pour revenir au style précédent : supprimer ce bloc.
   ========================================================================== */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
:root { --sign: "Barlow Condensed", "Inter Tight", system-ui, sans-serif; --panel: #14171c; --paper: #fbf8f2; --line: rgba(21,23,27,.12); }

/* Surfaces pleines */
.flightTag, .back, .pill, .hint, .stepper, .actions, .credit, .passWrap > .link,
.classbar, .zone, .tip, .legend, .seatBar, .fin, .btn.ghost { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.flightTag, .back, .pill, .hint, .stepper, .actions, .credit, .passWrap > .link { background: var(--panel); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.back:hover, .passWrap > .link:hover { background: #1f232a; }
.classbar, .zone, .tip, .legend, .seatBar { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 0 rgba(21,23,27,.06), 0 14px 34px rgba(10,30,70,.16); }
.fin { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(30,20,60,.3); }
.cbtn, .stepper li { border-radius: 8px; }
.stepper span { border-radius: 4px; }
.cbtn:hover, .cbtn.hot { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sb-views { border-radius: 8px; } .sb-views button { border-radius: 6px; }

/* Boutons nets, sans halo */
.btn { border-radius: 8px; }
.btn.primary, .btn.primary:hover { box-shadow: 0 2px 0 #b84a0c; }
.btn.primary:disabled { box-shadow: 0 2px 0 #1f6e3e; }
.btn.ghost { background: #22262d; border-color: rgba(255,255,255,.14); }
.seatBar.first #sbGo, .pass.first ~ .actions .btn.primary { box-shadow: 0 2px 0 #8a6a2e; }

/* Typographie signalétique */
.hero h1, .inter h2, .fin h2 { font-family: var(--sign); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.hero h1 { font-size: clamp(46px, 6vw, 86px); }
.hero h1 span { color: #ffc9a6; }
.eyebrow, .pill .k, .tip small, .sb-info small, .flightTag, .stepper, .legend, .inter .meta, .actions .ask { font-family: var(--sign); letter-spacing: .06em; font-size: 13px; }
.brand { font-family: var(--sign); letter-spacing: .14em; font-size: 17px; }
.cbtn .t, .zone b, .tip b, .sb-info b { font-family: var(--sign); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.pass .route b, .pass .seat, .pass .facts span, .fin dd, .sb-price, .tip .pr { font-family: var(--sign); }
.pass .head { font-family: var(--sign); letter-spacing: .08em; font-size: 13px; }
@media (max-width: 720px) { .hero h1 { font-size: 44px; } .flightTag { font-size: 12px; } }

.hero { max-width: 780px; }
.hero h1 { font-size: clamp(44px, 5.2vw, 78px); }
.hero::before { background: radial-gradient(closest-side, rgba(10,22,46,.5), transparent); }
.brand { background: var(--panel); padding: 7px 12px 7px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); text-shadow: none; }
.brand svg { width: 24px; height: 24px; }

/* Perte du contexte 3D (rare, surtout sur mobile) */
.gllost { position: fixed; inset: 0; z-index: 50; display: grid; place-content: center; gap: 14px; text-align: center; background: #14254a; color: #fff; padding: 24px; }
.gllost[hidden] { display: none; }
.gllost .btn { justify-self: center; background: #f26b1d; color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font: 600 15px/1 inherit; cursor: pointer; }

/* Fondu enchaîné entre deux vues (voir fade() dans app.js) */
.snap { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; visibility: hidden; }
/* Stabilité mobile : aucun flou d'arrière-plan sur la 3D (il se recalcule à chaque image et scintille) */
*, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.hint, .stepper, .passWrap > .link { background: rgba(18,20,24,.78) !important; }
.actions { background: rgba(18,20,24,.82) !important; }
#gl.dim { filter: brightness(.45) saturate(.85); }
.fade { display: none !important; }
