/* 19 · Startup Expo — "Boarding pass": BASE e LAB como cartões de embarque impressos
   por dois quiosques; papel claro sobre o navy, picote com recortes, canhoto, carimbo GATE EXPO. */

#startups { overflow-x: clip; }
#startups .sx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#startups .sx-grid { opacity: 0.28; }
#startups .sx-ghost {
  position: absolute; right: -3vw; top: 12%; margin: 0; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(120px, 21vw, 380px); line-height: 0.8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(126, 170, 232, 0.09);
}

/* ---------- Cabeçalho ---------- */
#startups .sx-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(28px, 4vw, 72px); }
#startups .sx-title { max-width: 19ch; }
#startups .sx-hl { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js:not(.reduced) #startups .sx-hl { background: none; color: inherit; }
.js:not(.reduced) #startups .sx-hl .split-word { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
#startups .sx-context { margin: clamp(20px, 3vh, 30px) 0 0; }

/* Painel de embarque */
#startups .sx-board { width: min(430px, 100%); padding: 14px 16px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(6, 20, 44, 0.92), rgba(3, 11, 28, 0.92)); box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.05); font-family: var(--font-mono); }
#startups .sx-board__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
#startups .sx-board__clock { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); }
#startups .sx-board__clock i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 8px var(--teal-hi); animation: sx-blink 1.4s steps(2) infinite; }
#startups .sx-board__row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 56px 92px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; letter-spacing: 0.12em; color: var(--ice); }
#startups .sx-board__row:last-child { border-bottom: 0; }
#startups .sx-board__row span { white-space: nowrap; }
#startups .sx-board__row .c { color: var(--teal-hi); font-weight: 700; }
#startups .sx-board__row .ok { color: var(--teal-hi); animation: sx-blink 2.2s steps(2) infinite; }
#startups .sx-board__row--th { padding: 8px 0 4px; font-size: 10px; letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; border-bottom: 1px solid var(--line); }
@keyframes sx-blink { 50% { opacity: 0.35; } }

/* ---------- Quiosques + cartões ---------- */
#startups .sx-passes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 48px); margin-top: clamp(40px, 6vh, 72px); }
#startups .sx-slot { position: relative; min-width: 0; }

#startups .sx-printer {
  position: relative; z-index: 3; height: 46px; margin-inline: -14px;
  display: flex; align-items: center; gap: 12px; padding: 0 20px 8px;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #1c3156 0%, #0c1a35 70%, #081328 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 16px 30px -18px #000;
}
#startups .sx-led { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 10px var(--teal-hi); }
#startups .sx-status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
#startups .sx-status b { color: var(--teal-hi); font-weight: 500; }
#startups .sx-mouth { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 7px; border-radius: 6px; background: #010409; box-shadow: inset 0 2px 3px #000, 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden; }
#startups .sx-mouth i { position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: linear-gradient(90deg, transparent, var(--teal-hi) 20%, #fff 50%, var(--teal-hi) 80%, transparent); box-shadow: 0 0 12px var(--teal-hi); opacity: 0; }

#startups .sx-clip { position: relative; margin-top: -8px; padding: 0 0 80px; margin-bottom: -80px; overflow: hidden; }
#startups .sx-feed { position: relative; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.55)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)); }

/* O papel */
#startups .sx-pass {
  --stub: clamp(128px, 11.5vw, 176px); --notch: 11px;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  border-radius: 12px; overflow: hidden; color: var(--paper-ink);
  background:
    repeating-linear-gradient(0deg, rgba(10, 26, 56, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #f8fbfe, #edf4fa);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 96%, #000), radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 96%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 96%, #000), radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 96%, #000);
  mask-composite: intersect;
}
#startups .sx-main { min-width: 0; display: flex; flex-direction: column; }
#startups .sx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 22px; background: linear-gradient(120deg, #0b2145, #12305e); color: #eef4ff; }
#startups .sx-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
#startups .sx-brand svg { width: 26px; height: 26px; flex: none; overflow: visible; }
#startups .sx-brand path { fill: none; stroke: url(#lm-grad); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
#startups .sx-brand > span { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 112%; font-size: 13px; line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
#startups .sx-brand small { display: block; margin-top: 2px; font-family: var(--font-mono); font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: 0.2em; color: var(--teal-hi); }
#startups .sx-doc { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(238, 244, 255, 0.72); text-align: right; }
#startups .sx-slot--lab .sx-top { background: var(--grad-brand); color: var(--navy-950); }
#startups .sx-slot--lab .sx-brand path { stroke: var(--navy-950); }
#startups .sx-slot--lab .sx-brand small, #startups .sx-slot--lab .sx-doc { color: rgba(3, 11, 28, 0.78); }

#startups .sx-body { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px 20px; }
#startups .sx-route { display: flex; align-items: flex-end; gap: 10px; }
#startups .sx-stop { display: grid; gap: 3px; }
#startups .sx-stop small, #startups .sx-class small, #startups .sx-price small, #startups .sx-fields dt, #startups .sx-stub__lbl, #startups .sx-stub__row small {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-ink-2);
}
#startups .sx-stop b { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 116%; font-size: clamp(16px, 1.45vw, 24px); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
#startups .sx-hop { position: relative; flex: 1 1 18px; min-width: 18px; height: 12px; margin-bottom: 0.2em; overflow: hidden; background: radial-gradient(circle, rgba(10, 26, 56, 0.45) 1.1px, transparent 1.6px) 0 50% / 7px 4px repeat-x; }
#startups .sx-hop i { position: absolute; inset: 0; animation: sx-fly 3.4s var(--ease-io) infinite; }
#startups .sx-hop i::after { content: ''; position: absolute; left: -12px; top: 0; width: 12px; height: 12px; background: var(--teal-deep); clip-path: polygon(0 0, 100% 50%, 0 100%, 28% 50%); }
#startups .sx-hop + .sx-stop + .sx-hop i { animation-delay: 1.1s; }
@keyframes sx-fly { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(calc(100% + 12px)); opacity: 0; } }

#startups .sx-fare { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 14px; border-top: 1px dashed rgba(10, 26, 56, 0.2); }
#startups .sx-class h3 { margin: 4px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; font-size: clamp(40px, 4.2vw, 68px); line-height: 0.84; text-transform: uppercase; letter-spacing: -0.02em; color: var(--navy-900); }
#startups .sx-slot--lab .sx-class h3 { background: linear-gradient(115deg, #0e7e86 10%, #1486b3 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
#startups .sx-price { margin: 0; text-align: right; }
#startups .sx-price strong { display: block; margin-top: 4px; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 112%; font-size: clamp(28px, 2.8vw, 46px); line-height: 0.9; letter-spacing: -0.02em; color: var(--teal-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
#startups .sx-price .cur { font-size: 0.46em; vertical-align: 0.8em; margin-right: -0.05em; color: var(--paper-ink-2); }

#startups .sx-fields { display: grid; grid-template-columns: 0.7fr 1fr 1.3fr; margin: 0; padding: 10px 0; border-block: 1px solid rgba(10, 26, 56, 0.12); }
#startups .sx-fields > div + div { padding-left: 14px; border-left: 1px solid rgba(10, 26, 56, 0.1); }
#startups .sx-fields dd { margin: 3px 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--navy-900); white-space: nowrap; }

#startups .sx-list { list-style: none; margin: 0; padding: 0; }
#startups .sx-list li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid rgba(10, 26, 56, 0.08); font-size: clamp(16px, 1.1vw, 17px); line-height: 1.35; color: var(--paper-ink-2); }
#startups .sx-list li:last-child { border-bottom: 0; }
#startups .sx-list li::before {
  content: ''; position: absolute; left: 0; top: calc(8px + 0.675em - 9px); width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-deep) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}
#startups .sx-slot--lab .sx-list li::before { background-color: #1486b3; }
#startups .sx-list b { color: var(--paper-ink); font-weight: 700; }

/* Canhoto */
#startups .sx-stub { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 16px 20px; border-left: 2px dashed rgba(10, 26, 56, 0.22); background: linear-gradient(180deg, #e9f1f8, #dfeaf4); }
#startups .sx-stub__cls { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; font-size: clamp(24px, 2.2vw, 34px); line-height: 0.85; text-transform: uppercase; color: var(--navy-900); margin-top: -4px; }
#startups .sx-stub__row { display: flex; flex-wrap: wrap; gap: 6px 14px; }
#startups .sx-stub__row > span { display: grid; gap: 2px; font-family: var(--font-display); font-weight: 800; font-size: 13.5px; text-transform: uppercase; color: var(--navy-900); }
#startups .sx-stub__price { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 112%; font-size: clamp(16px, 1.35vw, 21px); color: var(--teal-deep); white-space: nowrap; }
#startups .sx-barcode { flex: 1 1 60px; min-height: 60px; background: repeating-linear-gradient(180deg, var(--navy-900) 0 2px, transparent 2px 4px, var(--navy-900) 4px 5px, transparent 5px 8px, var(--navy-900) 8px 11px, transparent 11px 12px, var(--navy-900) 12px 13px, transparent 13px 16px, var(--navy-900) 16px 17px, transparent 17px 19px); opacity: 0.88; }
#startups .sx-stub__code { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--paper-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#startups .sx-holo { position: absolute; top: 0; bottom: 0; right: 0; width: 9px; background: linear-gradient(180deg, #4ff0dc, #6fd3ff, #a9b4ff, #7ff5e3, #1d9fd0, #c9f7ff, #4ff0dc); background-size: 100% 300%; animation: sx-holo 6s linear infinite; opacity: 0.9; }
@keyframes sx-holo { to { background-position: 0 300%; } }

/* Carimbo */
#startups .sx-stamp { position: absolute; z-index: 2; right: calc(var(--stub) - 50px); bottom: 16px; width: clamp(92px, 7.6vw, 116px); height: auto; rotate: -14deg; opacity: 0.82; mix-blend-mode: multiply; pointer-events: none; overflow: visible; }
#startups .sx-stamp circle { fill: none; stroke: #0e7e86; stroke-width: 2.4; }
#startups .sx-stamp circle + circle { stroke-width: 1.4; }
#startups .sx-stamp text { fill: #0e7e86; text-anchor: middle; }
#startups .sx-stamp .ring { font-family: var(--font-mono); font-size: 8.4px; letter-spacing: 0.12em; text-anchor: start; }
#startups .sx-stamp .c1 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; }
#startups .sx-stamp .c2 { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 19px; }
#startups .sx-slot--lab .sx-stamp circle { stroke: #1374a0; }
#startups .sx-slot--lab .sx-stamp text { fill: #1374a0; }

#startups .sx-print-line { position: absolute; left: 0; right: 0; top: 0; height: 32%; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(79, 240, 220, 0.14) 70%, rgba(79, 240, 220, 0.55) 97%, transparent); mix-blend-mode: multiply; }

#startups .sx-note { margin: clamp(28px, 4vh, 44px) 0 0; }

/* Faixa de embarque */
#startups .sx-ticker { position: relative; margin-top: clamp(48px, 8vh, 96px); padding-block: 12px; border-block: 1px solid var(--line); overflow: hidden; }
#startups .sx-ticker__track { display: flex; width: max-content; animation: sx-marquee 46s linear infinite; }
#startups .sx-ticker span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
#startups .sx-ticker span::after { content: '✦'; color: var(--teal); font-size: 10px; }
@keyframes sx-marquee { to { transform: translateX(-50%); } }

/* ---------- Interação (ponteiro fino) ---------- */
#startups .sx-feed { transform-style: preserve-3d; }

/* ---------- Telas médias ---------- */
@media (max-width: 1180px) {
  #startups .sx-head { grid-template-columns: 1fr; }
  #startups .sx-board { width: min(460px, 100%); }
  #startups .sx-pass { --stub: 118px; }
  #startups .sx-stub { padding: 16px 14px 14px 16px; }
  #startups .sx-route { gap: 6px; }
  #startups .sx-top { padding: 12px 16px; }
  #startups .sx-body { padding: 16px 18px 18px; }
  #startups .sx-doc { display: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  #startups .sx-ghost { top: 4%; font-size: 36vw; }
  #startups .sx-board { padding: 12px 12px 4px; }
  #startups .sx-board__row { grid-template-columns: 44px minmax(0, 1fr) 42px 82px; gap: 6px; font-size: 11px; letter-spacing: 0.06em; }
  #startups .sx-board__row--th { font-size: 10px; letter-spacing: 0.08em; }
  #startups .sx-passes { grid-template-columns: 1fr; gap: 44px; margin-top: 36px; }
  #startups .sx-printer { margin-inline: -8px; padding-inline: 14px; }
  #startups .sx-pass {
    --stubH: 124px;
    grid-template-columns: 1fr; grid-template-rows: auto var(--stubH);
    -webkit-mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubH)), #0000 96%, #000), radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubH)), #0000 96%, #000);
    -webkit-mask-composite: source-in;
    mask: radial-gradient(circle var(--notch) at 0 calc(100% - var(--stubH)), #0000 96%, #000), radial-gradient(circle var(--notch) at 100% calc(100% - var(--stubH)), #0000 96%, #000);
    mask-composite: intersect;
  }
  #startups .sx-top { padding: 12px 16px; }
  #startups .sx-brand > span { font-size: 12px; }
  #startups .sx-body { padding: 16px 16px 18px; gap: 12px; }
  #startups .sx-route { gap: 6px; }
  #startups .sx-stop b { font-size: 16px; font-stretch: 105%; }
  #startups .sx-class h3 { font-size: 46px; }
  #startups .sx-price strong { font-size: 32px; }
  #startups .sx-fields { grid-template-columns: 0.7fr 1fr 1.4fr; }
  #startups .sx-fields > div + div { padding-left: 10px; }
  #startups .sx-fields dd { font-size: 13px; }
  #startups .sx-list li { font-size: 15px; }
  #startups .sx-stub {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start;
    padding: 16px 16px 14px; border-left: 0; border-top: 2px dashed rgba(10, 26, 56, 0.22);
  }
  #startups .sx-stub__lbl { grid-column: 1; grid-row: 1; }
  #startups .sx-stub__cls { grid-column: 1; grid-row: 2; margin: 0; font-size: 28px; }
  #startups .sx-stub__price { grid-column: 1; grid-row: 3; align-self: end; }
  #startups .sx-stub__row { grid-column: 2; grid-row: 1 / 4; flex-direction: column; gap: 8px; }
  #startups .sx-barcode { grid-column: 3; grid-row: 1 / 3; min-height: 56px; height: 100%; background: repeating-linear-gradient(90deg, var(--navy-900) 0 2px, transparent 2px 4px, var(--navy-900) 4px 5px, transparent 5px 8px, var(--navy-900) 8px 11px, transparent 11px 12px, var(--navy-900) 12px 13px, transparent 13px 16px, var(--navy-900) 16px 17px, transparent 17px 19px); }
  #startups .sx-stub__code { grid-column: 3; grid-row: 3; align-self: end; }
  #startups .sx-holo { top: auto; left: 0; bottom: 0; width: auto; height: 6px; background: linear-gradient(90deg, #4ff0dc, #6fd3ff, #a9b4ff, #7ff5e3, #1d9fd0, #c9f7ff, #4ff0dc); background-size: 300% 100%; animation-name: sx-holo-x; }
  @keyframes sx-holo-x { to { background-position: 300% 0; } }
  #startups .sx-stamp { right: 16px; bottom: 10px; width: 86px; }
}

/* ---------- Movimento reduzido ---------- */
.reduced #startups .sx-hop i, .reduced #startups .sx-holo, .reduced #startups .sx-ticker__track,
.reduced #startups .sx-board__clock i, .reduced #startups .sx-board__row .ok { animation: none; }
.reduced #startups .sx-hop i { display: none; }

/* Laser do leitor passando no código de barras depois da impressão */
#startups .sx-barcode { position: relative; overflow: hidden; }
#startups .sx-barcode::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 3px; background: var(--teal-hi); box-shadow: 0 0 12px 3px rgba(79, 240, 220, 0.8); opacity: 0; }
#startups .sx-slot.is-ready .sx-barcode::after { animation: sx-laser 1.3s var(--ease-io) 2; }
@keyframes sx-laser { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 3px); opacity: 0; } }
