/* 17 · Ativos especiais — "Naming rights"
   Tour (desktop/projetor, pin): o satélite do Sapiens vira um diorama inclinado em 3D; a câmera voa
   de propriedade em propriedade, o pino ergue um feixe com a placa "[ SUA MARCA ] + nome" e o letreiro
   à esquerda digita o slot da marca antes do nome. Índice de 8 estações embaixo (clicável).
   Empilhado (tablet/celular): mapa fixo no topo (sticky) + cartões; o cartão ativo guia a câmera.
   Sem JS / movimento reduzido: mapa plano com os pinos e os 8 cartões completos. */
#ativos { background: transparent; }
#ativos .at-pin { position: relative; }
#ativos .at-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#ativos .at-bg__grid { opacity: 0.35; }
#ativos .at-bg__glow { position: absolute; inset: 0; background: radial-gradient(50% 55% at 70% 55%, rgba(18, 197, 181, 0.1), transparent 70%), radial-gradient(40% 45% at 15% 40%, rgba(29, 159, 208, 0.08), transparent 70%); }

/* ---------- Layout base (fluxo: sem JS, reduzido, tablet, celular) ---------- */
#ativos .at-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vh, 34px); padding-top: clamp(84px, 13vh, 150px); padding-bottom: clamp(70px, 11vh, 140px); }
#ativos .at-title { max-width: 22ch; }
/* SplitText quebra o background-clip do span: o degradê vai para cada palavra */
#ativos .at-title .grad-text .split-word { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }

/* ---------- Mapa ---------- */
#ativos .at-map { position: relative; margin: 0; display: flex; flex-direction: column; border-radius: var(--radius-m); background: #030b1c; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
#ativos .at-map > .hud-c { z-index: 6; }
#ativos .at-view { position: relative; flex: 1 1 auto; height: clamp(240px, 56vw, 560px); overflow: hidden; border-radius: var(--radius-m) var(--radius-m) 0 0; perspective: 1100px; background: radial-gradient(80% 70% at 50% 60%, #06183a 0%, #030b1c 70%); }
#ativos .at-view::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; background-image: linear-gradient(rgba(126, 170, 232, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 170, 232, 0.07) 1px, transparent 1px); background-size: 40px 40px; }
#ativos .at-view::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(3, 11, 28, 0.85) 0%, rgba(3, 11, 28, 0) 22%, rgba(3, 11, 28, 0) 78%, rgba(3, 11, 28, 0.7) 100%); }
#ativos .at-tilt { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; transform-origin: 50% 56%; }
#ativos .at-cam { position: absolute; left: 50%; top: 50%; width: var(--cw, 100%); aspect-ratio: 5504 / 3072; transform: translate(-50%, -50%); transform-origin: 50% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-composite: intersect; }
#ativos .at-sat { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(0.8) brightness(0.66) contrast(1.08); }
#ativos .at-cam::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(5, 20, 46, 0.35), rgba(18, 197, 181, 0.08) 50%, rgba(5, 20, 46, 0.4)); mix-blend-mode: multiply; }
#ativos .at-route { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; }
#ativos .at-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#ativos .at-route__loop { stroke: rgba(230, 247, 255, 0.5); stroke-width: 9; }
#ativos .at-route__ikm-glow { stroke: rgba(111, 211, 255, 0.28); stroke-width: 70; }
#ativos .at-route__ikm { stroke: var(--cyan-hi); stroke-width: 18; }
#ativos .at-runners circle { fill: #eafcff; opacity: 0; }
#ativos .at-runners.is-live circle { opacity: 0.95; }

/* Anéis no chão (dentro do plano inclinado) */
#ativos .at-pois { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; list-style: none; }
#ativos .at-poi { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
#ativos .at-poi i { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(79, 240, 220, 0.8); background: radial-gradient(circle, rgba(79, 240, 220, 0.3), rgba(79, 240, 220, 0) 70%); transform: scale(var(--inv, 1)); transition: border-color 0.4s, background 0.4s; }
#ativos .at-poi i::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(79, 240, 220, 0.7); animation: at-ring 2.2s var(--ease-out) infinite; }
#ativos .at-poi.is-active i { border-color: #fff; background: radial-gradient(circle, rgba(79, 240, 220, 0.6), rgba(79, 240, 220, 0) 72%); }
#ativos .at-poi.is-active i::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid rgba(160, 255, 240, 0.9); animation: at-shock 1.6s var(--ease-out) infinite; }
@keyframes at-shock { from { transform: scale(1); opacity: 0.9; } to { transform: scale(4.2); opacity: 0; } }
#ativos .at-poi--km i { border-color: rgba(111, 211, 255, 0.9); background: radial-gradient(circle, rgba(111, 211, 255, 0.3), transparent 70%); }
#ativos .at-poi--km i::after { border-color: rgba(111, 211, 255, 0.7); }
@keyframes at-ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }

/* Placas erguidas (camada 2D projetada) */
#ativos .at-marks { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
#ativos .at-mark { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
#ativos.at-js .at-mark { left: 0; top: 0; will-change: transform; }
#ativos .at-mark__foot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-hi); box-shadow: 0 0 12px var(--teal-hi); }
#ativos .at-mark__beam { position: absolute; left: -1px; bottom: 0; width: 2px; height: 104px; transform-origin: 50% 100%; transform: scaleY(0.22); background: linear-gradient(0deg, rgba(79, 240, 220, 0.95), rgba(79, 240, 220, 0)); transition: transform 0.6s var(--ease-out); }
#ativos .at-mark__tag { position: absolute; left: 0; bottom: 26px; display: flex; align-items: center; gap: 9px; padding: 4px; border-radius: 999px; background: rgba(3, 11, 28, 0.82); border: 1px solid var(--line-teal); white-space: nowrap; transform: translateX(-50%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: bottom 0.6s var(--ease-out), padding 0.4s, border-radius 0.4s, border-color 0.4s; }
#ativos .at-mark__tag b { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: var(--navy-950); font-family: var(--font-mono); font-weight: 700; font-size: 10.5px; letter-spacing: 0; }
#ativos .at-mark--km .at-mark__tag b { background: var(--cyan-hi); }
#ativos .at-mark--km .at-mark__foot { background: var(--cyan-hi); box-shadow: 0 0 12px var(--cyan-hi); }
#ativos .at-mark__txt { display: none; }
#ativos .at-mark__slot { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-hi); line-height: 1.2; }
#ativos .at-mark__name { display: block; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 15px; letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
#ativos .at-mark.is-active { z-index: 2; }
/* Sem tour (sem JS / reduzido): o número fica sobre o próprio pino, sem feixe */
#ativos:not(.at-armed) .at-mark__tag { bottom: auto; top: 0; transform: translate(-50%, -50%); padding: 3px; }
#ativos:not(.at-armed) .at-mark__beam, #ativos:not(.at-armed) .at-mark__foot { display: none; }
.reduced #ativos .at-read { display: none; }
#ativos .at-mark.is-active .at-mark__beam { transform: scaleY(1); }
/* Retícula de travamento: quatro cantoneiras fecham sobre o pino quando a câmera chega */
#ativos .at-mark__foot::before { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0; pointer-events: none;
  --rc: var(--teal-hi);
  background:
    linear-gradient(var(--rc), var(--rc)) 0 0 / 11px 2px, linear-gradient(var(--rc), var(--rc)) 0 0 / 2px 11px,
    linear-gradient(var(--rc), var(--rc)) 100% 0 / 11px 2px, linear-gradient(var(--rc), var(--rc)) 100% 0 / 2px 11px,
    linear-gradient(var(--rc), var(--rc)) 0 100% / 11px 2px, linear-gradient(var(--rc), var(--rc)) 0 100% / 2px 11px,
    linear-gradient(var(--rc), var(--rc)) 100% 100% / 11px 2px, linear-gradient(var(--rc), var(--rc)) 100% 100% / 2px 11px;
  background-repeat: no-repeat; filter: drop-shadow(0 0 6px rgba(79, 240, 220, 0.7)); }
#ativos .at-mark--km .at-mark__foot::before { --rc: var(--cyan-hi); }
#ativos.at-armed .at-mark.is-active .at-mark__foot::before { animation: at-lock 0.75s var(--ease-out) 0.15s forwards, at-lock-idle 2.4s ease-in-out 0.9s infinite; }
@keyframes at-lock { 0% { opacity: 0; transform: scale(2.8) rotate(45deg); } 55% { opacity: 1; } 100% { opacity: 0.95; transform: scale(1) rotate(0deg); } }
@keyframes at-lock-idle { 0%, 100% { opacity: 0.95; transform: scale(1); } 50% { opacity: 0.7; transform: scale(1.12); } }
#ativos .at-mark.is-active .at-mark__tag { bottom: 108px; padding: 6px 16px 6px 6px; border-radius: 12px; border-color: var(--teal-hi); box-shadow: 0 0 0 4px rgba(79, 240, 220, 0.1), 0 14px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(18, 197, 181, 0.35); }
#ativos .at-mark.is-active .at-mark__tag b { width: 32px; height: 32px; font-size: 12px; }
#ativos .at-mark.is-active .at-mark__txt { display: block; }

/* Chamada do Startup Challenge (sem local físico definido) */
#ativos .at-callout { position: absolute; z-index: 5; right: 18px; top: 58px; width: min(330px, calc(100% - 36px)); display: grid; gap: 6px; padding: 16px 18px; border-radius: 12px; opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); pointer-events: none; }
#ativos .at-callout.is-on { opacity: 1; transform: none; }
#ativos .at-callout__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
#ativos .at-callout b { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 20px; text-transform: uppercase; line-height: 1; }
#ativos .at-callout span:last-child { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* HUD do mapa */
#ativos .at-hud { position: absolute; z-index: 5; left: 16px; top: 14px; display: grid; gap: 3px; font-family: var(--font-mono); text-transform: uppercase; pointer-events: none; }
#ativos .at-hud__t { font-size: 10.5px; letter-spacing: 0.2em; color: var(--teal); }
#ativos .at-hud__c { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3); }
#ativos .at-read { position: absolute; z-index: 5; right: 16px; top: 14px; display: flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); pointer-events: none; }
#ativos .at-read b { font-weight: 500; color: var(--ink); margin-right: 8px; font-variant-numeric: tabular-nums; }
#ativos:not(.at-js) .at-read { display: none; }

/* Legenda */
#ativos .at-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 14px 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); border-top: 1px solid var(--line); }
#ativos .at-legend__i { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
#ativos .at-legend__i i { width: 16px; height: 3px; border-radius: 2px; }
#ativos .at-legend__i--pin i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--teal-hi); box-shadow: 0 0 8px var(--teal); }
#ativos .at-legend__i--km i { background: var(--cyan-hi); box-shadow: 0 0 8px var(--cyan); }
#ativos .at-legend__i--run i { background: rgba(230, 247, 255, 0.6); }
#ativos .at-legend__note { flex-basis: 100%; letter-spacing: 0.08em; text-transform: none; font-family: var(--font-body); font-style: italic; font-size: 12.5px; color: var(--ink-3); }
#ativos .at-map > .concept-tag { top: 44px; bottom: auto; left: 16px; right: auto; }

/* ---------- Letreiro / cartões das propriedades ---------- */
#ativos .at-sign__k { display: none; }
#ativos .at-props { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
#ativos .at-prop { position: relative; padding: 18px 18px 20px; border-radius: var(--radius-m); background: var(--grad-glass); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.5s; }
#ativos .at-prop__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
#ativos .at-prop__n { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 22px; line-height: 1; letter-spacing: 0; color: var(--teal); }
#ativos .at-prop:nth-child(even) .at-prop__n { color: var(--cyan-hi); }
#ativos .at-prop__loc { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); letter-spacing: 0.1em; }
#ativos .at-prop__loc svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--teal-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#ativos .at-prop--nopin .at-prop__loc { border-style: dashed; }
#ativos .at-slot { margin: 0 0 12px; display: flex; }
#ativos .at-slot__box { position: relative; display: inline-block; padding: 7px 12px 6px; border: 1.5px dashed rgba(79, 240, 220, 0.6); border-radius: 8px; background: rgba(18, 197, 181, 0.07); font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-hi); white-space: nowrap; line-height: 1.3; }
#ativos .at-slot__ghost { visibility: hidden; padding-right: 16px; }
#ativos .at-slot__typed { position: absolute; left: 12px; top: 7px; display: inline-flex; align-items: center; }
#ativos .at-caret { display: inline-block; width: 0.55em; height: 1.1em; margin-left: 4px; background: var(--teal-hi); box-shadow: 0 0 10px var(--teal-hi); animation: at-blink 1.05s steps(2, jump-none) infinite; }
@keyframes at-blink { 50% { opacity: 0; } }
#ativos .at-prop__name { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 34px); line-height: 0.92; letter-spacing: -0.015em; }
#ativos .at-prop__d { margin: 10px 0 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; color: var(--ink-2); }
#ativos .at-note { margin: 0; }
#ativos .at-index { display: none; }

/* ---------- Empilhado com JS (tablet/celular): mapa fixo + cartões guiam a câmera ---------- */
#ativos.at-armed:not(.at-tour) .at-pin { overflow: clip; }
#ativos.at-armed:not(.at-tour) .at-map { position: sticky; top: calc(var(--hud-h) + 6px); z-index: 5; }
/* cobre o que rola por trás do HUD, acima do mapa fixo */
#ativos.at-armed:not(.at-tour) .at-map.is-stuck::before { content: ''; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); bottom: 100%; height: calc(var(--hud-h) + 8px); background: var(--space); pointer-events: none; }
#ativos.at-armed:not(.at-tour) .at-map.is-stuck::after { content: ''; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%; height: 34px; background: linear-gradient(180deg, var(--space), rgba(2, 8, 22, 0)); pointer-events: none; }
#ativos.at-armed:not(.at-tour) .at-props { grid-template-columns: minmax(0, 1fr); }
#ativos.at-armed:not(.at-tour) .at-prop.is-active { box-shadow: inset 0 0 0 1px var(--line-teal), 0 0 40px -10px rgba(18, 197, 181, 0.4); }
#ativos.at-armed:not(.at-tour) .at-prop.is-active::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--grad-brand-v); box-shadow: 0 0 12px var(--teal); }

/* ---------- Tour (desktop / projetor, pin) ---------- */
#ativos.at-tour .at-pin { height: 100vh; height: 100svh; overflow: hidden; }
#ativos.at-tour .at-layout {
  height: 100%;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: 'head map' 'sign map' 'index index' 'note note';
  column-gap: clamp(28px, 3.4vw, 64px); row-gap: clamp(8px, 1.6vh, 16px);
  padding-top: calc(var(--hud-h) + clamp(8px, 2vh, 20px)); padding-bottom: clamp(10px, 2vh, 20px);
}
#ativos.at-tour .at-head { grid-area: head; }
#ativos.at-tour .at-head .t-eyebrow { margin-bottom: clamp(10px, 1.6vh, 20px); }
#ativos.at-tour .at-title { font-size: clamp(26px, min(2.55vw, 4.7vh), 46px); max-width: 19ch; }
#ativos.at-tour .at-map { grid-area: map; min-height: 0; }
#ativos.at-tour .at-view { height: auto; min-height: 0; border-radius: var(--radius-m); }
#ativos.at-tour .at-legend { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 12px 16px 14px; border-top: 0; background: linear-gradient(0deg, rgba(3, 11, 28, 0.92), rgba(3, 11, 28, 0)); border-radius: 0 0 var(--radius-m) var(--radius-m); pointer-events: none; }
#ativos.at-tour .at-legend__note { flex-basis: auto; margin-left: auto; font-size: 14px; letter-spacing: 0.02em; }
#ativos.at-tour .at-sign { grid-area: sign; align-self: center; position: relative; padding-left: clamp(18px, 1.8vw, 28px); }
#ativos.at-tour .at-sign::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--teal-hi), var(--cyan) 60%, rgba(29, 159, 208, 0)); box-shadow: 0 0 14px var(--teal); }
#ativos.at-tour .at-sign__k { display: flex; align-items: center; gap: 8px; margin: 0 0 clamp(10px, 1.8vh, 18px); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
#ativos.at-tour .at-sign__k i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: at-blink 1.6s steps(2, jump-none) infinite; }
#ativos .at-intro { display: none; }
#ativos.at-tour .at-intro { position: absolute; left: clamp(18px, 1.8vw, 28px); top: 50%; display: grid; gap: 6px; transform: translateY(-40%); opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out); }
#ativos.at-tour.at-is-intro .at-intro { opacity: 1; transform: translateY(-50%); }
#ativos .at-intro b { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 125%; font-size: clamp(64px, min(7vw, 13vh), 132px); line-height: 0.85; letter-spacing: -0.02em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em; }
#ativos .at-intro span { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: clamp(20px, 1.9vw, 30px); text-transform: uppercase; line-height: 1; }
#ativos .at-intro small { margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
#ativos.at-tour .at-props { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
#ativos.at-tour .at-prop { grid-area: 1 / 1; padding: 0; background: none; box-shadow: none; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease-out); }
#ativos.at-tour .at-prop.is-active { opacity: 1; pointer-events: auto; }
#ativos.at-tour .at-prop__meta { margin-bottom: clamp(12px, 2vh, 22px); }
#ativos.at-tour .at-prop__n { font-size: clamp(22px, 2vw, 30px); }
#ativos.at-tour .at-slot { margin-bottom: clamp(10px, 1.8vh, 18px); }
#ativos.at-tour .at-slot__box { font-size: clamp(13px, 1.05vw, 17px); padding: 9px 14px 8px; }
#ativos.at-tour .at-slot__typed { left: 14px; top: 9px; }
#ativos.at-tour .at-prop__name { font-size: clamp(34px, min(3.6vw, 6.6vh), 70px); }
#ativos.at-tour .at-prop__name .at-line { display: block; overflow: hidden; padding: 0.04em 0.12em 0.06em 0; margin: -0.04em -0.12em -0.06em 0; }
#ativos.at-tour .at-prop__d { margin-top: clamp(10px, 1.8vh, 18px); font-size: clamp(17px, 1.35vw, 22px); max-width: 28ch; }

#ativos.at-tour .at-index { display: block; grid-area: index; position: relative; padding-top: 2px; }
#ativos .at-index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
#ativos .at-index__track { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
#ativos .at-index__track i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); box-shadow: 0 0 10px var(--teal); }
#ativos .at-index__btn { position: relative; width: 100%; min-height: 50px; display: grid; align-content: start; gap: 3px; padding: 18px 10px 4px 0; text-align: left; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); border-radius: 6px; transition: color 0.3s; }
#ativos .at-index__btn::before { content: ''; position: absolute; left: 0; top: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--space); border: 1.5px solid var(--ink-4); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
#ativos .at-index__n { color: var(--ink-4); transition: color 0.3s; }
#ativos .at-index__btn:hover, #ativos .at-index__btn:focus-visible { color: var(--ink); }
#ativos .at-index__btn.is-past::before { border-color: var(--teal); background: var(--teal-deep); }
#ativos .at-index__btn.is-past .at-index__n { color: var(--teal); }
#ativos .at-index__btn.is-active { color: var(--ink); }
#ativos .at-index__btn.is-active::before { border-color: var(--teal-hi); background: var(--teal-hi); box-shadow: 0 0 0 4px rgba(79, 240, 220, 0.18), 0 0 14px var(--teal-hi); transform: scale(1.15); }
#ativos .at-index__btn.is-active .at-index__n { color: var(--teal-hi); }
#ativos.at-tour .at-note { grid-area: note; font-size: 14px; max-width: none; }

@media (max-width: 1180px) {
  #ativos .at-read { display: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 820px) {
  #ativos .at-view { height: clamp(220px, 60vw, 380px); }
  #ativos .at-hud { display: none; }
  #ativos .at-lg-long { display: none; }
  #ativos .at-poi i { left: -14px; top: -14px; width: 28px; height: 28px; }
  #ativos.at-armed .at-mark:not(.is-active) .at-mark__tag { display: none; }
  #ativos.at-armed .at-mark:not(.is-active) .at-mark__beam { transform: scaleY(0.2); }
  #ativos .at-hud__c { display: none; }
  #ativos .at-read { display: none; }
  #ativos .at-legend { gap: 4px 12px; padding: 9px 12px 10px; font-size: 10px; letter-spacing: 0.08em; }
  #ativos .at-legend__note { font-size: 14px; letter-spacing: 0; }
  #ativos .at-note { font-size: 14px; }
  #ativos .at-map > .concept-tag { top: 10px; bottom: auto; left: 10px; right: auto; }
  #ativos .at-hud { top: 12px; left: 12px; }
  #ativos .at-hud__t { font-size: 10px; letter-spacing: 0.12em; max-width: 46vw; }
  #ativos .at-callout { right: 10px; left: 10px; top: auto; bottom: 10px; width: auto; padding: 10px 12px; gap: 3px; }
  #ativos .at-callout b { font-size: 16px; }
  #ativos .at-callout span:last-child { display: none; } /* o cartão 03 já diz "Local a definir · na programação"; o mapa curto fica visível */
  #ativos .at-mark.is-active .at-mark__tag { bottom: 70px; padding: 4px 12px 4px 4px; }
  #ativos .at-mark__beam { height: 66px; }
  #ativos .at-mark__name { font-size: 13px; }
  #ativos .at-mark__slot { font-size: 9px; }
  #ativos .at-mark.is-active .at-mark__tag b { width: 26px; height: 26px; }
  #ativos .at-prop__name { font-size: clamp(26px, 8vw, 36px); }
}

/* ---------- Sem JS: mapa plano na proporção da imagem ---------- */
.no-js #ativos .at-view { height: auto; aspect-ratio: 5504 / 3072; perspective: none; }
.no-js #ativos .at-cam { width: 100%; }

/* ---------- Movimento reduzido ---------- */
.reduced #ativos .at-poi i::after, .reduced #ativos .at-poi i::before, .reduced #ativos .at-caret, .reduced #ativos .at-sign__k i { animation: none; }
