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

/* ============================================================
   APP (brascast-app.html)
   ============================================================ */

/* ========= HERO ========= */
.app-hero { padding: calc(var(--nav-h) + 80px) 0 80px; background: linear-gradient(180deg, var(--green-light) 0%, #fff 100%); position: relative; overflow: hidden; }
.app-hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(42,173,142,.18), transparent 70%); border-radius: 50%; pointer-events: none; }
.app-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.app-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.app-hero-eyebrow .badge { background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; letter-spacing: .04em; }
.app-hero h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--text); margin-bottom: 16px; text-wrap: balance; }
.app-hero h1 .accent { color: var(--green); }
.app-hero p.sub { font-size: 20px; line-height: 1.3; color: var(--text-muted); max-width: 520px; margin-bottom: 28px; }
.app-hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.app-hero-trust { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; max-width: fit-content; }
.trust-avatars { display: flex; }
.trust-avatars .av { width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid #fff; background: linear-gradient(135deg, #2aad8e, #178d72); margin-left: -10px; box-shadow: 0 1px 3px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 11px; overflow: hidden; }
.trust-avatars .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-avatars .av:first-child { margin-left: 0; }
.trust-avatars .av:nth-child(2) { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.trust-avatars .av:nth-child(3) { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.trust-text strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; line-height: 1.2; }
.trust-text span { font-size: 12.5px; color: var(--text-muted); display: block; line-height: 1.3; }
.trust-divider { width: 1px; height: 32px; background: var(--border); }
.trust-rating .stars { display: flex; gap: 1px; color: #fbbf24; font-size: 13px; }
.trust-rating .label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Hero variante "showcase de dispositivos" (Onde funciona promovido ao topo) */
.app-hero--devices { padding: calc(var(--nav-h) + 56px) 0 88px; }
.app-hero--devices .app-hero-d-head { margin: 15px auto 40px; text-align: center; }
.app-hero--devices .app-hero-eyebrow { margin-bottom: 18px; }
.app-hero--devices h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--text); margin-bottom: 14px; text-wrap: balance; }
.app-hero--devices h1 .accent { color: var(--green); }
.app-hero--devices p.sub { font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 600px; margin: 0 auto 26px; }
.app-hero--devices .app-hero-cta { justify-content: center; margin-bottom: 24px; }
.app-hero--devices .app-hero-trust { margin: 0 auto; }
.app-hero--devices .adb2-platforms { margin-top: 0; margin-bottom: 30px; }
/* o palco azul fica um pouco menor no hero pra caber acima da dobra */
.app-hero--devices .adb2-carousel { max-width: 1040px; }

/* Hero phone mockup */
.app-hero-visual { position: relative; height: 580px; }
.hero-circle-bg { position: absolute; inset: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(42,173,142,.35), rgba(23,141,114,.18) 60%, transparent 78%); filter: blur(6px); }
.hero-phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); width: 280px; height: 580px; background: #0e1a17; border-radius: 42px; box-shadow: 0 14px 32px rgba(15,30,27,.45), 0 6px 20px rgba(15,30,27,.18); border: 8px solid #0e1a17; overflow: hidden; }
.hero-phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #1a2a26 0%, #0e1a17 100%); border-radius: 32px; display: flex; flex-direction: column; padding: 22px 18px 18px; position: relative; overflow: hidden; }
.phone-status { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 11px; font-weight: 600; margin-bottom: 18px; }
.phone-status .icons { display: flex; align-items: center; gap: 4px; }
.phone-status .icons svg { width: 12px; height: 12px; }
.phone-app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.phone-app-name { color: #fff; font-size: 13px; font-weight: 600; }
.phone-app-icons { display: flex; gap: 12px; opacity: .6; color: #fff; }
.phone-app-icons svg { width: 14px; height: 14px; }
.phone-cover { width: 100%; aspect-ratio: 1; border-radius: 20px; background: linear-gradient(135deg, #ce0d28 0%, #8b0000 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; overflow: hidden; }
.phone-cover::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 50%); }
.phone-cover-text { color: #fff; text-align: center; position: relative; }
.phone-cover-text small { font-size: 9px; font-weight: 600; letter-spacing: .15em; opacity: .85; display: block; }
.phone-cover-text strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: block; line-height: 1; margin-top: 4px; }
.phone-cover-text span { font-size: 11px; opacity: .8; display: block; margin-top: 2px; }
.phone-track { color: #fff; margin-bottom: 10px; }
.phone-track-name { font-size: 13px; font-weight: 700; }
.phone-track-artist { font-size: 11px; opacity: .55; margin-top: 1px; }
.phone-progress { height: 3px; background: rgba(255,255,255,.15); border-radius: 99px; margin: 12px 0 8px; overflow: hidden; }
.phone-progress-fill { width: 38%; height: 100%; background: var(--green-mid); border-radius: 99px; }
.phone-time { display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 500; margin-bottom: 14px; }
.phone-controls { display: flex; align-items: center; justify-content: space-around; }
.phone-controls svg { color: #fff; }
.phone-play { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.phone-play svg { width: 18px; height: 18px; color: #fff; fill: #fff; }
.phone-bottom-tabs { display: flex; justify-content: space-around; padding-top: 12px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.phone-bottom-tabs svg { width: 16px; height: 16px; }
.phone-bottom-tabs .active { color: var(--green-mid); }

/* Floating notification card */
.hero-float-notif { position: absolute; top: 64px; left: -10px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 30px rgba(15,30,27,.18); display: flex; align-items: center; gap: 10px; max-width: 240px; animation: floatY 4s ease-in-out infinite; z-index: 3; }
.hero-float-notif-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float-notif-icon svg { width: 18px; height: 18px; color: var(--green); }
.hero-float-notif strong { font-size: 12.5px; font-weight: 700; color: var(--text); display: block; line-height: 1.2; }
.hero-float-notif span { font-size: 11px; color: var(--text-muted); display: block; line-height: 1.3; margin-top: 2px; }
.hero-float-stat { position: absolute; bottom: 80px; right: 0; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 8px 30px rgba(15,30,27,.18); display: flex; align-items: center; gap: 12px; animation: floatY 4.5s ease-in-out infinite .8s; z-index: 3; }
.hero-float-stat-num { font-size: 22px; font-weight: 800; color: var(--green); line-height: 1; letter-spacing: -.02em; }
.hero-float-stat-label { font-size: 11px; color: var(--text-muted); line-height: 1.3; max-width: 100px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========= CLIENTES (logo strip) ========= */
.app-clients { padding: 56px 0; border-top: 1px solid var(--border); }
.app-clients-title { text-align: center; font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; }
.app-clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; align-items: center; }
.client-logo { aspect-ratio: 3/1.1; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--text-muted); letter-spacing: -.01em; transition: all .2s; cursor: default; padding: 10px; }
.client-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.client-logo:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ========= PLATAFORMAS COMPATIVEIS ========= */
.app-why { padding: 96px 0; }
.app-plat-head { text-align: left; max-width: 720px; margin: 0 0 48px; }
.app-plat-eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--green); margin-bottom: 14px; }
.app-plat-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--text); margin: 0; text-wrap: balance; }
.app-plat-head h2 .accent { color: var(--green); }

/* Grid de 3 cards de plataforma */
.app-plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 48px; }
.app-plat-card { position: relative; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border: 1.5px solid var(--border); border-radius: 22px; padding: 44px 32px 36px; text-align: center; transition: transform .3s ease, border-color .3s, box-shadow .3s; overflow: hidden; }
.app-plat-card::after { content: ''; position: absolute; inset: 0; border-radius: 22px; border: 2px solid transparent; transition: border-color .3s; pointer-events: none; }
.app-plat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -12px rgba(15,30,27,.12); }
.app-plat-card:hover::after { border-color: var(--green); }
.app-plat-card:hover .app-plat-icon { transform: scale(1.08); }

.app-plat-icon { width: 88px; height: 88px; border-radius: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; transition: transform .3s ease; }
.app-plat-icon svg { width: 44px; height: 44px; }
.app-plat-card--apple .app-plat-icon { background: linear-gradient(160deg, #f4f4f5 0%, #e4e4e7 100%); color: #18181b; }
.app-plat-card--android .app-plat-icon { background: linear-gradient(160deg, #dcfce7 0%, #bbf7d0 100%); color: var(--green-dark); }
.app-plat-card--web .app-plat-icon { background: linear-gradient(160deg, var(--green-light) 0%, #c7eddc 100%); color: var(--green); }

.app-plat-card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; letter-spacing: -.005em; }
.app-plat-card p { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* Notas de compatibilidade */
.app-plat-notes { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 18px; padding: 32px 36px; }
.app-plat-notes-intro { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.app-plat-notes-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-plat-notes-icon svg { width: 20px; height: 20px; }
.app-plat-notes-intro strong { display: block; font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -.005em; }
.app-plat-notes-intro p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

.app-plat-notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.app-plat-note { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 3px solid var(--green); }
.app-plat-note strong { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -.005em; }
.app-plat-note span { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }

/* ========= PERSONALIZAÇÃO DO APP ========= */
.app-cust { padding: 96px 0; background: #fff; }
.app-cust-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.app-cust-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--text); margin: 0 0 14px; text-wrap: balance; }
.app-cust-head h2 .accent { color: var(--green); }
.app-cust-head p { font-size: 16.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ===== 3 cards (Logo | Cores | Menu) - modelo do reference ===== */
@property --cu-color { syntax: '<color>'; inherits: true; initial-value: #fbbf24; }

.app-cust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.app-cust-card { display: flex; flex-direction: column; }

/* Visual = peça com fundo do app (dark + listras), flex: 1 garante mesma altura em todos os cards */
.app-cust-visual { position: relative; background: var(--green-light); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; flex: 1; min-height: 380px; overflow: hidden; }
.app-cust-label { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 20px; position: relative; z-index: 2; }

.app-cust-text { padding: 24px 6px 0; }
.app-cust-text h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; letter-spacing: -.005em; }
.app-cust-text p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ========== CARD 1: LOGOS TROCANDO + SANFONA ========== */
.cu-stack { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; z-index: 2; }
.cu-stack-cards { position: relative; width: 200px; height: 130px; margin-bottom: 12px; }

/* 5 cards empilhados no centro (mesmo lugar), cada um aparece na sua vez */
.cu-stack-c { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px -8px rgba(15,30,27,.3); opacity: 0; }
.cu-stack-c svg { width: 56px; height: 56px; }

/* Cores dos 5 logos (estilo apps reais) */
.cu-stack-c--1 { background: #ec4899; z-index: 5; }                                              /* rosa, waveform circular */
.cu-stack-c--2 { background: linear-gradient(135deg, #4c1d95, #1e1b4b); z-index: 4; }            /* roxo escuro, equalizer */
.cu-stack-c--3 { background: #fbbf24; z-index: 3; }                                              /* amarelo, ondas */
.cu-stack-c--4 { background: #0a0a0a; z-index: 2; }                                              /* preto, wave verde */
.cu-stack-c--5 { background: #1f2937; z-index: 1; }                                              /* charcoal, mic rosa */

/* Ciclo 14s:
   0-50%   = TROCA (5 logos, ~1.5s cada, no centro)
   50-65%  = SANFONA abrindo (cards se espalham)
   65-87%  = SANFONA segurando
   87-100% = COLAPSO de volta ao centro */
.cu-stack-c--1 { animation: cuLogo1 14s ease-in-out infinite; }
.cu-stack-c--2 { animation: cuLogo2 14s ease-in-out infinite; }
.cu-stack-c--3 { animation: cuLogo3 14s ease-in-out infinite; }
.cu-stack-c--4 { animation: cuLogo4 14s ease-in-out infinite; }
.cu-stack-c--5 { animation: cuLogo5 14s ease-in-out infinite; }

@keyframes cuLogo1 {
  0%, 10%   { opacity: 1; transform: translate(0,0) rotate(0); }
  12%, 49%  { opacity: 0; transform: translate(0,0) rotate(0); }
  51%, 100% { opacity: 1; transform: translate(0,0) rotate(0); }
}
@keyframes cuLogo2 {
  0%, 10%   { opacity: 0; transform: translate(0,0) rotate(0); }
  12%, 20%  { opacity: 1; transform: translate(0,0) rotate(0); }
  22%, 49%  { opacity: 0; transform: translate(0,0) rotate(0); }
  51%       { opacity: 1; transform: translate(0,0) rotate(0); }
  65%, 87%  { opacity: 1; transform: translate(-32px, -18px) rotate(-8deg); }
  98%, 100% { opacity: 1; transform: translate(0,0) rotate(0); }
}
@keyframes cuLogo3 {
  0%, 20%   { opacity: 0; transform: translate(0,0) rotate(0); }
  22%, 30%  { opacity: 1; transform: translate(0,0) rotate(0); }
  32%, 49%  { opacity: 0; transform: translate(0,0) rotate(0); }
  51%       { opacity: 1; transform: translate(0,0) rotate(0); }
  65%, 87%  { opacity: 1; transform: translate(-10px, -32px) rotate(4deg); }
  98%, 100% { opacity: 1; transform: translate(0,0) rotate(0); }
}
@keyframes cuLogo4 {
  0%, 30%   { opacity: 0; transform: translate(0,0) rotate(0); }
  32%, 40%  { opacity: 1; transform: translate(0,0) rotate(0); }
  42%, 49%  { opacity: 0; transform: translate(0,0) rotate(0); }
  51%       { opacity: 1; transform: translate(0,0) rotate(0); }
  65%, 87%  { opacity: 1; transform: translate(20px, -38px) rotate(-3deg); }
  98%, 100% { opacity: 1; transform: translate(0,0) rotate(0); }
}
@keyframes cuLogo5 {
  0%, 40%   { opacity: 0; transform: translate(0,0) rotate(0); }
  42%, 49%  { opacity: 1; transform: translate(0,0) rotate(0); }
  51%       { opacity: 1; transform: translate(0,0) rotate(0); }
  65%, 87%  { opacity: 1; transform: translate(48px, -28px) rotate(6deg); }
  98%, 100% { opacity: 1; transform: translate(0,0) rotate(0); }
}

.cu-stack-name { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.005em; }
.cu-stack-dial { font-size: 13px; color: var(--text-muted); }
.cu-stack-pill { display: inline-block; margin-top: 6px; padding: 4px 14px; border-radius: 99px; background: #6b7280; color: #fff; font-size: 11px; font-weight: 700; }

/* ========== CARD 2: ELEMENTOS COLORIDOS ========== */
.cu-elem { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; z-index: 2; animation: cuElemColor 14s ease-in-out infinite; }
@keyframes cuElemColor {
  0%, 22%, 100% { --cu-color: #ca8a04; }   /* amarelo mostarda (mais escuro) */
  25%, 47%      { --cu-color: #ef4444; }   /* vermelho */
  50%, 72%      { --cu-color: #10b981; }   /* verde */
  75%, 97%      { --cu-color: #8b5cf6; }   /* roxo */
}

.cu-elem-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.cu-elem-badge { padding: 6px 14px; border: 1.5px solid var(--cu-color); color: var(--cu-color); font-size: 11px; font-weight: 700; border-radius: 99px; transition: color .6s, border-color .6s; }
.cu-elem-iconcircle { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--cu-color); display: flex; align-items: center; justify-content: center; color: var(--cu-color); transition: color .6s, border-color .6s; flex-shrink: 0; }
.cu-elem-iconcircle svg { width: 14px; height: 14px; }

.cu-elem-player { background: var(--cu-color); border-radius: 14px; padding: 18px 14px; display: flex; align-items: center; gap: 12px; transition: background .6s; }
.cu-elem-pl-cover { width: 32px; height: 32px; border-radius: 6px; background: rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; color: #0a0a0a; flex-shrink: 0; }
.cu-elem-pl-cover svg { width: 18px; height: 18px; }
.cu-elem-pl-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; color: #0a0a0a; }
.cu-elem-pl-tx em { font-style: normal; font-size: 10px; font-weight: 600; opacity: .65; }
.cu-elem-pl-tx strong { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-elem-pl-play { width: 32px; height: 32px; border-radius: 50%; background: #0a0a0a; color: var(--cu-color); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .6s; }
.cu-elem-pl-play svg { width: 14px; height: 14px; margin-left: 1px; }

.cu-elem-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cu-elem-act { background: transparent; border: 1.5px solid var(--cu-color); border-radius: 12px; padding: 14px 4px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: border-color .6s; }
.cu-elem-act svg { width: 20px; height: 20px; color: var(--cu-color); transition: color .6s; }
.cu-elem-act i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--cu-color); transition: color .6s; }

/* ========== CARD 3: MENU LISTA COM TOGGLES (light) ========== */
.cu-menu-list { list-style: none; padding: 0; margin: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 2; }
.cu-menu-li { display: flex; align-items: center; gap: 11px; padding: 8px 13px; background: #fff; border: 1px solid var(--border); border-radius: 10px; color: var(--text); transition: opacity .35s, color .35s; }
.cu-menu-li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text); transition: color .35s; }
.cu-menu-li span { flex: 1; font-size: 13px; font-weight: 600; }

/* Toggle switch */
.cu-toggle { width: 30px; height: 18px; border-radius: 99px; background: #d1d5db; position: relative; flex-shrink: 0; transition: background .35s; }
.cu-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .35s; }

/* Estados iniciais - 5 ON, 2 OFF */
.cu-menu-li--1 .cu-toggle, .cu-menu-li--2 .cu-toggle, .cu-menu-li--5 .cu-toggle,
.cu-menu-li--6 .cu-toggle, .cu-menu-li--7 .cu-toggle { background: var(--green); }
.cu-menu-li--1 .cu-toggle::after, .cu-menu-li--2 .cu-toggle::after, .cu-menu-li--5 .cu-toggle::after,
.cu-menu-li--6 .cu-toggle::after, .cu-menu-li--7 .cu-toggle::after { transform: translateX(12px); }
.cu-menu-li--3, .cu-menu-li--4 { opacity: .55; color: #9ca3af; }
.cu-menu-li--3 svg, .cu-menu-li--4 svg { color: #9ca3af; }

/* Animacao: items 3 e 4 ligam/desligam em momentos diferentes
   (mostra alguem habilitando/desabilitando funcoes do menu) */
.cu-menu-li--3 { animation: cuItemOnOff 14s ease-in-out infinite; }
.cu-menu-li--3 svg { animation: cuIconOnOff 14s ease-in-out infinite; }
.cu-menu-li--3 .cu-toggle { animation: cuTogOnOff 14s ease-in-out infinite; }
.cu-menu-li--3 .cu-toggle::after { animation: cuDotOnOff 14s ease-in-out infinite; }

.cu-menu-li--4 { animation: cuItemOffOn 14s ease-in-out infinite; }
.cu-menu-li--4 svg { animation: cuIconOffOn 14s ease-in-out infinite; }
.cu-menu-li--4 .cu-toggle { animation: cuTogOffOn 14s ease-in-out infinite; }
.cu-menu-li--4 .cu-toggle::after { animation: cuDotOffOn 14s ease-in-out infinite; }

/* OFF -> ON -> OFF (item 3): comeca desligado, liga no meio, desliga de novo */
@keyframes cuItemOnOff {
  0%, 18%, 82%, 100% { opacity: .55; color: #9ca3af; }
  28%, 72%           { opacity: 1; color: var(--text); }
}
@keyframes cuIconOnOff {
  0%, 18%, 82%, 100% { color: #9ca3af; }
  28%, 72%           { color: var(--text); }
}
@keyframes cuTogOnOff {
  0%, 18%, 82%, 100% { background: #d1d5db; }
  28%, 72%           { background: var(--green); }
}
@keyframes cuDotOnOff {
  0%, 18%, 82%, 100% { transform: translateX(0); }
  28%, 72%           { transform: translateX(12px); }
}

/* ON -> OFF -> ON (item 4): comeca ligado, desliga no meio, liga de novo */
.cu-menu-li--4 { opacity: 1; color: var(--text); }
.cu-menu-li--4 svg { color: var(--text); }
.cu-menu-li--4 .cu-toggle { background: var(--green); }
.cu-menu-li--4 .cu-toggle::after { transform: translateX(12px); }
@keyframes cuItemOffOn {
  0%, 32%, 68%, 100% { opacity: 1; color: var(--text); }
  42%, 58%           { opacity: .55; color: #9ca3af; }
}
@keyframes cuIconOffOn {
  0%, 32%, 68%, 100% { color: var(--text); }
  42%, 58%           { color: #9ca3af; }
}
@keyframes cuTogOffOn {
  0%, 32%, 68%, 100% { background: var(--green); }
  42%, 58%           { background: #d1d5db; }
}
@keyframes cuDotOffOn {
  0%, 32%, 68%, 100% { transform: translateX(12px); }
  42%, 58%           { transform: translateX(0); }
}

/* Listras diagonais sutis no fundo do visual de cada card (efeito SVG transparente) */
.app-cust-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .35;
  background-image:
    repeating-linear-gradient(165deg,
      transparent 0,
      transparent 56px,
      rgba(0,0,0,.08) 56px,
      rgba(0,0,0,.08) 78px,
      transparent 78px,
      transparent 140px,
      rgba(0,0,0,.05) 140px,
      rgba(0,0,0,.05) 158px
    );
}

@media (max-width: 900px) {
  .app-cust-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cu-stack-c, .cu-elem, .cu-menu-li, .cu-menu-li svg, .cu-toggle, .cu-toggle::after { animation: none; }
  .cu-stack-c { opacity: 0; }
  .cu-stack-c--1 { opacity: 1; }
}

/* ========= APP MODULES ========= */
.app-modules { padding: 96px 0; }

/* ========= APP DEVICES SHOWCASE (carousel auto-rotativo com palco azul) ========= */
.app-devices2 { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.app-devices2-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.app-devices2-head h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0 12px; text-wrap: balance; }
.app-devices2-head h2 .accent { color: var(--green); }
.app-devices2-head p { font-size: 17px; color: var(--text-muted); line-height: 1.55; max-width: 580px; margin: 0 auto; }

/* Carousel: palco verde grande, com área interna (::before) menor pra mostrar margem verde */
.adb2-platforms { max-width: 920px; margin: 0 auto 36px; }
.adb2-platforms-label { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green); margin: 0 0 18px; }
.adb2-platforms-dot { flex: 1; max-width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--green) 50%, transparent); }
.adb2-platforms-bar { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px; box-shadow: 0 4px 20px rgba(15,107,85,.08); position: relative; overflow: hidden; }
.adb2-platforms-bar::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(232,245,241,0) 0%, rgba(232,245,241,.5) 50%, rgba(232,245,241,0) 100%); pointer-events: none; }
.adb2-platform-seg { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14.5px; cursor: default; transition: background .25s, color .25s; position: relative; z-index: 1; }
.adb2-platform-seg + .adb2-platform-seg::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border); }
.adb2-platform-seg:hover { background: var(--green-light); color: var(--green-dark); }
.adb2-platform-seg:hover::before, .adb2-platform-seg:hover + .adb2-platform-seg::before { opacity: 0; }
.adb2-platform-ic { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--green-light); color: var(--green); border-radius: 50%; flex-shrink: 0; transition: background .25s, color .25s, transform .25s; }
.adb2-platform-seg:hover .adb2-platform-ic { background: var(--green); color: #fff; transform: scale(1.08); }

@media (max-width: 820px) {
  .adb2-platforms-bar { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .adb2-platform-seg { flex: 1 1 calc(50% - 4px); border-radius: 14px; padding: 10px 12px; }
  .adb2-platform-seg + .adb2-platform-seg::before { display: none; }
}
@media (max-width: 420px) {
  .adb2-platforms-label { font-size: 11px; gap: 8px; }
  .adb2-platforms-dot { max-width: 40px; }
  .adb2-platform-seg { font-size: 13px; gap: 8px; padding: 10px 8px; }
  .adb2-platform-ic { width: 28px; height: 28px; }
  .adb2-platform-ic svg { width: 16px; height: 16px; }
}

.adb2-carousel { position: relative; max-width: 1200px; margin: 0 auto; --idx: 0; }
.adb2-stage { position: relative; width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #2aad8e 0%, var(--green) 55%, var(--green-dark) 100%); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 32px rgba(15,107,85,.35); }
.adb2-track { position: absolute; inset: 60px; }

/* Slides ABSOLUTE dentro da área interna do stage; só fade entre eles */
.adb2-slide { position: absolute; inset: 0; background: #0c3c30; border-radius: 16px; padding: 20px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; opacity: 0; transform: scale(.86) translateX(0); pointer-events: none; transition: transform .7s cubic-bezier(.65,0,.35,1), opacity .45s ease; }
.adb2-slide.is-active { opacity: 1; transform: scale(1) translateX(0); pointer-events: auto; z-index: 2; }
.adb2-slide.is-leaving { opacity: 1; transform: scale(.86) translateX(-130%); z-index: 3; transition: transform .8s cubic-bezier(.55,0,.35,1), opacity .12s ease .7s; }

/* Mockup do celular */
.adb2-phone { position: relative; height: 100%; aspect-ratio: 200/440; background: #0e1a17; border-radius: 28px; padding: 6px; box-shadow: 0 24px 50px rgba(0,0,0,.4), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.adb2-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 60px; height: 14px; background: #0e1a17; border-radius: 9px; z-index: 2; }
.adb2-phone-screen { width: 100%; height: 100%; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #1a2a26, #0e1a17); }
.adb2-phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mockup do tablet (frames absolute pra animar) */
.adb2-tab-frame { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #0e1a17; border-radius: 18px; padding: 10px; box-shadow: 0 24px 50px rgba(0,0,0,.4), inset 0 0 0 1.5px rgba(255,255,255,.08); opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.adb2-tab-frame--portrait { height: 100%; aspect-ratio: 3/4; opacity: 1; }
.adb2-tab-frame--landscape { height: 88%; aspect-ratio: 4/3; opacity: 0; }
.adb2-tab-cam { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: #1a2a26; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.08); z-index: 2; }
.adb2-tab-screen { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #1a2a26, #0e1a17); }
.adb2-tab-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CarPlay: clip mask do tamanho do tablet em landscape (4:3) + imagem cresce dentro */
.adb2-cp-clip { max-width: 100%; max-height: 100%; width: auto; height: 95%; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.35); position: relative; }
.adb2-cp-clip img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: center; }
.adb2-slide--carplay.is-active .adb2-cp-clip img { animation: adb2CarplayZoom 4.5s ease-out forwards; }
@keyframes adb2CarplayZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

/* Mockup do computador (MacBook em CSS) */
.adb2-laptop { position: relative; height: 86%; aspect-ratio: 16/10; }
.adb2-laptop-screen { position: relative; width: 100%; height: 100%; background: #0e1a17; border-radius: 16px 16px 5px 5px; padding: 8px; box-sizing: border-box; box-shadow: 0 24px 50px rgba(0,0,0,.4), inset 0 0 0 1.5px rgba(255,255,255,.08); }
.adb2-laptop-cam { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: #1a2a26; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.08); z-index: 2; }
.adb2-laptop-display { width: 100%; height: 100%; border-radius: 9px; overflow: hidden; background: linear-gradient(180deg, #1a2a26, #0e1a17); }
.adb2-laptop-display img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adb2-laptop-base { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); width: 113%; height: 11px; background: linear-gradient(180deg, #c7d0ce 0%, #9aa5a2 60%, #7e8a87 100%); border-radius: 0 0 9px 9px; box-shadow: 0 12px 22px rgba(0,0,0,.32); }
.adb2-laptop-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14%; height: 5px; background: rgba(0,0,0,.18); border-radius: 0 0 7px 7px; }

/* Barra de plataformas como tabs do carrossel — estado ativo espelha o hover atual */
.adb2-platform-seg[data-dev] { cursor: pointer; }
.adb2-platform-seg[data-dev]:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.adb2-platform-seg.is-active { background: var(--green-light); color: var(--green-dark); }
.adb2-platform-seg.is-active::before, .adb2-platform-seg.is-active + .adb2-platform-seg::before { opacity: 0; }
.adb2-platform-seg.is-active .adb2-platform-ic { background: var(--green); color: #fff; transform: scale(1.08); }


/* Animação do tablet: 1s parado em portrait, depois rotação 4s + swap instantâneo */
.adb2-slide--tablet.is-active .adb2-tab-frame--portrait {
  animation:
    adb2TabPortraitRot 4s ease-in-out 1s forwards,
    adb2TabPortraitVis 4s linear 1s forwards;
}
.adb2-slide--tablet.is-active .adb2-tab-frame--landscape {
  animation:
    adb2TabLandscapeRot 4s ease-in-out 1s forwards,
    adb2TabLandscapeVis 4s linear 1s forwards;
}
@keyframes adb2TabPortraitRot {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(90deg); }
}
@keyframes adb2TabPortraitVis {
  0%, 49.9%  { opacity: 1; }
  50%, 100%  { opacity: 0; }
}
@keyframes adb2TabLandscapeRot {
  0%   { transform: translate(-50%, -50%) rotate(-90deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}
@keyframes adb2TabLandscapeVis {
  0%, 49.9%  { opacity: 0; }
  50%, 100%  { opacity: 1; }
}

/* CarPlay layout */
.adb2-cp { width: 100%; height: 100%; background: linear-gradient(120deg, #ff5b5b 0%, #b94a8b 50%, #4751b0 100%); display: grid; grid-template-columns: 64px 1fr; padding: 0; }
.adb2-cp-side { background: rgba(255,229,217,.55); padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.adb2-cp-time { font-size: 17px; font-weight: 700; color: #fff; line-height: 1; }
.adb2-cp-bars { display: flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.adb2-cp-bars i { width: 2.5px; background: #fff; border-radius: 1px; }
.adb2-cp-bars i:nth-child(1) { height: 25%; }
.adb2-cp-bars i:nth-child(2) { height: 50%; }
.adb2-cp-bars i:nth-child(3) { height: 75%; }
.adb2-cp-bars i:nth-child(4) { height: 100%; }
.adb2-cp-net { font-size: 9px; font-weight: 600; color: #fff; }
.adb2-cp-main { padding: 12px 16px; display: flex; align-items: center; gap: 12px; color: #fff; }
.adb2-cp-cover { width: 70px; height: 70px; border-radius: 10px; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adb2-cp-cover svg { width: 32px; height: 32px; color: rgba(255,255,255,.92); }
.adb2-cp-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.adb2-cp-track span { font-size: 9px; opacity: .8; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.adb2-cp-track strong { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adb2-cp-track em { font-size: 11px; opacity: .85; font-style: normal; }
.adb2-cp-controls { display: flex; gap: 6px; flex-shrink: 0; }
.adb2-cp-ctrl { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #fff; }
.adb2-cp-ctrl svg { width: 14px; height: 14px; }
.adb2-cp-ctrl--play { background: #fff; color: var(--green-dark); width: 38px; height: 38px; }
.adb2-cp-ctrl--play svg { width: 16px; height: 16px; }

/* Android Auto layout */
.adb2-aa { width: 100%; height: 100%; background: #0a1310; display: flex; flex-direction: column; }
.adb2-aa-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.85); }
.adb2-aa-time { font-size: 13px; font-weight: 700; }
.adb2-aa-net svg { width: 12px; height: 9px; }
.adb2-aa-player { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.adb2-aa-cover { width: 80px; height: 80px; border-radius: 12px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adb2-aa-cover svg { width: 36px; height: 36px; color: rgba(255,255,255,.9); }
.adb2-aa-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: #fff; line-height: 1.2; }
.adb2-aa-info span { font-size: 9px; font-weight: 700; color: #4ed9b6; letter-spacing: .08em; text-transform: uppercase; }
.adb2-aa-info strong { font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adb2-aa-info em { font-size: 12px; color: rgba(255,255,255,.6); font-style: normal; }
.adb2-aa-prog { width: 100%; height: 3px; background: rgba(255,255,255,.12); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.adb2-aa-prog i { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--green-mid), #4ed9b6); }

@media (max-width: 980px) {
  .adb2-carousel { aspect-ratio: 4/3; }
  .adb2-stage { padding: 24px; }
  .adb2-track { inset: 16px; }
  .adb2-phone { border-radius: 22px; padding: 5px; }
  .adb2-phone-screen { border-radius: 18px; }
}
@media (max-width: 560px) {
  .app-devices2 { padding: 64px 0; }
  .adb2-tabs { gap: 4px; padding: 4px; max-width: 100%; flex-wrap: wrap; }
  .adb2-tab { padding: 8px 12px; font-size: 12.5px; }
  .adb2-tab svg { width: 14px; height: 14px; }
  .adb2-carousel { aspect-ratio: 4/3; }
  .adb2-stage { padding: 14px; border-radius: 16px; }
  .adb2-track { inset: 12px; }
  .adb2-slide { padding: 12px; border-radius: 12px; }
  .adb2-phone { border-radius: 16px; padding: 4px; }
  .adb2-phone-screen { border-radius: 13px; }
}
@media (max-width: 420px) {
  .adb2-phone { border-radius: 13px; padding: 3px; }
  .adb2-phone-screen { border-radius: 11px; }
}

/* ========= APP FEATURES BENTO (nova versão) ========= */
.app-features-bento { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.afb-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.afb-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 14px; text-wrap: balance; }
.afb-head h2 .accent { color: var(--green); }
.afb-head p { font-size: 17px; color: var(--text-muted); line-height: 1.55; }

.afb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.afb-card { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 22px 22px 20px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.afb-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,30,27,.08); border-color: rgba(23,141,114,.25); }
.afb-card h3 { font-size: 15.5px; font-weight: 800; color: var(--text); margin: 14px 0 6px; letter-spacing: -.01em; line-height: 1.25; }
.afb-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Ícone dos cards regulares */
.afb-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afb-ic svg { width: 22px; height: 22px; }

/* Cores por categoria */
.afb-card--engagement .afb-ic { background: #fee2e2; color: #dc2626; }
.afb-card--content    .afb-ic { background: #dbeafe; color: #1e40af; }
.afb-card--broadcast  .afb-ic { background: var(--green-light); color: var(--green); }
.afb-card--monetize   .afb-ic { background: #fef3c7; color: #b45309; }

/* Featured: 2 cols cada, com decoração visual */
.afb-card--featured { grid-column: span 2; padding: 28px; display: flex; flex-direction: column; gap: 22px; min-height: 280px; }
.afb-card--push    { background: linear-gradient(135deg, #fff 0%, #fff8f8 60%, #ffe8e8 100%); }
.afb-card--now     { background: linear-gradient(135deg, #fff 0%, var(--green-light) 100%); }

.afb-card-deco { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.afb-card-content h3 { font-size: 22px; margin: 8px 0 8px; }
.afb-card-content p { font-size: 14.5px; line-height: 1.55; max-width: 380px; }

/* Categoria pill (apenas em featured) */
.afb-cat { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.afb-cat--engagement { background: #fee2e2; color: #dc2626; }
.afb-cat--broadcast  { background: var(--green-light); color: var(--green); }

/* Cards de push notification (decorativos) */
.afb-push-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(15,30,27,.06); }
.afb-push-card--alt { margin-left: 32px; transform: translateY(-4px); }
.afb-push-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.afb-push-icon svg { width: 18px; height: 18px; }
.afb-push-icon--amber { background: #fef3c7; color: #b45309; }
.afb-push-body { flex: 1; min-width: 0; line-height: 1.25; }
.afb-push-body strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.afb-push-body span { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.afb-push-time { font-size: 10.5px; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }

/* Now playing mini-card (decorativo) */
.afb-now-mini { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: 0 8px 22px rgba(15,30,27,.08); }
.afb-now-cover { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-dark) 100%); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); flex-shrink: 0; box-shadow: 0 6px 14px rgba(23,141,114,.3); }
.afb-now-cover svg { width: 30px; height: 30px; }
.afb-now-info { flex: 1; min-width: 0; line-height: 1.2; }
.afb-now-tag { display: block; font-size: 10px; font-weight: 700; color: var(--green); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.afb-now-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.afb-now-artist { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.afb-now-bars { display: flex; gap: 3px; margin-top: 6px; height: 12px; align-items: flex-end; }
.afb-now-bars span { display: block; width: 3px; background: var(--green); border-radius: 2px; animation: afbBars 1.1s ease-in-out infinite alternate; }
.afb-now-bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.afb-now-bars span:nth-child(2) { height: 70%; animation-delay: .15s; }
.afb-now-bars span:nth-child(3) { height: 100%; animation-delay: .3s; }
.afb-now-bars span:nth-child(4) { height: 60%; animation-delay: .45s; }
.afb-now-bars span:nth-child(5) { height: 85%; animation-delay: .6s; }
.afb-now-bars span:nth-child(6) { height: 40%; animation-delay: .75s; }
@keyframes afbBars { to { transform: scaleY(1.3); } }

/* Footer da seção */
.afb-foot { text-align: center; margin-top: 36px; }
.afb-foot-text { display: inline-flex; align-items: center; padding: 10px 22px; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13.5px; color: var(--text-muted); font-weight: 600; }

/* Responsive */
@media (max-width: 1024px) {
  .afb-grid { grid-template-columns: repeat(2, 1fr); }
  .afb-card--featured { grid-column: span 2; }
}
@media (max-width: 540px) {
  .afb-grid { grid-template-columns: 1fr; gap: 14px; }
  .afb-card--featured { grid-column: span 1; min-height: 0; padding: 22px; }
  .afb-card-content h3 { font-size: 18px; }
  .afb-push-card--alt { margin-left: 16px; }
  .afb-foot-text { font-size: 12px; padding: 10px 16px; text-align: center; line-height: 1.4; }
}
.app-modules-head { text-align: center; margin-bottom: 56px; }
.app-modules-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 14px; }
.app-modules-head h2 .accent { color: var(--green); }
.app-modules-head p { font-size: 16.5px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.55; }
.app-modules-grid { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 30px; align-items: center; }
.app-mod-list { display: flex; flex-direction: column; gap: 10px; }
.app-mod-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; transition: all .2s; cursor: pointer; }
.app-mod-item:hover, .app-mod-item.is-active { border-color: var(--green); background: var(--green-light); transform: translateX(2px); }
.app-mod-item .ic { width: 36px; height: 36px; border-radius: 9px; background: var(--green-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.app-mod-item:hover .ic, .app-mod-item.is-active .ic { background: #fff; }
.app-mod-item .ic svg { width: 18px; height: 18px; color: var(--green); }
.app-mod-item .txt { flex: 1; min-width: 0; }
.app-mod-item strong { font-size: 14.5px; font-weight: 700; color: var(--text); display: block; line-height: 1.25; }
.app-mod-item span { font-size: 12.5px; color: var(--text-muted); display: block; line-height: 1.4; margin-top: 2px; }
.app-mod-item .arr { color: var(--text-muted); opacity: 0; transform: translateX(-4px); transition: all .2s; }
.app-mod-item:hover .arr, .app-mod-item.is-active .arr { color: var(--green); opacity: 1; transform: translateX(0); }
.app-mod-item .arr svg { width: 14px; height: 14px; }

/* Central phone - modules */
.app-mod-phone { width: 280px; height: 580px; background: #0e1a17; border-radius: 42px; padding: 8px; box-shadow: 0 14px 32px rgba(15,30,27,.4); margin: 0 auto; }
.app-mod-phone-screen { width: 100%; height: 100%; background: #0e1a17; border-radius: 32px; padding: 24px 16px 16px; color: #fff; overflow: hidden; position: relative; }
.mod-phone-header { display: flex; justify-content: space-between; font-size: 11px; opacity: .7; margin-bottom: 18px; }
.mod-phone-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.mod-phone-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow: hidden; }
.mod-phone-tabs span { padding: 6px 12px; background: rgba(255,255,255,.08); border-radius: 8px; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.mod-phone-tabs span.on { background: var(--green); }
.mod-phone-list { display: flex; flex-direction: column; gap: 8px; }
.mod-phone-row { display: flex; align-items: center; gap: 10px; padding: 8px; background: rgba(255,255,255,.04); border-radius: 10px; }
.mod-phone-row .cover { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, #ce0d28, #5b0815); flex-shrink: 0; }
.mod-phone-row .cover.alt-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.mod-phone-row .cover.alt-2 { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.mod-phone-row .cover.alt-3 { background: linear-gradient(135deg, #10b981, #047857); }
.mod-phone-row .info { flex: 1; min-width: 0; }
.mod-phone-row .info strong { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-phone-row .info span { display: block; font-size: 10px; opacity: .55; margin-top: 1px; }
.mod-phone-row .time { font-size: 10px; opacity: .55; flex-shrink: 0; }

/* Dynamic stage of the modules phone */
.mod-phone-stage { position: relative; width: 100%; height: calc(100% - 32px); }
.mod-screen { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.mod-screen.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mod-screen-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); background: repeating-linear-gradient(135deg, rgba(23,141,114,.18) 0px, rgba(23,141,114,.18) 8px, rgba(255,255,255,.03) 8px, rgba(255,255,255,.03) 16px); border-radius: 14px; }
.mod-screen .ms-title { font-size: 17px; font-weight: 700; margin-bottom: 14px; color:#fff; }
.mod-screen .ms-sub { font-size: 11px; opacity: .55; margin-bottom: 10px; }
.ms-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.ms-tabs span { padding: 6px 10px; background: rgba(255,255,255,.08); border-radius: 7px; font-size: 10.5px; font-weight: 600; color:#fff; }
.ms-tabs span.on { background: var(--green); }
.ms-list { display: flex; flex-direction: column; gap: 7px; flex: 1; min-height: 0; overflow: hidden; }
.ms-row { display: flex; align-items: center; gap: 9px; padding: 8px; background: rgba(255,255,255,.05); border-radius: 9px; color:#fff; }
.ms-row .av { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; background: linear-gradient(135deg,#ce0d28,#5b0815); }
.ms-row .av.r { border-radius: 50%; }
.ms-row .av.c1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.ms-row .av.c2 { background: linear-gradient(135deg,#f59e0b,#ea580c); }
.ms-row .av.c3 { background: linear-gradient(135deg,#10b981,#047857); }
.ms-row .av.c4 { background: linear-gradient(135deg,#0ea5e9,#1e40af); }
.ms-row .av.c5 { background: linear-gradient(135deg,#ec4899,#a21caf); }
.ms-row .info { flex: 1; min-width: 0; }
.ms-row .info b { display: block; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-row .info i { display: block; font-size: 9.5px; opacity: .55; margin-top: 1px; font-style: normal; }
.ms-row .meta { font-size: 9.5px; opacity: .55; flex-shrink: 0; }
.ms-row .meta.live { color: var(--green); opacity: 1; font-weight: 700; }
.ms-rank { width: 18px; font-size: 13px; font-weight: 800; color: var(--green); flex-shrink: 0; text-align: center; }
.ms-rank.gray { color: #fff; opacity: .35; }

/* Notif */
.ms-notif { padding: 6px; }
.ms-notif .ms-row { background: rgba(255,255,255,.06); border-left: 3px solid var(--green); }
.ms-notif .ms-row .av { background: var(--green); display:flex; align-items:center; justify-content:center; }
.ms-notif .ms-row .av svg { width: 16px; height: 16px; color: #0e1a17; }
.ms-notif-pulse { display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--green); margin-right:6px; box-shadow: 0 0 0 0 rgba(33,206,134,.7); animation: msPulse 1.6s infinite; }
@keyframes msPulse { 0% { box-shadow: 0 0 0 0 rgba(33,206,134,.7);} 70% { box-shadow: 0 0 0 8px rgba(33,206,134,0);} 100% { box-shadow: 0 0 0 0 rgba(33,206,134,0);} }

/* Cover (now playing) */
.ms-cover-art { width: 100%; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg,#ce0d28,#5b0815); margin-bottom: 14px; position: relative; overflow:hidden; }
.ms-cover-art::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%); }
.ms-cover-art .live-pill { position:absolute; top:10px; left:10px; background: var(--green); color:#0e1a17; font-size:9px; font-weight:800; padding:3px 8px; border-radius:6px; letter-spacing:.5px; }
.ms-cover-name { font-size: 14px; font-weight: 700; color:#fff; margin-bottom:2px; }
.ms-cover-art-name { font-size: 11px; opacity: .6; color:#fff; margin-bottom:14px; }
.ms-progress { height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; margin-bottom:6px; }
.ms-progress > div { height: 100%; width: 42%; background: var(--green); }
.ms-time-row { display:flex; justify-content: space-between; font-size:9.5px; opacity:.5; color:#fff; margin-bottom:14px; }
.ms-controls { display:flex; align-items:center; justify-content:center; gap:18px; }
.ms-controls span { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; color:#fff; opacity:.7; }
.ms-controls .play { width:50px; height:50px; background: var(--green); color:#0e1a17; opacity:1; }
.ms-controls svg { width:16px; height:16px; }
.ms-controls .play svg { width:20px; height:20px; }

/* Ads */
.ms-ad-banner { background: linear-gradient(135deg,#f59e0b,#ea580c); border-radius: 12px; padding: 14px; color:#fff; margin-bottom: 12px; position:relative; overflow:hidden; }
.ms-ad-banner::before { content:"AD"; position:absolute; top:6px; right:8px; font-size:8px; opacity:.7; font-weight:700; }
.ms-ad-banner b { display:block; font-size:14px; font-weight:800; }
.ms-ad-banner span { display:block; font-size:10px; opacity:.85; margin-top:3px; }
.ms-ad-mini { background: rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.15); border-radius:10px; padding:10px; text-align:center; font-size:9px; color:#fff; opacity:.5; margin-top:10px; letter-spacing:.5px; }

/* Recados */
.ms-msg { background: rgba(255,255,255,.05); border-radius: 12px; padding: 9px 11px; color:#fff; max-width: 85%; }
.ms-msg b { display:block; font-size:10.5px; font-weight:700; color: var(--green); margin-bottom:2px; }
.ms-msg p { font-size:11px; line-height:1.35; margin:0; opacity:.92; }
.ms-msg.me { background: var(--green); color:#0e1a17; align-self: flex-end; }
.ms-msg.me b { color: rgba(14,26,23,.6); }
.ms-input { margin-top:auto; display:flex; gap:6px; padding:8px; background: rgba(255,255,255,.06); border-radius:10px; align-items:center; }
.ms-input span { flex:1; font-size:10px; opacity:.5; color:#fff; }
.ms-input .send { width:24px; height:24px; border-radius:50%; background: var(--green); display:flex; align-items:center; justify-content:center; }
.ms-input .send svg { width:11px; height:11px; color:#0e1a17; }

/* Top tracks */
.ms-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.ms-topbar b { font-size:13px; color:#fff; font-weight:700; }
.ms-topbar span { font-size:9.5px; opacity:.55; color:#fff; }

/* Promo */
.ms-promo-card { border-radius:12px; padding:14px; color:#fff; margin-bottom:8px; position:relative; overflow:hidden; }
.ms-promo-card.p1 { background: linear-gradient(135deg,#ec4899,#a21caf); }
.ms-promo-card.p2 { background: linear-gradient(135deg,#0ea5e9,#1e40af); }
.ms-promo-card .pill { display:inline-block; background: rgba(255,255,255,.2); font-size:8.5px; font-weight:700; padding:2px 7px; border-radius:5px; margin-bottom:6px; letter-spacing:.5px; }
.ms-promo-card b { display:block; font-size:13.5px; font-weight:800; line-height:1.15; }
.ms-promo-card span { display:block; font-size:10px; opacity:.85; margin-top:4px; }

/* Gallery */
.ms-gal-grid { display:grid; grid-template-columns: 1fr 1fr 1fr; gap:5px; }
.ms-gal-grid > div { aspect-ratio:1; border-radius:7px; }
.ms-gal-grid .g1 { background: linear-gradient(135deg,#ce0d28,#5b0815); }
.ms-gal-grid .g2 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.ms-gal-grid .g3 { background: linear-gradient(135deg,#f59e0b,#ea580c); }
.ms-gal-grid .g4 { background: linear-gradient(135deg,#10b981,#047857); }
.ms-gal-grid .g5 { background: linear-gradient(135deg,#0ea5e9,#1e40af); }
.ms-gal-grid .g6 { background: linear-gradient(135deg,#ec4899,#a21caf); }
.ms-gal-grid .lg { grid-column: span 2; grid-row: span 2; }

/* Equipe */
.ms-equipe-grid { display:grid; grid-template-columns: 1fr 1fr; gap:8px; }
.ms-equipe-card { background: rgba(255,255,255,.05); border-radius:10px; padding:10px; text-align:center; color:#fff; }
.ms-equipe-card .av { width:42px; height:42px; border-radius:50%; margin:0 auto 6px; }
.ms-equipe-card b { display:block; font-size:11px; font-weight:700; }
.ms-equipe-card span { display:block; font-size:9px; opacity:.55; margin-top:1px; }

/* Eventos */
.ms-event { display:flex; gap:10px; padding:9px; background: rgba(255,255,255,.05); border-radius:10px; color:#fff; align-items:center; }
.ms-event .date { width:38px; flex-shrink:0; text-align:center; background: var(--green); border-radius:8px; padding:5px 0; color:#0e1a17; }
.ms-event .date b { display:block; font-size:14px; font-weight:800; line-height:1; }
.ms-event .date span { display:block; font-size:8.5px; font-weight:700; text-transform: uppercase; }
.ms-event .info b { display:block; font-size:11.5px; font-weight:700; }
.ms-event .info i { font-style:normal; display:block; font-size:9.5px; opacity:.55; margin-top:1px; }

/* News */
.ms-news { display:flex; gap:9px; padding:8px; background: rgba(255,255,255,.05); border-radius:10px; color:#fff; }
.ms-news .img { width:54px; height:42px; border-radius:7px; flex-shrink:0; }
.ms-news .info { flex:1; min-width:0; }
.ms-news .info b { display:block; font-size:11px; font-weight:700; line-height:1.25; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ms-news .info i { font-style:normal; display:block; font-size:9px; opacity:.5; margin-top:3px; }

/* Sleep */
.ms-sleep-circle { width: 170px; height:170px; border-radius:50%; margin: 18px auto 18px; background: conic-gradient(var(--green) 0% 35%, rgba(255,255,255,.08) 35% 100%); display:flex; align-items:center; justify-content:center; position:relative; }
.ms-sleep-circle::before { content:""; position:absolute; inset:14px; border-radius:50%; background:#0e1a17; }
.ms-sleep-circle > div { position:relative; z-index:1; text-align:center; color:#fff; }
.ms-sleep-circle > div b { display:block; font-size:32px; font-weight:800; line-height:1; }
.ms-sleep-circle > div span { display:block; font-size:10px; opacity:.55; margin-top:4px; letter-spacing:1px; }
.ms-sleep-opts { display:flex; gap:6px; justify-content:center; }
.ms-sleep-opts span { flex:1; padding:8px 0; text-align:center; background: rgba(255,255,255,.06); border-radius:8px; font-size:10.5px; font-weight:600; color:#fff; }
.ms-sleep-opts span.on { background: var(--green); color:#0e1a17; }

/* Camera */
.ms-cam { width:100%; aspect-ratio: 4/5; border-radius:14px; background: linear-gradient(135deg,#1f2937,#0e1a17); margin-bottom:12px; position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.ms-cam::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 60%, rgba(33,206,134,.15), transparent 60%); }
.ms-cam .play-big { position:relative; z-index:1; width:50px; height:50px; border-radius:50%; background: rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; }
.ms-cam .play-big svg { width:20px; height:20px; color:#0e1a17; margin-left:2px; }
.ms-cam .live-pill { position:absolute; top:10px; left:10px; background:#ef4444; color:#fff; font-size:9px; font-weight:800; padding:3px 8px; border-radius:6px; letter-spacing:.5px; z-index:1; display:flex; align-items:center; gap:4px; }
.ms-cam .live-pill::before { content:""; width:5px; height:5px; border-radius:50%; background:#fff; }
.ms-cam .views { position:absolute; bottom:10px; right:10px; background: rgba(0,0,0,.6); color:#fff; font-size:9px; padding:3px 8px; border-radius:6px; z-index:1; }

/* ========= SITE INTEGRATION ========= */
.app-integration { padding: 96px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.app-integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.app-integration-visual::before { content: ''; position: absolute; inset: -8% -8% -8% -4%; background: radial-gradient(circle at 55% 50%, rgba(42,173,142,.18) 0%, rgba(42,173,142,.05) 45%, transparent 70%); z-index: 0; pointer-events: none; filter: blur(8px); }
.app-integration h2 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 14px; }
.app-integration p.lead { font-size: 16.5px; line-height: 1.55; color: var(--text); margin-bottom: 22px; opacity: .8; }
.app-int-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.app-int-item { display: flex; align-items: center; gap: 12px; }
.app-int-item .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-int-item .ck svg { width: 12px; height: 12px; color: #fff; }
.app-int-item span { font-size: 15px; color: var(--text); font-weight: 600; }
.app-integration-visual { position: relative; height: 500px; }
.app-int-phone { position: absolute; width: 220px; height: 460px; background: #0e1a17; border-radius: 36px; padding: 7px; box-shadow: 0 12px 28px rgba(15,30,27,.32), 0 2px 6px rgba(15,30,27,.15); }
.app-int-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; image-rendering: auto; }
.app-int-phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #1a2a26, #0e1a17); border-radius: 30px; padding: 18px 14px; color: #fff; overflow: hidden; }
.app-int-phone--1 { left: 6%; top: 0; z-index: 2; }
.app-int-phone--2 { right: 6%; top: 40px; z-index: 1; }

/* ========= STATS ========= */
/* ========= MEDIA SESSION + GERADOR DE URL (2 painéis) ========= */


/* --- Media Session: 2 cards de notificação (imagem de fundo) --- */

/* --- Gerador de URL: ilustração (fonte → 3 formatos) --- */
@keyframes paWave { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.5); opacity: 0; } }

/* ========= CARPLAY / ANDROID AUTO ========= */
.app-auto { padding: 96px 0; }
.app-auto-card { background: #0e1a17; border-radius: 28px; overflow: hidden; position: relative; min-height: 460px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; box-shadow: 0 12px 28px rgba(15,30,27,.32); }
.app-auto-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 50%, rgba(42,173,142,.18), transparent 55%), radial-gradient(circle at 12% 8%, rgba(42,173,142,.07), transparent 45%); pointer-events: none; }
.app-auto-card::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 20% 30%, #000 0%, transparent 50%); -webkit-mask-image: radial-gradient(circle at 20% 30%, #000 0%, transparent 50%); pointer-events: none; }
.app-auto-content { padding: 56px; color: #fff; position: relative; z-index: 1; }
.app-auto-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.app-auto-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); box-shadow: 0 0 0 0 rgba(42,173,142,.4); animation: pulse 1.6s infinite; }
.app-auto h3 { font-size: clamp(28px, 3.5vw, 38px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.app-auto h3 .accent { color: var(--green-mid); }
.app-auto-content p { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.75); margin-bottom: 22px; max-width: 440px; }
.app-auto-platforms { display: flex; gap: 10px; margin-bottom: 24px; }
.auto-platform { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font-size: 13px; font-weight: 600; }
.auto-platform svg { width: 16px; height: 16px; }
.app-auto-visual { position: relative; height: 460px; padding: 32px; display: flex; align-items: center; justify-content: center; }
.app-auto-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06); display: block; position: relative; z-index: 1; }

.auto-status { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.auto-time { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.auto-status-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); }
.auto-status-weather { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); }
.auto-status-weather svg { width: 14px; height: 14px; }
.auto-status-ico { width: 13px; height: 13px; color: rgba(255,255,255,.78); flex-shrink: 0; }
.auto-status-net { width: 14px; height: 11px; color: rgba(255,255,255,.78); flex-shrink: 0; }
.auto-status-battery { position: relative; width: 22px; height: 11px; border: 1.4px solid rgba(255,255,255,.78); border-radius: 2.5px; padding: 1px; box-sizing: border-box; }
.auto-status-battery::after { content: ''; position: absolute; top: 2px; right: -3px; width: 2px; height: 5px; background: rgba(255,255,255,.78); border-radius: 0 1px 1px 0; }
.auto-battery-fill { display: block; width: 70%; height: 100%; background: rgba(255,255,255,.78); border-radius: 1px; }

.auto-player { position: relative; flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; align-items: center; overflow: hidden; }
.auto-player::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 95% 120% at 18% 55%, rgba(100,180,120,.28) 0%, rgba(60,140,90,.18) 32%, rgba(40,90,60,.08) 58%, transparent 80%); pointer-events: none; z-index: 0; }
.auto-player > * { position: relative; z-index: 1; }
.auto-cover { aspect-ratio: 1; width: 130px; border-radius: 14px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(23,141,114,.35), inset 0 0 0 1px rgba(255,255,255,.08); flex-shrink: 0; }
.auto-cover svg { width: 52px; height: 52px; color: rgba(255,255,255,.92); }
.auto-track { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.auto-track-label { font-size: 10px; font-weight: 700; color: rgba(78,217,182,.85); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.auto-track-title { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.01em; }
.auto-track-artist { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.auto-progress { width: 100%; height: 4px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.auto-progress-fill { height: 100%; width: 38%; background: linear-gradient(90deg, var(--green-mid), #4ed9b6); border-radius: 99px; }
.auto-times { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; font-size: 10.5px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.auto-live { display: inline-flex; align-items: center; gap: 4px; color: #ff8a8a; font-weight: 800; letter-spacing: .06em; }
.auto-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff3b3b; animation: tvRecBlink 1.4s ease-in-out infinite; }

.auto-dock { display: flex; justify-content: space-around; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.04); border-top: 1px solid rgba(255,255,255,.06); flex-shrink: 0; }
.auto-dock-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.05); color: rgba(255,255,255,.6); transition: all .2s; border: 0; cursor: pointer; padding: 0; }
.auto-dock-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.auto-dock-btn.is-active { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(23,141,114,.5); }
.auto-dock-btn svg { width: 18px; height: 18px; }

/* ========= DEPOIMENTOS ========= */
.app-testi { padding: 96px 0; background: var(--bg-soft); }
.app-testi-head { text-align: center; margin-bottom: 48px; }
.app-testi-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 0; }
.app-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 28px; transition: all .2s; }
.testi-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testi-stars { display: flex; gap: 2px; color: #fbbf24; font-size: 17px; margin-bottom: 14px; }
.testi-quote { font-size: 15px; line-height: 1.3; color: var(--text); margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--green-light); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-author strong { font-size: 14px; font-weight: 700; color: var(--text); display: block; line-height: 1.2; }
.testi-author span { font-size: 12.5px; color: var(--text-muted); display: block; line-height: 1.3; margin-top: 2px; }

/* ========= FINAL CTA ========= */
.app-cta { padding: 0 0 96px; }
.app-cta-card { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); border-radius: 28px; padding: 60px 56px; color: #fff; position: relative; overflow: hidden; }
.app-cta-card::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%); border-radius: 50%; }
.app-cta-card::after { content: ''; position: absolute; bottom: -120px; left: 30%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%); border-radius: 50%; }
.app-cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.app-cta-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; backdrop-filter: blur(8px); }
.app-cta h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 16px; }
.app-cta p { font-size: 17px; line-height: 1.55; opacity: .9; margin-bottom: 24px; }
.app-cta-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.app-cta-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.app-cta-features li svg { width: 18px; height: 18px; flex-shrink: 0; }
.app-cta-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; background: #000; color: #fff; border-radius: 12px; transition: transform .2s ease, filter .2s ease, background .2s ease; text-decoration: none; }
.store-btn:hover { transform: scale(1.04); filter: brightness(1.18); }
.store-btn:active { transform: scale(0.98); filter: brightness(1); }
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn .lab { display: flex; flex-direction: column; line-height: 1.1; gap: 3px; color: #fff; }
.store-btn small { font-size: 10.5px; opacity: .85; font-weight: 500; letter-spacing: .03em; }
.store-btn strong { font-size: 15px; font-weight: 700; }

.store-btn--web { background: var(--green-dark); }
.store-btn--web:hover { background: #0a5443; }
.store-btn--apple svg { width: 34px; height: 34px; }

@media (max-width: 540px) {
  .app-cta-stores { flex-direction: column; gap: 8px; }
  .app-cta-stores .store-btn { width: 100%; justify-content: center; padding: 12px 16px; }
  .store-btn--apple svg { width: 30px; height: 30px; }
}

.app-cta-visual { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.cta-phone-stack { position: relative; width: 200px; height: 380px; }
.cta-phone { position: absolute; width: 180px; height: 360px; background: #0e1a17; border-radius: 32px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.cta-phone .scr { width: 100%; height: 100%; background: linear-gradient(180deg, #1a2a26, #0e1a17); border-radius: 26px; padding: 14px; }
.cta-phone-1 { left: -30px; top: 10px; transform: rotate(-8deg); }
.cta-phone-2 { right: -30px; top: 0; transform: rotate(8deg); }

/* ========= APP - RESPONSIVE ========= */
@media (max-width: 980px) {
  .app-hero { padding: calc(var(--nav-h) + 30px) 0 16px; }
  .app-hero--devices { padding: calc(var(--nav-h) + 20px) 0 0; }
  .app-hero--devices .adb2-platforms { margin-bottom: 6px; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-hero-visual { height: 480px; }
  .hero-phone { width: 230px; height: 480px; }
  .app-clients-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .app-why { padding: 56px 0; }
  .app-plat-head { text-align: center; margin: 0 auto 36px; }
  .app-plat-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .app-plat-card { padding: 32px 24px 28px; }
  .app-plat-icon { width: 72px; height: 72px; margin-bottom: 18px; }
  .app-plat-icon svg { width: 36px; height: 36px; }
  .app-plat-notes { padding: 24px 22px; }
  .app-plat-notes-intro { gap: 12px; }
  .app-plat-notes-grid { gap: 18px; }
  .app-cust { padding: 64px 0; }
  .app-cust-grid { grid-template-columns: 1fr; gap: 20px; }
  .app-cust-visual { min-height: 320px; }
  .app-modules-grid { grid-template-columns: 1fr; gap: 24px; }
  /* text first on mobile */
  .app-integration-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-integration-visual { height: 380px; }
  .app-int-phone { width: 180px; height: 380px; }
  .app-auto-card { grid-template-columns: 1fr; min-height: auto; }
  .app-auto-content { padding: 40px 28px 0; }
  .app-auto-visual { height: 280px; padding: 20px 28px 40px; }
  .auto-status { padding: 8px 12px; }
  .auto-time { font-size: 12px; }
  .auto-status-meta { gap: 8px; }
  .auto-status-weather { font-size: 11px; }
  .auto-status-weather svg { width: 12px; height: 12px; }
  .auto-status-ico { width: 11px; height: 11px; }
  .auto-status-battery { width: 18px; height: 9px; }
  .auto-player { gap: 14px; padding: 16px; }
  .auto-cover { width: 100px; }
  .auto-cover svg { width: 42px; height: 42px; }
  .auto-track-title { font-size: 18px; }
  .auto-track-artist { font-size: 12px; }
  .auto-dock { padding: 8px 12px; gap: 6px; }
  .auto-dock-btn { width: 34px; height: 34px; }
  .auto-dock-btn svg { width: 16px; height: 16px; }
  .app-testi-grid { grid-template-columns: 1fr; }
  .app-cta-card { padding: 40px 28px; }
  .app-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-cta-visual { height: 320px; }
}
@media (max-width: 560px) {
  .app-hero h1 { font-size: 28px; }
  .app-hero-trust { flex-wrap: wrap; }
  .app-clients-grid { grid-template-columns: repeat(2, 1fr); }
  .app-int-phone--1 { left: 0; }
  .app-int-phone--2 { right: 0; }
}


