/* ---------- Héro ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #c9d4ea; padding: 120px 0 56px; background: radial-gradient(120% 90% at 85% 20%, #123b8f 0%, var(--navy-800) 45%, var(--navy-900) 100%); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; opacity: .22; mix-blend-mode: luminosity; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 70%); mask-image: linear-gradient(90deg, transparent 15%, #000 70%); }
.hero-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -120px; top: -80px; background: radial-gradient(closest-side, rgba(0, 178, 255, .35), transparent); filter: blur(20px); pointer-events: none; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; z-index: -1; pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .02em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); } }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; margin: 0 0 22px; }
.hero h1 em { background: linear-gradient(90deg, var(--orange), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; max-width: 33em; color: #c3cee6; }
.tagline { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-family: var(--head); font-weight: 700; font-style: italic; color: #fff; font-size: .95rem; }
.tagline span { width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }

.hero-txt > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-txt > :nth-child(2) { animation-delay: .08s; }
.hero-txt > :nth-child(3) { animation-delay: .16s; }
.hero-txt > :nth-child(4) { animation-delay: .24s; }
.hero-txt > :nth-child(5) { animation-delay: .32s; }
.hero-visual { animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Cadre de la scène 3D */
.stage-frame { position: relative; border-radius: 26px; padding: 10px; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stage { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; background: radial-gradient(80% 70% at 50% 40%, #1a4aa8 0%, #0b2766 55%, #071a45 100%); }
.stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 8%; height: 22%; background: radial-gradient(closest-side, rgba(0, 178, 255, .35), transparent); filter: blur(18px); pointer-events: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; z-index: 1; }
.stage canvas:active { cursor: grabbing; }
.stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .3s; }
.stage:not([data-ready]) .stage-fallback, .stage.no-3d .stage-fallback { opacity: 1; }
.stage.no-3d canvas { display: none; }
.hots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.hot { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 8px; will-change: transform; }
.hot i { flex: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 106, 0, .3); }
.hot b { color: #fff; white-space: nowrap; background: rgba(4, 18, 47, .82); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; margin-top: -6px; padding: 5px 11px; font-family: var(--head); font-size: .74rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hot[data-side="left"] b { position: absolute; margin: 0; top: -9px; right: 14px; }
.live { position: absolute; z-index: 3; top: 24px; left: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(4, 18, 47, .7); color: #fff; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #2ee86f; box-shadow: 0 0 10px #2ee86f; }
.float-card { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); pointer-events: none; }
.fc-score { right: -18px; top: 70px; border-left: 4px solid var(--orange); animation: float 5s ease-in-out infinite; }
.fc-score b { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--navy); line-height: 1; }
.fc-score b small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.fc-score span { font-size: .74rem; color: var(--muted); font-weight: 600; }
@keyframes float { 50% { transform: translateY(-8px); } }
.stage-bar { display: flex; justify-content: center; padding: 10px 2px 2px; }
.stage-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(4, 18, 47, .55); border: 1px solid rgba(255, 255, 255, .14); }
.stage-tabs button { font: inherit; font-family: var(--head); font-weight: 600; font-size: .8rem; color: #c5d0e2; background: none; border: 0; border-radius: 999px; padding: 8px 15px; cursor: pointer; transition: background-color .2s, color .2s; }
.stage-tabs button:hover { color: #fff; }
.stage-tabs button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #ff7a12, var(--orange-600)); }

/* Cartes sous le héro */
.hero-feats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hero-feats li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; border: 2px solid transparent; background: linear-gradient(160deg, rgba(20, 58, 133, .94), rgba(6, 26, 71, .96)) padding-box, linear-gradient(135deg, var(--orange), var(--yellow) 35%, var(--sky) 70%, rgba(0, 178, 255, .35)) border-box; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); transition: transform .25s, box-shadow .25s; }
.hero-feats li:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -20px rgba(255, 106, 0, .45); }
.hero-feats h3 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.hero-feats p { font-size: .85rem; color: #fff; opacity: .92; line-height: 1.5; }
.ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, rgba(0, 178, 255, .3), rgba(0, 178, 255, .08)); border: 1px solid rgba(0, 178, 255, .35); }
.ic svg { width: 22px; height: 22px; }

/* ---------- Chiffres ---------- */
.stats { background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .06); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in > div { padding: 34px 24px; display: flex; align-items: center; gap: 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stats-in > div:first-child { border-left: 0; padding-left: 0; }
.stats b { font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; background: linear-gradient(135deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-family: var(--head); color: #e3ebfb; font-size: .9rem; font-weight: 600; line-height: 1.45; letter-spacing: .005em; max-width: 14em; -webkit-font-smoothing: antialiased; }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec-soft { background: var(--soft); }
.head { max-width: 760px; margin-bottom: 34px; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin: 10px 0 12px; }
.head p:not(.kicker) { font-size: 1.05rem; }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.head-row > div { max-width: 760px; }
.head-center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }

/* Pour qui */
.who-sec { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #eaf1fc 0%, #f5f8fe 55%, #eef3fb 100%); }
.who-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(10, 42, 102, .13) 1.2px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 15% 10%, #000, transparent 70%); mask-image: radial-gradient(70% 60% at 15% 10%, #000, transparent 70%); }
.who-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.who-mark { position: absolute; right: -60px; top: 40px; width: 460px; opacity: .06; filter: grayscale(.2); transform: rotate(-8deg); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.b1 { width: 420px; height: 420px; left: -140px; bottom: -120px; background: rgba(0, 178, 255, .22); }
.b2 { width: 360px; height: 360px; right: 8%; top: 30%; background: rgba(255, 106, 0, .14); }
.who-tabs { list-style: none; margin: 0; padding: 6px; display: flex; gap: 6px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.who-tabs li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 11px; font-family: var(--head); font-weight: 700; font-size: .82rem; color: var(--navy); }
.who-tabs li:nth-child(2) { background: var(--navy); color: #fff; }
.who-tabs svg { width: 18px; height: 18px; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.who-card { position: relative; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -28px rgba(10, 42, 102, .45), 0 0 0 1px rgba(10, 42, 102, .06); transition: transform .35s, box-shadow .35s; }
.who-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--sky), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.who-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -28px rgba(10, 42, 102, .6), 0 0 0 1px rgba(10, 42, 102, .08); }
.who-card:hover::after { transform: scaleX(1); }
.who-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.who-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.who-card:hover .who-img img { transform: scale(1.06); }
.who-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 71, .05) 35%, rgba(6, 26, 71, .7)); }
.who-tag { position: absolute; z-index: 1; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-family: var(--head); font-weight: 800; font-size: .82rem; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); }
.who-tag > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; }
.who-tag svg { width: 15px; height: 15px; }
.who-num { position: absolute; z-index: 1; right: 18px; top: 12px; font-family: var(--head); font-weight: 800; font-size: 2.6rem; color: rgba(255, 255, 255, .85); text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.who-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.who-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.who-body > p { font-size: .95rem; }
.checks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px dashed #d5deee; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 106, 0, .12); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--orange); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; }
.more span { color: var(--orange); transition: transform .2s; }
.more:hover span { transform: translateX(4px); }
/* carte du milieu en bleu nuit */
.who-dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-900) 100%); margin: -14px 0 14px; }
.who-dark .who-body h3 { color: #fff; }
.who-dark .who-body > p { color: #b9c6e2; }
.who-dark .checks { border-top-color: rgba(255, 255, 255, .16); }
.who-dark .checks li { color: #fff; }
.who-dark .checks li::before { background: rgba(255, 106, 0, .25); }
.who-dark .more { color: #fff; }
.who-dark .who-tag { background: var(--orange); color: #fff; }
.who-dark .who-tag > span { background: #fff; color: var(--orange); }

/* Catalogue */
.cat-sec { position: relative; isolation: isolate; overflow: hidden; color: #c9d5ee; background: linear-gradient(120deg, #0a2a66 0%, #1046b0 28%, #0a2a66 52%, #0d5fc4 76%, #0a2a66 100%); background-size: 300% 300%; animation: techflow 18s ease-in-out infinite; }
@keyframes techflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cat-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* grille technique en perspective */
.cat-deco::before { content: ""; position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; background-image: linear-gradient(rgba(0, 178, 255, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 178, 255, .22) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(600px) rotateX(58deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 56px, 0 0; } }
/* fine trame de points en haut */
.cat-deco::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(60% 50% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 50% at 80% 0%, #000, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); }
.g1 { width: 640px; height: 640px; left: -180px; top: -200px; background: radial-gradient(closest-side, rgba(0, 178, 255, .55), transparent); animation: drift1 14s ease-in-out infinite; }
.g2 { width: 560px; height: 560px; right: -140px; bottom: -220px; background: radial-gradient(closest-side, rgba(255, 106, 0, .4), transparent); animation: drift2 16s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(180px, 90px) scale(1.15); } }
@keyframes drift2 { 50% { transform: translate(-200px, -80px) scale(1.1); } }
.cat-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat-lines path { fill: none; stroke: rgba(0, 178, 255, .35); stroke-width: 1.5; stroke-dasharray: 6 10; animation: dash 20s linear infinite; }
.cat-lines path:nth-child(3) { stroke: rgba(255, 140, 40, .4); animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -480; } }
.cat-mark { position: absolute; right: -6%; top: 50%; width: 78%; max-width: 1200px; transform: translateY(-50%) rotate(-4deg); opacity: .14; mix-blend-mode: luminosity; -webkit-mask-image: radial-gradient(60% 60% at 55% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 60% at 55% 50%, #000 30%, transparent 75%); }
.cat-sec .head h2 { color: #fff; }
.kicker-sky { color: var(--sky); }
.kicker-sky::before { background: var(--sky); }
.domains { list-style: none; margin: -8px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.domains li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #e3e9f6; font-family: var(--head); font-weight: 600; font-size: .82rem; transition: background-color .2s, border-color .2s; }
.domains li:hover { background: rgba(255, 106, 0, .14); border-color: rgba(255, 106, 0, .6); }
.domains svg { width: 17px; height: 17px; color: var(--sky); }
.tps { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.tp { position: relative; overflow: hidden; border-radius: 20px; text-decoration: none; color: #fff; isolation: isolate; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); transition: transform .35s, border-color .35s, box-shadow .35s; }
.tp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.tp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 18, 47, .05) 25%, rgba(4, 18, 47, .92)); transition: opacity .3s; }
.tp:hover { transform: translateY(-6px); border-color: rgba(255, 106, 0, .7); box-shadow: 0 30px 60px -24px rgba(255, 106, 0, .35); }
.tp:hover img { transform: scale(1.08); }
.tp-big { grid-column: span 2; grid-row: span 2; }
.tp-num { position: absolute; top: 14px; right: 16px; font-family: var(--head); font-weight: 800; font-size: .8rem; letter-spacing: .08em; color: #fff; padding: 5px 9px; border-radius: 8px; background: rgba(4, 18, 47, .55); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.tp-big .tp-body { padding: 32px; }
.tp h3 { color: #fff; font-size: 1.08rem; margin-top: 10px; }
.tp-big h3 { font-size: 1.9rem; }
.tp-big p { color: #d3dcf0; margin-top: 10px; max-width: 30em; }
.tp-more { display: block; max-height: 0; opacity: 0; overflow: hidden; font-family: var(--head); font-weight: 700; font-size: .8rem; color: var(--yellow); transition: max-height .35s, opacity .35s, margin .35s; }
.tp:hover .tp-more, .tp:focus-visible .tp-more { max-height: 30px; opacity: 1; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 7px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; background: var(--orange); color: #fff; }
.chip svg { width: 14px; height: 14px; }
.go { display: inline-flex; gap: 6px; margin-top: 18px; font-family: var(--head); font-weight: 700; font-size: .9rem; color: #fff; padding: 11px 18px; border-radius: 10px; background: linear-gradient(135deg, #ff7a12, var(--orange-600)); box-shadow: 0 12px 26px -10px rgba(255, 106, 0, .75); }
.cat-foot { margin-top: 34px; padding: 20px 24px; border-radius: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.cat-foot p { display: flex; align-items: center; gap: 12px; color: #d3dcf0; }
.cat-foot p b { color: #fff; }
.cat-foot p > span { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(0, 178, 255, .16); color: var(--sky); }
.cat-foot svg { width: 20px; height: 20px; }
.more-light { margin: 0; padding: 0; color: #fff; }
/* Deux modes + aperçu espace */
.modes-sec { position: relative; overflow: hidden; background: radial-gradient(rgba(10, 42, 102, .07) 1px, transparent 1.5px) 0 0 / 22px 22px, linear-gradient(180deg, #fff, #f2f6fd 60%, #fff); }
.modes-deco .glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.modes-deco .g1 { width: 420px; height: 420px; right: 4%; top: 12%; background: rgba(0, 178, 255, .18); }
.modes-deco .g2 { width: 320px; height: 320px; right: 30%; bottom: -80px; background: rgba(255, 106, 0, .12); }
.modes { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.modes-txt h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin: 10px 0 14px; }
.modes-lead { max-width: 560px; color: #4a5672; margin: 0 0 26px; }
.mode-track { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; position: relative; }
.mode-track::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 36px; border-left: 2px dashed #c4d2ec; }
.mode { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.mode-n { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 22px; border-radius: 50%; font-family: var(--head); font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--sky), #1f6fff); box-shadow: 0 0 0 5px #fff, 0 8px 16px -6px rgba(31, 111, 255, .6); }
.mode-exam .mode-n { background: linear-gradient(135deg, #ff8a2a, var(--orange-600)); box-shadow: 0 0 0 5px #fff, 0 8px 16px -6px rgba(255, 106, 0, .6); }
.mode-card { position: relative; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid #dfe7f5; box-shadow: 0 16px 34px -26px rgba(10, 42, 102, .5); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.mode-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--sky), #1f6fff); }
.mode-card:hover { transform: translateX(4px); box-shadow: 0 22px 40px -24px rgba(10, 42, 102, .55); }
.mode-exam .mode-card { color: #c4d3f2; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 106, 0, .22), transparent 55%), linear-gradient(160deg, #143a85, #061a47); border-color: transparent; box-shadow: 0 22px 44px -24px rgba(6, 26, 71, .8); }
.mode-exam .mode-card::before { background: linear-gradient(180deg, var(--yellow), var(--orange)); }
.mode-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mode-head h3 { font-size: 1.15rem; margin: 0; flex: 1; }
.mode-exam h3 { color: #fff; }
.mode-pill { font-family: var(--head); font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: #0a6ea8; background: rgba(0, 178, 255, .12); }
.mode-exam .mode-pill { color: var(--navy); background: var(--yellow); }
.mode-card p { font-size: .93rem; margin: 0; color: #4a5672; }
.mode-exam .mode-card p { color: #c4d3f2; }
.mode-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--sky), #1f6fff); }
.mode-ic.orange { background: linear-gradient(135deg, #ff8a2a, var(--orange-600)); }
.mode-ic svg { width: 21px; height: 21px; }
.mode-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mode-tags li { font-family: var(--head); font-weight: 700; font-size: .72rem; padding: 5px 10px; border-radius: 8px; color: var(--navy); background: #eef3fb; }
.mode-exam .mode-tags li { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }

.app-wrap { position: relative; padding: 70px 26px 56px; }
.app { position: relative; border-radius: 26px; background: #fff; box-shadow: 0 50px 90px -40px rgba(10, 42, 102, .55), 0 0 0 1px var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .6s; }
.app-wrap:hover .app { transform: perspective(1400px) rotateY(0) rotateX(0); }
.app::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 178, 255, .16), transparent); }
.app-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff; }
.app-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 800; font-size: 1.05rem; }
.app-brand img { width: 27px; }
.app-user { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: #b8c6e3; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.app-av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .62rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff8a2a, var(--orange-600)); }
.app-body { position: relative; padding: 22px 22px 10px; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-title { font-family: var(--head); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin: 0; }
.app-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #eef3fb; font-family: var(--head); font-size: .72rem; font-weight: 700; color: var(--muted); }
.app-seg > * { padding: 5px 10px; border-radius: 8px; }
.app-seg b { background: #fff; color: var(--navy); box-shadow: 0 2px 6px -2px rgba(10, 42, 102, .3); }
.app-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; margin-bottom: 10px; box-shadow: 0 6px 16px -12px rgba(10, 42, 102, .4); transition: transform .3s; }
.app-row:hover { transform: translateX(6px); }
.app-row img { width: 64px; height: 50px; object-fit: cover; border-radius: 10px; }
.app-row b { display: block; font-family: var(--head); font-size: .9rem; color: var(--ink); }
.app-row small { font-size: .76rem; color: var(--muted); }
.app-row small strong { color: var(--navy); }
.tag-free, .tag-exam, .tag-due { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 6px; font-family: var(--head); font-weight: 700; font-size: .66rem; }
.tag-free { color: #0a6ea8; background: rgba(0, 178, 255, .12); }
.tag-exam { color: #15803d; background: rgba(34, 197, 94, .14); }
.tag-due { color: var(--orange-600); background: rgba(255, 106, 0, .12); }
.bar { display: block; height: 6px; border-radius: 6px; background: #e8eef8; margin: 8px 0 5px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--sky), #1f6fff); }
.bar i.ok { background: linear-gradient(90deg, #22c55e, #16a34a); }
.w40 { width: 40%; } .w72 { width: 72%; } .w100 { width: 100%; }
.play { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); position: relative; box-shadow: 0 6px 14px -6px rgba(10, 42, 102, .8); }
.play::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.badge-ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: #22c55e; }
.app-note { position: relative; padding: 0 22px 16px; font-size: .72rem; color: var(--muted); text-align: left; }
.app-float { position: absolute; z-index: 2; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(10, 42, 102, .55), 0 0 0 1px rgba(10, 42, 102, .06); animation: float-y 6s ease-in-out infinite; }
.af-tip { left: -30px; top: 0; display: flex; gap: 10px; align-items: flex-start; max-width: 260px; padding: 12px 14px; }
.af-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-family: var(--head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--sky), #1f6fff); }
.af-tip b { display: block; font-family: var(--head); font-size: .8rem; color: var(--navy); }
.af-tip span { font-size: .74rem; line-height: 1.35; color: #4a5672; }
.af-score { right: -10px; bottom: 0; width: 220px; padding: 14px 16px; color: #fff; background: linear-gradient(160deg, #143a85, #061a47); animation-delay: -3s; }
.af-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.af-top b { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.af-top small { font-size: .8rem; color: #b8c6e3; }
.af-top span { font-size: .72rem; color: #b8c6e3; }
.af-score ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.af-score li { display: grid; gap: 4px; font-size: .68rem; color: #dbe6ff; }
.af-score li i { display: block; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.af-score .s90 { width: 90%; } .af-score .s80 { width: 80%; } .af-score .s70 { width: 70%; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Démo interactive */
.demo { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0; color: #c3cee6; background: linear-gradient(135deg, var(--navy-900), var(--navy) 70%, #0f3a8a); }
.demo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .1; mix-blend-mode: luminosity; }
.demo-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.demo h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 20px 0 16px; }
.demo-picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chipbtn { font: inherit; font-family: var(--head); font-weight: 600; font-size: .85rem; color: #fff; padding: 10px 16px; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); transition: background-color .2s, border-color .2s; }
.chipbtn:hover { background: rgba(255, 255, 255, .16); border-color: var(--orange); }
.demo-answer { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: .93rem; color: #fff; background: rgba(255, 255, 255, .08); border-left: 4px solid var(--sky); }
.demo-answer[data-kind="ok"] { border-left-color: #22c55e; background: rgba(34, 197, 94, .14); }
.demo-answer[data-kind="near"] { border-left-color: var(--yellow); background: rgba(255, 193, 7, .12); }
.demo-answer[data-kind="no"] { border-left-color: #ef4444; background: rgba(239, 68, 68, .12); }
.stage-demo { min-height: 460px; }
.demo .stage canvas { cursor: pointer; }

/* Fonctionnement */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, #c9d5ea 0 8px, transparent 8px 16px); z-index: -1; }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps .ic { width: 92px; height: 92px; border-radius: 26px; margin: 0 auto 22px; color: var(--navy); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, background-color .3s, color .3s; }
.steps li:hover .ic { transform: translateY(-6px); background: var(--navy); color: #fff; }
.steps .ic svg { width: 36px; height: 36px; }
.steps .n { position: absolute; top: -8px; left: calc(50% + 30px); z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 800; font-size: .85rem; box-shadow: 0 6px 14px -4px rgba(255, 106, 0, .7); }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps p { font-size: .93rem; }

/* Appel final */
.cta { padding: 0 0 64px; }
.cta-box { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 70px 60px; min-height: 360px; display: flex; align-items: center; background: radial-gradient(90% 120% at 100% 0%, #1a4fb8 0%, var(--navy) 45%, var(--navy-900) 100%); box-shadow: var(--shadow-lg); }
.cta-wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; z-index: -1; }
.cta-img { position: absolute; z-index: -1; right: 0; top: 0; width: 42%; height: 100%; object-fit: cover; object-position: center 20%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); opacity: .85; }
.cta-txt { max-width: 560px; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
.cta p { color: #c3cee6; font-size: 1.08rem; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tps { grid-template-columns: repeat(2, 1fr); }
  .tp-big { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 980px) {

  .hero { padding-top: 110px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-txt { text-align: left; }
  .stage { min-height: 380px; }
  .fc-score { right: 10px; top: auto; bottom: 70px; }
  .hero-feats { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in > div { padding: 26px 20px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .stats-in > div:nth-child(-n+2) { border-top: 0; }
  .stats-in > div:first-child { padding-left: 20px; }
  .stats-in > div:nth-child(odd) { padding-left: 0; }
  .who { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .who-dark { margin: 0; }
  .who-tabs { display: none; }
  .who-mark { width: 300px; }
  .cat-mark { width: 150%; right: -40%; }
  .modes, .demo-in { grid-template-columns: 1fr; gap: 50px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 50px 36px 160px; }
  .cta-img { width: 100%; height: 55%; top: auto; bottom: 0; opacity: .35; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .sec, .demo { padding: 48px 0; }
  .hero { padding: 100px 0 50px; }
  .hero h1 { font-size: 2.45rem; }
  .lead { font-size: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .stage { min-height: 320px; }
  .stage-demo { min-height: 340px; }
  .stage-tabs button { padding: 7px 10px; font-size: .74rem; }
  .fc-score { display: none; }
  .live { top: 18px; left: 18px; }
  .hero-feats { grid-template-columns: 1fr; margin-top: 44px; }
  .stats b { font-size: 2rem; }
  .stats-in > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tps { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 12px; }
  .tp-big { grid-column: span 2; grid-row: span 2; }
  .tp-big h3 { font-size: 1.35rem; }
  .tp-big p { font-size: .9rem; }
  .tp-num { top: 10px; right: 10px; font-size: .7rem; }
  .chip { font-size: .62rem; }
  .domains { margin-top: -10px; }
  .domains li { padding: 7px 11px; font-size: .76rem; }
  .cat-foot { padding: 18px; }
  .tp-body { padding: 14px; }
  .tp h3 { font-size: .9rem; }
  .steps { grid-template-columns: 1fr; }
  .app-row { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 12px; }
  .app-wrap { padding: 0; }
  .app-float { display: none; }
  .app { transform: none; }
  .mode-card { padding: 18px 16px; }
  .mode-head { flex-wrap: wrap; }
  .app-row img { width: 52px; height: 42px; }
  .cta { padding-bottom: 48px; }
  .cta-box { padding: 40px 22px 140px; border-radius: 22px; }
  .compare { left: 16px; right: 16px; text-align: center; }
}

/* ---------- Découvrir puis pratiquer (visites + TP) ---------- */
.paths-sec { position: relative; background: linear-gradient(180deg, #f4f7fd, #fff); }
.paths-sec .head { max-width: 1100px; }
@media (min-width: 1180px) { .paths-sec .head h2 { white-space: nowrap; } }
.paths-sec .head p { max-width: 720px; margin-inline: auto; }
.paths { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 40px; }
.path { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, var(--sky), rgba(0, 178, 255, .15) 50%, var(--orange)) border-box; box-shadow: 0 30px 60px -36px rgba(10, 42, 102, .55); transition: transform .35s, box-shadow .35s; }
.path:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(10, 42, 102, .6); }
.path-dark { background: linear-gradient(165deg, #123a8a, #061a47) padding-box, linear-gradient(140deg, var(--orange), var(--yellow) 40%, var(--sky)) border-box; }
.path-img { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.path:hover .path-img img { transform: scale(1.05); }
.path-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 71, 0) 45%, rgba(6, 26, 71, .7)); }
.path-step { position: absolute; z-index: 1; left: 22px; bottom: 18px; display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: -.01em; }
.path-step b { font-size: .8rem; padding: 4px 9px; border-radius: 8px; background: var(--orange); }
.path-dark .path-step b { background: var(--sky); color: var(--navy); }
.path-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 28px 28px; }
.path-body .chip { margin-bottom: 14px; background: rgba(0, 178, 255, .12); color: #0a6ea8; }
.path-dark .path-body .chip { background: rgba(255, 106, 0, .18); color: #ffb27a; }
.path-body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.path-body > p { color: #4a5672; font-size: .95rem; margin: 0; }
.path-body .checks { width: 100%; margin-bottom: 20px; }
.path-dark h3 { color: #fff; }
.path-dark .path-body > p { color: #c4d3f2; }
.path-dark .checks { border-top-color: rgba(255, 255, 255, .18); }
.path-dark .checks li { color: #fff; }
.path-dark .checks li::before { background: rgba(255, 106, 0, .25); }
.path-body .btn { margin-top: auto; }
.path-thumbs { list-style: none; margin: 0 0 22px; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.path-thumbs a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 8px 18px -12px rgba(10, 42, 102, .7); }
.path-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.path-thumbs a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 71, .85)); }
.path-thumbs span { position: absolute; z-index: 1; left: 7px; right: 7px; bottom: 6px; font-family: var(--head); font-weight: 700; font-size: .66rem; line-height: 1.2; }
.path-thumbs a:hover img { transform: scale(1.1); }
.path-domains { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.path-domains li { font-family: var(--head); font-weight: 700; font-size: .72rem; color: #dbe6ff; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.paths-link { position: absolute; z-index: 2; left: 50%; top: 150px; width: 66px; height: 66px; margin-left: -33px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ff8a2a, var(--orange-600)); box-shadow: 0 0 0 6px #fff, 0 14px 28px -8px rgba(255, 106, 0, .7); }
.paths-link span { font-family: var(--head); font-weight: 800; font-size: .8rem; color: #fff; letter-spacing: .04em; }
.paths-link::after { content: ""; position: absolute; right: -9px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 9px solid var(--orange-600); border-right: 0; }
.cat-btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 980px) {
  .paths { grid-template-columns: 1fr; gap: 50px; }
  .paths-link { top: auto; bottom: auto; left: 50%; margin: 0 0 0 -30px; width: 60px; height: 60px; position: relative; grid-row: 2; justify-self: center; margin: -32px 0 -32px; left: 0; }
  .paths-link::after { right: auto; left: 50%; top: auto; bottom: -11px; margin: 0 0 0 -7px; border: 7px solid transparent; border-top: 9px solid var(--orange-600); border-bottom: 0; }
}
@media (max-width: 640px) {
  .path-body { padding: 20px 18px 22px; }
  .path-thumbs { grid-template-columns: repeat(2, 1fr); }
  .head-row .cat-btns { width: 100%; }
}

/* ---------- Visite express (accueil) ---------- */
.vx { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0; color: #c3cee6; background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.5px) 0 0 / 24px 24px, linear-gradient(135deg, var(--navy-900), #0b2f73 55%, var(--navy-800)); }
.vx-deco .glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.vx-deco .g1 { width: 480px; height: 480px; right: 8%; top: -120px; background: rgba(0, 178, 255, .25); }
.vx-deco .g2 { width: 380px; height: 380px; left: -100px; bottom: -140px; background: rgba(255, 106, 0, .18); }
.vx-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.vx h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin: 10px 0 12px; white-space: nowrap; }
.vx-txt > p { margin: 0 0 20px; }
.vx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 18px; }
.vx-tabs button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-family: var(--head); font-weight: 700; font-size: .8rem; color: #dbe6ff; padding: 9px 14px; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); transition: background-color .2s, border-color .2s, color .2s; }
.vx-tabs button svg { width: 16px; height: 16px; color: var(--sky); }
.vx-tabs button:hover { border-color: rgba(255, 255, 255, .5); }
.vx-tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.vx-tabs button[aria-pressed="true"] svg { color: var(--orange); }
.vx-card { position: relative; min-height: 190px; padding: 22px 24px; border-radius: 20px; border: 2px solid transparent; background: linear-gradient(160deg, rgba(20, 58, 133, .95), rgba(6, 26, 71, .96)) padding-box, linear-gradient(135deg, var(--orange), var(--yellow) 35%, var(--sky) 75%) border-box; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); }
.vx-empty[hidden] { display: none; }
.vx-empty { display: flex; align-items: center; gap: 14px; min-height: 142px; color: #b8c6e3; }
.vx-empty p { margin: 0; font-size: .95rem; }
.vx-pulse { flex: none; position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .3); }
.vx-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: vx-ring 1.8s ease-out infinite; }
.vx-info { animation: vx-in .35s ease both; }
.vx-type { display: inline-block; font-family: var(--head); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.vx-name { color: #fff; font-size: 1.3rem; margin: 6px 0 8px; }
.vx-role { margin: 0; font-size: .92rem; color: #c4d3f2; }
.vx-keep { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 193, 7, .1); border-left: 3px solid var(--yellow); }
.vx-keep b { font-family: var(--head); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.vx-keep p { margin: 2px 0 0; font-size: .88rem; color: #fff; }
.vx-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.vx-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vx-count { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-size: .82rem; color: #dbe6ff; }
.vx-dots { display: inline-flex; gap: 5px; }
.vx-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: background-color .3s; }
.vx-dots i.on { background: var(--sky); box-shadow: 0 0 8px rgba(0, 178, 255, .8); }

.vx-frame { position: relative; padding: 12px; border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.vx-stage { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b2f73; }
.vx-scene { position: absolute; inset: 0; animation: vx-fade .45s ease both; }
.vx-scene[hidden] { display: none; }
.vx-scene img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vx-hot { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.vx-hot i { position: absolute; left: -16px; top: -16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-style: normal; font-family: var(--head); font-weight: 800; font-size: .82rem; color: #fff; background: var(--orange); border: 2.5px solid #fff; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); transition: transform .25s, background-color .25s; }
.vx-hot i::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 106, 0, .9); animation: vx-ring 1.8s ease-out infinite; }
.vx-hot:hover i, .vx-hot:focus-visible i { transform: scale(1.15); }
.vx-hot:focus-visible { outline: none; }
.vx-hot:focus-visible i { box-shadow: 0 0 0 4px var(--sky); }
.vx-hot.seen i { background: var(--sky); color: var(--navy); }
.vx-hot.seen i::after { animation: none; border-color: transparent; }
.vx-hot.active i { transform: scale(1.2); background: #fff; color: var(--orange); }
.vx-tag { position: absolute; left: 22px; top: -14px; white-space: nowrap; padding: 5px 10px; border-radius: 8px; font-family: var(--head); font-weight: 700; font-size: .72rem; color: var(--navy); background: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); opacity: 0; transform: translateX(-6px); pointer-events: none; transition: opacity .25s, transform .25s; }
.vx-hot.seen .vx-tag { opacity: 1; transform: none; }
.vx-hot.left .vx-tag { left: auto; right: 22px; transform: translateX(6px); }
.vx-hot.left.seen .vx-tag { transform: none; }
.vx-frame .live { top: 26px; left: 26px; }
@keyframes vx-ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes vx-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes vx-fade { from { opacity: 0; } }
@media (max-width: 980px) {
  .vx-in { grid-template-columns: 1fr; gap: 36px; }
  .vx-frame { order: -1; }
}
@media (max-width: 640px) {
  .vx { padding: 48px 0; }
  .vx h2 { white-space: normal; }
  .vx-btns, .vx-btns .btn { width: 100%; justify-content: center; }
  .vx-frame { padding: 6px; border-radius: 18px; }
  .vx-stage { border-radius: 14px; }
  .vx-hot i { left: -13px; top: -13px; width: 26px; height: 26px; font-size: .72rem; }
  .vx-tag { display: none; }
  .vx-foot .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .vx-hot i::after, .vx-pulse::after { animation: none; } }
