/* ============================================================
   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.3; 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; }
}

/* --- Plataforma: 3x3 cards de recursos (logo abaixo do hero) --- */
.av-platform { background: #fff; padding: 96px 0; }
.av-platform-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.av-platform-eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--green); margin-bottom: 14px; }
.av-platform-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); margin: 0; text-wrap: balance; }

.av-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.av-platform-card { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 16px; padding: 36px 22px 30px; text-align: center; position: relative; transition: transform .25s, border-color .25s, box-shadow .25s; }
.av-platform-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 10px 24px rgba(15,30,27,.06); }
.av-platform-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.av-platform-icon svg { width: 26px; height: 26px; }
.av-platform-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); margin: 0; text-wrap: balance; }
.av-platform-badge { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 99px; background: var(--green-light); color: var(--green-dark); font-size: 11px; font-weight: 700; letter-spacing: .06em; }

/* --- 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.3; }
/* ===== Flow Mode: tabs (AO VIVO / AUTO DJ) + pipeline horizontal ===== */
.flow-mode { background: linear-gradient(160deg, #f5faf8 0%, #e8f5f1 100%); border: 1.5px solid var(--border); border-radius: 24px; padding: 48px 32px; }

.flow-mode-switcher { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
.flow-mode-switcher-label { font-size: 13.5px; color: var(--text-muted); }
.flow-mode-toggle { display: inline-flex; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; padding: 4px; }
.flow-mode-tab { padding: 9px 24px; border-radius: 99px; border: none; background: transparent; font-family: inherit; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--text-muted); cursor: pointer; transition: background .2s, color .2s; }
.flow-mode-tab:hover { color: var(--text); background: var(--green-light); }
.flow-mode-tab.is-active { background: var(--green); color: #fff; }
.flow-mode-tab.is-active:hover { background: var(--green); color: #fff; }
/* Pulse sutil no tab inativo - indica que e clicavel pra alternar */
.flow-mode-tab:not(.is-active) { animation: flowTabPulse 2.4s ease-in-out infinite; }
@keyframes flowTabPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-mode-tab:not(.is-active) { animation: none; }
}

/* Mostra/esconde elementos conforme o modo via data-flow-mode */
.flow-mode[data-flow-mode="live"] .flow-show-auto { display: none; }
.flow-mode[data-flow-mode="auto"] .flow-show-live { display: none; }

/* Pipeline horizontal: 3 nodes ligados por linhas com nota musical no meio.
   align-items: flex-start + margin-top no connector centraliza com os circles
   (em vez de centralizar com o bloco inteiro circle+label que jogava pra baixo). */
.flow-pipeline { display: flex; align-items: flex-start; justify-content: center; gap: 4px; max-width: 900px; margin: 0 auto; }
.flow-pipe-step { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 0 0 auto; min-width: 110px; }
.flow-pipe-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.flow-pipe-circle:hover { transform: translateY(-3px); }
.flow-pipe-circle svg { width: 38px; height: 38px; display: block; }
.flow-pipe-circle--server { width: 96px; height: 96px; background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%); }
.flow-pipe-circle--server svg { width: 42px; height: 42px; }

.flow-pipe-label { font-size: 14px; color: var(--text-muted); text-align: center; max-width: 180px; line-height: 1.4; display: block; }
.flow-pipe-label > span { display: block; }
.flow-pipe-label strong { color: var(--text); font-weight: 700; display: block; font-size: 14.5px; margin-bottom: 4px; }
.flow-pipe-label small { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; display: block; }

/* Conector com 2 notas musicais animadas voando ao longo da linha.
   margin-top: 42px = metade do circle padrao (84px) pra alinhar com o centro horizontal dos circles. */
.flow-pipe-connector { flex: 1; position: relative; height: 36px; display: flex; align-items: center; max-width: 220px; margin-top: 42px; transform: translateY(-50%); }
.flow-pipe-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--green-mid) 25%, var(--green-mid) 75%, transparent); }
.flow-pipe-fly { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green-mid); color: #fff; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); animation: flowFly 3.6s linear infinite; will-change: left, opacity; }
.flow-pipe-fly svg { width: 14px; height: 14px; }
.flow-pipe-fly--a { animation-delay: 0s; }
.flow-pipe-fly--b { animation-delay: 1.8s; }
/* Segundo conector com pequeno offset pra nao ficar sincronizado */
.flow-pipe-fly--d2.flow-pipe-fly--a { animation-delay: .9s; }
.flow-pipe-fly--d2.flow-pipe-fly--b { animation-delay: 2.7s; }

@keyframes flowFly {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Respeita reduced motion */
@media (prefers-reduced-motion: reduce) {
  .flow-pipe-fly { animation: none; left: 50%; opacity: 1; }
  .flow-pipe-fly--b { display: none; }
}

/* Callout "facil de usar" abaixo do flow-mode */
.flow-easy { display: flex; align-items: flex-start; gap: 14px; max-width: 880px; margin: 32px auto 0; padding: 18px 24px; background: var(--green-light); border: 1px solid rgba(23,141,114,.22); border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.flow-easy-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.flow-easy-icon svg { width: 14px; height: 14px; }
.flow-easy-text { flex: 1; }
.flow-easy-text strong { color: var(--green-dark); font-weight: 800; letter-spacing: -.005em; }
@media (max-width: 768px) {
  .flow-easy { font-size: 13.5px; padding: 14px 18px; gap: 12px; margin-top: 24px; }
  .flow-easy-icon { width: 24px; height: 24px; }
  .flow-easy-icon svg { width: 12px; height: 12px; }
}

/* --- Diferenciais + Painel ao vivo: 2 sub-blocos na mesma section --- */
.dj-diff { background: var(--bg-soft); padding: 100px 0; }

.dj-block { max-width: 1180px; margin: 0 auto; }
.dj-block + .dj-block { margin-top: 64px; }

.dj-block-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.dj-block-head .tag { margin-bottom: 14px; }
.dj-block-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); margin: 0; text-wrap: balance; }
.dj-block-head h2 .accent { color: var(--green); }

.dj-block-divider { width: 60px; height: 3px; background: var(--green); border-radius: 99px; margin: 64px auto; opacity: .35; }

/* ===== BLOCO 1: GRID DE FEATURES (5 cards em linha) ===== */
.dj-feats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dj-feat-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 22px 18px; text-align: left; transition: transform .25s, border-color .25s, box-shadow .25s; }
.dj-feat-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 10px 24px rgba(15,30,27,.06); }
.dj-feat-card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.dj-feat-card-icon svg { width: 20px; height: 20px; }
.dj-feat-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 6px; letter-spacing: -.005em; line-height: 1.3; }
.dj-feat-card p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* ===== BLOCO 2: TEXT + LIVE PANEL ===== */
.dj-stats-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }

.dj-stats-text { padding: 8px 0; }
.dj-stats-text .tag { margin-bottom: 14px; }
.dj-stats-text h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); margin: 0 0 16px; text-wrap: balance; }
.dj-stats-text h2 .accent { color: var(--green); }
.dj-stats-text > p { font-size: 17px; color: var(--text-muted); line-height: 1.55; margin: 0 0 24px; max-width: 460px; }
.dj-stats-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dj-stats-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.dj-stats-checks svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; background: var(--green-light); border-radius: 99px; padding: 3px; margin-top: 2px; box-sizing: content-box; }

/* ===== Bloco 2 Stats: Pills inline com ícone + título + descrição ===== */
.rt-vb-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.rt-vb-pill { display: inline-flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; padding: 14px 22px 14px 16px; transition: transform .2s, border-color .2s; }
.rt-vb-pill:hover { transform: translateY(-2px); border-color: var(--green); }
.rt-vb-pill-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rt-vb-pill-icon svg { width: 18px; height: 18px; }
.rt-vb-pill-text { display: inline-flex; flex-direction: column; line-height: 1.25; }
.rt-vb-pill-text strong { font-size: 15.5px; font-weight: 700; color: var(--text); }
.rt-vb-pill-text em { font-style: normal; font-size: 13.5px; color: var(--text-muted); margin-top: 2px; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- 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.3; 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.3; }

.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.3; }
.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.3; }
.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 / AUTO DJ - Responsive --- */
@media (max-width: 1024px) {
  .av-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .stm-scene { max-width: 400px; }
  /* Pipeline: empilha vertical, conectores tambem ficam verticais.
     Reseta margin-top/transform do desktop (eram pra alinhar com circle horizontal). */
  .flow-mode { padding: 32px 20px; }
  .flow-pipeline { flex-direction: column; align-items: center; gap: 8px; max-width: 360px; }
  .flow-pipe-step { min-width: 0; }
  /* flex: 0 0 auto reseta o flex:1 do desktop (que faria o connector crescer verticalmente)
     overflow: hidden evita que a .flow-pipe-fly escape do connector e fique por cima dos cards */
  .flow-pipe-connector { flex: 0 0 auto; flex-direction: column; align-self: center; max-width: none; height: 64px; width: 34px; margin-top: 0; transform: none; justify-content: center; overflow: hidden; }
  .flow-pipe-line { width: 1.5px; height: 100%; background: linear-gradient(180deg, transparent, var(--green-mid) 25%, var(--green-mid) 75%, transparent); }
  .flow-pipe-fly { left: 50% !important; top: 0; transform: translate(-50%, -50%); animation: flowFlyV 3.6s linear infinite; }
  /* No mobile so a 1a fly (sem a --b) - evita 2 notas amontoadas no connector vertical curto */
  .flow-pipe-fly--b { display: none; }
  @keyframes flowFlyV {
    0%   { top: 0;    opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .xfade-grid { grid-template-columns: 1fr; gap: 14px; }
  .dj-feats-grid { grid-template-columns: repeat(2, 1fr); }
  .dj-block + .dj-block { margin-top: 40px; }
  .dj-block-divider { margin: 40px auto; }
  .dj-live-map-wrap { grid-template-columns: 1fr; gap: 16px; }
  .dj-live-cities li { grid-template-columns: 26px 1fr auto; }
  .av-feat-grid { grid-template-columns: repeat(2, 1fr); }
  .av-platform-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .av-platform { padding: 64px 0; }
}
@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) + 35px); }
  .flow-diagram { padding: 36px 20px; }
  .av-feat-grid { grid-template-columns: 1fr; }
  .av-platform-grid { grid-template-columns: 1fr; }
  .dj-feats-grid { grid-template-columns: 1fr; }

  /* Flow section mobile - reduz padding, encolhe header e bloco interno */
  .flow-section { padding: 64px 0; }
  .flow-head { margin-bottom: 32px; }
  .flow-head p { font-size: 15.5px; }
  .flow-mode { padding: 28px 18px; border-radius: 18px; }
  .flow-mode-switcher { margin-bottom: 28px; gap: 10px; }
  .flow-mode-tab { padding: 8px 18px; font-size: 11.5px; }
  .flow-pipe-circle { width: 72px; height: 72px; }
  .flow-pipe-circle svg { width: 32px; height: 32px; }
  .flow-pipe-circle--server { width: 80px; height: 80px; }
  .flow-pipe-circle--server svg { width: 36px; height: 36px; }
  .flow-pipe-connector { height: 52px; }
  .flow-pipe-step { gap: 10px; }
  .flow-pipe-label { max-width: 280px; }

  .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; }

  /* Flow section - ajustes finos pra telas <=480px */
  .flow-section { padding: 56px 0; }
  .flow-mode { padding: 24px 14px; border-radius: 16px; }
  .flow-mode-switcher { margin-bottom: 22px; }
  .flow-mode-toggle { width: 100%; max-width: 280px; }
  .flow-mode-tab { flex: 1; padding: 9px 12px; font-size: 11px; }
  .flow-pipe-circle { width: 64px; height: 64px; }
  .flow-pipe-circle svg { width: 28px; height: 28px; }
  .flow-pipe-circle--server { width: 72px; height: 72px; }
  .flow-pipe-circle--server svg { width: 32px; height: 32px; }
  .flow-pipe-connector { height: 44px; }
  .flow-pipe-fly { width: 26px; height: 26px; }
  .flow-pipe-fly svg { width: 12px; height: 12px; }
  .flow-pipe-label { font-size: 13.5px; }
  .flow-pipe-label strong { font-size: 14px; }
  .flow-pipe-label small { font-size: 12px; }
}


