/* 18 · Cotas — "Credenciais": as quatro cotas como crachás holográficos pendurados no cordão.
   Layout padrão (sem JS, movimento reduzido, celular): credenciais empilhadas com abas fixas.
   Modo palco (#cotas.ct--stage, desktop com JS): pin; o scroll troca a credencial com flip em Y. */

@property --ct-cur { syntax: '<color>'; inherits: true; initial-value: #4ff0dc; }
#cotas { --tc1: #4ff0dc; --tc2: #6fd3ff; }
#cotas .ct-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
#cotas .ct-pin { position: relative; }

/* ---------- Paleta por nível (tier) ---------- */
#cotas [data-tier='1'] { --tg: var(--grad-tier-1); --tc1: #4ff0dc; --tc2: #6fd3ff; --band-ink: #eef4ff; --strap: #0d2550; --strap-ink: rgba(79, 240, 220, 0.85); --glow: rgba(79, 240, 220, 0.34); }
#cotas [data-tier='2'] { --tg: var(--grad-tier-2); --tc1: #6fd3ff; --tc2: #1d9fd0; --band-ink: #eef4ff; --strap: #114271; --strap-ink: rgba(170, 228, 255, 0.85); --glow: rgba(29, 159, 208, 0.36); }
#cotas [data-tier='3'] { --tg: var(--grad-tier-3); --tc1: #43e3c4; --tc2: #12c5b5; --band-ink: #eef4ff; --strap: #0e7079; --strap-ink: rgba(214, 255, 248, 0.8); --glow: rgba(18, 197, 181, 0.36); }
#cotas [data-tier='4'] { --tg: var(--grad-tier-4); --tc1: #7ff5e3; --tc2: #16bba9; --band-ink: #03122a; --strap: #12a99f; --strap-ink: rgba(3, 18, 42, 0.78); --glow: rgba(67, 227, 196, 0.36); }

/* ---------- Fundo ---------- */
#cotas .ct-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#cotas .ct-grid { opacity: 0.3; }
#cotas .ct-spot, #cotas .ct-floor { display: none; }

/* ---------- Cabeçalho ---------- */
#cotas .ct-head, #cotas .ct-tabs__list, #cotas .ct-deck { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
#cotas .ct-head .t-eyebrow { margin-bottom: 1rem; }
#cotas .ct-title {
  margin: 0; max-width: 22ch;
  font-family: var(--font-display); font-weight: 720; font-stretch: 100%;
  font-size: clamp(30px, 4vw, 64px); line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance;
}

/* ---------- Abas (nível de acesso) ---------- */
#cotas .ct-tabs { position: sticky; top: var(--hud-h); z-index: 8; margin-top: clamp(24px, 4vh, 40px); padding-block: 10px; background: linear-gradient(180deg, rgba(2, 8, 22, 0.94), rgba(2, 8, 22, 0.82)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
#cotas .ct-tabs::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--hud-h) + 2px); background: var(--space); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
#cotas .ct-tabs.is-stuck::before { opacity: 1; }
#cotas .ct-deck { overflow-x: clip; }
#cotas .ct-tabs__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
#cotas .ct-tab {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'lvl slots' 'name name' 'price price';
  align-items: center; row-gap: 3px; min-height: 44px; padding: 11px 14px 13px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 20, 46, 0.6);
  color: var(--ink-2); text-decoration: none; overflow: hidden;
  transition: border-color 0.35s, background 0.35s, color 0.35s, box-shadow 0.35s;
}
#cotas .ct-tab:hover { border-color: var(--line-2); color: var(--ink); }
#cotas .ct-tab:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 3px; }
#cotas .ct-tab__lvl { grid-area: lvl; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
#cotas .ct-tab__slots { grid-area: slots; display: flex; gap: 3px; }
#cotas .ct-tab__slots i { width: 6px; height: 6px; border-radius: 1.5px; background: var(--tc1); opacity: 0.55; }
#cotas .ct-tab__name { grid-area: name; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(14px, 1.1vw, 17px); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cotas .ct-tab__price { grid-area: price; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; color: var(--tc1); font-variant-numeric: tabular-nums; }
#cotas .ct-tab__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--tc1), var(--tc2)); box-shadow: 0 0 10px var(--tc1); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
#cotas .ct-tab.is-active { border-color: color-mix(in srgb, var(--tc1) 70%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--tc1) 20%, rgba(5, 20, 46, 0.9)), rgba(5, 20, 46, 0.9) 70%); color: var(--ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc1) 25%, transparent), 0 14px 40px -18px var(--tc1); }
#cotas .ct-tab.is-active .ct-tab__slots i { opacity: 1; box-shadow: 0 0 8px var(--tc1); }
#cotas .ct-tab.is-active .ct-tab__lvl { color: var(--tc1); }
#cotas:not(.ct--stage) .ct-tab.is-active .ct-tab__bar { transform: scaleX(1); }

/* ---------- Credencial (layout empilhado) ---------- */
#cotas .ct-cota { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 88px); padding-block: clamp(96px, 12vh, 140px) clamp(40px, 6vh, 72px); scroll-margin-top: calc(var(--hud-h) + 110px); }
#cotas .ct-cota + .ct-cota { border-top: 1px solid var(--line); }

#cotas .ct-badge-wrap { position: relative; width: 100%; max-width: 360px; justify-self: center; container-type: inline-size; perspective: 1500px; rotate: var(--swing, 0deg); translate: 0 var(--drop, 0px); }
#cotas .ct-badge-flip { position: relative; transform-style: preserve-3d; transform-origin: 50% 0; }

/* Cordão */
#cotas .ct-lanyard { position: absolute; left: 50%; bottom: calc(100% + 8cqi); width: 0; height: 0; pointer-events: none; }
#cotas .ct-strap {
  position: absolute; left: -3.6cqi; bottom: 0; width: 7.2cqi; height: 30cqi; transform-origin: 50% 100%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 22%, rgba(255, 255, 255, 0.1) 50%, transparent 78%, rgba(0, 0, 0, 0.45)),
    var(--strap);
  -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent);
  mask-image: linear-gradient(0deg, #000 55%, transparent);
  overflow: hidden;
}
#cotas .ct-strap::before {
  content: 'SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ SPORTSTECH ✦ WEEKEND 2027 ✦ ';
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  writing-mode: vertical-rl; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 3.6cqi; letter-spacing: 0.14em; line-height: 1;
  color: var(--strap-ink);
}
#cotas .ct-strap.l { rotate: 14deg; }
#cotas .ct-strap.r { rotate: -14deg; }

/* Crachá */
#cotas .ct-badge {
  position: relative; display: flex; flex-direction: column;
  border-radius: 5.5cqi;
  background:
    radial-gradient(120% 60% at 90% 0%, color-mix(in srgb, var(--tc1) 14%, transparent), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, rgba(29, 159, 208, 0.1), transparent 70%),
    linear-gradient(172deg, #0b1f44 0%, #071733 50%, #040d22 100%);
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.9), 0 18px 40px -20px rgba(0, 6, 24, 0.9), 0 0 70px -18px var(--glow);
  transform-style: preserve-3d;
  color: var(--ink);
}
#cotas .ct-badge::before {
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(150deg, var(--tc1), color-mix(in srgb, var(--tc2) 40%, transparent) 38%, rgba(126, 170, 232, 0.12) 62%, var(--tc2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
#cotas .ct-clip { position: absolute; z-index: 4; left: 50%; top: -12.5cqi; width: 15cqi; height: auto; transform: translateX(-50%); overflow: visible; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); }
#cotas .ct-clip .ring { fill: none; stroke: #cfe3ee; stroke-width: 3.2; }
#cotas .ct-clip .body { fill: #a9c3d2; stroke: #eaf6fb; stroke-width: 1; }
#cotas .ct-clip .jaw { fill: #7f9db0; stroke: #dbeef6; stroke-width: 1; }

#cotas .ct-badge__band {
  position: relative; height: 30cqi; flex: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqi;
  padding: 0 6.5cqi 4.6cqi;
  border-radius: 5.5cqi 5.5cqi 0 0; overflow: hidden;
  background: var(--tg); color: var(--band-ink);
}
#cotas .ct-badge__band::before { /* guilhochê de segurança */
  content: ''; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background:
    repeating-radial-gradient(circle at 88% -10%, transparent 0 2.2cqi, rgba(255, 255, 255, 0.07) 2.2cqi 2.45cqi),
    repeating-linear-gradient(115deg, transparent 0 1.6cqi, rgba(255, 255, 255, 0.035) 1.6cqi 1.8cqi);
}
#cotas [data-tier='1'] .ct-badge__band { background: linear-gradient(115deg, rgba(79, 240, 220, 0.22), transparent 38%, rgba(111, 211, 255, 0.2) 68%, rgba(169, 180, 255, 0.12) 82%, transparent), var(--tg); }
#cotas .ct-badge__band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--tc1), transparent); opacity: 0.8; }
#cotas .ct-badge__slot { position: absolute; left: 50%; top: 4.6cqi; width: 21cqi; height: 4.2cqi; transform: translateX(-50%); border-radius: 99px; background: #01050f; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.18); }
#cotas .ct-badge__brand { position: relative; display: flex; align-items: center; gap: 2.6cqi; }
#cotas .ct-badge__brand svg { width: 10cqi; height: 10cqi; flex: none; overflow: visible; }
#cotas .ct-badge__brand path { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
#cotas [data-tier='1'] .ct-badge__brand path, #cotas [data-tier='2'] .ct-badge__brand path { stroke: url(#lm-grad); }
#cotas .ct-badge__brand span { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 3.7cqi; line-height: 1.02; text-transform: uppercase; letter-spacing: 0.01em; }
#cotas .ct-badge__tier { position: relative; display: grid; justify-items: end; font-family: var(--font-mono); font-size: max(10px, 2.7cqi); letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9; }
#cotas .ct-badge__tier b { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 7.2cqi; letter-spacing: -0.02em; line-height: 0.95; }

#cotas .ct-badge__body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-evenly; gap: 3.4cqi; padding: 5.5cqi 6.5cqi 2cqi; }
#cotas .ct-badge__access { display: flex; align-items: flex-end; justify-content: space-between; margin: 0; font-family: var(--font-mono); font-size: max(10px, 2.7cqi); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
#cotas .ct-bars { display: inline-flex; align-items: flex-end; gap: 0.9cqi; }
#cotas .ct-bars i { width: 1.5cqi; border-radius: 0.4cqi; background: rgba(126, 170, 232, 0.2); }
#cotas .ct-bars i:nth-child(1) { height: 1.6cqi; } #cotas .ct-bars i:nth-child(2) { height: 2.5cqi; }
#cotas .ct-bars i:nth-child(3) { height: 3.4cqi; } #cotas .ct-bars i:nth-child(4) { height: 4.3cqi; }
#cotas .ct-bars[data-on='1'] i:nth-child(-n+1), #cotas .ct-bars[data-on='2'] i:nth-child(-n+2),
#cotas .ct-bars[data-on='3'] i:nth-child(-n+3), #cotas .ct-bars[data-on='4'] i:nth-child(-n+4) { background: var(--tc1); box-shadow: 0 0 6px var(--tc1); }

#cotas .ct-badge__name { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; font-size: 10.2cqi; line-height: 0.9; letter-spacing: -0.015em; text-transform: uppercase; }
#cotas .ct-badge__name .w1 { display: block; }
#cotas .ct-badge__name .w2 { display: block; margin-top: 1.3cqi; font-size: 6.2cqi; letter-spacing: 0.02em; background: linear-gradient(100deg, var(--tc1), var(--tc2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.1em; }
#cotas .ct-badge__qty { display: flex; align-items: flex-start; gap: 2cqi; margin: 0; font-family: var(--font-body); font-weight: 650; font-size: max(14px, 3.9cqi); line-height: 1.3; letter-spacing: 0.035em; text-transform: uppercase; color: var(--ink); }
#cotas .ct-badge__qty .dot { flex: none; width: 1.8cqi; height: 1.8cqi; margin-top: 0.45em; border-radius: 50%; background: var(--tc1); box-shadow: 0 0 10px var(--tc1); }

#cotas .ct-badge__price { margin: 0; }
#cotas .ct-badge__price .lbl { display: block; margin-bottom: 1.4cqi; font-family: var(--font-mono); font-size: max(10px, 2.7cqi); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
#cotas .ct-price { display: block; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 112%; font-size: 13.4cqi; line-height: 0.92; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; text-shadow: 0 0 28px color-mix(in srgb, var(--tc1) 45%, transparent); }
#cotas .ct-price .cur { font-size: 0.42em; letter-spacing: 0; color: var(--tc1); vertical-align: 0.95em; margin-right: -0.1em; }

#cotas .ct-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding-top: 3cqi; border-top: 1px solid rgba(126, 170, 232, 0.18); }
#cotas .ct-spec > div { display: flex; flex-direction: column; justify-content: space-between; padding-right: 2cqi; }
#cotas .ct-spec > div + div { padding-left: 3cqi; border-left: 1px solid rgba(126, 170, 232, 0.14); }
#cotas .ct-spec dt { font-family: var(--font-mono); font-size: max(10px, 2.35cqi); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.25; }
#cotas .ct-spec dd { margin: 1cqi 0 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 3.6cqi; color: var(--ink-2); white-space: nowrap; }
#cotas .ct-spec b { font-size: 1.9em; font-weight: 850; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }

#cotas .ct-badge__foot { position: relative; flex: none; display: grid; grid-template-columns: auto auto auto minmax(0, 1fr); align-items: center; gap: 3.2cqi; padding: 3.6cqi 6.5cqi 5.4cqi; }
#cotas .ct-chip { width: 11cqi; height: auto; }
#cotas .ct-chip rect { fill: url(#ct-chip-g); stroke: rgba(3, 11, 28, 0.35); }
#cotas .ct-chip path { fill: none; stroke: rgba(3, 11, 28, 0.42); stroke-width: 1; }
#cotas .ct-nfc { width: 5.4cqi; height: 5.4cqi; }
#cotas .ct-nfc path { fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
#cotas .ct-holo { position: relative; width: 9cqi; height: 9cqi; display: grid; place-items: center; border-radius: 1.8cqi; overflow: hidden; background: conic-gradient(from 20deg, #4ff0dc, #6fd3ff, #a9b4ff, #7ff5e3, #1d9fd0, #c9f7ff, #4ff0dc); animation: ct-holo 6s linear infinite; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
#cotas .ct-holo svg { width: 68%; height: 68%; }
#cotas .ct-holo path { fill: none; stroke: rgba(3, 18, 42, 0.8); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ct-holo { 0%, 100% { filter: hue-rotate(0deg) saturate(1); } 50% { filter: hue-rotate(-40deg) saturate(1.3); } }
#cotas .ct-barcode { height: 8.6cqi; opacity: 0.85; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px, var(--ink) 16px 17px, transparent 17px 19px); -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
#cotas .ct-badge__meta { grid-column: 1 / -1; font-family: var(--font-mono); font-size: max(10px, 2.35cqi); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Folha holográfica + varredura */
#cotas .ct-fx { position: absolute; inset: 0; z-index: 2; border-radius: inherit; overflow: hidden; pointer-events: none; }
#cotas .ct-foil {
  position: absolute; inset: 0;
  background:
    linear-gradient(118deg, transparent 22%, rgba(79, 240, 220, 0.3) 36%, rgba(111, 211, 255, 0.34) 44%, rgba(169, 180, 255, 0.26) 50%, rgba(127, 245, 227, 0.2) 56%, transparent 70%),
    repeating-linear-gradient(62deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
  background-size: 260% 260%, auto;
  background-position: var(--fx, 30%) var(--fy, 30%), 0 0;
  mix-blend-mode: screen; opacity: 0.42;
  animation: ct-foil 8s ease-in-out infinite alternate;
}
#cotas .ct-badge.is-lit .ct-foil { animation: none; opacity: 0.5; transition: background-position 0.25s linear; }
#cotas [data-tier='1'] .ct-foil { opacity: 0.55; }
@keyframes ct-foil { from { background-position: 0% 10%, 0 0; } to { background-position: 100% 90%, 0 0; } }
#cotas .ct-scan { position: absolute; left: 0; right: 0; top: 0; height: 24%; opacity: 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tc1) 16%, transparent) 70%, color-mix(in srgb, var(--tc1) 70%, #fff) 96%, transparent); mix-blend-mode: screen; }

/* Informação da cota */
#cotas .ct-info { min-width: 0; }
#cotas .ct-info__kicker { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
#cotas .ct-info__kicker .n { color: var(--tc1); font-weight: 700; }
#cotas .ct-info__kicker .nm { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--ink-2); }
#cotas .ct-info__promise { margin: 0; max-width: 30ch; font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-size: clamp(22px, 2.15vw, 36px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
#cotas .ct-info__label { display: flex; align-items: center; gap: 12px; margin: clamp(20px, 3.2vh, 34px) 0 12px; font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tc1); }
#cotas .ct-info__label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--tc1) 50%, transparent), transparent); }
#cotas .ct-deliv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); counter-reset: dl; }
#cotas .ct-deliv li { counter-increment: dl; position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.08vw, 17px); line-height: 1.38; color: var(--ink-2); }
#cotas .ct-deliv li::before { content: counter(dl, decimal-leading-zero); position: absolute; right: 0; top: 13px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--ink-4); }
#cotas .ct-deliv li > span { padding-right: 30px; }
#cotas .ct-deliv svg { width: 30px; height: 30px; padding: 5px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--tc1) 35%, transparent); background: color-mix(in srgb, var(--tc1) 8%, transparent); fill: none; stroke: var(--tc1); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#cotas .ct-deliv b { color: var(--ink); font-weight: 700; }
#cotas .ct-note { margin: 16px 0 0; }

/* ==========================================================================
   Modo palco (desktop com JS): pin + troca de credencial por flip
   ========================================================================== */
#cotas.ct--stage { padding-block: 0; min-height: 0; }
#cotas.ct--stage .ct-pin {
  --padL: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  --colb: min(27vw, 400px, calc((100svh - var(--hud-h) - 150px) * 0.64));
  height: 100vh; height: 100svh; overflow: hidden;
  display: grid;
  grid-template-columns: var(--colb) minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  column-gap: clamp(40px, 5vw, 96px);
  padding: calc(var(--hud-h) + 10px) var(--padL) 22px;
  transition: --ct-cur 0.9s var(--ease-out);
}
#cotas.ct--stage .ct-head, #cotas.ct--stage .ct-tabs__list, #cotas.ct--stage .ct-deck { max-width: none; margin: 0; padding: 0; }
#cotas.ct--stage .ct-head { grid-column: 2; grid-row: 1; position: relative; z-index: 3; }
#cotas.ct--stage .ct-head .t-eyebrow { margin-bottom: 0.7rem; }
#cotas.ct--stage .ct-title { font-size: clamp(26px, 2.5vw, 44px); max-width: 26ch; }
#cotas.ct--stage .ct-title .grad-text { background: none; color: var(--ink); }
#cotas.ct--stage .ct-title .grad-text .split-word { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
#cotas.ct--stage .ct-tabs { grid-column: 2; grid-row: 2; position: relative; top: auto; z-index: 3; margin-top: clamp(14px, 2.4vh, 26px); padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
#cotas.ct--stage .ct-deck { overflow: visible; grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; pointer-events: none; }
#cotas.ct--stage .ct-cota { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; column-gap: normal; row-gap: normal; padding: 0; border: 0; }
#cotas.ct--stage .ct-badge-wrap { grid-column: 1; grid-row: 1 / -1; align-self: center; max-width: none; margin-top: 44px; pointer-events: auto; transform-origin: 50% -35vh; }
#cotas.ct--stage .ct-badge { aspect-ratio: 0.64; }
#cotas.ct--stage .ct-lanyard { bottom: calc(100% + 10.5cqi); }
#cotas.ct--stage .ct-strap { left: -4.6cqi; width: 9.2cqi; height: 96px; -webkit-mask-image: linear-gradient(0deg, #000 18%, transparent 88%); mask-image: linear-gradient(0deg, #000 18%, transparent 88%); }
#cotas.ct--stage .ct-strap.l { rotate: 0deg; }
#cotas.ct--stage .ct-strap.r { display: none; }
#cotas.ct--stage .ct-lanyard::after { content: ''; position: absolute; z-index: 2; left: -5.4cqi; bottom: -1.2cqi; width: 10.8cqi; height: 5.2cqi; border-radius: 1.2cqi; background: linear-gradient(180deg, #eaf6fb, #9fbccb 55%, #6f8ea1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 0 #fff; }
#cotas.ct--stage .ct-strap::before { animation: ct-strap 40s linear infinite; }
@keyframes ct-strap { to { transform: translate(-50%, -50%); } }
#cotas.ct--stage .ct-info { grid-column: 2; grid-row: 3; align-self: start; min-height: 0; padding-top: clamp(16px, 3vh, 34px); pointer-events: auto; }
#cotas.ct--stage .ct-bg { background: radial-gradient(58% 72% at 74% 62%, rgba(2, 8, 22, 0.74), rgba(2, 8, 22, 0.3) 70%, transparent); }
#cotas.ct--stage .ct-spot, #cotas.ct--stage .ct-floor { display: block; position: absolute; }
#cotas.ct--stage .ct-spot {
  top: 0; bottom: 0; left: calc(var(--padL) + var(--colb) / 2); width: calc(var(--colb) * 2.6); translate: -50% 0;
  background: conic-gradient(from 162deg at 50% -4%, transparent 0deg, color-mix(in srgb, var(--ct-cur) 8%, transparent) 12deg, color-mix(in srgb, var(--ct-cur) 15%, transparent) 18deg, color-mix(in srgb, var(--ct-cur) 8%, transparent) 24deg, transparent 36deg);
  filter: blur(8px);
}
#cotas.ct--stage .ct-floor { bottom: 2%; left: calc(var(--padL) + var(--colb) / 2); width: calc(var(--colb) * 1.5); height: 90px; translate: -50% 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--ct-cur) 24%, transparent), color-mix(in srgb, var(--ct-cur) 8%, transparent) 55%, transparent); }

/* Telas altas: painel respira mais */
@media (min-width: 1181px) and (min-height: 860px) {
  #cotas.ct--stage .ct-info { padding-top: clamp(26px, 4vh, 44px); }
  #cotas.ct--stage .ct-info__promise { font-size: clamp(26px, 2.35vw, 40px); }
  #cotas.ct--stage .ct-info__label { margin-top: clamp(26px, 4vh, 44px); }
  #cotas.ct--stage .ct-deliv li { padding: 15px 0 16px; font-size: clamp(16px, 1.15vw, 18px); }
  #cotas.ct--stage .ct-note { margin-top: 20px; font-size: 13.5px; }
}
/* Telas baixas (projetor 1280×720): compacta o painel */
@media (min-width: 821px) and (max-height: 780px) {
  #cotas.ct--stage .ct-pin { --colb: min(27vw, 400px, calc((100svh - var(--hud-h) - 128px) * 0.64)); padding-bottom: 16px; }
  #cotas.ct--stage .ct-badge-wrap { margin-top: 36px; }
  #cotas.ct--stage .ct-title { font-size: clamp(24px, 2.2vw, 34px); }
  #cotas.ct--stage .ct-head .t-eyebrow { margin-bottom: 0.45rem; }
  #cotas.ct--stage .ct-tabs { margin-top: 12px; }
  #cotas.ct--stage .ct-tab { padding: 8px 12px 10px; row-gap: 1px; }
  #cotas.ct--stage .ct-info { padding-top: 14px; }
  #cotas.ct--stage .ct-info__kicker { margin-bottom: 8px; }
  #cotas.ct--stage .ct-info__promise { font-size: clamp(20px, 1.8vw, 28px); }
  #cotas.ct--stage .ct-info__label { margin: 14px 0 4px; }
  #cotas.ct--stage .ct-deliv li { padding: 8px 0 9px; font-size: 16px; line-height: 1.3; }
  #cotas.ct--stage .ct-note { margin-top: 10px; font-size: 14px; line-height: 1.4; }
}
@media (min-width: 821px) and (max-width: 1180px) {
  #cotas.ct--stage .ct-pin { --colb: min(31vw, calc((100svh - var(--hud-h) - 150px) * 0.64)); column-gap: 36px; }
  #cotas.ct--stage .ct-tab__lvl { letter-spacing: 0.12em; }
  #cotas.ct--stage .ct-tab__slots { display: none; }
  #cotas.ct--stage .ct-deliv { grid-template-columns: 1fr; }
  #cotas.ct--stage .ct-deliv li { padding: 7px 0 8px; }
}

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  #cotas .ct-title { font-size: clamp(28px, 8vw, 40px); }
  #cotas .ct-tabs { margin-top: 22px; padding-block: 8px; }
  #cotas .ct-tabs__list { gap: 6px; padding-inline: 12px; }
  #cotas .ct-tab { grid-template-columns: 1fr; grid-template-areas: 'name' 'price'; padding: 8px 6px 9px; min-height: 48px; text-align: center; border-radius: 10px; }
  #cotas .ct-tab__lvl, #cotas .ct-tab__slots { display: none; }
  #cotas .ct-tab__name { font-size: 12.5px; letter-spacing: 0; font-stretch: 84%; text-overflow: clip; }
  #cotas .ct-tab__price { font-size: 10px; letter-spacing: 0; }
  #cotas .ct-cota { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 92px 36px; scroll-margin-top: calc(var(--hud-h) + 70px); }
  #cotas .ct-badge-wrap { max-width: min(340px, 100%); }
  #cotas .ct-info__promise { font-size: 22px; }
  #cotas .ct-deliv { grid-template-columns: 1fr; }
  #cotas .ct-deliv li { font-size: 16px; }
  #cotas .ct-note { font-size: 14px; }
  #cotas .ct-info__kicker { flex-wrap: wrap; row-gap: 4px; }
}

/* ---------- Movimento reduzido ---------- */
.reduced #cotas .ct-strap::before, .reduced #cotas .ct-foil, .reduced #cotas .ct-holo { animation: none; }
