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

/* ============================================================
   WIDGETS & PLAYERS (brascast-widgets.html)
   ============================================================ */

/* --- HERO --- */
.wd-hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 80px) 0 88px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.wd-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.wd-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.wd-blob-1 { width: 720px; height: 720px; background: radial-gradient(circle, rgba(23,141,114,.24) 0%, rgba(23,141,114,.09) 35%, transparent 70%); top: -250px; right: -210px; }
.wd-blob-2 { width: 560px; height: 560px; background: radial-gradient(circle, rgba(42,173,142,.24) 0%, rgba(42,173,142,.09) 35%, transparent 70%); bottom: -190px; left: -190px; }
.wd-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.wd-hero-text .tag { margin-bottom: 20px; }
.wd-hero-text h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--text); margin: 0 0 18px; text-wrap: balance; }
.wd-hero-text h1 .accent { color: var(--green); }
.wd-hero-text .sub { font-size: 20px; color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; max-width: 520px; text-wrap: pretty; }
.wd-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wd-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.wd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border: 1.5px solid var(--border); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text); }
.wd-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* Floating player mockups in the hero */
.wd-hero-mockup { position: relative; min-height: 480px; }

/* Player "full" - large card */
/* Player principal estilo "pill com waves de fundo" */
.wd-pl { position: absolute; transition: transform .3s; }
.wd-pl:hover { transform: translateY(-4px); }
.wd-pl--full { top: 20px; right: 0; left: 0; background: #f3f3f3; border: 1.5px solid #dadada; border-radius: 999px; box-shadow: 0 18px 48px rgba(15,30,27,.10); padding: 0; z-index: 3; overflow: hidden; }

/* Equalizador estilo .eq-banner: barras com variacao organica de tempo/altura/delay */
.wd-pl-wave-bg { position: absolute; inset: 0; padding: 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; pointer-events: none; z-index: 0; }
.wd-pl-wave-bg span {
  flex: 1;
  display: block;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  background: linear-gradient(to top, #c4ccc8, #dde3e0);
  animation: wdEqBar var(--dur, .8s) ease-in-out infinite alternate;
  animation-delay: var(--del, 0s);
}
/* Zebra: alterna gradient (impar mais escuro, par mais claro) */
.wd-pl-wave-bg span:nth-child(even) { background: linear-gradient(to top, #dde3e0, #ecefed); }
/* 8 alturas base ciclando (8n+X) - peaks contidos na metade inferior do pill */
.wd-pl-wave-bg span:nth-child(8n+1) { height: 16%; }
.wd-pl-wave-bg span:nth-child(8n+2) { height: 34%; }
.wd-pl-wave-bg span:nth-child(8n+3) { height: 45%; }
.wd-pl-wave-bg span:nth-child(8n+4) { height: 20%; }
.wd-pl-wave-bg span:nth-child(8n+5) { height: 40%; }
.wd-pl-wave-bg span:nth-child(8n+6) { height: 25%; }
.wd-pl-wave-bg span:nth-child(8n+7) { height: 48%; }
.wd-pl-wave-bg span:nth-child(8n+8) { height: 22%; }
/* 7 duracoes ciclando (7n+X) - ciclo primo desincroniza visualmente com o de alturas */
.wd-pl-wave-bg span:nth-child(7n+1) { --dur: .55s; --del: .00s; }
.wd-pl-wave-bg span:nth-child(7n+2) { --dur: .85s; --del: .22s; }
.wd-pl-wave-bg span:nth-child(7n+3) { --dur: 1.10s; --del: .08s; }
.wd-pl-wave-bg span:nth-child(7n+4) { --dur: .65s; --del: .35s; }
.wd-pl-wave-bg span:nth-child(7n+5) { --dur: .95s; --del: .14s; }
.wd-pl-wave-bg span:nth-child(7n+6) { --dur: .70s; --del: .42s; }
.wd-pl-wave-bg span:nth-child(7n+7) { --dur: 1.25s; --del: .28s; }
@keyframes wdEqBar { from { transform: scaleY(.15); } to { transform: scaleY(1.05); } }

/* Row de conteúdo na frente das barras (centralizado) */
.wd-pl-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 24px; }
.wd-pl-row > * { flex-shrink: 0; }

/* Info (título + tag) - pill branca colada no cover, com z-index acima do pulse */
.wd-pl-info { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; padding: 8px 28px 8px 18px; background: #fff; border-radius: 999px; text-align: right; box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.05); }
.wd-pl-tag { font-size: 9px; font-weight: 700; letter-spacing: .15em; color: var(--text-muted); }
.wd-pl-info strong { font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: -.01em; white-space: nowrap; }

/* Cover badge circular verde com clave de música (colado tanto na info quanto no play) */
.wd-pl-cover-badge { position: relative; width: 40px; height: 40px; margin-left: -22px; border-radius: 50%; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: -4px 0 12px rgba(0,0,0,.14); z-index: 3; animation: wdCoverGlow 2.5s cubic-bezier(.45,0,.55,1) infinite; }
.wd-pl-cover-badge svg { width: 22px; height: 22px; color: #fff; position: relative; z-index: 1; }
@keyframes wdCoverGlow {
  0%   { box-shadow: -4px 0 12px rgba(0,0,0,.14); }
  45%  { box-shadow: -4px 0 12px rgba(0,0,0,.14), 0 0 18px rgba(23,141,114,.45), 0 0 36px rgba(23,141,114,.15); }
  100% { box-shadow: -4px 0 12px rgba(0,0,0,.14); }
}

/* Wrapper do play/pause */
.wd-pl-btn-wrap { position: relative; width: 56px; height: 56px; margin-left: -8px; flex-shrink: 0; }

/* Rings concentricos pulsando do botao pra fora (clipado pelo overflow:hidden do pill -> efeito lateral) */
.wd-pl-btn-pulse { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid var(--text-muted); opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); animation: wdRipple 2.8s ease-out infinite; }
.wd-pl-btn-pulse:nth-child(1) { width:  70px; height:  70px; animation-delay: 0s;    }
.wd-pl-btn-pulse:nth-child(2) { width: 105px; height: 105px; animation-delay: .35s; }
.wd-pl-btn-pulse:nth-child(3) { width: 150px; height: 150px; animation-delay: .70s; }
.wd-pl-btn-pulse:nth-child(4) { width: 210px; height: 210px; animation-delay: 1.05s; }
.wd-pl-btn-pulse:nth-child(5) { width: 290px; height: 290px; animation-delay: 1.40s; }
@keyframes wdRipple {
  0%   { transform: translate(-50%, -50%) scale(.8);  opacity: .55; }
  60%  { opacity: .08; }
  100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0;   }
}

/* Play/pause button maior, com borda escura + breathing (scale + glow simultaneos) */
.wd-pl-btn-play { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(145deg, #fff 0%, #e8e8e8 100%); border: 2px solid rgba(0,0,0,.7); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: -4px 0 12px rgba(0,0,0,.12), 0 0 4px rgba(0,0,0,.12); animation: wdBtnBreathe 2.5s cubic-bezier(.45,0,.55,1) infinite; transition: border-color .25s, color .25s; }
.wd-pl-btn-play:hover { border-color: var(--green); color: var(--green); }
.wd-pl-btn-play svg { width: 22px; height: 22px; }
@keyframes wdBtnBreathe {
  0%   { transform: scale(1);    box-shadow: -4px 0 12px rgba(0,0,0,.12), 0 0  4px rgba(0,0,0,.12); }
  45%  { transform: scale(1.08); box-shadow: -4px 0 12px rgba(0,0,0,.12), 0 0 22px rgba(0,0,0,.32), 0 0 50px rgba(0,0,0,.08); }
  100% { transform: scale(1);    box-shadow: -4px 0 12px rgba(0,0,0,.12), 0 0  4px rgba(0,0,0,.12); }
}

/* Volume control */
.wd-pl-volume { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 8px 12px; background: #fff; border-radius: 999px; }
.wd-pl-volume > svg { width: 16px; height: 16px; color: var(--text-muted); }
.wd-pl-volume-track { position: relative; width: 72px; height: 3px; background: var(--border); border-radius: 99px; }
.wd-pl-volume-fill { position: absolute; left: 0; top: 0; height: 100%; width: 62%; background: var(--green); border-radius: 99px; }
.wd-pl-volume-fill::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,.15); }

/* Widget mockups (schedule + messages) abaixo do player verde no hero */
.wd-hero-mockup { min-height: 440px; }

.wd-mock { position: absolute; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; box-shadow: 0 18px 48px rgba(15,30,27,.10); transition: transform .3s; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.wd-mock:hover { transform: translateY(-4px) rotate(0deg); }

.wd-mock--schedule { top: 108px; left: 0; right: 40px; transform: rotate(-1.2deg); z-index: 2; }
.wd-mock--msgs { bottom: 0; left: 60px; right: 0; transform: rotate(1deg); z-index: 1; }

/* "no ar" header do schedule */
.wd-mock-current { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--bg-soft); border: 1.5px solid var(--green-light); border-radius: 12px; }
.wd-mock-cover { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wd-mock-cover svg { width: 18px; height: 18px; }
.wd-mock-current-info { flex: 1; min-width: 0; line-height: 1.25; }
.wd-mock-current-info strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-mock-current-info span { display: block; font-size: 10.5px; color: var(--text-muted); }
.wd-mock-current-info em { display: block; font-style: normal; font-size: 10px; color: var(--text-muted); opacity: .8; margin-top: 1px; font-variant-numeric: tabular-nums; }

/* pill "no ar" */
.wd-mock-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .04em; flex-shrink: 0; }
.wd-mock-pill--live { background: var(--green-light); color: var(--green-dark); }
.wd-mock-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,141,114,.18); animation: wdMockPulse 1.6s infinite; }
@keyframes wdMockPulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(23,141,114,.18); } 50% { box-shadow: 0 0 0 5px rgba(23,141,114,.08); } }

/* label "A seguir" */
.wd-mock-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 4px; margin-top: 2px; }

/* lista de programas a seguir */
.wd-mock-schedule { list-style: none; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.wd-mock-schedule li { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 8px; padding: 7px 9px; background: #fff; border: 1px solid var(--border); border-radius: 9px; font-size: 11px; }
.wd-mock-time { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; font-size: 11px; }
.wd-mock-prog { line-height: 1.25; min-width: 0; }
.wd-mock-prog strong { display: block; font-size: 11px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-mock-prog em { font-style: normal; font-size: 10px; color: var(--text-muted); }
.wd-mock-end { font-size: 10px; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* mural de recados */
.wd-mock-msg { padding: 11px 13px; background: var(--bg-soft); border-radius: 11px; position: relative; min-height: 78px; }
.wd-msg-slide { position: absolute; inset: 11px 13px; opacity: 0; transform: translateY(8px); transition: opacity .45s cubic-bezier(.4,0,.2,1), transform .45s cubic-bezier(.4,0,.2,1); pointer-events: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.wd-msg-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wd-mock-msg p { font-size: 11.5px; line-height: 1.45; color: var(--text); margin: 0; }
.wd-mock-msg-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; border-top: 1px solid var(--border); font-size: 9.5px; }
.wd-mock-msg-meta strong { color: var(--text); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wd-mock-msg-meta span { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.wd-mock-msg-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wd-mock-msg-btn { padding: 7px 14px; background: var(--text); color: #fff; border: 0; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; transition: background .15s; font-family: inherit; }
.wd-mock-msg-btn:hover { background: var(--green-dark); }
.wd-mock-pager { display: inline-flex; align-items: center; gap: 6px; }
.wd-mock-pager button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .15s, color .15s; }
.wd-mock-pager button:hover { border-color: var(--green); color: var(--green); }
.wd-mock-pager button svg { width: 11px; height: 11px; }
.wd-mock-pager span { font-size: 10.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; font-weight: 600; }

/* Responsive: estica os mocks no mobile pra não cortarem */
@media (max-width: 980px) {
  .wd-hero-mockup { min-height: auto; display: flex; flex-direction: column; gap: 16px; }
  .wd-mock, .wd-pl { position: relative; top: auto; bottom: auto; left: auto; right: auto; transform: none; }
}

/* --- GALLERY (2-col com deck de players realistas) --- */
.wd-gallery { padding: 96px 0; background: var(--bg); position: relative; overflow: hidden; }
.wd-gal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* Mockup esquerda (deck de players) */
.wd-gal-mockup { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
.wd-gal-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.wd-gal-glow--1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(42,173,142,.16) 0%, rgba(42,173,142,0) 70%); top: -40px; left: 10%; }
.wd-gal-glow--2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(237,120,83,.12) 0%, rgba(237,120,83,0) 70%); bottom: -40px; right: 10%; }

.wd-gal-badge { position: absolute; top: 0; right: 6%; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; border-radius: 99px; box-shadow: 0 10px 24px rgba(23,141,114,.32); transform: rotate(4deg); }
.wd-gal-badge svg { width: 14px; height: 14px; }

/* Deck stack */
.wd-deck { position: relative; width: 100%; max-width: 420px; height: 100%; z-index: 1; }
.wd-deck-item { position: absolute; left: 50%; width: 100%; transform: translate(-50%, 0) rotate(var(--r,0deg)); animation: wdDeck 5.5s ease-in-out infinite; will-change: transform; }
.wd-deck-item:hover { z-index: 20; }

.wd-deck-item--1 { top: 0%;   --r: -5deg; z-index: 6; animation-delay: 0s; }
.wd-deck-item--2 { top: 16%;  --r:  3deg; z-index: 5; animation-delay: .35s; }
.wd-deck-item--3 { top: 32%;  --r: -2deg; z-index: 4; animation-delay: .7s; }
.wd-deck-item--4 { top: 48%;  --r:  4deg; z-index: 7; animation-delay: 1.05s; }
.wd-deck-item--5 { top: 65%;  --r: -3deg; z-index: 3; animation-delay: 1.4s; }
.wd-deck-item--6 { top: 82%;  --r:  5deg; z-index: 8; animation-delay: 1.75s; }

@keyframes wdDeck {
  0%, 100% { transform: translate(-50%, 0) rotate(var(--r,0deg)); }
  50%      { transform: translate(-50%, -5px) rotate(var(--r,0deg)); }
}
@media (prefers-reduced-motion: reduce) { .wd-deck-item { animation: none !important; } }

/* ============================================================
   WP - Realistic mini player styles (Modelo 01-09 inspired)
   ============================================================ */
.wp { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; box-shadow: 0 16px 38px -10px rgba(15,30,27,.22); font-size: 11.5px; font-weight: 600; line-height: 1.2; min-height: 50px; }
.wp--white   { background: #f3f4f6; color: #1f2937; border: 1px solid #e5e7eb; }
.wp--dark    { background: #0a1a16; color: #fff; border-radius: 4px; min-height: 42px; }
.wp--cream   { background: #ece8e0; color: #2d2a25; border-radius: 4px; padding: 8px 12px; }
.wp--midnight{ background: linear-gradient(135deg, #0d1828 0%, #1a2942 100%); color: #fff; border-radius: 6px; }
.wp--pill    { background: #fff; color: #1f2937; border-radius: 999px; padding: 6px 8px 6px 6px; border: 1px solid #e5e7eb; }
.wp--compact { padding: 7px 10px; }

/* Cover (thumbnail) — cor padrão verde brand, igual em todos os players */
.wp-cover { width: 34px; height: 34px; border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--green-light); color: var(--green); }
.wp-cover svg { width: 22px; height: 22px; }

/* Avatar (circular) — mesma cor padrão dos covers (verde brand) */
.wp-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; }
.wp-avatar svg { width: 18px; height: 18px; }

/* Play button */
.wp-play { width: 28px; height: 28px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; }
.wp-play svg { width: 12px; height: 12px; }
.wp-play--dark { background: #1f2937; color: #fff; }
.wp-play--mint { background: #34d399; color: #fff; }
.wp-play--ring { background: #fff; color: #1f2937; border: 2px solid #34d399; width: 32px; height: 32px; }
.wp-play--blue { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,.18); }
.wp-play--pause{ background: #fff; color: #1f2937; border: 2px solid #d1d5db; width: 34px; height: 34px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }

/* Info (texto principal) */
.wp-info { flex: 1; min-width: 0; line-height: 1.25; display: flex; flex-direction: column; gap: 1px; }
.wp-info strong { display: block; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.wp-info span { display: block; font-size: 10px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.wp-info-sub { font-size: 10.5px; opacity: .55; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-eyebrow { font-size: 7.5px; font-weight: 700; letter-spacing: .14em; opacity: .55; font-style: normal; margin-bottom: 2px; }
.wp-title-underline { border-bottom: 2px solid #f59e0b; padding-bottom: 1px; display: inline-block; align-self: flex-start; }

/* Volume slider */
.wp-vol { display: inline-flex; align-items: center; gap: 6px; color: inherit; flex-shrink: 0; }
.wp-vol svg { width: 12px; height: 12px; opacity: .65; }
.wp-vol--mint svg, .wp-vol--blue svg { opacity: .85; }
.wp-slider { display: inline-block; position: relative; width: 50px; height: 3px; background: rgba(0,0,0,.12); border-radius: 99px; }
.wp-slider i { display: block; width: 70%; height: 100%; background: #6b7280; border-radius: 99px; }
.wp-slider--mint i { background: #34d399; }
.wp-slider--blue i { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.wp-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.wp-dot--green { background: #34d399; box-shadow: 0 0 6px rgba(52,211,153,.5); }

/* Social icon (FB chip) */
.wp-soc { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.wp-soc--fb { background: #1877f2; color: #fff; }

/* Equalizer bars (Modelo 04) */
.wp-eq { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 18px; flex-shrink: 0; }
.wp-eq i { display: block; width: 2.5px; border-radius: 1px; }
.wp-eq i:nth-child(1) { height: 6px;  background: #fbbf24; }
.wp-eq i:nth-child(2) { height: 12px; background: #84cc16; }
.wp-eq i:nth-child(3) { height: 8px;  background: #34d399; }
.wp-eq i:nth-child(4) { height: 14px; background: #84cc16; }
.wp-eq i:nth-child(5) { height: 10px; background: #fbbf24; }
.wp-eq i:nth-child(6) { height: 6px;  background: #f87171; }

/* Tag escura (chip dentro do player) */
.wp-tag-dark { flex: 1; min-width: 0; background: #374151; color: #d1d5db; font-size: 9.5px; padding: 4px 8px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ Texto direita ============ */
.wd-gal-text .tag { margin-bottom: 18px; }
.wd-gal-text h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance; }
.wd-gal-text h2 .accent { color: var(--green); }
.wd-gal-text > p { font-size: 17px; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; max-width: 540px; }

.wd-gal-feats { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 16px; }
.wd-gal-feats li { display: flex; align-items: flex-start; gap: 12px; }
.wd-gal-feats li > svg { width: 18px; height: 18px; color: var(--green); background: var(--green-light); border-radius: 99px; padding: 4px; flex-shrink: 0; margin-top: 2px; box-sizing: content-box; }
.wd-gal-feats li strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.wd-gal-feats li span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Mini players renderizados em CSS */
.wd-mini { border-radius: 10px; padding: 9px 11px; display: flex; align-items: center; gap: 9px; box-shadow: 0 4px 14px rgba(15,30,27,.08); }
.wd-mini--bar { width: 100%; }
.wd-mini--card { width: 60%; align-self: flex-end; }
.wd-mini-play { width: 22px; height: 22px; border-radius: 50%; background: currentColor; flex-shrink: 0; position: relative; }
.wd-mini-play::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-30%, -50%); width: 0; height: 0; border-left: 5px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.wd-mini-cover { width: 26px; height: 26px; border-radius: 6px; background: currentColor; opacity: .9; flex-shrink: 0; }
.wd-mini-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.wd-mini-info em { display: block; height: 6px; border-radius: 3px; background: currentColor; opacity: .85; width: 80%; }
.wd-mini-info em.wd-mini-info-sub { width: 55%; opacity: .55; height: 4px; }
.wd-mini-bars { display: flex; align-items: flex-end; gap: 2px; flex-shrink: 0; height: 14px; }
.wd-mini-bars i { display: block; width: 2.5px; background: currentColor; opacity: .8; border-radius: 1px; }
.wd-mini-bars i:nth-child(1) { height: 8px; }
.wd-mini-bars i:nth-child(2) { height: 12px; }
.wd-mini-bars i:nth-child(3) { height: 6px; }
.wd-mini-bars i:nth-child(4) { height: 10px; }

.wd-mini--green { background: var(--green); color: #fff; }
.wd-mini--green .wd-mini-play { background: #fff; }
.wd-mini--green .wd-mini-play::after { border-left-color: var(--green); }
.wd-mini--green .wd-mini-cover, .wd-mini--green .wd-mini-info em, .wd-mini--green .wd-mini-bars i { background: #fff; }

.wd-mini--dark { background: #0a1a16; color: var(--green-mid); }
.wd-mini--dark .wd-mini-play { background: var(--green-mid); }
.wd-mini--dark .wd-mini-play::after { border-left-color: #0a1a16; }

.wd-mini--gradient { background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.wd-mini--gradient .wd-mini-play { background: #fff; }
.wd-mini--gradient .wd-mini-play::after { border-left-color: var(--green-dark); }

.wd-mini--light { background: #fff; color: var(--text); border: 1px solid var(--border); }
.wd-mini--light .wd-mini-play { background: var(--text); }
.wd-mini--light .wd-mini-play::after { border-left-color: #fff; }

.wd-mini--coral { background: #fff; color: #d97048; border: 1px solid #ffd4c2; }
.wd-mini--coral .wd-mini-play { background: #ed7853; }
.wd-mini--coral .wd-mini-play::after { border-left-color: #fff; }

.wd-mini--blue { background: #fff; color: #3d6b8c; border: 1px solid #c2d6e4; }
.wd-mini--blue .wd-mini-play { background: #4a7ba5; }
.wd-mini--blue .wd-mini-play::after { border-left-color: #fff; }


/* --- WIDGETS INTERATIVOS --- */
.wd-features { padding: 96px 0; background: var(--bg-soft); }
.wd-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wd-feat { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 32px 26px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.wd-feat:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 24px rgba(23,141,114,.1); }
.wd-feat-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .2s, color .2s; }
.wd-feat-icon svg { width: 24px; height: 24px; }
.wd-feat:hover .wd-feat-icon { background: var(--green); color: #fff; }
.wd-feat h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--text); margin-bottom: 8px; }
.wd-feat p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; }
.wd-feat--plus { background: linear-gradient(135deg, var(--green-light) 0%, #fff 100%); border-color: var(--green-mid); }

/* --- CUSTOMIZATION --- */
.wd-custom { padding: 96px 0; background: var(--bg); }
.wd-custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ========= MODELS GALLERY (Players & Widgets cards) ========= */
.wd-models { padding: 96px 0; background: var(--bg); }

/* ============================================================
   WIDGETS SHOWCASE - 6 widgets animados em grid
   ============================================================ */
.wd-showcase { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.wd-showcase-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.wd-showcase-head h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 14px 0 12px; text-wrap: balance; }
.wd-showcase-head h2 .accent { color: var(--green); }
.wd-showcase-head p { font-size: 17px; color: var(--text-muted); line-height: 1.55; }

.wd-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1024px) { .wd-showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wd-showcase-grid { grid-template-columns: 1fr; } }

/* Widget box */
.wd-wb { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 4px 14px rgba(15,30,27,.04); transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; gap: 14px; min-height: 280px; overflow: hidden; }
.wd-wb:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 18px 38px rgba(15,30,27,.08); }
.wd-wb-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.wd-wb-head strong { display: block; font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.2; }
.wd-wb-head span { font-size: 12px; color: var(--text-muted); display: block; margin-top: 1px; }
.wd-wb-ic { position: relative; width: 42px; height: 42px; min-width: 42px; min-height: 42px; border-radius: 12px; background: var(--green-light); color: var(--green); flex-shrink: 0; padding: 0; box-sizing: border-box; }
.wd-wb-ic svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; display: block; }
.wd-wb-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }

/* ===== 1. GRADE DE PROGRAMAÇÃO ===== */
.wb-grade2 { display: flex; flex-direction: column; gap: 8px; }
.wb-grade2-now { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%); border: 1px solid var(--border); border-radius: 12px; }
.wb-grade2-now-cover { width: 56px; height: 56px; border-radius: 10px; background: linear-gradient(135deg, var(--green-mid), var(--green-dark)); color: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wb-grade2-now-cover svg { width: 30px; height: 30px; }
.wb-grade2-now-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; min-width: 0; }
.wb-grade2-now-info strong { font-size: 13px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-grade2-now-info > span { font-size: 11px; color: var(--text-muted); }
.wb-grade2-now-time { display: inline-flex !important; align-items: center; gap: 4px; font-size: 10.5px !important; color: var(--text-muted) !important; margin-top: 1px; font-variant-numeric: tabular-nums; }
.wb-grade2-now-time svg { width: 11px; height: 11px; opacity: .7; }
.wb-grade2-now-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--green); background: var(--green-light); padding: 4px 10px; border-radius: 99px; align-self: flex-start; }
.wb-grade2-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(23,141,114,.2); animation: wbPulse 1.4s infinite; }
.wb-grade2-label { font-size: 9.5px; font-weight: 800; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; padding-left: 2px; margin-top: 2px; }
.wb-grade2-next { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; }
.wb-grade2-next-time { font-size: 13px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.wb-grade2-next-info { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; min-width: 0; }
.wb-grade2-next-info strong { font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-grade2-next-info span { font-size: 10.5px; color: var(--text-muted); }
.wb-grade2-next-end { font-size: 10.5px; color: var(--text-muted); font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; }
@keyframes wbPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.9); } }

/* ===== 2. MURAL (mensagens rotativas - 3s cada, 4 msgs, ciclo 12s) ===== */
.wb-msg-stack { position: relative; flex: 1; min-height: 140px; }
.wb-msg { position: absolute; inset: 0; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; opacity: 0; animation: wbMsg 12s linear infinite; animation-delay: var(--d); display: flex; flex-direction: column; }
.wb-msg-text { flex: 1; font-size: 12.5px; color: var(--text); line-height: 1.45; margin: 0 0 10px; }
.wb-msg-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.wb-msg-foot strong { font-size: 10.5px; font-weight: 800; color: var(--text); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-msg-foot span { font-size: 10px; color: var(--text-muted); font-weight: 600; font-variant-numeric: tabular-nums; flex-shrink: 0; }
@keyframes wbMsg {
  0%, 1%   { opacity: 0; transform: translateY(8px); }
  3%, 22%  { opacity: 1; transform: translateY(0); }
  25%, 100%{ opacity: 0; transform: translateY(-8px); }
}
.wb-msg-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.wb-msg-send { background: var(--text); color: #fff; border: 0; padding: 9px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s; }
.wb-msg-send:hover { background: #000; }
.wb-msg-pager { display: inline-flex; align-items: center; gap: 4px; }
.wb-msg-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; padding: 0; }
.wb-msg-arrow:hover { border-color: var(--green); color: var(--green); }
.wb-msg-arrow svg { width: 12px; height: 12px; }
.wb-msg-count { font-size: 11px; font-weight: 700; color: var(--text-muted); padding: 0 4px; font-variant-numeric: tabular-nums; min-width: 32px; text-align: center; }

/* ===== 3. PEDIDOS (form com nome/cidade/UF/música + typing + send) ===== */
.wb-pedido-row { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wb-pedido-grid { display: grid; grid-template-columns: 1fr 80px; gap: 8px; }
.wb-pedido-label { font-size: 9.5px; font-weight: 700; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; padding-left: 2px; }
.wb-pedido-field { padding: 8px 12px; background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 8px; font-size: 12.5px; color: var(--text); font-weight: 600; line-height: 1.2; min-height: 34px; display: flex; align-items: center; }
.wb-pedido-field--input { position: relative; gap: 2px; }
.wb-typed { font-weight: 600; }
.wb-typed::before { content: 'Toca '; }
.wb-typed::after { content: ''; animation: wbType 6s steps(20) infinite; }
@keyframes wbType {
  0% { content: ''; }
  10% { content: 'S'; }
  15% { content: 'Sa'; }
  20% { content: 'Sau'; }
  25% { content: 'Saud'; }
  30% { content: 'Sauda'; }
  35% { content: 'Saudad'; }
  40% { content: 'Saudade'; }
  45% { content: 'Saudade '; }
  50% { content: 'Saudade d'; }
  55% { content: 'Saudade de'; }
  60% { content: 'Saudade de '; }
  65% { content: 'Saudade de V'; }
  70% { content: 'Saudade de Vo'; }
  75% { content: 'Saudade de Voc'; }
  80%, 92% { content: 'Saudade de Você'; }
  93%, 100% { content: ''; }
}
.wb-caret { color: var(--green); animation: wbBlink 1s steps(2) infinite; font-weight: 400; }
@keyframes wbBlink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.wb-pedido-btn { display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; background: var(--green); color: #fff; border: 0; border-radius: 8px; font-size: 12.5px; font-weight: 700; font-family: inherit; cursor: pointer; animation: wbSend 6s infinite; }
.wb-pedido-btn svg { width: 14px; height: 14px; }
@keyframes wbSend { 0%, 87% { transform: scale(1); } 90% { transform: scale(.95); } 93%, 100% { transform: scale(1); } }
.wb-pedido-confirm { display: inline-flex; align-self: flex-start; align-items: center; padding: 6px 11px; background: var(--green-light); color: var(--green); font-size: 11.5px; font-weight: 700; border-radius: 99px; opacity: 0; animation: wbConfirm 6s infinite; }
@keyframes wbConfirm { 0%, 92% { opacity: 0; transform: translateY(4px); } 95%, 100% { opacity: 1; transform: translateY(0); } }

/* ===== 4. TOP MÚSICAS (animated ranking) ===== */
.wb-rank { display: flex; flex-direction: column; gap: 10px; }
.wb-rank-row { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; }
.wb-rank-num { font-size: 17px; font-weight: 800; color: var(--green); width: 22px; text-align: center; line-height: 1; }
.wb-rank-info { line-height: 1.2; min-width: 0; grid-column: 2; }
.wb-rank-info strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-rank-info em { display: block; font-size: 10.5px; color: var(--text-muted); font-style: normal; margin-top: 1px; }
.wb-rank-bar { grid-column: 2; height: 4px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; }
.wb-rank-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-mid), var(--green)); border-radius: 99px; width: 0; animation: wbBar 1.4s cubic-bezier(.4,0,.2,1) forwards; animation-delay: .3s; }
.wb-rank-row:nth-child(1) .wb-rank-bar i { animation-name: wbBar1; }
.wb-rank-row:nth-child(2) .wb-rank-bar i { animation-name: wbBar2; animation-delay: .5s; }
.wb-rank-row:nth-child(3) .wb-rank-bar i { animation-name: wbBar3; animation-delay: .7s; }
@keyframes wbBar1 { to { width: 100%; } }
@keyframes wbBar2 { to { width: 78%; } }
@keyframes wbBar3 { to { width: 55%; } }

/* ===== 5. CHAT (messages appearing) ===== */
.wb-chat { display: flex; flex-direction: column; gap: 6px; min-height: 130px; }
.wb-chat-msg { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.3; max-width: 85%; opacity: 0; animation: wbChat .4s ease-out forwards; animation-delay: var(--d); }
.wb-chat-msg strong { font-size: 10.5px; font-weight: 700; margin-bottom: 2px; opacity: .7; }
.wb-chat-msg--in { background: var(--bg-soft); align-self: flex-start; }
.wb-chat-msg--in strong { color: var(--green); }
.wb-chat-msg--out { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.wb-chat-msg--out strong { color: rgba(255,255,255,.85); }
.wb-chat-typing { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; background: var(--bg-soft); padding: 10px 14px; border-radius: 12px; opacity: 0; animation: wbChat .4s ease-out forwards; animation-delay: var(--d); }
.wb-chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); animation: wbDot 1.2s infinite; }
.wb-chat-typing span:nth-child(2) { animation-delay: .15s; }
.wb-chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes wbChat { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wbDot { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-3px); opacity: 1; } }

/* ===== 6. HISTÓRICO DE TOCADAS (lista de músicas com fade-in) ===== */
.wb-history { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wb-history-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--bg-soft); border-radius: 10px; line-height: 1.2; }
.wb-history-item.is-new { background: var(--green-light); animation: wbHistorySlide 6s ease-in-out infinite; position: relative; }
.wb-history-item.is-new::after { content: ''; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23,141,114,.18); animation: wbPulse 1.4s infinite; }
@keyframes wbHistorySlide { 0%, 90% { opacity: 1; transform: translateY(0); } 95%, 100% { opacity: 0; transform: translateY(-4px); } }
.wb-history-cover { width: 32px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, var(--green-mid), var(--green-dark)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wb-history-cover svg { width: 16px; height: 16px; opacity: .9; }
.wb-history-cover--alt { background: linear-gradient(135deg, #c084fc, #7c3aed); }
.wb-history-cover--alt2 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.wb-history-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wb-history-info strong { font-size: 12.5px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-history-info em { font-size: 10.5px; color: var(--text-muted); font-style: normal; }
.wb-history-time { font-size: 10px; color: var(--text-muted); font-weight: 700; flex-shrink: 0; padding-right: 18px; font-variant-numeric: tabular-nums; }
.wb-history-item:not(.is-new) .wb-history-time { padding-right: 0; }
.wd-models-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.wd-models-head h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin: 14px 0; text-wrap: balance; }
.wd-models-head h2 .accent { color: var(--green); }
.wd-models-head p { font-size: 17px; color: var(--text-muted); line-height: 1.55; }

.wd-models-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }

/* Sidebar */
.wd-models-sidebar { background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: 16px; padding: 18px 14px; position: sticky; top: 120px; }
.wd-models-group + .wd-models-group { margin-top: 18px; }
.wd-models-label { display: block; font-size: 11px; font-weight: 800; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; margin-bottom: 4px; }
.wd-models-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: transparent; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; text-align: left; border-radius: 10px; cursor: pointer; transition: background .15s, color .15s; }
.wd-models-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: color .15s; }
.wd-models-item:hover { background: #fff; }
.wd-models-item.is-active { background: var(--green); color: #fff; box-shadow: 0 6px 14px rgba(23,141,114,.25); }
.wd-models-item.is-active svg { color: #fff; }

/* Gallery */
.wd-models-gallery { position: relative; }
.wd-models-pane { display: none; grid-template-columns: 1fr 1fr; gap: 14px; }
.wd-models-pane.is-active { display: grid; }
@media (max-width: 1200px) { .wd-models-pane { grid-template-columns: 1fr; } }

/* Model item: texto à esquerda + preview ao lado */
.wd-mi { display: grid; grid-template-columns: 1fr 180px; gap: 16px; background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 18px; transition: border-color .2s, transform .2s, box-shadow .2s; align-items: center; cursor: default; }
.wd-mi:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,30,27,.08); }
.wd-mi-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wd-mi-name { font-size: 15.5px; font-weight: 800; color: var(--text); letter-spacing: -.01em; line-height: 1.2; }
.wd-mi-desc { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin: 0; }
.wd-mi-tag { margin-top: 4px; display: inline-flex; align-self: flex-start; font-size: 10.5px; font-weight: 700; color: var(--green); background: var(--green-light); padding: 3px 9px; border-radius: 99px; letter-spacing: .03em; }
.wd-mi-preview { padding: 16px; min-height: 100px; display: flex; align-items: center; justify-content: center; border-radius: 10px; flex-shrink: 0; }

@media (max-width: 540px) {
  .wd-mi { grid-template-columns: 1fr; }
  .wd-mi-preview { order: -1; min-height: 90px; }
}

/* Grade mini abstract */
.wd-mini--grade-mini { display: flex; flex-direction: column; gap: 4px; width: 70%; }
.wd-mini-grade-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 5px; background: rgba(0,0,0,.06); }
.wd-mini-grade-bar em:first-child { display: block; height: 5px; width: 18px; border-radius: 2px; background: currentColor; opacity: .5; }
.wd-mini-grade-bar em:last-child { display: block; height: 5px; flex: 1; border-radius: 2px; background: currentColor; opacity: .75; }
.wd-mini-grade-bar--active { background: rgba(34,197,94,.18); }
.wd-mini--dark .wd-mini-grade-bar { background: rgba(255,255,255,.1); }
.wd-mini--dark .wd-mini-grade-bar--active { background: rgba(34,197,94,.3); }

/* Msg mini abstract */
.wd-mini--msg-mini { display: flex; flex-direction: column; gap: 5px; width: 75%; }
.wd-mini-msg-bub { display: flex; flex-direction: column; gap: 3px; padding: 5px 8px; border-radius: 8px; background: rgba(0,0,0,.06); }
.wd-mini-msg-bub--alt { align-self: flex-end; width: 80%; }
.wd-mini-msg-bub em { display: block; height: 4px; border-radius: 2px; background: currentColor; opacity: .8; }
.wd-mini-msg-bub em.wd-mini-info-sub { width: 60%; opacity: .5; height: 3px; }
.wd-mini--dark .wd-mini-msg-bub { background: rgba(255,255,255,.1); }

/* Mini players (variantes pra preview na galeria) */
.wd-mini--bar { width: 100%; max-width: 360px; border-radius: 8px; padding: 10px 14px; gap: 12px; align-items: center; display: flex; box-shadow: 0 2px 6px rgba(15,30,27,.06); }
.wd-mini--green { background: var(--green); color: #fff; }
.wd-mini--white { background: #fff; color: var(--text); border: 1px solid #d8eae5; }
.wd-mini--apple { background: #fff; color: var(--text); border: 1px solid #d8eae5; }
.wd-mini--dark { background: #1c1c1e; color: #fff; }
.wd-mini-cover { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.wd-mini-cover svg { width: 22px; height: 22px; opacity: .85; }
.wd-mini-cover--photo { background: linear-gradient(135deg, #7c3aed, #4338ca); }
.wd-mini-cover--rect { border-radius: 6px; width: 30px; height: 30px; }
.wd-mini-cover--apple { width: 30px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #ff6b6b, #d92121); }
.wd-mini-cover--apple svg { width: 18px; height: 18px; }
.wd-mini-play { width: 30px; height: 30px; border-radius: 50%; background: #fff; flex-shrink: 0; position: relative; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.wd-mini--bar .wd-mini-play::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); width: 0; height: 0; border-left: 8px solid var(--green); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wd-mini-play--ghost { background: transparent; border: 2px solid currentColor; }
.wd-mini--bar .wd-mini-play--ghost::after { border-left-color: currentColor; border-left-width: 6px; border-top-width: 5px; border-bottom-width: 5px; }
.wd-mini-play--ghost-light { background: transparent; border: 2px solid rgba(255,255,255,.7); }
.wd-mini--bar .wd-mini-play--ghost-light::after { border-left-color: #fff; border-left-width: 6px; border-top-width: 5px; border-bottom-width: 5px; }
.wd-mini-play--circle { background: #fff; border: 1px solid #d8eae5; }
.wd-mini--bar .wd-mini-play--circle::after { border-left-color: #ff3b30; }
.wd-mini--bar .wd-mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }
.wd-mini-info--right { text-align: left; }
.wd-mini-row-strong { font-size: 11px; font-weight: 700; letter-spacing: -.005em; }
.wd-mini-row-soft { font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.wd-mini--white .wd-mini-row-soft, .wd-mini--apple .wd-mini-row-soft { opacity: .65; color: var(--text-muted); }
.wd-mini-vol { display: flex; align-items: center; gap: 5px; position: relative; flex-shrink: 0; }
.wd-mini-vol-track { width: 56px; height: 4px; background: rgba(255,255,255,.25); border-radius: 99px; position: relative; }
.wd-mini-vol-track--dark { background: rgba(255,255,255,.18); }
.wd-mini-vol-fill { display: block; height: 100%; background: #fff; border-radius: 99px; }
.wd-mini-vol-dot { width: 9px; height: 9px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 2px rgba(34,197,94,.25); flex-shrink: 0; }
.wd-mini-vol-min { display: flex; align-items: center; gap: 5px; flex-shrink: 0; color: rgba(15,30,27,.55); }
.wd-mini-vol-min svg { width: 14px; height: 14px; }
.wd-mini-vol-label { font-size: 9px; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); }
.wd-mini-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; flex-shrink: 0; }
.wd-mini-eq span { display: block; width: 3px; border-radius: 1px; }
.wd-mini-status { font-size: 10px; background: #2a2a2a; color: #fff; padding: 4px 12px; border-radius: 4px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.wd-mini-status--dark { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.wd-mini-social { display: flex; gap: 4px; flex-shrink: 0; }
.wd-mini-soc { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wd-mini-soc svg { width: 14px; height: 14px; }
.wd-mini-soc--fb { background: #1877f2; color: #fff; }
.wd-mini-soc--tw { background: #1da1f2; color: #fff; }
.wd-mini-soc--sm { width: 20px; height: 20px; background: transparent; }
.wd-mini-soc--sm svg { width: 18px; height: 18px; }

/* Mini player card variant */
.wd-mini--card { width: 100%; border-radius: 12px; padding: 9px 12px; gap: 9px; }
.wd-mini--card .wd-mini-play { background: rgba(255,255,255,.95); }
.wd-mini--card .wd-mini-play::after { border-left-color: currentColor; }

/* Mini schedule (grade) widget */
.wd-mini-grade { width: 100%; background: #fff; border: 1px solid #d8eae5; border-radius: 10px; padding: 10px 12px; }
.wd-mini-grade--dark { background: #1c1c1e; border-color: #2c2c2e; color: #fff; }
.wd-mini-grade-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid #e5ecea; margin-bottom: 6px; }
.wd-mini-grade--dark .wd-mini-grade-head { border-bottom-color: rgba(255,255,255,.1); }
.wd-mini-grade-head strong { font-size: 11px; font-weight: 800; }
.wd-mini-grade-head span { font-size: 9px; opacity: .55; font-weight: 700; letter-spacing: .04em; }
.wd-mini-grade-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 10px; }
.wd-mini-grade-row span { font-weight: 700; opacity: .55; width: 24px; }
.wd-mini-grade-row strong { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-mini-grade-row.is-now { background: var(--green-light); border-radius: 5px; padding: 4px 6px; }
.wd-mini-grade-row.is-now span, .wd-mini-grade-row.is-now strong { color: var(--green); opacity: 1; }
.wd-mini-grade--dark .wd-mini-grade-row.is-now { background: rgba(34,197,94,.15); }
.wd-mini-grade--dark .wd-mini-grade-row.is-now span, .wd-mini-grade--dark .wd-mini-grade-row.is-now strong { color: #4ed9b6; }

/* Mini msgs widget */
.wd-mini-msg { width: 100%; background: #fff; border: 1px solid #d8eae5; border-radius: 10px; padding: 10px 12px; }
.wd-mini-msg--dark { background: #1c1c1e; border-color: #2c2c2e; color: #fff; }
.wd-mini-msg-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1px solid #e5ecea; margin-bottom: 6px; }
.wd-mini-msg--dark .wd-mini-msg-head { border-bottom-color: rgba(255,255,255,.1); }
.wd-mini-msg-head strong { font-size: 11px; font-weight: 800; }
.wd-mini-msg-head span { font-size: 9px; padding: 1px 6px; background: var(--green-light); color: var(--green); border-radius: 99px; font-weight: 700; }
.wd-mini-msg-item { padding: 4px 0; font-size: 10px; line-height: 1.3; }
.wd-mini-msg-item strong { display: block; font-size: 10px; font-weight: 700; }
.wd-mini-msg-item span { opacity: .7; }

/* Responsive */
@media (max-width: 980px) {
  .wd-models-layout { grid-template-columns: 1fr; }
  .wd-models-sidebar { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .wd-models-group { flex: 1 1 100%; }
  .wd-models-group + .wd-models-group { margin-top: 8px; }
  .wd-models-label { padding: 4px 6px; margin-bottom: 2px; }
  .wd-models-item { flex: 1 1 auto; }
}
@media (max-width: 540px) {
  .wd-models-pane { grid-template-columns: 1fr; }
  .wd-models-item { font-size: 13px; padding: 9px 10px; }
}
.wd-custom-text .tag { margin-bottom: 18px; }
.wd-custom-text h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px; text-wrap: balance; }
.wd-custom-text h2 .accent { color: var(--green); }
.wd-custom-text > p { font-size: 17px; color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; text-wrap: pretty; }
.wd-custom-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.wd-custom-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--text); line-height: 1.5; }
.wd-custom-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.wd-custom-check svg { width: 13px; height: 13px; }

/* Editor mockup */
.wd-custom-mockup { position: relative; }
.wd-editor { background: #fff; border: 1.5px solid var(--border); border-radius: 16px; box-shadow: 0 16px 48px rgba(15,30,27,.12); overflow: hidden; }
.wd-editor-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f5faf8; border-bottom: 1px solid var(--border); }
.wd-editor-dot { width: 10px; height: 10px; border-radius: 50%; background: #e1ece9; }
.wd-editor-dot:nth-child(1) { background: #ff5f57; }
.wd-editor-dot:nth-child(2) { background: #febc2e; }
.wd-editor-dot:nth-child(3) { background: #28c840; }
.wd-editor-title { margin-left: 12px; font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.wd-editor-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.wd-editor-panel { padding: 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.wd-editor-row { display: flex; flex-direction: column; gap: 8px; }
.wd-editor-label { font-size: 11.5px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.wd-editor-swatches { display: flex; gap: 8px; }
.wd-sw { width: 30px; height: 30px; border-radius: 9px; cursor: pointer; transition: transform .15s, box-shadow .15s; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); }
.wd-sw:hover { transform: scale(1.05); }
.wd-sw.is-active { box-shadow: 0 0 0 2.5px var(--green); }
.wd-sw--green { background: var(--green); }
.wd-sw--blue { background: linear-gradient(135deg, #4a7ba5, #3d6b8c); }
.wd-sw--coral { background: linear-gradient(135deg, #ed7853, #d97048); }
.wd-sw--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.wd-sw--dark { background: #0e1c19; }
.wd-editor-toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; align-self: flex-start; }
.wd-editor-toggle span { padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--text-muted); border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; }
.wd-editor-toggle span.is-active { background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(15,30,27,.06); }
.wd-editor-range { position: relative; height: 6px; background: var(--green-light); border-radius: 3px; }
.wd-editor-range-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 65%; background: var(--green); border-radius: 3px; }
.wd-editor-range-dot { position: absolute; top: 50%; left: 65%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--green); transform: translate(-50%, -50%); box-shadow: 0 2px 4px rgba(15,30,27,.15); }
.wd-editor-preview { padding: 22px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; position: relative; }
.wd-editor-preview-label { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.wd-pl--mini { position: relative; top: auto; right: auto; left: auto; bottom: auto; width: 100%; padding: 12px; }
.wd-pl--mini .wd-pl-cover { width: 42px; height: 42px; }
.wd-pl--mini .wd-pl-cover svg { width: 22px; height: 22px; }
.wd-pl--mini .wd-pl-info strong { font-size: 13.5px; }
.wd-pl--mini .wd-pl-info span { font-size: 11px; }
.wd-pl--mini .wd-pl-btn-play { width: 36px; height: 36px; }
.wd-pl--mini .wd-pl-btn-play svg { width: 14px; height: 14px; }
.wd-pl--mini .wd-pl-live { font-size: 9px; padding: 2px 6px; }

/* --- DEVICES --- */
.wd-devices { padding: 96px 0; background: var(--bg-soft); }
.wd-devices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wd-device { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 22px 18px; text-align: center; transition: transform .2s, border-color .2s, box-shadow .2s; }
.wd-device:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 6px 18px rgba(23,141,114,.08); }
.wd-device-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: background .2s, color .2s; }
.wd-device-icon svg { width: 26px; height: 26px; }
.wd-device:hover .wd-device-icon { background: var(--green); color: #fff; }
.wd-device strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.wd-device span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

/* --- HOW TO --- */
.wd-howto { padding: 96px 0; background: var(--bg); }
.wd-howto-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wd-step { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 32px 28px; position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.wd-step:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 8px 24px rgba(23,141,114,.08); }
.wd-step-num { position: absolute; top: -16px; left: 28px; width: 36px; height: 36px; border-radius: 12px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; box-shadow: 0 4px 12px rgba(23,141,114,.25); }
.wd-step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--text); margin: 18px 0 8px; }
.wd-step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 22px; }
.wd-step-visual { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 16px; min-height: 88px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.wd-step-visual--editor { gap: 12px; }
.wd-step-swatch { width: 34px; height: 34px; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); }
.wd-step-bar { width: 100%; height: 4px; background: var(--green-light); border-radius: 2px; overflow: hidden; }
.wd-step-bar-fill { height: 100%; width: 60%; background: var(--green); border-radius: 2px; }
.wd-step-visual--code { font-family: monospace; font-size: 12px; line-height: 1.6; color: var(--text-muted); align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 0; text-align: left; }
.wd-step-visual--code span { display: block; width: 100%; }
.wd-step-visual--code em { color: var(--green-dark); font-style: normal; font-weight: 700; }
.wd-step-visual--browser { padding: 0; overflow: hidden; flex-direction: column; }
.wd-step-browser-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--border); width: 100%; }
.wd-step-browser-bar span { width: 7px; height: 7px; border-radius: 50%; background: #e1ece9; }
.wd-step-browser-bar span:nth-child(1) { background: #ff5f57; }
.wd-step-browser-bar span:nth-child(2) { background: #febc2e; }
.wd-step-browser-bar span:nth-child(3) { background: #28c840; }
.wd-step-browser-content { padding: 12px; width: 100%; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .wd-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .wd-hero-mockup { max-width: 520px; margin: 0 auto; min-height: 460px; }
  .wd-gal-row { grid-template-columns: 1fr; gap: 48px; }
  .wd-gal-mockup { order: 2; max-width: 420px; margin: 0 auto; height: 480px; }
  .wd-gal-text { order: 1; text-align: center; }
  .wd-gal-text > p { margin-left: auto; margin-right: auto; }
  .wd-gal-feats { max-width: 480px; margin-left: auto; margin-right: auto; }
  .wd-gal-feats li { text-align: left; }
  .wd-features-grid { grid-template-columns: repeat(2, 1fr); }
  .wd-custom-grid { grid-template-columns: 1fr; gap: 48px; }
  .wd-devices-grid { grid-template-columns: repeat(4, 1fr); }
  .wd-howto-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .wd-hero { padding: calc(var(--nav-h) + 30px) 0 64px; }
  .wd-gallery, .wd-features, .wd-custom, .wd-devices, .wd-howto { padding: 64px 0; }
  .wd-hero-mockup { min-height: 420px; }
  .wd-pl--full { right: 8px; left: 16px; }
  .wd-pl--bar { right: 8px; left: 0; }
  .wd-pl--square { right: 8px; left: 36px; }
  .wd-features-grid { grid-template-columns: 1fr; }
  .wd-editor-body { grid-template-columns: 1fr; }
  .wd-editor-panel { border-right: none; border-bottom: 1px solid var(--border); }
  .wd-devices-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .wd-hero-cta { flex-direction: column; align-items: stretch; }
  .wd-hero-cta .btn { justify-content: center; }
  .wd-hero-chips { gap: 6px; }
  .wd-chip { font-size: 12px; padding: 5px 10px; }
  .wd-devices-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .wd-device { padding: 16px 12px; }
  .wd-device-icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .wd-device-icon svg { width: 22px; height: 22px; }

  /* Mockup do hero - reseta offsets de absolute que sobraram e força box-sizing */
  .wd-hero-mockup { padding: 0; }
  .wd-hero-mockup > .wd-pl,
  .wd-hero-mockup > .wd-mock { left: 0; right: 0; max-width: 100%; box-sizing: border-box; }
  .wd-hero-mockup > .wd-pl *,
  .wd-hero-mockup > .wd-mock * { box-sizing: border-box; }

  /* Player principal compacto pra não estourar */
  .wd-pl-row { padding: 9px 14px; gap: 8px; flex-wrap: nowrap; }
  .wd-pl-row .wd-pl-volume { display: none; }
  .wd-pl-row .wd-pl-info { padding: 8px 22px 8px 16px; min-width: 0; flex-shrink: 1; }
  .wd-pl-row .wd-pl-info strong { font-size: 14px; }
  .wd-pl-row .wd-pl-info span, .wd-pl-row .wd-pl-tag { font-size: 10.5px; }
  .wd-pl-row .wd-pl-cover-badge { width: 42px; height: 42px; margin-left: -20px; }
  .wd-pl-row .wd-pl-cover-badge svg { width: 22px; height: 22px; }
  .wd-pl-row .wd-pl-btn-wrap { width: 54px; height: 54px; margin-left: -6px; }

  /* Widget recados: footer wrap pra botão e pager não estourarem */
  .wd-mock-msg-foot { flex-wrap: wrap; gap: 8px; }
  .wd-mock-msg-btn { flex: 1; min-width: 0; }
}


