/* ============================================================
   AOVIVO (split from addons.css)
   ============================================================ */

/* ============================================================
   AO VIVO / AUTO DJ (brascast-aovivo-autodj.html)
   ============================================================ */

/* --- Hero --- */
.av-hero { padding: calc(var(--nav-h) + 80px) 0 60px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); position: relative; overflow: hidden; }
.av-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.av-hero-bg .blob { position: absolute; border-radius: 50%; pointer-events: none; }
.av-hero-bg .blob-1 { width: 740px; height: 740px; background: radial-gradient(circle, rgba(23,141,114,.18) 0%, rgba(23,141,114,.07) 35%, transparent 70%); top: -260px; right: -180px; }
.av-hero-bg .blob-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(78,217,182,.12) 0%, rgba(78,217,182,.04) 40%, transparent 70%); bottom: -220px; left: -220px; }
.av-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; }
.av-hero-text h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance; }
.av-hero-text h1 .accent { color: var(--green); }
.av-hero-text .av-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-light); border-radius: 99px; padding: 6px 14px; margin-bottom: 22px; }
.av-hero-text .av-eyebrow .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: pulse 1.6s infinite; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.av-hero-text p.lead { font-size: 20px; color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; max-width: 500px; }
.av-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust row inside the hero */
.av-hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; font-size: 14px; color: var(--text-muted); }
.av-hero-trust strong { color: var(--text); font-weight: 800; }
.av-trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--green-mid); opacity: .55; }

/* --- Stream Hub Scene (hero right side, v4 — radial/clock layout) --- */
.stm-scene { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.stm-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 30px rgba(15,30,27,.08)); }

/* Anéis orbitais ao redor do servidor (ondas de transmissão) */
.stm-orbit { transform-origin: 270px 280px; animation: stmOrbit 8s ease-out infinite; }
.stm-orbit-2 { animation-delay: 2s; animation-duration: 9s; }
@keyframes stmOrbit {
  0%   { opacity: .35; transform: scale(.85); }
  70%  { opacity: .12; }
  100% { opacity: 0;   transform: scale(1.18); }
}

/* Servidor "respira" levemente */
.stm-server { transform-origin: 275px 280px; animation: stmServerFloat 5s ease-in-out infinite; }
@keyframes stmServerFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* LEDs do servidor piscam em sequência */
.stm-led { animation: stmLed 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes stmLed {
  0%, 70%, 100% { opacity: 1; }
  35%           { opacity: .3; }
}

/* Status LED do display */
.stm-status-led { animation: stmStatusLed 1.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes stmStatusLed { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Display do servidor (barras de áudio pulsando) */
.stm-display rect { animation: stmDisplay 1.2s ease-in-out infinite alternate; transform-origin: center bottom; transform-box: fill-box; }
.stm-display rect:nth-child(1) { animation-delay: 0s; }
.stm-display rect:nth-child(2) { animation-delay: .1s; }
.stm-display rect:nth-child(3) { animation-delay: .2s; }
.stm-display rect:nth-child(4) { animation-delay: .3s; }
.stm-display rect:nth-child(5) { animation-delay: .4s; }
.stm-display rect:nth-child(6) { animation-delay: .5s; }
@keyframes stmDisplay { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* Badge C da brascast (topo do servidor) — flutua suavemente */
.stm-hub-badge { transform-origin: 275px 150px; animation: stmHubFloat 4.5s ease-in-out infinite; }
@keyframes stmHubFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Dispositivos com leve flutuação dessincronizada */
.stm-device { transform-box: fill-box; transform-origin: center; animation: stmDevFloat 5s ease-in-out infinite; }
.stm-device--mic     { animation-delay: 0s; }
.stm-device--laptop  { animation-delay: .6s; animation-duration: 5.4s; }
.stm-device--speaker { animation-delay: 1.2s; animation-duration: 5.6s; }
.stm-device--phone   { animation-delay: 1.8s; animation-duration: 5.2s; }
.stm-device--car     { animation-delay: 2.4s; animation-duration: 5.8s; }
@keyframes stmDevFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Dot AO VIVO do mic */
.stm-mic-dot { animation: stmMicDot 1.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes stmMicDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Pacotes (já têm animateMotion, só estilo) */
.stm-packet { filter: drop-shadow(0 0 4px rgba(23,141,114,.55)); }

/* Reduzir motion para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .stm-orbit, .stm-server, .stm-led, .stm-status-led, .stm-display rect,
  .stm-hub-badge, .stm-device, .stm-mic-dot { animation: none !important; }
}

/* --- Flow diagram (Studio -> Brascast -> Listeners) --- */
.flow-section { background: #fff; padding: 100px 0; border-top: 1px solid var(--border); }
.flow-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.flow-head .tag { margin-bottom: 18px; }
.flow-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.flow-head h2 .accent { color: var(--green); }
.flow-head p { font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.flow-diagram { background: linear-gradient(160deg, #f5faf8 0%, #e8f5f1 100%); border: 1.5px solid var(--border); border-radius: 24px; padding: 56px 32px; position: relative; overflow: hidden; }
.flow-grid { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 24px; align-items: center; position: relative; z-index: 1; }
.flow-node { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s; }
.flow-node:hover { transform: translateY(-3px); }
.flow-node.center { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); border-color: var(--green); color: #fff; padding: 28px 20px; }
.flow-node-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.flow-node-icon svg { width: 22px; height: 22px; color: var(--green); }
.flow-node.center .flow-node-icon { background: rgba(255,255,255,.18); }
.flow-node.center .flow-node-icon svg { color: #fff; }
.flow-node h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.flow-node.center h4 { color: #fff; font-size: 17px; }
.flow-node p { font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }
.flow-node.center p { color: rgba(255,255,255,.8); font-size: 13px; }
.flow-node-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.flow-node-tag { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--green-light); color: var(--green); }
.flow-node.center .flow-node-tag { background: rgba(255,255,255,.16); color: #fff; }
.flow-arrow { position: relative; width: 80px; height: 32px; }
.flow-arrow svg { width: 100%; height: 100%; }
.flow-arrow .packet { fill: var(--green); }
@keyframes flowPacket { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.flow-arrow .packet-anim { offset-path: path('M 0 16 L 80 16'); animation: flowPacket 2.4s linear infinite; }
.flow-arrow .packet-anim.d2 { animation-delay: .8s; }
.flow-arrow .packet-anim.d3 { animation-delay: 1.6s; }

/* --- Auto DJ Turntable + Fila --- */
.dj-section { background: var(--bg-soft); padding: 100px 0; }
.dj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.dj-text h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.dj-text h2 .accent { color: var(--green); }
.dj-text > p { font-size: 17px; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; max-width: 480px; }
.dj-feats { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.dj-feat { display: flex; align-items: flex-start; gap: 14px; }
.dj-ecad-note { display: flex; align-items: flex-start; gap: 8px; padding: 0 2px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.dj-ecad-note svg { color: var(--text-muted); flex-shrink: 0; margin-top: 2px; opacity: .7; }
.dj-ecad-note strong { color: var(--text); font-weight: 600; }
.dj-feat-icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.dj-feat-icon svg { width: 17px; height: 17px; color: var(--green); }
.dj-feat strong { font-size: 15px; font-weight: 700; color: var(--text); display: block; }
.dj-feat span { font-size: 17px; color: var(--text-muted); line-height: 1.55; }

/* Music library - catalogue */
.ac-library { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; box-shadow: 0 18px 44px rgba(15,30,27,.12), 0 4px 12px rgba(15,30,27,.04); overflow: hidden; max-width: 480px; margin: 0 auto; }

/* Top */
.ac-library-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.ac-library-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--text); letter-spacing: -.005em; }
.ac-library-title svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* Busca */
.ac-library-search { display: flex; align-items: center; gap: 8px; margin: 14px 18px; padding: 9px 12px; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 10px; color: var(--text-muted); font-size: 12.5px; }
.ac-library-search svg { width: 15px; height: 15px; flex-shrink: 0; display: block; }
.ac-library-search span { flex: 1; }
.ac-library-search kbd { font-family: monospace; font-size: 10.5px; font-weight: 700; padding: 2px 6px; background: #fff; border: 1px solid var(--border); border-radius: 4px; color: var(--text-muted); }

/* Section labels */
.ac-library-label { padding: 4px 18px 8px; font-size: 10.5px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: .14em; }

/* Genres (colored chips) */
.ac-genres { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 14px; }
.ac-genre { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; transition: transform .15s; }
.ac-genre:hover { transform: translateY(-1px); }
.ac-genre--sertanejo { background: linear-gradient(135deg, #fff4d8, #ffe1a3); color: #92660d; }
.ac-genre--pop       { background: linear-gradient(135deg, #ffe0e6, #ffb4c2); color: #b6294a; }
.ac-genre--mpb       { background: linear-gradient(135deg, var(--green-light), #c4e5d9); color: var(--green-dark); }
.ac-genre--rock      { background: linear-gradient(135deg, #d8dde4, #98a5b4); color: #2a3344; }
.ac-genre--gospel    { background: linear-gradient(135deg, #e8dffc, #c0a8f0); color: #573591; }
.ac-genre--electro   { background: linear-gradient(135deg, #d8f0fc, #8ed1ef); color: #18557a; }
.ac-genre--inter     { background: linear-gradient(135deg, #ffe5dc, #ffbb9e); color: #a14523; }
.ac-genre--more { background: transparent; border: 1px dashed var(--border); color: var(--text-muted); font-style: italic; padding: 6px 11px; }

/* Faixas */
.ac-tracks { list-style: none; padding: 4px 18px 8px; margin: 0 18px; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.ac-track { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.ac-track:first-child { border-top: none; }
.ac-track-cover { width: 32px; height: 32px; border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.ac-track-cover svg { width: 12px; height: 12px; margin-left: 1px; }
.ac-track-cover--1 { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.ac-track-cover--2 { background: linear-gradient(135deg, #f5b73a, #d97048); }
.ac-track-cover--3 { background: linear-gradient(135deg, #ed7853, #b6294a); }
.ac-track-cover--4 { background: linear-gradient(135deg, #4a7ba5, #1d3557); }
.ac-track-info { flex: 1; min-width: 0; line-height: 1.2; }
.ac-track-info strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-track-info span { font-size: 11px; color: var(--text-muted); }
.ac-track-dur { font-size: 11px; font-weight: 600; color: var(--text-muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ac-track-add { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; flex-shrink: 0; }
.ac-track-add:hover { border-color: var(--green); color: var(--green); }
.ac-track-add svg { width: 12px; height: 12px; }
.ac-track-add--done { background: var(--green); border-color: var(--green); color: #fff; }
.ac-track-add--done:hover { background: var(--green-dark); color: #fff; }
.ac-track--added .ac-track-info strong { color: var(--green-dark); }

/* Foot */
.ac-library-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--green-light); border-top: 1px solid var(--green-mid); font-size: 12px; color: var(--green-dark); line-height: 1.45; }
.ac-library-foot svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.ac-library-foot strong { font-weight: 800; }

/* --- Brascast encoder / Live broadcast --- */
.enc-section { background: var(--bg); padding: 96px 0; position: relative; overflow: hidden; }

/* Intro hero */
.enc-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.enc-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--green); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.enc-intro h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--text); margin: 0 0 18px; text-wrap: balance; }
.enc-intro h2 .accent { color: var(--green); }
.enc-intro p { font-size: 17px; color: var(--text-muted); line-height: 1.6; max-width: 620px; margin: 0 auto; text-wrap: pretty; }

/* Cards grid - wider encoder cell to fit a squarer mockup */
.enc-cards { display: grid; grid-template-columns: 2.1fr 1fr; gap: 22px; align-items: stretch; }

.enc-card { border-radius: 22px; overflow: hidden; padding: 28px; display: flex; gap: 28px; align-items: center; transition: transform .25s, box-shadow .25s; }
.enc-card:hover { transform: translateY(-3px); }

/* Dark card - Brascast Encoder */
.enc-card--brascast { background: linear-gradient(135deg, #0e1c19 0%, #1a2926 100%); color: #fff; box-shadow: 0 14px 40px rgba(15,30,27,.18); position: relative; }
.enc-card--brascast::before { content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(23,141,114,.18), transparent 65%); pointer-events: none; }
.enc-card--brascast .enc-card-mockup { flex: 0 0 460px; position: relative; z-index: 1; }
.enc-card--brascast .enc-card-info { flex: 1; position: relative; z-index: 1; }
.enc-card--brascast h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.015em; color: #fff; line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.enc-card--brascast h3 .accent { color: var(--green-mid); }
.enc-card--brascast p { font-size: 14.5px; color: rgba(255,255,255,.7); line-height: 1.55; margin-bottom: 18px; }
.enc-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.enc-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.45; }
.enc-bullets svg { width: 14px; height: 14px; color: var(--green-mid); flex-shrink: 0; margin-top: 3px; }
.enc-card--brascast .btn--white { font-weight: 700; }
.enc-card--brascast .btn--white svg { width: 14px; height: 14px; }

/* Light card - other software */
.enc-card--others { background: #fff; border: 1.5px solid var(--border); align-items: flex-start; }
.enc-card--others .enc-card-info { flex: 1; }
.enc-others-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; color: var(--green-dark); background: var(--green-light); border-radius: 99px; margin-bottom: 14px; }
.enc-others-tag svg { width: 13px; height: 13px; color: var(--green); }
.enc-card--others h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.015em; color: var(--text); line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.enc-card--others h3 .accent { color: var(--green); }
.enc-card--others p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }
.enc-card--others p strong { color: var(--text); font-weight: 700; }

.enc-software-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.enc-software { display: inline-flex; padding: 6px 12px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text); font-family: monospace; transition: border-color .15s, color .15s; }
.enc-software:hover { border-color: var(--green); color: var(--green); }
.enc-software--more { background: transparent; border-style: dashed; color: var(--text-muted); font-family: var(--font); font-style: italic; }

.enc-others-foot { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--green-light); border: 1px solid var(--green-mid); border-radius: 10px; font-size: 12.5px; color: var(--green-dark); line-height: 1.45; }
.enc-others-foot svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* Software window (Brascast Encoder mockup) */
.enc-app { background: linear-gradient(180deg, #fafdfb 0%, #f1f8f5 100%); border: 1.5px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.4); display: flex; flex-direction: column; transform: rotate(-1deg); transition: transform .3s; }
.enc-card--brascast:hover .enc-app { transform: rotate(0deg); }

.enc-app-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 14px; border-bottom: 1px solid rgba(15,30,27,.06); }
.enc-app-brand { display: flex; flex-direction: column; gap: 1px; align-items: center; margin: 0 auto; transform: translateX(28px); }
.enc-app-logo { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.enc-app-logo span { color: var(--green-mid); }
.enc-app-version { font-size: 9px; font-weight: 700; color: var(--green); letter-spacing: .22em; text-align: center; margin-top: 1px; }
.enc-app-dots { display: flex; gap: 8px; }
.enc-app-dot { width: 11px; height: 11px; border-radius: 50%; }
.enc-app-dot--min { background: #fdb43e; }
.enc-app-dot--close { background: #ff5151; }

.enc-app-body { padding: 20px 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.enc-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; background: linear-gradient(135deg, #ff5151 0%, #e63946 100%); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .18em; border-radius: 99px; box-shadow: 0 4px 14px rgba(255,81,81,.3); }
.enc-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: encLivePulse 1.4s infinite; }
@keyframes encLivePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 50% { box-shadow: 0 0 0 4px rgba(255,255,255,0); } }

.enc-power { position: relative; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(160deg, #ff6868 0%, #e63946 100%); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(230,57,70,.32), inset 0 -8px 14px rgba(0,0,0,.14), inset 0 6px 12px rgba(255,255,255,.22); transition: transform .15s; }
.enc-power:hover { transform: scale(1.02); }
.enc-power:active { transform: scale(.98); }
.enc-power-ring { position: absolute; inset: -8px; border: 2px solid rgba(255,81,81,.32); border-radius: 50%; animation: encRingPulse 2s ease-out infinite; pointer-events: none; }
@keyframes encRingPulse { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.2); } }
.enc-power svg { width: 38px; height: 38px; position: relative; z-index: 1; }

.enc-time { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.enc-time-label { font-size: 8.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .22em; }
.enc-time-value { font-size: 26px; font-weight: 700; color: var(--text); letter-spacing: -.005em; font-variant-numeric: tabular-nums; line-height: 1; }

/* VU meter - colored dots (real panel style) */
.enc-meter { width: 100%; max-width: 280px; display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.enc-meter-scale { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-muted); font-weight: 600; padding: 0 4px 0 20px; font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.enc-meter-row { display: flex; align-items: center; gap: 6px; }
.enc-meter-label { width: 10px; font-size: 9px; font-weight: 800; color: var(--text-muted); }
.enc-meter-bar { flex: 1; display: flex; gap: 2px; align-items: center; }
.enc-meter-bar i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #d3ece4; transition: background .1s; }
.enc-meter-bar i.on   { background: var(--green-mid); }
.enc-meter-bar i.warn { background: #f5b73a; }
.enc-meter-bar i.peak { background: #ff5757; }

.enc-app-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: rgba(15,30,27,.02); border-top: 1px solid rgba(15,30,27,.06); flex-wrap: wrap; }
.enc-app-now { display: flex; align-items: center; gap: 8px; min-width: 0; }
.enc-app-now-icon { width: 22px; height: 22px; border-radius: 6px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.enc-app-now-icon svg { width: 11px; height: 11px; }
.enc-app-now-label { display: block; font-size: 8px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; }
.enc-app-now strong { display: block; font-size: 11px; font-weight: 700; color: var(--text); line-height: 1.2; }
.enc-app-meta { display: flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 10px; color: var(--text-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.enc-codec { display: inline-flex; padding: 2px 6px; font-size: 9px; font-weight: 800; background: var(--green); color: #fff; border-radius: 4px; letter-spacing: .03em; }
.enc-app-sep { color: var(--border); }

/* --- Agendador / Timeline 24h --- */
.schedule-section { background: var(--bg-soft); padding: 100px 0; }
.schedule-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.schedule-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.schedule-head h2 .accent { color: var(--green); }
.schedule-head p { font-size: 17px; color: var(--text-muted); line-height: 1.6; }

.timeline-card { background: #fff; border: 1.5px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.timeline-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.timeline-day-tabs { display: inline-flex; gap: 4px; background: var(--bg-soft); padding: 4px; border-radius: 10px; }
.timeline-day-tab { padding: 7px 14px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); border-radius: 7px; cursor: pointer; transition: all .2s; }
.timeline-day-tab.active { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.timeline-now-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-light); padding: 6px 12px; border-radius: 99px; }
.timeline-now-badge .ld { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }

.timeline-ruler { display: flex; justify-content: space-between; padding: 0 4px 8px; font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.timeline-track-wrap { position: relative; height: 80px; background: var(--bg-soft); border-radius: 12px; overflow: hidden; }
.timeline-block { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; padding: 8px 10px; font-size: 11px; font-weight: 600; color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; cursor: pointer; transition: transform .2s, filter .2s; box-shadow: 0 2px 8px rgba(15,30,27,.1); }
.timeline-block:hover { transform: translateY(-1px); filter: brightness(1.08); z-index: 2; }
.timeline-block strong { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timeline-block span { font-size: 10px; opacity: .85; font-family: monospace; }
.tb-live { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.tb-dj { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); }
.tb-rebroadcast { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.tb-jingle { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.timeline-cursor { position: absolute; top: 0; bottom: 0; width: 2px; background: #0f1e1b; z-index: 3; pointer-events: none; }
.timeline-cursor::before { content: ''; position: absolute; top: -4px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: #0f1e1b; }
.timeline-cursor-label { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); background: #0f1e1b; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px; font-family: monospace; white-space: nowrap; }

.timeline-legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.timeline-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.timeline-legend-dot { width: 10px; height: 10px; border-radius: 3px; }

/* --- Recursos exclusivos (6 cards) --- */
.av-features { background: #fff; padding: 100px 0; }
.av-features-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.av-features-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.av-features-head h2 .accent { color: var(--green); }
.av-features-head p { font-size: 17px; color: var(--text-muted); line-height: 1.6; }
.av-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.av-feat-card { background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 28px; transition: all .25s; position: relative; overflow: hidden; }
.av-feat-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 12px 40px rgba(23,141,114,.12); }
.av-feat-card::after { content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: radial-gradient(circle, rgba(23,141,114,.08) 0%, transparent 70%); opacity: 0; transition: opacity .3s; }
.av-feat-card:hover::after { opacity: 1; }
.av-feat-card .fc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-light); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .2s; }
.av-feat-card:hover .fc-icon { background: var(--green); }
.av-feat-card .fc-icon svg { width: 22px; height: 22px; color: var(--green); transition: color .2s; }
.av-feat-card:hover .fc-icon svg { color: #fff; }
.av-feat-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; }
.av-feat-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.av-feat-card .fc-tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--green); background: var(--green-light); padding: 3px 8px; border-radius: 99px; margin-top: 12px; text-transform: uppercase; letter-spacing: .06em; }

/* --- Live stats + mini chart --- */
.av-stats-section { background: linear-gradient(160deg, #0a1a16 0%, #0f2a23 100%); padding: 100px 0; color: #fff; position: relative; overflow: hidden; }
.av-stats-section::before { content: ''; position: absolute; top: -300px; left: -200px; width: 880px; height: 880px; border-radius: 50%; background: radial-gradient(circle, rgba(23,141,114,.16) 0%, rgba(23,141,114,.06) 35%, transparent 70%); pointer-events: none; }
.av-stats-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; position: relative; }
.av-stats-text h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; color: #fff; text-wrap: balance; }
.av-stats-text h2 .accent { color: var(--green-mid); }
.av-stats-text p { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.65; margin-bottom: 32px; max-width: 440px; }
.av-stats-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 440px; }
.av-stat-num-block { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.av-stat-num-block .n { font-size: 32px; font-weight: 800; color: var(--green-mid); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.av-stat-num-block .l { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; }

.av-chart-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: 28px; backdrop-filter: blur(8px); }
.av-chart-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.av-chart-title .lbl { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; display: flex; align-items: center; gap: 7px; }
.av-chart-title .lbl .ld { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.av-chart-title .big { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.av-chart-title .delta { font-size: 13px; color: #22c55e; font-weight: 600; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.av-chart-title .delta svg { width: 12px; height: 12px; }
.av-chart-range { display: inline-flex; gap: 4px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 3px; border-radius: 8px; }
.av-chart-range button { padding: 5px 10px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); border-radius: 5px; transition: all .2s; }
.av-chart-range button.active { background: var(--green); color: #fff; }
.av-chart-svg { width: 100%; height: 200px; display: block; }
.av-chart-svg .grid-line { stroke: rgba(255,255,255,.05); stroke-width: 1; }
.av-chart-svg .area { fill: url(#chartGradient); opacity: .4; }
.av-chart-svg .line { fill: none; stroke: var(--green-mid); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.av-chart-svg .point-current { fill: #fff; stroke: var(--green-mid); stroke-width: 2.5; }
.av-chart-foot { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px; color: rgba(255,255,255,.4); font-family: monospace; font-variant-numeric: tabular-nums; }

/* --- LIVE / AUTO DJ - Responsive --- */
@media (max-width: 1024px) {
  .av-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .stm-scene { max-width: 400px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-arrow { width: 32px; height: 60px; transform: rotate(90deg); margin: 4px auto; }
  .dj-grid, .xfade-grid, .av-stats-grid { grid-template-columns: 1fr; gap: 48px; }
  .av-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stm-scene { max-width: 100%; }
  .stm-live-badge { top: 8px; right: 8px; padding: 6px 11px; font-size: 10.5px; }
}
@media (max-width: 768px) {
  .av-hero { padding-top: calc(var(--nav-h) + 30px); }
  .flow-diagram { padding: 36px 20px; }
  .av-feat-grid { grid-template-columns: 1fr; }
  .av-stats-numbers { grid-template-columns: 1fr 1fr; }
  .timeline-track-wrap { height: 64px; }
  .timeline-block { font-size: 9px; }
  .timeline-block strong { font-size: 10px; }
  .timeline-ruler { font-size: 9px; }

  /* Global Broadcast mobile */
  .enc-section { padding: 72px 0; }
  .enc-cards { grid-template-columns: 1fr; gap: 18px; }
  .enc-card { flex-direction: column; gap: 22px; padding: 24px; }
  .enc-card--brascast .enc-card-mockup { flex: 0 0 auto; width: 100%; max-width: 420px; margin: 0 auto; }
  .enc-card--brascast .enc-app { transform: rotate(0deg); }
  .enc-app-meta { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .enc-power { width: 84px; height: 84px; }
  .enc-power svg { width: 32px; height: 32px; }
  .enc-time-value { font-size: 22px; }
  .enc-software-grid { gap: 5px; }
  .enc-software { font-size: 12px; padding: 5px 10px; }
}


