/* Bowo TV · lanceur
   Dessiné en 1920 × 1080 (1 px = 1 px d'un téléviseur Full HD, ×2 en 4K), puis
   mis à l'échelle pour remplir n'importe quelle fenêtre. Zone de sécurité : 96 px
   à gauche et à droite, 60 px en haut et en bas : rien d'important au-delà. */

:root {
  --safe-x: 96px; --safe-y: 60px;
  --white: #f6f3ec; --ink: #0b0b0d;
  --t1: rgba(246,243,236,1); --t2: rgba(246,243,236,.74); --t3: rgba(246,243,236,.5); --t4: rgba(246,243,236,.3);
  --glass: rgba(14,14,18,.46); --glass-2: rgba(14,14,18,.62); --glass-line: rgba(246,243,236,.1);
  --accent: #d9b98a; --accent-ink: #1a1408;
  --font-display: "Fraunces", "Times New Roman", serif; --display-weight: 300;
  --font-ui: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 4px var(--white), 0 24px 60px -12px rgba(0,0,0,.7);
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: 240ms;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: #000; overflow: hidden; }
body { font-family: var(--font-ui); color: var(--t1); -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1, "ss01" 1; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: default; text-align: left; }
button:focus { outline: none; }
img { display: block; }
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: #0a0a0c; }

/* ---------- fonds d'écran : deux couches qui se fondent, lent mouvement ---------- */
.walls { position: absolute; inset: 0; }
.tintlayer { position: absolute; inset: 0; background: var(--tint, #08080a); opacity: var(--tint-a, 0); pointer-events: none; transition: opacity 600ms ease, background 600ms ease; }
.wall { position: absolute; inset: -4%; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; filter: brightness(.86) saturate(.92); transition: opacity 1800ms ease; will-change: opacity, transform; }
/* la photo qui s'efface garde son zoom (is-out) : sans cela elle revenait à l'échelle 1 pendant le fondu, un petit saut */
.wall.is-on { opacity: 1; animation: kenburns 42s linear both; }
.wall.is-out { animation: kenburns 42s linear both; }
/* fond vidéo : boucle muette, couvre l'écran ; pas de lent zoom par-dessus (la vidéo bouge déjà) */
.wall__video, .wall__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.wall[data-video="1"].is-on { animation: none; }
@keyframes kenburns { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); } }
.scrim { position: absolute; inset: 0; pointer-events: none; }
.scrim--home { background:
  linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,0) 24%),
  linear-gradient(0deg, rgba(8,8,10,.9) 0%, rgba(8,8,10,.62) 26%, rgba(8,8,10,.2) 50%, rgba(8,8,10,0) 66%),
  linear-gradient(90deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.35) 34%, rgba(8,8,10,0) 58%); }
.scrim--deep { background: linear-gradient(90deg, rgba(8,8,10,.94) 0%, rgba(8,8,10,.88) 45%, rgba(8,8,10,.6) 100%); }
.scrim--ambient { background: linear-gradient(0deg, rgba(8,8,10,.7) 0%, rgba(8,8,10,0) 42%); }
.wallcap { position: absolute; right: var(--safe-x); bottom: var(--safe-y); font-size: 20px; letter-spacing: .02em; color: var(--t3); }

/* derrière un sous-écran, le fond se floute et s'assombrit : la photo reste, le contenu respire */
.stage:not([data-screen="home"]):not([data-screen="ambient"]):not([data-screen="boot"]) .wall { filter: blur(34px) brightness(.45) saturate(.8); transform: scale(1.08) !important; animation: none; }
.wall { transition: opacity 1800ms ease, filter 600ms ease; }

/* ---------- barre haute : marque à gauche, heure et météo à droite, rien d'autre ---------- */
.top { position: absolute; left: var(--safe-x); right: var(--safe-x); top: 72px; display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand__logo { display: block; max-height: 104px; max-width: 380px; object-fit: contain; object-position: left center; }
.boot__logo { display: block; max-height: 180px; max-width: 640px; margin: 0 auto; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 34px; letter-spacing: .005em; line-height: 1; color: var(--t2); }
.clockwx { display: flex; align-items: center; gap: 36px; }
.clock__time { font-size: 60px; font-weight: 250; line-height: 1; letter-spacing: -.02em; }
.wx { display: flex; align-items: center; gap: 12px; padding-left: 36px; border-left: 1px solid var(--glass-line); height: 48px; font-size: 30px; font-weight: 300; }
.wx svg { width: 36px; height: 36px; color: var(--t2); }
.wx__city { font-size: 22px; color: var(--t3); font-weight: 400; margin-left: 4px; }

/* ---------- accueil : une salutation, une ligne, un dock ---------- */
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.screen.is-on { opacity: 1; visibility: visible; transition: opacity 360ms ease; }
.greet { position: absolute; left: var(--safe-x); top: 372px; width: 1500px; }
.greet__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 132px; line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
.greet__title em { font-style: italic; }
.stage[data-italic="0"] .greet__title em { font-style: normal; }
.greet__line { margin-top: 26px; font-size: 32px; font-weight: 300; line-height: 1.4; color: var(--t2); max-width: 1100px; text-wrap: pretty; }

.spotline { position: absolute; left: var(--safe-x); top: 652px; height: 66px; display: flex; align-items: center; padding: 0 28px 0 22px; border-radius: 100px; background: rgba(246,243,236,.08); backdrop-filter: blur(20px); transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); max-width: 1300px; }
.spotline__item { display: none; align-items: center; gap: 16px; font-size: 25px; white-space: nowrap; }
.spotline__item.is-on { display: flex; animation: spotfade 600ms ease both; }
@keyframes spotfade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.spotline__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.spotline__k { color: var(--t3); }
.spotline__item b { font-weight: 500; color: var(--t1); }
.spotline__go { display: inline-flex; align-items: center; gap: 8px; color: var(--t3); margin-left: 8px; }
.spotline__go svg { width: 22px; height: 22px; }
.spotline.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: scale(1.02); }
.spotline.is-focus .spotline__k, .spotline.is-focus .spotline__go { color: rgba(11,11,13,.55); }
.spotline.is-focus .spotline__item b { color: var(--ink); }

.dock { position: absolute; left: var(--safe-x); bottom: 108px; display: flex; gap: 30px; align-items: flex-start; }
.tile { position: relative; width: 150px; flex: none; }
.tile__box { position: relative; display: grid; place-items: center; height: 150px; border-radius: 36px; background: rgba(246,243,236,.1); backdrop-filter: blur(24px); transform: translateZ(0); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.tile__box > svg { width: 58px; height: 58px; color: var(--t1); }
.tile.is-focus .tile__box { transform: scale(1.16) translateY(-10px); background: rgba(246,243,236,.2); box-shadow: var(--focus); }
.tile__label { display: block; margin-top: 18px; text-align: center; font-size: 22px; font-weight: 400; color: var(--t3); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); white-space: nowrap; }
.tile.is-focus .tile__label { color: var(--t1); transform: translateY(8px); }
.tile__live { position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,90,.6); } 100% { box-shadow: 0 0 0 12px rgba(255,90,90,0); } }
/* marques tierces : des mots-symboles typographiques, pas les logos officiels */
.brandmark { font-weight: 800; letter-spacing: -.02em; font-size: 26px; }
.brandmark--netflix { color: #e50914; font-family: "Archivo", "Hanken Grotesk", sans-serif; font-weight: 900; letter-spacing: .02em; font-size: 21px; }
.brandmark--youtube { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brandmark--youtube i { width: 36px; height: 25px; border-radius: 7px; background: #ff0033; display: grid; place-items: center; }
.brandmark--youtube i::after { content: ""; border-left: 11px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.brandmark--prime { color: #4fb8ff; font-size: 22px; }
.brandmark--disney { color: #9fc5ff; font-family: var(--font-display); font-size: 28px; font-weight: 400; }
.brandmark--canal { color: #fff; font-size: 22px; letter-spacing: .04em; }
.brandmark--arte { color: #ff7a3d; font-size: 24px; letter-spacing: .08em; }
.brandmark--spotify { color: #1ed760; font-size: 22px; }
.brandmark--press { color: #fff; font-size: 20px; font-weight: 600; }
.brandmark--text { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.01em; text-align: center; line-height: 1.15; padding: 0 10px; overflow-wrap: anywhere; }

.foot { position: absolute; left: var(--safe-x); right: var(--safe-x); bottom: var(--safe-y); display: flex; justify-content: space-between; font-size: 19px; color: var(--t3); }
.foot b { color: var(--t2); font-weight: 500; }

/* ---------- écrans secondaires : panneau commun ---------- */
.sub { position: absolute; inset: 0; }
.sub__head { position: absolute; left: var(--safe-x); top: var(--safe-y); right: var(--safe-x); display: flex; align-items: center; justify-content: space-between; }
.crumb { display: flex; align-items: center; gap: 18px; font-size: 22px; color: var(--t3); }
.crumb b { color: var(--t1); font-weight: 500; }
.crumb i { font-style: normal; color: var(--t4); }
.sub__clock { font-size: 34px; font-weight: 300; }
.sub__clock small { font-size: 22px; color: var(--t3); margin-left: 16px; }
.h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 72px; line-height: 1; letter-spacing: -.015em; }
.h1 small { display: block; font-family: var(--font-ui); font-size: 24px; letter-spacing: .02em; color: var(--t2); margin-top: 16px; font-weight: 400; }
.rail { position: absolute; left: var(--safe-x); top: 300px; width: 420px; display: flex; flex-direction: column; gap: 6px; }
.rail__title { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); margin: 0 0 14px 28px; }
.rail .cat { height: 68px; padding: 0 28px; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 27px; color: var(--t2); transition: all var(--dur) var(--ease); }
.rail .cat small { font-size: 20px; color: var(--t4); }
.rail .cat.is-on { color: var(--t1); background: rgba(246,243,236,.08); }
.rail .cat.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: translateX(6px); }
.rail .cat.is-focus small { color: rgba(11,11,13,.55); }
.grid { position: absolute; left: 600px; right: var(--safe-x); top: 300px; bottom: 120px; display: grid; gap: 24px; align-content: start; grid-auto-rows: max-content; }
.grid--food .card__photo { height: 124px; }
.grid--food .card__t { font-size: 24px; }
.grid--food .card__d { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid--food .card__body { padding: 16px 22px 18px; }
.grid--food .card__row { margin-top: 10px; }
.grid--ch { grid-template-columns: repeat(3, 1fr); }
.grid--food { grid-template-columns: repeat(3, 1fr); right: 540px; }
.grid--cc { grid-template-columns: repeat(4, 1fr); left: var(--safe-x); top: 310px; }
.grid--apps { grid-template-columns: repeat(4, 1fr); left: var(--safe-x); top: 330px; }
.card { position: relative; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); overflow: hidden; transform: translateZ(0); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.card.is-focus { transform: scale(1.04); box-shadow: var(--focus); background: var(--glass-2); z-index: 2; }
.card__photo { height: 150px; background-size: cover; background-position: center; }
.card__body { padding: 20px 24px 22px; }
.card__t { font-size: 26px; font-weight: 500; line-height: 1.2; }
.card__d { font-size: 20px; color: var(--t3); margin-top: 6px; line-height: 1.35; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.card__price { font-size: 24px; font-weight: 500; }
.card__add { font-size: 19px; color: var(--t3); letter-spacing: .04em; }
.card.is-focus .card__add { color: var(--t1); }
.card__n { font-size: 20px; color: var(--t3); letter-spacing: .08em; }
.card__ch { font-size: 30px; font-weight: 600; margin-top: 6px; letter-spacing: -.01em; }
.card__now { font-size: 21px; color: var(--t2); margin-top: 10px; display: flex; gap: 10px; align-items: center; min-height: 28px; }
.card__now i { font-style: normal; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; color: #ff7a7a; }
.bar { height: 3px; border-radius: 3px; background: rgba(246,243,236,.14); margin-top: 16px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); }
.card--ch .card__body { padding: 24px 26px 22px; }

/* commande (room service) */
.cart { position: absolute; right: var(--safe-x); top: 300px; width: 400px; bottom: 120px; border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-line); padding: 32px; display: flex; flex-direction: column; }
.cart__t { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
.cart__list { flex: 1; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 23px; }
.cart__list .row { display: flex; justify-content: space-between; gap: 12px; }
.cart__list .row span { color: var(--t2); }
.cart__line { text-align: left; align-items: baseline; padding: 6px 10px; margin: -6px -10px; border-radius: 14px; font: inherit; color: inherit; position: relative; }
.cart__line small { display: block; font-size: 18px; color: var(--t3); margin-top: 2px; }
.cart__line em { display: none; font-style: normal; font-size: 18px; color: var(--accent); }
.cart__line.is-focus { background: rgba(255,255,255,.12); }
.cart__line.is-focus em { display: inline; }
.cart__line.is-focus b { display: none; }
.dish__k { margin: 30px 0 14px; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: rgba(11,11,13,.5); }
.dish__qty { display: flex; align-items: center; gap: 22px; }
.dish__qty b { min-width: 48px; text-align: center; font-size: 40px; font-weight: 500; }
.dish__qty .chip { width: 66px; justify-content: center; padding: 0; font-size: 34px; }
.dish__qty .chip[disabled] { opacity: .35; }
.stage[data-motion="liquid"] .dish__k { color: var(--t3); }
.cart__empty { color: var(--t3); font-size: 22px; line-height: 1.4; }
.cart__total { display: flex; justify-content: space-between; font-size: 28px; font-weight: 500; padding-top: 18px; border-top: 1px solid var(--glass-line); }
.cart__note { font-size: 19px; color: var(--t3); margin-top: 6px; }
.btn { height: 64px; padding: 0 30px; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 24px; font-weight: 500; background: rgba(246,243,236,.12); color: var(--t1); transition: all var(--dur) var(--ease); white-space: nowrap; }
.btn.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: scale(1.04); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent.is-focus { background: var(--white); }
.btn.is-done { background: rgba(80,200,140,.22); color: #b9f0d2; }
.cart .btn { margin-top: 22px; width: 100%; }

/* spa */
.spa__photo { position: absolute; left: 0; top: 0; bottom: 0; width: 860px; background-size: cover; background-position: center; }
.spa__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,0) 60%, rgba(8,8,10,1) 100%), linear-gradient(0deg, rgba(8,8,10,.4), rgba(8,8,10,0) 40%); }
.spa__body { position: absolute; left: 960px; right: var(--safe-x); top: 250px; }
.spa__kicker { font-size: 22px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.spa__desc { font-size: 26px; line-height: 1.5; color: var(--t2); margin-top: 28px; max-width: 760px; text-wrap: pretty; }
.spa__price { margin-top: 26px; font-size: 28px; }
.spa__price b { font-weight: 500; }
.spa__price span { color: var(--t3); margin-left: 14px; font-size: 24px; }
.slots__t { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); margin: 44px 0 16px; }
.slots { display: flex; gap: 14px; flex-wrap: wrap; }
.chip { height: 66px; padding: 0 28px; border-radius: 100px; background: rgba(246,243,236,.1); border: 1px solid var(--glass-line); font-size: 25px; font-weight: 500; display: inline-flex; align-items: center; transition: all var(--dur) var(--ease); }
.chip.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: scale(1.05); }
.chip.is-done { background: rgba(80,200,140,.22); color: #b9f0d2; border-color: transparent; }
.chip.is-dim { opacity: .4; }
.cares { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.care { display: flex; align-items: center; gap: 22px; padding: 12px 26px 12px 12px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); text-align: left; color: var(--t1); font: inherit; transition: all var(--dur) var(--ease); }
.care.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: scale(1.02); }
.care__ph { width: 120px; height: 76px; border-radius: 14px; background: #2a2a30 center / cover no-repeat; flex: none; }
.care__tx { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.care__tx b { font-size: 26px; font-weight: 500; }
.care__tx small { font-size: 19px; opacity: .6; }
.care__p { font-size: 26px; font-weight: 500; }
.care.is-done .care__tx small { color: #6fd6a0; opacity: 1; }
.care-box { width: 1040px; padding: 0; overflow: hidden; }
.care-box__ph { height: 210px; background: #2a2a30 center / cover no-repeat; }
.care-box__in { padding: 26px 56px 34px; }
.care-box__h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.care-box__h b { font-family: var(--font-display); font-size: 52px; font-weight: var(--display-weight); }
.care-box .overlay__b { margin-top: 12px; }
.care-box .dish__k { margin-top: 24px; }

/* mon séjour */
.stay { position: absolute; left: var(--safe-x); right: var(--safe-x); top: 300px; bottom: 120px; display: grid; grid-template-columns: 1fr 1fr 620px; gap: 28px; }
.panel { border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-line); padding: 34px 36px; display: flex; flex-direction: column; }
.panel__t { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); margin-bottom: 22px; }
.tl { display: flex; flex-direction: column; gap: 0; }
.tl .ev { display: grid; grid-template-columns: 22px 1fr; gap: 22px; padding: 16px 0; }
.tl .ev + .ev { border-top: 1px solid var(--glass-line); }
.tl .ev i { width: 14px; height: 14px; border-radius: 50%; margin-top: 10px; background: var(--t4); }
.tl .ev.ok i { background: #6ad7a2; }
.tl .ev.todo i { background: var(--accent); }
.tl .when { font-size: 20px; color: var(--t3); letter-spacing: .04em; }
.tl .what { font-size: 25px; margin-top: 4px; line-height: 1.25; }
.bill .row { display: flex; justify-content: space-between; font-size: 24px; padding: 12px 0; color: var(--t2); }
.bill .row + .row { border-top: 1px solid var(--glass-line); }
.bill .row.total { font-size: 34px; color: var(--t1); font-weight: 500; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(246,243,236,.25); }
.actions { display: flex; flex-direction: column; gap: 14px; }
.actions .btn { justify-content: flex-start; height: 76px; font-size: 25px; }
.bignum { font-size: 64px; font-weight: 250; letter-spacing: -.02em; line-height: 1; }
.bignum small { font-size: 22px; color: var(--t3); margin-left: 12px; letter-spacing: 0; }
.stay__hero { position: absolute; left: var(--safe-x); top: 170px; display: flex; gap: 70px; align-items: flex-end; }
.stay__hero .k { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); margin-bottom: 10px; }

/* applications */
.apps__note { position: absolute; left: var(--safe-x); top: 262px; font-size: 24px; color: var(--t2); max-width: 980px; }
.app { height: 190px; border-radius: 28px; background: var(--glass); border: 1px solid var(--glass-line); display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px 24px; transition: all var(--dur) var(--ease); }
.app.is-focus { transform: scale(1.05); background: var(--glass-2); box-shadow: var(--focus); }
.app__note { font-size: 20px; color: var(--t3); }
.app .brandmark { font-size: 34px; }
.app .brandmark--netflix { font-size: 30px; }

/* diffuser */
.cast__body { position: absolute; left: var(--safe-x); top: 300px; width: 980px; }
.steps { margin-top: 44px; display: flex; flex-direction: column; gap: 22px; counter-reset: s; }
.steps li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: center; font-size: 29px; color: var(--t2); counter-increment: s; }
.steps li span { line-height: 1.35; }
.steps li::before { content: counter(s); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--t3); display: grid; place-items: center; font-size: 24px; color: var(--t1); }
.cast__code { position: absolute; right: var(--safe-x); top: 300px; width: 560px; height: 560px; border-radius: 32px; background: var(--white); color: var(--ink); padding: 44px; display: flex; flex-direction: column; justify-content: space-between; }
.cast__code .k { font-size: 19px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,11,13,.5); }
.cast__code .code { font-size: 82px; font-weight: 300; letter-spacing: .06em; line-height: 1; margin-top: 10px; }
.qr { width: 236px; height: 236px; margin: 0 auto; display: grid; grid-template-columns: repeat(21, 1fr); gap: 0; }
.qr i { display: block; background: transparent; }
.qr i.on { background: var(--ink); }
.cast__private { position: absolute; left: var(--safe-x); bottom: var(--safe-y); font-size: 22px; color: var(--t3); max-width: 900px; }

/* conciergerie */
.cc { height: 164px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-line); padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; transition: all var(--dur) var(--ease); }
.cc svg { width: 44px; height: 44px; color: var(--t1); }
.cc.is-focus { transform: scale(1.05); background: var(--glass-2); box-shadow: var(--focus); }
.cc.is-done { background: rgba(80,200,140,.2); }
.cc__l { font-size: 26px; font-weight: 500; }
.cc__s { font-size: 19px; color: var(--t3); margin-top: 3px; }
.cc.is-done .cc__s { color: #b9f0d2; }
.reqs { position: absolute; left: var(--safe-x); right: var(--safe-x); bottom: 110px; display: flex; gap: 40px; align-items: center; font-size: 22px; color: var(--t2); }
.reqs .k { letter-spacing: .2em; text-transform: uppercase; color: var(--t3); font-size: 19px; }
.reqs .r { display: inline-flex; align-items: center; gap: 12px; }
.reqs .r::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #6ad7a2; }
.reqs .r span { color: var(--t3); }

/* ---------- veille (ambient) ---------- */
.ambient__clock { position: absolute; left: var(--safe-x); bottom: 150px; }
.ambient__time { font-size: 220px; font-weight: 200; letter-spacing: -.04em; line-height: .85; }
.ambient__date { font-size: 34px; color: var(--t2); margin-top: 24px; text-transform: lowercase; }
.ambient__wx { position: absolute; right: var(--safe-x); bottom: 150px; text-align: right; display: flex; align-items: center; gap: 24px; }
.ambient__wx svg { width: 72px; height: 72px; }
.ambient__wx b { font-size: 84px; font-weight: 200; letter-spacing: -.03em; line-height: 1; }
.ambient__wx span { display: block; font-size: 26px; color: var(--t2); margin-top: 10px; text-align: left; }
.ambient__logo { display: block; max-height: 90px; max-width: 420px; object-fit: contain; object-position: left center; }
.ambient__brand { position: absolute; left: var(--safe-x); top: var(--safe-y); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 34px; color: var(--t2); }
.ambient__msg { position: absolute; right: var(--safe-x); top: var(--safe-y); font-size: 24px; color: var(--t2); max-width: 700px; text-align: right; }
.ambient__hint { position: absolute; left: 50%; bottom: var(--safe-y); transform: translateX(-50%); font-size: 19px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); }

/* ---------- allumage ---------- */
.boot { position: absolute; inset: 0; background: #050506; display: grid; place-items: center; }
.boot__brand { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 64px; letter-spacing: .01em; opacity: 0; animation: bootin 900ms ease 150ms forwards; text-align: center; }
.boot__brand small { display: block; font-family: var(--font-ui); font-size: 20px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); margin-top: 18px; }
.boot__line { position: absolute; left: 50%; bottom: 200px; width: 240px; height: 2px; margin-left: -120px; background: rgba(246,243,236,.12); overflow: hidden; border-radius: 2px; }
.boot__line i { display: block; height: 100%; width: 0; background: var(--white); animation: bootbar 1300ms var(--ease) 200ms forwards; }
.boot__meta { position: absolute; left: 50%; bottom: 160px; transform: translateX(-50%); font-size: 19px; letter-spacing: .2em; text-transform: uppercase; color: var(--t4); }
@keyframes bootin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bootbar { to { width: 100%; } }

/* ---------- notification ---------- */
.toast { position: absolute; right: var(--safe-x); top: 186px; display: flex; align-items: center; gap: 18px; padding: 18px 28px 18px 20px; border-radius: 100px; background: rgba(246,243,236,.94); color: var(--ink); font-size: 24px; font-weight: 500; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: translateY(-24px); opacity: 0; transition: all 420ms var(--ease); pointer-events: none; z-index: 20; }
.toast.is-on { transform: none; opacity: 1; }
.toast i { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.toast i svg { width: 24px; height: 24px; color: var(--accent-ink); }
.toast i.toast__img { width: 76px; height: 76px; border-radius: 22px; background: center / cover no-repeat; }
/* bandeau avec photo : une carte, la photo en tête, comme par-dessus Netflix */
.toast.has-img { flex-direction: column; align-items: stretch; gap: 0; width: 560px; padding: 0; border-radius: 32px; overflow: hidden; }
.toast.has-img i.toast__img { width: 100%; height: 240px; border-radius: 0; }
.toast.has-img > div { padding: 22px 28px 26px; }
.toast small { display: block; font-size: 19px; font-weight: 400; color: rgba(11,11,13,.55); margin-top: 2px; }

/* ---------- message plein écran : une carte, un bouton ---------- */
.msgcard { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,8,10,.62); backdrop-filter: blur(18px); z-index: 30; }
.msgcard[hidden] { display: none; }
.msgcard__box { width: 1000px; border-radius: 36px; background: rgba(246,243,236,.96); background: color-mix(in srgb, var(--white) 96%, transparent); color: var(--ink); padding: 56px 64px 52px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); animation: cardin 360ms var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.msgcard__img { display: block; width: calc(100% + 128px); height: 380px; margin: -56px -64px 40px; object-fit: cover; border-radius: 36px 36px 0 0; }
.msgcard__k { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,11,13,.5); margin-bottom: 22px; }
.msgcard__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 60px; line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.msgcard__b { margin-top: 22px; font-size: 30px; line-height: 1.45; color: rgba(11,11,13,.72); text-wrap: pretty; }
.msgcard__ok { margin-top: 36px; }
.msgcard .btn.is-focus { background: var(--ink); color: var(--white); box-shadow: 0 0 0 4px var(--ink), 0 24px 60px -12px rgba(0,0,0,.4); }
.ambient__msg b { display: block; font-size: 30px; color: var(--t1); font-weight: 500; margin-bottom: 6px; }

/* mode écran de démonstration : légende de la touche */
.keyhint { position: absolute; right: var(--safe-x); bottom: var(--safe-y); font-size: 19px; color: var(--t3); }
.keyhint b { color: var(--t2); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .wall.is-on, .spot__slide.is-on .spot__photo { animation: none; }
  * { transition-duration: 0ms !important; }
}
/* mode figé (captures, contrôles) : aucune animation, aucune transition */
html.is-static .stage *, html.is-static .stage *::before, html.is-static .stage *::after { animation: none !important; transition: none !important; }

/* =========================================================
   GABARIT 2 · LA GALERIE : bloc de marque, bienvenue centrée, menu en lettres
   ========================================================= */
.scrim--gallery { background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.15) 30%, rgba(8,8,10,.15) 60%, rgba(8,8,10,.8) 100%); }
.g-logo { position: absolute; left: 160px; top: 0; width: 300px; height: 300px; background: rgba(8,8,10,.6); backdrop-filter: blur(18px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; }
.g-logo__img { max-width: 220px; max-height: 200px; object-fit: contain; }
.g-logo__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 44px; line-height: 1.05; letter-spacing: .02em; text-wrap: balance; }
.g-logo__sub { font-size: 19px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.g-top { position: absolute; right: var(--safe-x); top: 70px; display: flex; align-items: center; gap: 44px; }
.g-wx { display: inline-flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 300; }
.g-wx svg { width: 44px; height: 44px; color: var(--t2); }
.g-wx small { font-size: 20px; color: var(--t3); }
.g-lang { font-size: 20px; letter-spacing: .14em; color: var(--t2); border: 1px solid var(--glass-line); border-radius: 6px; padding: 4px 10px; }
.g-clock { font-size: 34px; font-weight: 300; }
.g-center { position: absolute; left: 0; right: 0; top: 96px; text-align: center; }
.g-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 66px; letter-spacing: -.005em; }
.g-rule { display: block; width: 150px; height: 2px; background: var(--accent); margin: 18px auto 16px; }
.g-room { font-family: var(--font-display); font-style: italic; font-weight: var(--display-weight); font-size: 30px; color: var(--t2); }
.g-menu { position: absolute; left: var(--safe-x); right: var(--safe-x); bottom: 110px; display: flex; justify-content: center; gap: 8px; }
.g-item { --fscale: 1; height: 68px; padding: 0 22px; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); border: 1px solid transparent; border-radius: 4px; transition: all var(--dur) var(--ease); white-space: nowrap; }
.g-item.is-focus { color: var(--t1); border-color: var(--accent); background: rgba(8,8,10,.35); }

/* =========================================================
   GABARIT 3 · LES TUILES : logo, bienvenue, quatre tuiles, bannière, météo
   ========================================================= */
/* les tuiles posées sur le fond d'écran de l'hôtel : un voile sombre pour la lisibilité, pas de couleur */
.scrim--tiles { background: linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.25) 35%, rgba(8,8,10,.35) 60%, rgba(8,8,10,.8) 100%); }
.stage[data-template="tiles"] .wall { filter: brightness(.8) saturate(.92); }
.t-top { position: absolute; left: var(--safe-x); right: var(--safe-x); top: var(--safe-y); display: flex; justify-content: space-between; align-items: center; }
.t-logo { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 44px; }
.t-logo__img { height: 110px; width: auto; max-width: 420px; object-fit: contain; }
.t-logo__stars { font-size: 20px; letter-spacing: .3em; color: var(--accent); }
.t-clock { text-align: right; font-size: 40px; font-weight: 300; }
.t-clock small { display: block; font-size: 20px; color: var(--t3); text-transform: lowercase; }
.t-title { position: absolute; left: var(--safe-x); top: 290px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 76px; letter-spacing: -.015em; }
.t-tiles { position: absolute; left: var(--safe-x); right: var(--safe-x); top: 430px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.t-tile { width: auto; min-width: 0; }
.t-tile__box { --fscale: 1.06; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 176px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.t-tile__box > svg { width: 50px; height: 50px; }
.t-tile__label { font-size: 21px; font-weight: 500; text-align: center; padding: 0 8px; }
.t-tile.is-focus .t-tile__box { transform: scale(1.06); background: rgba(255,255,255,.2); box-shadow: var(--focus); }
.t-bottom { position: absolute; left: var(--safe-x); right: var(--safe-x); bottom: 110px; display: flex; gap: 24px; align-items: stretch; }
.t-banner { --fscale: 1.02; position: relative; width: 1032px; height: 240px; border-radius: 10px; overflow: hidden; display: block; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.t-banner__photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.t-banner__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.1), rgba(8,8,10,.7)); }
.t-banner__text { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); text-align: right; max-width: 560px; }
.t-banner__text small { display: block; font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.t-banner__text b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 44px; line-height: 1.1; text-wrap: balance; }
.t-banner.is-focus { transform: scale(1.02); box-shadow: var(--focus); }
.t-wx { flex: 1; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(16px); padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.t-wx__now { display: flex; align-items: center; gap: 18px; }
.t-wx__now > svg { width: 84px; height: 84px; color: #ffd86b; }
.t-wx__now b { display: block; font-size: 72px; font-weight: 250; line-height: 1; letter-spacing: -.02em; }
.t-wx__now span { font-size: 24px; color: var(--t2); }
.t-wx__days { display: flex; flex-direction: column; gap: 10px; }
.t-wx__days > div { display: grid; grid-template-columns: 30px 56px 46px 40px; align-items: center; gap: 10px; font-size: 22px; }
.t-wx__days svg { width: 28px; height: 28px; color: var(--t2); }
.t-wx__days span { color: var(--t2); }
.t-wx__days b { font-weight: 500; text-align: right; }
.t-wx__days small { font-size: 20px; color: var(--t3); text-align: right; }

/* =========================================================
   MOUVEMENT · trois réglages : sobre (défaut historique), liquid glass, aucun
   ========================================================= */
/* échelles de focus, lues par la lentille */
.tile__box { --fscale: 1.16; --fy: -10px; }
.card { --fscale: 1.04; }
.chip { --fscale: 1.05; }
.btn { --fscale: 1.04; }
.app, .cc { --fscale: 1.05; }
.spotline { --fscale: 1.02; }
.rail .cat { --fscale: 1; --fx: 6px; }

.lens { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; z-index: 15; transform-origin: 50% 50%; }
.stage:has(.overlay:not([hidden])) .lens { display: none; }
.stage[data-overlay="1"] .lens { display: none; }
.stage:not([data-motion="liquid"]) .lens { display: none; }

/* liquid glass : la lentille porte le focus, les surfaces deviennent du verre, le mouvement a du ressort */
.stage[data-motion="liquid"] { --focus: 0 30px 60px -18px rgba(0,0,0,.65); --dur: 420ms; --ease: cubic-bezier(.3, 1.25, .5, 1); }
.stage[data-motion="liquid"] .lens.is-on { opacity: 1; }
.stage[data-motion="liquid"] .lens {
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), height var(--dur) var(--ease), border-radius var(--dur) var(--ease), opacity 200ms ease;
  background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.04) 38%, rgba(255,255,255,0) 55%, rgba(255,255,255,.1) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.2), inset 1px 0 0 rgba(255,255,255,.35), 0 0 0 2.5px rgba(255,255,255,.92), 0 24px 60px -16px rgba(0,0,0,.7);
}
.stage[data-motion="liquid"] .lens::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 46% at 25% 10%, rgba(255,255,255,.3), rgba(255,255,255,0) 70%); animation: sheen 2.8s ease-in-out infinite alternate; }
@keyframes sheen { from { opacity: .6; transform: translateX(-4%); } to { opacity: 1; transform: translateX(6%); } }
.lens.is-jump { transition: none !important; }

.stage[data-motion="liquid"] .tile__box, .stage[data-motion="liquid"] .t-tile__box, .stage[data-motion="liquid"] .card, .stage[data-motion="liquid"] .app, .stage[data-motion="liquid"] .cc, .stage[data-motion="liquid"] .panel, .stage[data-motion="liquid"] .cart, .stage[data-motion="liquid"] .spotline, .stage[data-motion="liquid"] .chip, .stage[data-motion="liquid"] .t-wx {
  background: linear-gradient(135deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.06) 45%, rgba(255,255,255,.1) 100%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(0,0,0,.18), 0 12px 32px -14px rgba(0,0,0,.55);
  backdrop-filter: blur(28px) saturate(1.6);
}
.stage[data-motion="liquid"] .tile.is-focus .tile__box, .stage[data-motion="liquid"] .t-tile.is-focus .t-tile__box { background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.1) 50%, rgba(255,255,255,.18)); }
.stage[data-motion="liquid"] .spotline.is-focus, .stage[data-motion="liquid"] .chip.is-focus, .stage[data-motion="liquid"] .btn.is-focus, .stage[data-motion="liquid"] .rail .cat.is-focus { background: var(--white); color: var(--ink); }
.stage[data-motion="liquid"] .g-item.is-focus { border-color: transparent; background: rgba(255,255,255,.1); }
/* la tuile penche dans le sens d'où l'on vient, puis se redresse */
.stage[data-motion="liquid"] .is-from-right .tile__box, .stage[data-motion="liquid"] .is-from-right .t-tile__box { animation: tiltR 520ms var(--ease) both; }
.stage[data-motion="liquid"] .is-from-left .tile__box, .stage[data-motion="liquid"] .is-from-left .t-tile__box { animation: tiltL 520ms var(--ease) both; }
@keyframes tiltR { 0% { transform: perspective(900px) rotateY(-10deg) scale(1.1) translateY(-10px); } 100% { transform: perspective(900px) rotateY(0) scale(1.16) translateY(-10px); } }
@keyframes tiltL { 0% { transform: perspective(900px) rotateY(10deg) scale(1.1) translateY(-10px); } 100% { transform: perspective(900px) rotateY(0) scale(1.16) translateY(-10px); } }
.stage[data-motion="liquid"] .is-from-right .t-tile__box { animation-name: tiltRt; } .stage[data-motion="liquid"] .is-from-left .t-tile__box { animation-name: tiltLt; }
@keyframes tiltRt { 0% { transform: perspective(900px) rotateY(-8deg) scale(1.03); } 100% { transform: perspective(900px) rotateY(0) scale(1.06); } }
@keyframes tiltLt { 0% { transform: perspective(900px) rotateY(8deg) scale(1.03); } 100% { transform: perspective(900px) rotateY(0) scale(1.06); } }
/* le fond glisse légèrement avec le dock (parallaxe), l'écran arrive en zoom et se nettoie */
.stage[data-motion="liquid"] .walls { transform: translateX(var(--px, 0px)) scale(1.03); transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.stage[data-motion="liquid"] .screen.is-on { animation: screenin 480ms cubic-bezier(.2,.9,.3,1) both; }
@keyframes screenin { from { opacity: 0; transform: scale(1.035); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
.stage[data-motion="liquid"] .tile.is-focus .tile__label { transition-timing-function: var(--ease); }
.stage[data-motion="liquid"] .toast { transition-timing-function: cubic-bezier(.3,1.3,.5,1); }
.stage[data-motion="liquid"] .msgcard__box { animation-timing-function: cubic-bezier(.3,1.2,.5,1); }

/* boîtier Android : mêmes formes et même mouvement, sans ce qui force la puce graphique à tout recalculer
   à chaque image : flou d'arrière-plan sur chaque tuile, flou animé à l'arrivée d'un écran, parallaxe du fond */
.stage[data-box="1"] *, .stage[data-box="1"] *::before, .stage[data-box="1"] *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.stage[data-box="1"][data-motion="liquid"] :is(.tile__box, .t-tile__box, .card, .app, .cc, .panel, .cart, .spotline, .chip, .t-wx) { background: linear-gradient(135deg, rgba(58,58,66,.62) 0%, rgba(30,30,36,.56) 45%, rgba(44,44,52,.6) 100%); }
.stage[data-box="1"][data-motion="liquid"] .tile.is-focus .tile__box, .stage[data-box="1"][data-motion="liquid"] .t-tile.is-focus .t-tile__box { background: linear-gradient(135deg, rgba(110,110,120,.7), rgba(60,60,68,.62) 50%, rgba(84,84,94,.66)); }
.stage[data-box="1"] .walls { transform: scale(1.03) !important; transition: none !important; }
.stage[data-box="1"] .wall { transition: opacity 1800ms ease; }
.stage[data-box="1"][data-motion="liquid"] .screen.is-on { animation-name: screeninbox; }
@keyframes screeninbox { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
/* le dock sur le boîtier : la tuile grandit et la lentille glisse, rien d'autre ne se redessine pendant le geste
   (ombres et fonds fixes, pas d'inclinaison 3D, pas de reflet animé, pas de filtre sur le fond qui zoome) */
.stage[data-box="1"][data-motion="liquid"] { --dur: 300ms; --ease: cubic-bezier(.25, 1.15, .5, 1); }
.stage[data-box="1"] .tile__box, .stage[data-box="1"] .t-tile__box { transition: transform var(--dur) var(--ease) !important; box-shadow: none !important; will-change: transform; }
.stage[data-box="1"] .tile__label { transition: color 120ms linear; }
.stage[data-box="1"] .tile.is-focus .tile__label { transform: none; }
.stage[data-box="1"] .tile__box, .stage[data-box="1"] .t-tile__box { animation: none !important; }
.stage[data-box="1"] .lens::after { animation: none; }
.stage[data-box="1"][data-motion="liquid"] .lens { box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 2.5px rgba(255,255,255,.92); will-change: transform; }
.stage[data-box="1"] .wall { filter: none; }
.stage[data-box="1"] .walls::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,10,.14); pointer-events: none; }

/* liquid glass : les fenêtres (langue, messages, confirmation, carte de la réception) sont du même verre que le reste
   de l'écran, et leur focus a l'allure de la lentille ; les boutons du haut (cloche, langue) aussi */
.stage[data-motion="liquid"] :is(.overlay__box, .msgcard__box) { background: linear-gradient(135deg, rgba(62,62,70,.8) 0%, rgba(26,26,32,.86) 55%, rgba(42,42,50,.82) 100%); color: var(--t1); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 60px 120px -40px rgba(0,0,0,.8); }
.stage[data-motion="liquid"] :is(.overlay__k, .msgcard__k) { color: var(--t3); }
.stage[data-motion="liquid"] :is(.overlay__b, .msgcard__b) { color: var(--t2); }
.stage[data-motion="liquid"] .overlay :is(.chip, .btn, .notif), .stage[data-motion="liquid"] .msgcard .btn { background: rgba(255,255,255,.08); color: var(--t1); border: 1px solid rgba(255,255,255,.12); box-shadow: none; }
.stage[data-motion="liquid"] .overlay .chip.is-done { background: rgba(255,255,255,.08); color: var(--accent); }
.stage[data-motion="liquid"] .overlay :is(.chip, .btn, .notif).is-focus, .stage[data-motion="liquid"] .msgcard .btn.is-focus { background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(255,255,255,.1) 50%, rgba(255,255,255,.18)); color: var(--t1); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 0 0 2.5px rgba(255,255,255,.92); }
.stage[data-motion="liquid"] .notif :is(small, em), .stage[data-motion="liquid"] .notif.is-focus :is(small, em) { color: var(--t3); }
.stage[data-motion="liquid"] .toast { background: linear-gradient(135deg, rgba(62,62,70,.86), rgba(30,30,36,.9)); color: var(--t1); border: 1px solid rgba(255,255,255,.16); }
.stage[data-motion="liquid"] .toast small { color: var(--t3); }
.stage[data-motion="liquid"] .langbtn.is-focus { background: rgba(255,255,255,.14); color: var(--t1); box-shadow: none; transform: none; }

/* aucun mouvement : tout est instantané */
.stage[data-motion="none"] *, .stage[data-motion="none"] *::after, .stage[data-motion="none"] *::before { transition: none !important; animation: none !important; }
.stage[data-motion="none"] .wall.is-on { transform: none !important; }


/* ---------- bouton langue, superpositions (langue, confirmation), appairage, comptes ---------- */
.langbtn { --fscale: 1.08; height: 44px; min-width: 56px; padding: 0 14px; border-radius: 12px; font-size: 20px; letter-spacing: .14em; font-weight: 500; color: var(--t2); border: 1px solid var(--glass-line); background: rgba(246,243,236,.06); transition: all var(--dur) var(--ease); margin-left: 28px; }
.notifbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 56px; }
.notifbtn svg { width: 24px; height: 24px; }
.notifbtn__n { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--accent-ink, #0b0b0d); font: 600 14px/24px var(--font-ui); letter-spacing: 0; font-style: normal; text-align: center; }
.notifbtn__n[hidden] { display: none; }
.notifbtn + .langbtn { margin-left: 14px; }
.notifs { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.notif { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 18px; padding: 18px 24px; border-radius: 18px; background: rgba(11,11,13,.06); text-align: left; color: var(--ink); }
.notif > i { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.notif.is-new > i { background: var(--accent); }
.notif b { display: block; font-size: 25px; font-weight: 600; }
.notif small { display: block; margin-top: 4px; font-size: 19px; color: rgba(11,11,13,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 700px; }
.notif em { font-style: normal; font-size: 18px; color: rgba(11,11,13,.5); white-space: nowrap; }
.notif.is-focus { background: var(--ink); color: var(--white); }
.notif.is-focus small, .notif.is-focus em { color: rgba(246,243,236,.7); }
.langbtn.is-focus { background: var(--white); color: var(--ink); box-shadow: var(--focus); transform: scale(1.08); }
.g-lang { margin-left: 0; }
.t-top .langbtn { margin-left: 24px; }
.t-top { gap: 0; }
.t-top .t-clock { margin-left: auto; }
.overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,8,10,.6); backdrop-filter: blur(18px); z-index: 28; }
.overlay[hidden] { display: none; }
.overlay__box { width: 1000px; border-radius: 36px; background: rgba(246,243,236,.96); background: color-mix(in srgb, var(--white) 96%, transparent); color: var(--ink); padding: 52px 60px 48px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); animation: cardin 360ms var(--ease) both; }
.overlay__k { font-size: 20px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,11,13,.5); margin-bottom: 18px; }
.overlay__t { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 56px; line-height: 1.05; letter-spacing: -.015em; }
.overlay__b { margin-top: 18px; font-size: 28px; line-height: 1.45; color: rgba(11,11,13,.72); text-wrap: pretty; }
.overlay__acts { display: flex; gap: 14px; margin-top: 34px; }
.overlay .btn { background: rgba(11,11,13,.08); color: var(--ink); }
.overlay .btn.is-focus { background: var(--ink); color: var(--white); box-shadow: 0 0 0 4px var(--ink), 0 24px 60px -12px rgba(0,0,0,.4); }
.overlay .btn--accent { background: var(--accent); color: var(--accent-ink); }
.langs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.overlay .chip { background: rgba(11,11,13,.08); color: var(--ink); border-color: transparent; }
.overlay .chip.is-done { background: var(--accent); color: var(--accent-ink); }
.overlay .chip.is-focus { background: var(--ink); color: var(--white); box-shadow: 0 0 0 4px var(--ink); }
.btn--quiet { background: rgba(246,243,236,.06); color: var(--t2); }
.apps__foot { position: absolute; left: var(--safe-x); bottom: 110px; }
.app__note .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--t4); margin-right: 10px; vertical-align: 2px; }
.app__note .dot--on { background: #6ad7a2; }
.cast__ppsk { margin-top: 36px; font-size: 24px; line-height: 1.45; color: var(--t2); max-width: 900px; }
.cast__ppsk b { color: var(--t1); font-weight: 500; }
.code--key { font-size: 40px; letter-spacing: .06em; font-family: ui-monospace, Menlo, monospace; font-weight: 400; white-space: nowrap; margin-top: 14px; }
.qr--real { width: 250px; height: 250px; display: block; color: var(--ink); }
.qr--real svg { width: 100%; height: 100%; display: block; }
.pair { position: absolute; left: var(--safe-x); top: 220px; width: 1300px; }
.pair__corner { position: absolute; left: var(--safe-x); top: var(--safe-y); font-size: 19px; color: var(--t3); font-family: ui-monospace, Menlo, monospace; }
.pair__logo { display: block; max-height: 120px; max-width: 520px; object-fit: contain; object-position: left center; margin-bottom: 40px; }
.pair__k { font-size: 20px; letter-spacing: .22em; text-transform: uppercase; color: var(--t3); margin-bottom: 22px; }
.pair__body { margin-top: 26px; font-size: 30px; line-height: 1.45; color: var(--t2); max-width: 1100px; text-wrap: pretty; }
.pair__code { margin-top: 48px; font-family: ui-monospace, Menlo, monospace; font-size: 168px; letter-spacing: .12em; line-height: 1; font-weight: 300; }
.pair__wait { margin-top: 40px; font-size: 24px; color: var(--t3); display: flex; align-items: center; gap: 14px; }
.pair__wait i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-out infinite; }
/* mot de passe Wi-Fi de l'écran Diffuser : un vrai mot de passe est plus long qu'un code, il passe à la ligne */
.cast__code .code--pass { font-family: ui-monospace, Menlo, monospace; font-size: 40px; line-height: 1.15; letter-spacing: .02em; max-width: 520px; overflow-wrap: anywhere; margin: 4px 0 6px; }
