/* Tutorial animado (tutorial.js): player em tela cheia e as cenas do "vídeo".
   As cenas são desenhadas num palco fixo de 1280×720 que é reduzido/ampliado para caber; a legenda fica fora do
   palco, em tamanho normal, para ser lida também no celular. Cada animação conta a partir do início da cena. */

@property --n { syntax: '<integer>'; initial-value: 0; inherits: false; }

/* ---------- player ---------- */
.tt { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #000c18; color: #eef4f8;
  font: 15px/1.5 'Overpass', 'Segoe UI', system-ui, sans-serif; overflow: hidden; }
.tt[open] { display: flex; flex-direction: column; animation: tt-abre .5s ease both; }
.tt::backdrop { background: #000c18; }
.tt .ph { font-size: inherit; }   /* ícones no tamanho do texto em volta (o monitor fixa 16 px) */
.tt h1, .tt h2, .tt h4 { text-transform: none; }
.tt.tt-fechando { animation: tt-fecha .35s ease-in both; }
@keyframes tt-abre { from { opacity: 0; transform: scale(1.04); } }
@keyframes tt-fecha { to { opacity: 0; transform: scale(.98); } }

.tt-topo { display: flex; align-items: center; gap: 12px; padding: 10px 16px; flex-shrink: 0; }
.tt-marca { display: flex; align-items: center; gap: 10px; font: 800 15px/1 'Overpass', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.tt-marca img { height: 22px; filter: brightness(0) invert(1); }
.tt-marca span:last-child { color: #fae200; }
.tt-pular { margin-left: auto; height: 36px; padding: 0 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: rgba(255,255,255,.08); color: #fff; font: 700 13px 'Overpass', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.tt-pular:hover { background: rgba(255,255,255,.18); }

.tt-tela { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.tt-palco { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; border-radius: 14px; background: #011a2b; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: pointer; }

.tt-legenda { flex-shrink: 0; min-height: 96px; padding: 12px 20px 4px; max-width: 980px; width: 100%; margin: 0 auto; text-align: center; }
.tt-legenda small { display: block; font: 700 11.5px 'Overpass Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #fae200; }
.tt-legenda p { margin: 4px 0 0; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.5; color: #d6e3ec; text-wrap: balance; }
.tt-legenda.troca small, .tt-legenda.troca p { animation: tt-sobe .45s ease both; }
.tt-legenda.troca p { animation-delay: .06s; }

.tt-ctl { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 6px 16px 14px; max-width: 1100px; width: 100%; margin: 0 auto; }
.tt-play { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fae200; color: #01263d; font-size: 20px; cursor: pointer; transition: transform .15s; }
.tt-play:hover { transform: scale(1.08); }
.tt-tempo { font: 12px 'Overpass Mono', ui-monospace, monospace; color: #a8bccb; white-space: nowrap; }
.tt-barra { position: relative; flex: 1; height: 28px; cursor: pointer; touch-action: none; }
.tt-barra::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.tt-barra-prog { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 2px; background: #fae200; pointer-events: none; }
.tt-barra-prog::after { content: ''; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #fae200; box-shadow: 0 0 0 4px rgba(250,226,0,.25); }
.tt-marcas button { position: absolute; top: 8px; width: 3px; height: 12px; padding: 0; border: 0; border-radius: 1px; background: rgba(255,255,255,.45); transform: translateX(-1px); cursor: pointer; }
.tt-marcas button:hover::after { content: attr(data-nome); position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 6px; background: #02253d; color: #fff; font: 700 11px 'Overpass', sans-serif; box-shadow: 0 6px 16px rgba(0,0,0,.4); }

.tt-fim { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(circle, rgba(1,38,61,.75), rgba(0,12,24,.92)); z-index: 30; }
.tt-fim.on { display: grid; animation: tt-fade .4s ease both; }
.tt-fim div { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.tt-fim button { height: 52px; padding: 0 26px; border-radius: 26px; font: 800 17px 'Overpass', sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tt-fim .tt-de-novo { border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; }
.tt-fim .tt-comecar { border: 0; background: #fae200; color: #01263d; }

.tt-girar { display: none; }
@media (max-width: 700px) {
  .tt-palco { border-radius: 8px; }
  .tt-marca .tt-marca-nome { display: none; }
  .tt-tempo { display: none; }
  .tt-legenda { min-height: 120px; }
}
/* celular em pé: o vídeo fica pequeno; sugere girar */
@media (orientation: portrait) and (max-width: 700px) {
  .tt-girar { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 4px 16px 0; font: 700 13px 'Overpass', sans-serif; color: #a8bccb; }
  .tt-girar i { font-size: 20px; color: #fae200; animation: tt-gira-cel 2.4s ease-in-out infinite; }
}
@keyframes tt-gira-cel { 0%, 30% { transform: rotate(0); } 50%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }

/* ---------- cenas: base ---------- */
.tt-cena { position: absolute; inset: 0; display: none; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #04324f 0%, #011a2b 60%, #000f1c 100%); }
.tt-cena.on, .tt-cena.saindo { display: block; }
.tt-cena.on { z-index: 2; }
.tt-cena.saindo { z-index: 1; }
/* transições de entrada (a cena anterior fica embaixo até a nova cobrir a tela) */
.tt-cena.on[data-trans="circulo"] { animation: tt-t-circulo .8s cubic-bezier(.6, 0, .3, 1) both; }
.tt-cena.on[data-trans="faixa"] { animation: tt-t-faixa .8s cubic-bezier(.7, 0, .3, 1) both; }
.tt-cena.on[data-trans="zoom"] { animation: tt-t-zoom .8s cubic-bezier(.2, .8, .3, 1) both; }
.tt-cena.on[data-trans="persiana"] { animation: tt-t-persiana .8s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes tt-t-circulo { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
@keyframes tt-t-faixa { from { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); } to { clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); } }
@keyframes tt-t-zoom { from { opacity: 0; transform: scale(1.25); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tt-t-persiana { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
/* faixa amarela que acompanha a transição */
.tt-cena.on[data-trans="faixa"]::after { content: ''; position: absolute; top: -10%; bottom: -10%; width: 60px; left: 0; background: #fae200; transform: skewX(-12deg); z-index: 50; animation: tt-t-risca .8s cubic-bezier(.7, 0, .3, 1) both; pointer-events: none; }
@keyframes tt-t-risca { from { left: -10%; } 99% { opacity: 1; } to { left: 110%; opacity: 0; } }

/* título grande da cena e a etiqueta do capítulo */
.tt-cap { position: absolute; left: 50px; top: 34px; font: 800 14px 'Overpass Mono', monospace; letter-spacing: .2em; color: #fae200; animation: tt-esq .6s .25s both; }
.tt-h { position: absolute; left: 0; right: 0; top: 52px; text-align: center; font: 800 46px/1.1 'Overpass', sans-serif; color: #fff; letter-spacing: -.01em; }
.tt-h > span { display: inline-block; animation: tt-palavra .6s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(.2s + var(--w) * .09s); }
.tt-h em { font-style: normal; color: #fae200; }

/* animações genéricas (--d = atraso a partir do início da cena) */
.a-pop { animation: tt-pop .55s cubic-bezier(.3, 1.6, .5, 1) var(--d, 0s) both; }
.a-sobe { animation: tt-sobe .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0s) both; }
.a-desce { animation: tt-desce .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0s) both; }
.a-esq { animation: tt-esq .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0s) both; }
.a-dir { animation: tt-dir .6s cubic-bezier(.2, .9, .3, 1) var(--d, 0s) both; }
.a-fade { animation: tt-fade .7s ease var(--d, 0s) both; }
@keyframes tt-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes tt-sobe { from { opacity: 0; transform: translateY(26px); } }
@keyframes tt-desce { from { opacity: 0; transform: translateY(-26px); } }
@keyframes tt-esq { from { opacity: 0; transform: translateX(-40px); } }
@keyframes tt-dir { from { opacity: 0; transform: translateX(40px); } }
@keyframes tt-fade { from { opacity: 0; } }
@keyframes tt-palavra { from { opacity: 0; transform: translateY(40px) rotate(6deg) scale(.8); } }
@keyframes tt-some { to { opacity: 0; transform: scale(.9); } }
@keyframes tt-encolhe { to { opacity: 0; height: 0; margin: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } }
@keyframes tt-pulso { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.6); opacity: 0; } }
@keyframes tt-pisca { 50% { opacity: 0; } }
@keyframes tt-conta { from { --n: 0; } to { --n: var(--alvo); } }
.tt-num { counter-reset: n var(--n); }
.tt-num::after { content: counter(n); }

/* cursor e clique */
.tt-cursor { position: absolute; left: 0; top: 0; width: 34px; height: 34px; z-index: 40; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.tt-clique { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 3px solid #fae200; z-index: 39; opacity: 0; pointer-events: none; animation: tt-clique .6s ease-out var(--d) both; }
@keyframes tt-clique { 0% { opacity: 0; transform: scale(.2); } 1% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }

/* rótulo apontando (balão amarelo) */
.tt-rotulo { position: absolute; z-index: 20; padding: 8px 16px; border-radius: 22px; background: #fae200; color: #01263d; font: 800 20px/1 'Overpass', sans-serif; box-shadow: 0 10px 24px rgba(0,0,0,.4); white-space: nowrap; }
.tt-rotulo i { margin-right: 6px; }

/* ---------- peças de interface (versões simplificadas do monitor) ---------- */
.tt-janela { position: absolute; border-radius: 14px; overflow: hidden; background: #011a2b; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #0d4566; }
.tt-jbarra { position: absolute; left: 0; right: 0; top: 0; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: linear-gradient(168deg, #01426a, #004a6e 55%, #006293); border-bottom: 3px solid #fae200; }
.tt-jbarra b { font: 800 15px 'Overpass', sans-serif; letter-spacing: .06em; color: #fff; }
.tt-jbarra .tt-logo { width: 54px; height: 16px; border-radius: 3px; background: rgba(255,255,255,.75); }
.tt-jbarra .tt-bts { margin-left: auto; display: flex; gap: 6px; }
.tt-jbarra .tt-bts i { width: 28px; height: 24px; border-radius: 6px; background: rgba(255,255,255,.18); }
.tt-jbarra .tt-bts i.y { width: 70px; background: #fae200; }
.tt-placar { display: flex; gap: 8px; }
.tt-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: color-mix(in srgb, var(--c) 16%, #02253d); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); font: 800 15px 'Overpass', sans-serif; }
.tt-cartao { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid #0d4566; background: #02253d; overflow: hidden; }
.tt-cartao::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #fae200); }
.tt-escudo { width: 40px; height: 44px; display: grid; place-items: center; padding-top: 6px; background: #f4f8fb; color: #01426a; font: 800 12px/1 'Overpass', sans-serif; clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.tt-escudo small { display: block; font-size: 7px; letter-spacing: .1em; }
.tt-cartao b { display: block; font: 800 15px/1.25 'Overpass', sans-serif; color: #eef4f8; }
.tt-cartao span { display: block; margin-top: 4px; font-size: 12.5px; color: #a8bccb; }
.tt-linhas i { display: block; height: 8px; margin-top: 7px; border-radius: 4px; background: #0d4566; }
.tt-tag { display: inline-block; margin-top: 7px; padding: 3px 7px; border-radius: 4px; font: 800 10px/1 'Overpass', sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--c); color: #01263d; }

/* Brasil (public/vendor/tutorial-brasil.svg, gerado por scripts/gerar-brasil-tutorial.mjs) */
.tt-br { position: absolute; aspect-ratio: 962 / 988; }
.tt-br svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tt-br .uf { fill: #0f2236; stroke: #2a3e5c; stroke-width: 1.4; }
.tt-br .rod { fill: none; stroke: #55678a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.tt-br .pino circle { transform-box: fill-box; transform-origin: center; }
.tt-br .pino-ponto { fill: var(--st); stroke: #fff; stroke-width: 2.5; animation: tt-pop .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--base, 1s) + var(--i) * .12s) both; }
.tt-br .pino-halo { fill: var(--st); opacity: 0; animation: tt-pulso 2s ease-in-out calc(var(--base, 1s) + var(--i) * .12s + .5s) infinite; }
.tt-br .pino[data-st="total"] { --st: #ff5a5a; }
.tt-br .pino[data-st="parcial"] { --st: #ff8a3d; }
.tt-br .pino[data-st="ocorrencia"] { --st: #fae200; }
.tt-br .pino[data-st="clima"] { --st: #2dc3e8; }
.tt-br .pino[data-st="liberado"] { --st: #3ddc84; }
.tt-br.sem-pinos .pinos { display: none; }
@keyframes tt-desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- 0: abertura ---------- */
.c-abre { background: radial-gradient(90% 70% at 50% 100%, #006293 0%, #01426a 35%, #011a2b 75%); }
.c-abre .tt-estrada { position: absolute; left: 50%; bottom: -40px; width: 640px; height: 1200px; margin-left: -320px; transform-origin: 50% 100%; transform: perspective(800px) rotateX(68deg);
  background: linear-gradient(90deg, #fff 0 10px, transparent 10px calc(100% - 10px), #fff calc(100% - 10px)), repeating-linear-gradient(180deg, #fae200 0 60px, transparent 60px 120px) 50% 0 / 14px 100% no-repeat, #0b1b2c;
  animation: tt-fade 1s both, tt-rola .5s linear infinite; mask-image: linear-gradient(to top, #000 55%, transparent); }
@keyframes tt-rola { to { background-position: 0 0, 50% 120px, 0 0; } }
.c-abre .tt-luz { position: absolute; width: 4px; height: 90px; border-radius: 2px; background: linear-gradient(transparent, #fae200); opacity: .0; animation: tt-luz 1.4s linear var(--d) infinite; }
@keyframes tt-luz { 0% { opacity: 0; transform: translateY(-120px); } 20% { opacity: .8; } 100% { opacity: 0; transform: translateY(520px); } }
.c-abre .tt-paz { position: absolute; left: 50%; top: 92px; height: 96px; transform: translateX(-50%); filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(0,0,0,.4)); animation: tt-pop-c .8s cubic-bezier(.3, 1.6, .5, 1) .3s both; }
@keyframes tt-pop-c { from { opacity: 0; transform: translateX(-50%) scale(.2) rotate(-20deg); } }
.c-abre h1 { position: absolute; left: 0; right: 0; top: 222px; margin: 0; text-align: center; font: 900 92px/1 'Overpass', sans-serif; letter-spacing: -.02em; color: #fff; text-shadow: 0 12px 40px rgba(0,0,0,.4); }
.c-abre h1 span { display: inline-block; animation: tt-palavra .8s cubic-bezier(.2, 1.4, .4, 1) calc(.8s + var(--w) * .14s) both; }
.c-abre .tt-sub { position: absolute; left: 50%; top: 342px; transform: translateX(-50%); padding: 10px 26px; border-radius: 30px; background: #fae200; color: #01263d; font: 800 26px/1 'Overpass', sans-serif; letter-spacing: .04em; text-transform: uppercase; animation: tt-pop-c .7s cubic-bezier(.3, 1.6, .5, 1) 1.6s both; white-space: nowrap; }
.c-abre .tt-brilho { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); animation: tt-varre 1.6s ease-in-out 2.2s both; }
@keyframes tt-varre { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- 1: visão geral ---------- */
.c-geral .tt-janela { left: 140px; top: 128px; width: 1000px; height: 548px; animation: tt-pop .7s cubic-bezier(.2, 1.2, .3, 1) .1s both; }
.c-geral .tt-jbarra { animation: tt-desce .5s .4s both; }
.c-geral .tt-placar { position: absolute; left: 14px; top: 56px; }
.c-geral .tt-lista { position: absolute; left: 0; top: 98px; width: 340px; bottom: 0; border-right: 1px solid #0d4566; overflow: hidden; }
.c-geral .tt-mapa { position: absolute; left: 340px; right: 0; top: 98px; bottom: 0; background: #0d1524; }
.c-geral .tt-br { height: 430px; left: 50%; top: 10px; transform: translateX(-50%); --base: 2.2s; animation: tt-fade .8s 1.5s both; }

/* ---------- 2: placar ---------- */
.c-placar .tt-grandes { position: absolute; left: 0; right: 0; top: 170px; display: flex; justify-content: center; gap: 18px; }
.c-placar .tt-grande { width: 176px; height: 186px; padding: 18px 10px 0; border-radius: 18px; text-align: center; background: color-mix(in srgb, var(--c) 14%, #02253d); border: 2px solid color-mix(in srgb, var(--c) 50%, transparent); color: var(--c); transition: none; }
.c-placar .tt-grande i.ph { font-size: 34px; }
.c-placar .tt-grande .tt-num { display: block; margin-top: 6px; font: 900 60px/1 'Overpass', sans-serif; animation: tt-conta 1.4s cubic-bezier(.2, .8, .3, 1) calc(var(--d) + .2s) both; }
.c-placar .tt-grande small { display: block; margin-top: 10px; font: 800 14px/1.2 'Overpass', sans-serif; color: #eef4f8; }
.c-placar .tt-grande.apaga { animation: tt-pop .55s cubic-bezier(.3, 1.6, .5, 1) var(--d) both, tt-apaga .4s ease 4.8s forwards; }
.c-placar .tt-grande.acende { animation: tt-pop .55s cubic-bezier(.3, 1.6, .5, 1) var(--d) both, tt-acende .5s ease 4.7s forwards; }
@keyframes tt-apaga { to { opacity: .25; transform: scale(.92); filter: grayscale(.6); } }
@keyframes tt-acende { to { transform: scale(1.08); box-shadow: 0 0 0 5px #ff5a5a, 0 0 50px rgba(255, 90, 90, .55); } }
.c-placar .tt-filtrado { animation: tt-sobe .6s cubic-bezier(.2, .9, .3, 1) 5.2s both; position: absolute; left: 50%; top: 400px; width: 560px; margin-left: -280px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.c-placar .tt-legenda-mapa { position: absolute; left: 0; right: 0; bottom: 40px; display: flex; justify-content: center; gap: 26px; font: 700 17px 'Overpass', sans-serif; color: #d6e3ec; }
.c-placar .tt-legenda-mapa span { display: inline-flex; align-items: center; gap: 8px; }
.c-placar .tt-legenda-mapa span::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* ---------- 3: busca e filtros ---------- */
.c-busca .tt-painel { position: absolute; left: 240px; top: 130px; width: 800px; height: 548px; border-radius: 16px; background: #02253d; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #0d4566; overflow: hidden; animation: tt-sobe .6s .1s both; }
.c-busca .tt-input { position: absolute; left: 24px; right: 24px; top: 22px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-radius: 12px; border: 2px solid #1b5a80; background: #011a2b; font: 700 22px 'Overpass', sans-serif; color: #7591a6; animation: tt-borda .3s .6s forwards; }
@keyframes tt-borda { to { border-color: #fae200; box-shadow: 0 0 0 4px rgba(250,226,0,.2); } }
.c-busca .tt-input i { font-size: 24px; }
.c-busca .tt-digita { display: inline-block; overflow: hidden; white-space: nowrap; color: #fff; width: 0; animation: tt-digita 1s steps(6) .9s forwards; font-family: 'Overpass Mono', monospace; }
.c-busca .tt-placeholder { animation: tt-fade .1s reverse .9s forwards; }
@keyframes tt-digita { to { width: 6ch; } }
.c-busca .tt-caret { width: 2px; height: 26px; background: #fae200; animation: tt-pisca .8s steps(1) infinite; }
.c-busca .tt-seg { position: absolute; left: 24px; top: 96px; display: flex; border: 1px solid #1b5a80; border-radius: 10px; overflow: hidden; }
.c-busca .tt-seg span { padding: 10px 16px; font: 700 16px 'Overpass', sans-serif; color: #d6e3ec; border-right: 1px solid #1b5a80; }
.c-busca .tt-seg span:last-child { border: 0; }
.c-busca .tt-seg .liga { animation: tt-liga .3s 2.7s forwards; }
.c-busca .tt-tipos { position: absolute; left: 24px; top: 152px; display: flex; gap: 8px; }
.c-busca .tt-tipos span { width: 52px; height: 42px; display: grid; place-items: center; border: 1px solid #1b5a80; border-radius: 10px; font-size: 22px; color: #d6e3ec; }
.c-busca .tt-tipos .liga { animation: tt-liga .3s 3.7s forwards; }
@keyframes tt-liga { to { background: #fae200; color: #01263d; border-color: #fae200; } }
.c-busca .tt-chk { position: absolute; left: 24px; top: 210px; display: flex; gap: 26px; font: 700 17px 'Overpass', sans-serif; color: #d6e3ec; }
.c-busca .tt-chk span { display: inline-flex; align-items: center; gap: 8px; }
.c-busca .tt-chk span::before { content: ''; width: 20px; height: 20px; border-radius: 5px; border: 2px solid #1b5a80; }
.c-busca .tt-chk .liga::before { animation: tt-marca .3s 4.7s forwards; }
@keyframes tt-marca { to { background: #fae200 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10l4 4 8-8' fill='none' stroke='%2301263d' stroke-width='3'/%3E%3C/svg%3E") center / 100%; border-color: #fae200; } }
.c-busca .tt-res { position: absolute; left: 0; right: 0; top: 256px; bottom: 0; border-top: 1px solid #0d4566; overflow: hidden; }
.c-busca .tt-res .tt-cartao { animation: tt-sobe .4s var(--d) both, tt-encolhe .45s ease var(--d2, 99s) forwards; max-height: 90px; }
.c-busca .tt-achou { position: absolute; right: 24px; top: 96px; animation: tt-pop .5s cubic-bezier(.3, 1.6, .5, 1) 5.4s both; }

/* ---------- 4: ocorrência ---------- */
.c-oco .tt-lista { position: absolute; left: 60px; top: 128px; width: 360px; height: 548px; border-radius: 14px; overflow: hidden; background: #02253d; box-shadow: 0 0 0 1px #0d4566; animation: tt-esq .6s .1s both; }
.c-oco .tt-lista .tt-cartao.sel { animation: tt-sel .3s 1.45s forwards; }
@keyframes tt-sel { to { background: #04324f; box-shadow: inset 0 0 0 2px #fae200; } }
.c-oco .tt-mapa { position: absolute; left: 440px; top: 128px; width: 780px; height: 548px; border-radius: 14px; overflow: hidden; background: #0d1524; box-shadow: 0 0 0 1px #0d4566; animation: tt-fade .6s .2s both; }
.c-oco .tt-br { height: 528px; left: 50%; top: 10px; margin-left: -257px; --base: .5s; transform-origin: 69.2% 73.5%; animation: tt-zoom-sp 1.6s cubic-bezier(.6, 0, .2, 1) 1.6s both; }
@keyframes tt-zoom-sp { to { transform: translate(-250px, -190px) scale(3.4); } } /* SP sai de baixo do card do detalhe */
.c-oco .tt-br .pino:not([data-p="sp"]) { opacity: .6; }
.c-oco .tt-br .pino[data-p="sp"] .pino-halo { animation: tt-pulso 1.2s ease-in-out 2.4s infinite; }
.c-oco .tt-det { position: absolute; right: 74px; bottom: 58px; width: 380px; height: 172px; border-radius: 14px; background: #02253d; box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px #1b5a80; overflow: hidden; z-index: 5;
  animation: tt-sobe .55s cubic-bezier(.2, 1.1, .3, 1) 2.7s both, tt-abre-det .7s cubic-bezier(.3, 1.1, .4, 1) 5s forwards; }
@keyframes tt-abre-det { to { height: 470px; } }
.c-oco .tt-det-topo { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: color-mix(in srgb, #ff5a5a 22%, #02253d); border-bottom: 2px solid #ff5a5a; color: #ff8080; font: 800 13px 'Overpass', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.c-oco .tt-det h4 { margin: 12px 16px 4px; font: 800 19px/1.25 'Overpass', sans-serif; color: #fff; }
.c-oco .tt-det p { margin: 0 16px; font: 13.5px 'Overpass Mono', monospace; color: #a8bccb; }
.c-oco .tt-det .tt-ver { margin: 12px 16px; display: inline-flex; align-items: center; gap: 6px; font: 800 14px 'Overpass', sans-serif; color: #2dc3e8; animation: tt-fade .3s reverse 5s forwards; }
.c-oco .tt-det dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 6px 16px 10px; font-size: 13.5px; }
.c-oco .tt-det dt { color: #7591a6; font-weight: 700; }
.c-oco .tt-det dd { margin: 0; color: #eef4f8; }
.c-oco .tt-det .tt-mais { position: absolute; left: 0; right: 0; top: 150px; animation: tt-sobe .5s 5.4s both; }
.c-oco .tt-acoes { display: flex; gap: 8px; margin: 6px 16px; }
.c-oco .tt-acoes span { flex: 1; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; border: 1px solid #1b5a80; background: #04324f; font: 800 13px 'Overpass', sans-serif; color: #eef4f8; }
.c-oco .tt-acoes span.y { flex: 1.6; background: #fae200; border-color: #fae200; color: #01263d; }
.c-oco .tt-acoes .copiar { animation: tt-aperta .3s 7.25s; }
@keyframes tt-aperta { 50% { transform: scale(.92); background: #2dc3e8; } }
.c-oco .tt-nav { margin: 8px 16px; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; background: linear-gradient(90deg, #006293, #2dc3e8); font: 800 14px 'Overpass', sans-serif; color: #fff; }
.c-oco .tt-toast { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 12px 22px; border-radius: 12px; background: #3ddc84; color: #01263d; font: 800 17px 'Overpass', sans-serif; z-index: 30; animation: tt-toast 2s ease 7.4s both; white-space: nowrap; }
@keyframes tt-toast { 0% { opacity: 0; transform: translate(-50%, 30px); } 15%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }

/* ---------- 5: rodovias ---------- */
.c-rod .tt-mapa { position: absolute; left: 380px; top: 110px; width: 860px; height: 580px; border-radius: 14px; overflow: hidden; background: #0d1524; box-shadow: 0 0 0 1px #0d4566; animation: tt-fade .6s .1s both; }
.c-rod .tt-br { height: 560px; left: 50%; top: 10px; margin-left: -273px; --base: .6s; }
.c-rod .tt-br .rod { transition: none; animation: tt-apaga-rod .4s ease 2.1s forwards; }
@keyframes tt-apaga-rod { to { opacity: .15; } }
.c-rod .tt-br .rod[data-br="BR-163"] { stroke: #fae200; stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 1; filter: drop-shadow(0 0 6px #fae200); animation: tt-desenha 1.3s ease-in-out 2.2s both; }
.c-rod .tt-br .pino:not([data-p="rondonopolis"]):not([data-p="sinop"]) { animation: tt-apaga-rod .4s ease 2.1s forwards; }
.c-rod .tt-painel { position: absolute; left: 50px; top: 140px; width: 300px; border-radius: 14px; overflow: hidden; background: #02253d; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px #0d4566; animation: tt-esq .6s .2s both; }
.c-rod .tt-painel header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font: 800 15px 'Overpass', sans-serif; letter-spacing: .14em; color: #fff; border-bottom: 1px solid #0d4566; }
.c-rod .tt-painel header em { font-style: normal; color: #7591a6; }
.c-rod .tt-rodl { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid #0d4566; position: relative; }
.c-rod .tt-rodl::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.c-rod .tt-rodl b { display: block; font: 800 15px 'Overpass', sans-serif; color: #fff; }
.c-rod .tt-rodl small { font: 12px 'Overpass Mono', monospace; color: #7591a6; }
.c-rod .tt-rodl .ph-steering-wheel { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #04324f; color: #2dc3e8; font-size: 20px; }
.c-rod .tt-rodl.foco { animation: tt-sobe .5s var(--d) both, tt-sel .3s 2s forwards; }
.c-rod .tt-rodl.foco .ph-steering-wheel { animation: tt-volante .5s ease 5.4s; }
@keyframes tt-volante { 50% { transform: rotate(-60deg) scale(1.3); background: #fae200; color: #01263d; } }
.c-rod .tt-dica { position: absolute; left: 356px; top: 196px; padding: 8px 12px; border-radius: 8px; background: #fff; color: #01263d; font: 800 14px 'Overpass', sans-serif; z-index: 10; animation: tt-pop .4s cubic-bezier(.3, 1.6, .5, 1) 4.8s both; white-space: nowrap; }

/* ---------- 6: navegação 3D ---------- */
.c-nav { background: linear-gradient(180deg, #020611 0%, #0b2140 34%, #1d4a72 42%, #0d1524 42.2%); }
/* chão e linha num plano inclinado; o desenho anda por transform (só a placa de vídeo trabalha, sem redesenhar) */
.c-nav .tt-chao, .c-nav .tt-linha-nav { position: absolute; left: 50%; top: 302px; height: 1800px; transform-origin: 50% 0; transform: perspective(520px) rotateX(80deg); overflow: hidden; }
.c-nav .tt-chao { width: 3600px; margin-left: -1800px; background: #121b2a; }
.c-nav .tt-chao::before { content: ''; position: absolute; left: 0; right: 0; top: -120px; bottom: 0; will-change: transform; animation: tt-anda .5s linear infinite;
  background: linear-gradient(90deg, transparent calc(50% - 160px), #1a2436 calc(50% - 160px) calc(50% + 160px), transparent calc(50% + 160px)),
    repeating-linear-gradient(0deg, #26324a 0 6px, transparent 6px 120px), repeating-linear-gradient(90deg, #26324a 0 6px, transparent 6px 140px); }
.c-nav .tt-linha-nav { width: 120px; margin-left: -60px; background: linear-gradient(90deg, transparent, rgba(45,195,232,.35) 30%, rgba(45,195,232,.35) 70%, transparent); }
.c-nav .tt-linha-nav::before { content: ''; position: absolute; left: 30px; right: 30px; top: -120px; bottom: 0; will-change: transform; animation: tt-anda .5s linear infinite; background: repeating-linear-gradient(0deg, #2dc3e8 0 80px, #7fe3ff 80px 120px); }
@keyframes tt-anda { to { transform: translateY(120px); } }
.c-nav .tt-predio { position: absolute; left: 50%; top: 300px; width: 70px; height: var(--h); margin-top: calc(var(--h) * -1); transform-origin: 50% 100%; background: linear-gradient(90deg, #2b3953, #3f5276 60%, #2b3953);
  box-shadow: inset 0 0 0 2px rgba(127, 227, 255, .08); opacity: 0; animation: tt-predio 2.4s linear var(--d) infinite; }
.c-nav .tt-predio::after { content: ''; position: absolute; inset: 8px; background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(250,226,0,.35) 10px 13px), repeating-linear-gradient(90deg, transparent 0 9px, #2b3953 9px 15px); }
@keyframes tt-predio { 0% { opacity: 0; transform: translateX(calc(-50% + var(--lado) * 70px)) translateY(0) scale(.06); } 12% { opacity: 1; } 100% { opacity: 1; transform: translateX(calc(-50% + var(--lado) * 1300px)) translateY(500px) scale(2.6); } }
.c-nav .tt-caminhao { position: absolute; left: 50%; top: 430px; width: 230px; margin-left: -115px; animation: tt-sobe .8s .3s both, tt-balanca 1.4s ease-in-out 1.1s infinite; filter: drop-shadow(0 20px 20px rgba(0,0,0,.6)); }
@keyframes tt-balanca { 50% { transform: translateY(-3px) rotate(.4deg); } }
.c-nav .tt-hud { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 14px; border-radius: 16px; background: rgba(2, 37, 61, .92); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px #1b5a80; animation: tt-desce .6s 1s both; white-space: nowrap; }
.c-nav .tt-hud > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: #ff5a5a; color: #fff; font-size: 30px; }
.c-nav .tt-hud b { display: block; font: 900 34px/1 'Overpass', sans-serif; color: #fff; }
.c-nav .tt-hud span { font: 700 15px 'Overpass', sans-serif; color: #d6e3ec; }
.c-nav .tt-hud b span { font: inherit; color: inherit; }
.c-nav .tt-hud .d1 { animation: tt-fade .2s reverse 5.6s forwards; }
.c-nav .tt-hud b { position: relative; }
.c-nav .tt-hud .d2 { position: absolute; left: 0; top: 0; animation: tt-fade .2s 5.6s both; }
.c-nav .tt-hud .tt-rodhud { margin-left: 8px; padding: 6px 10px; border-radius: 8px; background: #f4f8fb; color: #01426a; font: 900 16px 'Overpass', sans-serif; }
.c-nav .tt-barra-nav { position: absolute; left: 140px; right: 140px; bottom: 26px; display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 16px; background: rgba(2, 37, 61, .92); box-shadow: 0 0 0 1px #1b5a80; animation: tt-sobe .6s 1.4s both; }
.c-nav .tt-km { text-align: center; color: #7591a6; font: 700 11px 'Overpass', sans-serif; }
.c-nav .tt-km .tt-num { display: block; font: 900 26px/1 'Overpass Mono', monospace; color: #fff; --alvo: 226; animation: tt-conta-km 8.5s linear 1.4s both; }
@keyframes tt-conta-km { from { --n: 214; } to { --n: var(--alvo); } }
.c-nav .tt-trilho { position: relative; flex: 1; height: 8px; border-radius: 4px; background: #0d4566; }
.c-nav .tt-trilho::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #2dc3e8; animation: tt-trilho 8.5s linear 1.4s both; }
@keyframes tt-trilho { from { width: 8%; } to { width: 62%; } }
.c-nav .tt-trilho i { position: absolute; top: -5px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 3px solid #02253d; background: var(--c); }
.c-nav .tt-vel { display: flex; border: 1px solid #1b5a80; border-radius: 10px; overflow: hidden; }
.c-nav .tt-vel span { padding: 8px 12px; font: 800 14px 'Overpass', sans-serif; color: #d6e3ec; }
.c-nav .tt-vel span.on { background: #2dc3e8; color: #01263d; }
.c-nav .tt-sair { padding: 9px 16px; border-radius: 10px; background: #fae200; color: #01263d; font: 800 14px 'Overpass', sans-serif; }
.c-nav .tt-alerta { position: absolute; left: 50%; top: 290px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #ff5a5a; border: 3px solid #fff; box-shadow: 0 0 30px #ff5a5a; opacity: 0; animation: tt-chega 2.6s cubic-bezier(.6, 0, 1, 1) 6.6s both; }
@keyframes tt-chega { 0% { opacity: 0; transform: scale(.3); } 20% { opacity: 1; } 100% { opacity: 1; transform: translateY(120px) scale(2.6); } }
.c-nav .tt-aviso { position: absolute; left: 50%; top: 134px; transform: translateX(-50%); padding: 10px 20px; border-radius: 10px; background: #ff5a5a; color: #fff; font: 900 20px 'Overpass', sans-serif; letter-spacing: .04em; text-transform: uppercase; animation: tt-pop .5s cubic-bezier(.3, 1.6, .5, 1) 7.6s both, tt-pisca .6s steps(1) 8.1s 3; white-space: nowrap; }

/* ---------- 7: linha do tempo ---------- */
.c-tempo .tt-mapa { position: absolute; left: 300px; top: 116px; width: 680px; height: 420px; border-radius: 14px; overflow: hidden; background: #0d1524; box-shadow: 0 0 0 1px #0d4566; animation: tt-fade .6s .1s both; }
.c-tempo .tt-br { height: 404px; left: 50%; top: 8px; margin-left: -197px; --base: .4s; }
.c-tempo .tt-br .pino[data-p="sp"] .pino-ponto, .c-tempo .tt-br .pino[data-p="bh"] .pino-ponto, .c-tempo .tt-br .pino[data-p="sinop"] .pino-ponto { animation: tt-pop .5s calc(.4s + var(--i) * .12s) both, tt-some-pino .3s 2.4s forwards, tt-volta-pino .3s 5.6s forwards; }
.c-tempo .tt-br .pino[data-p="sp"] .pino-halo, .c-tempo .tt-br .pino[data-p="bh"] .pino-halo, .c-tempo .tt-br .pino[data-p="sinop"] .pino-halo, .c-tempo .tt-br .pino[data-p="recife"] .pino-halo, .c-tempo .tt-br .pino[data-p="goiania"] .pino-halo { display: none; }
.c-tempo .tt-br .pino[data-p="recife"] .pino-ponto, .c-tempo .tt-br .pino[data-p="goiania"] .pino-ponto { opacity: 0; animation: tt-volta-pino .4s 2.6s forwards, tt-some-pino .3s 5.8s forwards; }
@keyframes tt-some-pino { to { opacity: 0; transform: scale(0); } }
@keyframes tt-volta-pino { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.c-tempo .tt-tl { position: absolute; left: 110px; right: 110px; top: 566px; height: 92px; display: flex; align-items: center; gap: 16px; padding: 0 18px; border-radius: 16px; background: #02253d; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px #0d4566; animation: tt-sobe .6s .3s both; }
.c-tempo .tt-relogio { position: relative; width: 150px; height: 64px; }
.c-tempo .tt-relogio div { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
.c-tempo .tt-relogio small { font: 800 11px 'Overpass', sans-serif; letter-spacing: .12em; }
.c-tempo .tt-relogio b { font: 900 30px/1 'Overpass Mono', monospace; color: #fff; }
.c-tempo .tt-relogio span { font: 12px 'Overpass Mono', monospace; color: #7591a6; }
.c-tempo .r1 small { color: #3ddc84; } .c-tempo .r2 small, .c-tempo .r3 small { color: #fae200; }
.c-tempo .r1 { animation: tt-fade .2s reverse 2.3s forwards; }
.c-tempo .r2 { opacity: 0; animation: tt-fade .2s 2.3s forwards, tt-fade .2s reverse 5.2s forwards; }
.c-tempo .r3 { opacity: 0; animation: tt-fade .2s 5.2s forwards; }
.c-tempo .tt-tl-play { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #fae200; color: #01263d; font-size: 22px; position: relative; flex-shrink: 0; }
.c-tempo .tt-tl-play i { position: absolute; }
.c-tempo .tt-tl-play .ph-pause { opacity: 0; animation: tt-fade .2s 4.65s forwards; }
.c-tempo .tt-tl-play .ph-play { animation: tt-fade .2s reverse 4.65s forwards; }
.c-tempo .tt-trilho-tl { position: relative; flex: 1; height: 60px; }
.c-tempo .tt-trilho-tl svg { position: absolute; left: 0; bottom: 14px; width: 100%; height: 42px; }
.c-tempo .tt-trilho-tl::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 4px; border-radius: 2px; background: #1b5a80; }
.c-tempo .tt-alca { position: absolute; bottom: 2px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fae200; box-shadow: 0 0 0 5px rgba(250,226,0,.25); z-index: 2; left: 98%; animation: tt-arrasta 1.6s cubic-bezier(.5, 0, .3, 1) 1.6s forwards, tt-toca 2s linear 4.8s forwards; }
@keyframes tt-arrasta { to { left: 36%; } }
@keyframes tt-toca { from { left: 36%; } to { left: 74%; } }
.c-tempo .tt-vivo { padding: 8px 14px; border-radius: 10px; border: 1px solid #3ddc84; color: #3ddc84; font: 800 14px 'Overpass', sans-serif; white-space: nowrap; }
.c-tempo .tt-revendo { position: absolute; left: 50%; top: 116px; transform: translateX(-50%); z-index: 5; padding: 10px 18px; border-radius: 0 0 12px 12px; background: #fae200; color: #01263d; font: 800 16px 'Overpass', sans-serif; white-space: nowrap; animation: tt-desce .5s 2.6s both; }

/* ---------- 8: câmeras ---------- */
.c-cam .tt-cambt { position: absolute; left: 50%; top: 134px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 18px; border-radius: 30px; background: #02253d; border: 2px solid #1b5a80; font: 800 20px 'Overpass', sans-serif; color: #fff; animation: tt-pop-c .6s cubic-bezier(.3, 1.6, .5, 1) .4s both, tt-aperta-c .3s 1.4s; white-space: nowrap; }
@keyframes tt-aperta-c { 50% { transform: translateX(-50%) scale(.92); } }
.c-cam .tt-cambt em { font-style: normal; padding: 3px 9px; border-radius: 12px; background: #fae200; color: #01263d; font-size: 15px; }
.c-cam .tt-vivo-ponto { width: 14px; height: 14px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.7); animation: tt-vivo 1.2s ease-out infinite; }
@keyframes tt-vivo { to { box-shadow: 0 0 0 14px rgba(255,59,59,0); } }
.c-cam .tt-grade { position: absolute; left: 110px; right: 110px; top: 222px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.c-cam .tt-tv { position: relative; height: 196px; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px #1b5a80; animation: tt-vira .7s cubic-bezier(.2, 1.2, .3, 1) var(--d) both;
  background: linear-gradient(180deg, var(--ceu, #7fa7c9) 0 42%, #3b4a3a 42%); }
@keyframes tt-vira { from { opacity: 0; transform: rotateY(-80deg) scale(.8); } }
.c-cam .tt-tv::before { content: ''; position: absolute; left: 50%; top: 42%; width: 120%; height: 58%; margin-left: -60%; background: linear-gradient(90deg, transparent 49.2%, #fae200 49.2% 50.8%, transparent 50.8%) 0 0 / 100% 40px, #3a3f47; clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.c-cam .tt-tv::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); pointer-events: none; }
.c-cam .tt-tv i { position: absolute; top: 46%; width: 22px; height: 14px; border-radius: 3px; background: var(--cc, #e9eef2); animation: tt-carro var(--v, 2.4s) linear var(--d2, 0s) infinite; z-index: 1; }
@keyframes tt-carro { from { transform: translate(var(--x0), 0) scale(.3); opacity: 0; } 15% { opacity: 1; } to { transform: translate(var(--x1), 110px) scale(2); opacity: 1; } }
.c-cam .tt-tv b { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 8px; border-radius: 5px; background: #ff3b3b; color: #fff; font: 900 11px 'Overpass', sans-serif; letter-spacing: .1em; }
.c-cam .tt-tv span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 12px 8px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font: 700 14px 'Overpass', sans-serif; }

/* ---------- 9: trechos e alertas ---------- */
.c-trecho .tt-form { position: absolute; left: 90px; top: 150px; width: 520px; padding: 22px; border-radius: 16px; background: #02253d; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px #0d4566; animation: tt-esq .6s .1s both; }
.c-trecho .tt-form h4 { margin: 0 0 16px; display: flex; align-items: center; gap: 8px; font: 800 22px 'Overpass', sans-serif; color: #fff; }
.c-trecho .tt-form h4 i { color: #fae200; }
.c-trecho .tt-campos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.c-trecho .tt-campo { display: flex; flex-direction: column; gap: 5px; font: 700 12px 'Overpass', sans-serif; color: #7591a6; text-transform: uppercase; letter-spacing: .06em; }
.c-trecho .tt-campo.largo { grid-column: span 3; }
.c-trecho .tt-campo div { height: 42px; display: flex; align-items: center; padding: 0 12px; border-radius: 9px; border: 1px solid #1b5a80; background: #011a2b; }
.c-trecho .tt-campo div span { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; color: #fff; font: 700 17px 'Overpass Mono', monospace; text-transform: none; letter-spacing: 0; animation: tt-digita-n var(--t, .5s) steps(var(--n)) var(--d) forwards; }
@keyframes tt-digita-n { to { width: calc(var(--n) * 1ch); } }
.c-trecho .tt-add { margin-top: 18px; height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: #fae200; color: #01263d; font: 800 17px 'Overpass', sans-serif; animation: tt-aperta-y .3s 2.85s; }
@keyframes tt-aperta-y { 50% { transform: scale(.95); } }
.c-trecho .tt-salvo { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #04324f; border: 1px solid #1b5a80; font: 700 15px 'Overpass', sans-serif; color: #eef4f8; animation: tt-pop .5s cubic-bezier(.3, 1.6, .5, 1) 3.05s both; }
.c-trecho .tt-salvo i { color: #fae200; font-size: 20px; }
.c-trecho .tt-sino { position: absolute; left: 860px; top: 200px; width: 170px; height: 170px; display: grid; place-items: center; border-radius: 50%; background: #02253d; box-shadow: 0 0 0 2px #1b5a80; font-size: 84px; color: #7591a6; animation: tt-pop .6s cubic-bezier(.3, 1.6, .5, 1) .5s both, tt-sino-liga .3s 3.5s forwards; }
@keyframes tt-sino-liga { to { background: #2dc3e8; color: #01263d; box-shadow: 0 0 0 2px #2dc3e8, 0 0 60px rgba(45,195,232,.5); } }
.c-trecho .tt-sino i { animation: tt-balanca-sino .5s ease-in-out 3.7s 5; transform-origin: 50% 10%; }
@keyframes tt-balanca-sino { 25% { transform: rotate(18deg); } 75% { transform: rotate(-18deg); } }
.c-trecho .tt-onda { position: absolute; left: 945px; top: 285px; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 3px solid #2dc3e8; opacity: 0; animation: tt-onda 1.4s ease-out var(--d) 3; }
@keyframes tt-onda { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
.c-trecho .tt-notif { position: absolute; left: 720px; top: 440px; width: 460px; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: #fff; color: #01263d; box-shadow: 0 24px 60px rgba(0,0,0,.6); border-left: 6px solid #ff5a5a; animation: tt-dir .6s cubic-bezier(.2, 1.2, .3, 1) 4.4s both; }
.c-trecho .tt-notif > i { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: #ff5a5a; color: #fff; font-size: 26px; }
.c-trecho .tt-notif b { display: block; font: 900 18px/1.2 'Overpass', sans-serif; }
.c-trecho .tt-notif span { font: 14px 'Overpass Mono', monospace; color: #4f5d70; }
.c-trecho .tt-btalerta { position: absolute; left: 900px; top: 130px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font: 800 16px 'Overpass', sans-serif; animation: tt-fade .5s .7s both, tt-alerta-on .3s 3.4s forwards; }
@keyframes tt-alerta-on { to { background: #2dc3e8; border-color: #2dc3e8; color: #01263d; } }

/* ---------- 10: do seu jeito ---------- */
.c-jeito .tt-col { position: absolute; top: 140px; width: 340px; text-align: center; }
.c-jeito .tt-col > b { display: block; margin-top: 18px; font: 800 22px 'Overpass', sans-serif; color: #fff; }
.c-jeito .tt-col > small { display: block; margin-top: 4px; font: 15px 'Overpass', sans-serif; color: #a8bccb; }
.c-jeito .tt-tema { position: relative; width: 300px; height: 300px; margin: 40px auto 0; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); background: #f8f4f0; }
.c-jeito .tt-tema .tt-br { height: 280px; left: 50%; top: 10px; margin-left: -136px; }
.c-jeito .tt-tema.claro > .tt-br .uf { fill: #fff; stroke: #c9b8a4; }
.c-jeito .tt-tema.claro > .tt-br .rod { stroke: #f0b54a; }
.c-jeito .tt-tema .tt-escuro { position: absolute; inset: 0; background: #0d1524; clip-path: circle(0 at 88% 12%); animation: tt-noite 1s cubic-bezier(.6, 0, .3, 1) 1.8s forwards; }
@keyframes tt-noite { to { clip-path: circle(150% at 88% 12%); } }
.c-jeito .tt-sol { position: absolute; right: 14px; top: 14px; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #01426a; color: #fae200; font-size: 26px; }
.c-jeito .tt-sol i { position: absolute; transition: none; }
.c-jeito .tt-sol .ph-sun { animation: tt-gira-sai .5s 1.6s forwards; }
.c-jeito .tt-sol .ph-moon { opacity: 0; animation: tt-gira-entra .5s 1.8s forwards; }
@keyframes tt-gira-sai { to { opacity: 0; transform: rotate(180deg) scale(.3); } }
@keyframes tt-gira-entra { from { opacity: 0; transform: rotate(-180deg) scale(.3); } to { opacity: 1; transform: none; } }
.c-jeito .tt-cel { position: relative; width: 190px; height: 340px; margin: 20px auto 0; border-radius: 28px; padding: 12px 10px; background: #0b1420; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 3px #2a3e5c; }
.c-jeito .tt-cel-tela { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: #02253d; }
.c-jeito .tt-cel-barra { height: 26px; background: linear-gradient(168deg, #01426a, #006293); border-bottom: 2px solid #fae200; }
.c-jeito .tt-cel-vista { position: absolute; left: 0; right: 0; top: 28px; bottom: 40px; overflow: hidden; }
.c-jeito .tt-cel-vista > div { position: absolute; inset: 0; }
.c-jeito .tt-cel-lista { animation: tt-desliza-sai .5s 3.2s forwards; }
.c-jeito .tt-cel-lista i { display: block; height: 40px; margin: 6px; border-radius: 6px; background: #04324f; border-left: 3px solid var(--c); }
.c-jeito .tt-cel-mapa { overflow: hidden; background: #0d1524; transform: translateX(100%); animation: tt-desliza-entra .5s 3.2s forwards; }
.c-jeito .tt-cel-mapa .tt-br { height: 240px; left: 50%; top: 10px; margin-left: -117px; --base: 3.4s; }
@keyframes tt-desliza-sai { to { transform: translateX(-100%); } }
@keyframes tt-desliza-entra { to { transform: none; } }
.c-jeito .tt-cel-abas { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #0d4566; }
.c-jeito .tt-cel-abas span { display: grid; place-items: center; font: 800 11px 'Overpass', sans-serif; color: #a8bccb; }
.c-jeito .tt-cel-abas .a1 { color: #fae200; animation: tt-cor-sai .2s 3.1s forwards; }
.c-jeito .tt-cel-abas .a2 { animation: tt-cor-entra .2s 3.1s forwards; }
@keyframes tt-cor-sai { to { color: #a8bccb; } }
@keyframes tt-cor-entra { to { color: #fae200; } }
.c-jeito .tt-tv-grande { position: relative; width: 330px; height: 210px; margin: 70px auto 0; border-radius: 12px; border: 8px solid #0b1420; overflow: hidden; background: #0d1524; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.c-jeito .tt-tv-grande::after { content: ''; position: absolute; left: 50%; bottom: -40px; width: 80px; height: 30px; margin-left: -40px; background: #0b1420; }
.c-jeito .tt-tv-grande .tt-br { height: 190px; left: 50%; top: 4px; margin-left: -93px; --base: 1.6s; }
.c-jeito .tt-alvo { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 3px solid #fae200; box-shadow: 0 0 20px #fae200; animation: tt-tour 4s ease-in-out 3.6s both; }
@keyframes tt-tour { 0% { left: 64%; top: 72%; opacity: 0; } 10% { opacity: 1; } 30% { left: 64%; top: 72%; } 50% { left: 49%; top: 55%; } 70% { left: 49%; top: 55%; } 90%, 100% { left: 60%; top: 77%; opacity: 1; } }
.c-jeito .tt-tour { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: #fae200; color: #01263d; font: 800 12px 'Overpass', sans-serif; animation: tt-pop .4s 3.4s both; }

/* ---------- 11: fim ---------- */
.c-fim { background: radial-gradient(90% 80% at 50% 30%, #006293 0%, #01426a 40%, #011a2b 85%); }
.c-fim h2 { position: absolute; left: 0; right: 0; top: 120px; margin: 0; text-align: center; font: 900 120px/1 'Overpass', sans-serif; color: #fff; letter-spacing: -.03em; animation: tt-pronto .9s cubic-bezier(.3, 1.6, .5, 1) .3s both; text-shadow: 0 16px 50px rgba(0,0,0,.4); }
@keyframes tt-pronto { from { opacity: 0; transform: scale(.2) rotate(-8deg); } }
.c-fim h2 em { font-style: normal; color: #fae200; }
.c-fim .tt-sub { position: absolute; left: 0; right: 0; top: 268px; text-align: center; font: 700 26px 'Overpass', sans-serif; color: #d6e3ec; animation: tt-sobe .6s 1s both; }
.c-fim .tt-fins { position: absolute; left: 0; right: 0; top: 360px; display: flex; justify-content: center; gap: 30px; }
.c-fim .tt-fins div { width: 380px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: rgba(2, 37, 61, .85); box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px #1b5a80; }
.c-fim .tt-fins i { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; background: #fae200; color: #01263d; font-size: 34px; }
.c-fim .tt-fins b { display: block; font: 900 24px 'Overpass', sans-serif; color: #fff; }
.c-fim .tt-fins span { font: 15px 'Overpass', sans-serif; color: #a8bccb; }
.c-fim .tt-confete { position: absolute; top: -30px; left: var(--x); width: 12px; height: 18px; background: var(--c); border-radius: 2px; animation: tt-cai var(--v) linear var(--d) infinite; }
@keyframes tt-cai { from { transform: translateY(0) rotate(0); } to { transform: translateY(800px) rotate(var(--r)); } }
.c-fim .tt-pazfim { position: absolute; left: 50%; bottom: 46px; height: 54px; transform: translateX(-50%); filter: brightness(0) invert(1); opacity: .8; animation: tt-fade .6s 2.2s both; }
