/* Microfone Aberto — Rádio Mix Web */
:root {
	--rmw-red: var(--cor-primaria, #e63946);
	--rmw-dark: #141416;
	--rmw-dark-2: #232327;
	--rmw-gold: #ffc400;
	--rmw-orange: #ff7a00;
	--rmw-text: #fff;
	--rmw-muted: #b9b9c0;
	--rmw-font: var(--fonte-titulo, 'Montserrat', 'Inter', system-ui, sans-serif);
	--rmw-body: var(--fonte-corpo, 'Inter', system-ui, sans-serif);
}

/* ---------- Botão play/pause ---------- */
.rmw-btn-play {
	--s: 52px;
	width: var(--s); height: var(--s); min-width: var(--s);
	border: 0; border-radius: 50%; padding: 0; cursor: pointer;
	display: inline-grid; place-items: center;
	background: var(--rmw-red); color: #fff;
	box-shadow: 0 6px 18px rgba(230, 57, 70, .45);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rmw-btn-play:hover { transform: scale(1.06); box-shadow: 0 8px 24px rgba(230, 57, 70, .6); }
.rmw-btn-play:focus-visible { outline: 3px solid var(--rmw-gold); outline-offset: 3px; }
.rmw-btn-play svg { width: 46%; height: 46%; fill: currentColor; grid-area: 1 / 1; }
.rmw-btn-play .rmw-i-play { transform: translateX(6%); }
.rmw-btn-play .rmw-i-pause, .rmw-btn-play .rmw-i-load { display: none; }
.rmw-btn-play--sm { --s: 44px; }
.rmw-btn-play--xl { --s: 86px; box-shadow: 0 0 0 8px rgba(230, 57, 70, .18), 0 10px 30px rgba(230, 57, 70, .5); }

html.rmw-playing .rmw-btn-play .rmw-i-play { display: none; }
html.rmw-playing .rmw-btn-play .rmw-i-pause { display: block; }
html.rmw-loading .rmw-btn-play .rmw-i-play,
html.rmw-loading .rmw-btn-play .rmw-i-pause { display: none; }
html.rmw-loading .rmw-btn-play .rmw-i-load { display: block; fill: none; animation: rmw-spin .9s linear infinite; }
html.rmw-playing .rmw-btn-play--xl { animation: rmw-pulse 2s ease-out infinite; }

@keyframes rmw-spin { to { transform: rotate(360deg); } }
@keyframes rmw-pulse {
	0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .45), 0 10px 30px rgba(230, 57, 70, .5); }
	100% { box-shadow: 0 0 0 22px rgba(230, 57, 70, 0), 0 10px 30px rgba(230, 57, 70, .5); }
}

/* ---------- Ao vivo / equalizador ---------- */
.rmw-live-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--rmw-red);
	display: inline-block; margin-right: 6px; vertical-align: 1px;
	box-shadow: 0 0 0 0 rgba(230, 57, 70, .7); animation: rmw-blink 1.6s infinite;
}
@keyframes rmw-blink { 0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .7); } 70% { box-shadow: 0 0 0 7px rgba(230, 57, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); } }

.rmw-eq { display: none; gap: 2px; align-items: flex-end; height: 11px; margin-left: 6px; vertical-align: -1px; }
.rmw-eq i { width: 3px; background: var(--rmw-gold); border-radius: 1px; animation: rmw-eq 1s ease-in-out infinite; }
.rmw-eq i:nth-child(2) { animation-delay: -.3s; } .rmw-eq i:nth-child(3) { animation-delay: -.6s; }
.rmw-eq i:nth-child(4) { animation-delay: -.15s; } .rmw-eq i:nth-child(5) { animation-delay: -.45s; }
html.rmw-playing .rmw-eq { display: inline-flex; }
@keyframes rmw-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* ---------- Letreiro "tocando agora" ---------- */
.rmw-marquee { display: block; overflow: hidden; white-space: nowrap; max-width: 100%; }
.rmw-marquee > span { display: inline-block; }
.rmw-marquee.is-scrolling > span { animation: rmw-marquee var(--rmw-dur, 10s) ease-in-out infinite alternate; }
@keyframes rmw-marquee { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(var(--rmw-shift, 0)); } }

/* ---------- Player flutuante ---------- */
.rmw-float {
	position: fixed; bottom: 16px; z-index: 99990;
	font-family: var(--rmw-body); color: var(--rmw-text);
}
.rmw-float[hidden] { display: none !important; }
.rmw-float--left { left: 16px; }
.rmw-float--right { right: 16px; }
.rmw-float__card {
	display: flex; align-items: center; gap: 10px;
	width: 330px; max-width: calc(100vw - 32px);
	padding: 8px 8px 8px 8px;
	background: linear-gradient(135deg, var(--rmw-dark-2), var(--rmw-dark));
	border: 1px solid rgba(255, 255, 255, .08);
	border-bottom: 3px solid var(--rmw-red);
	border-radius: 16px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
	animation: rmw-in .35s ease both;
}
@keyframes rmw-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rmw-float__logo { flex: 0 0 auto; line-height: 0; }
.rmw-float__logo img { width: 48px; height: 48px; display: block; filter: drop-shadow(0 3px 8px rgba(255, 122, 0, .35)); }
.rmw-float__info { flex: 1 1 auto; min-width: 0; line-height: 1.2; }
.rmw-float__live { display: flex; align-items: center; font: 800 10px/1 var(--rmw-font); letter-spacing: .08em; color: var(--rmw-muted); }
.rmw-float__name { display: block; font: 800 14px/1.25 var(--rmw-font); color: #fff; margin: 3px 0 2px; }
.rmw-float__info .rmw-marquee { font-size: 12px; color: var(--rmw-gold); }
.rmw-float__tools { display: flex; flex-direction: column; gap: 4px; }
.rmw-icon-btn {
	width: 24px; height: 24px; border: 0; padding: 4px; border-radius: 6px; cursor: pointer;
	display: grid; place-items: center; background: transparent; color: var(--rmw-muted);
	text-decoration: none; transition: background .2s, color .2s;
}
.rmw-icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.rmw-icon-btn svg { width: 15px; height: 15px; fill: currentColor; }

.rmw-float__bubble {
	display: none; position: relative; width: 62px; height: 62px; padding: 0; border: 0; cursor: pointer;
	border-radius: 50%; background: transparent;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
	transition: transform .2s;
}
.rmw-float__bubble:hover { transform: scale(1.07); }
.rmw-float__bubble img { width: 62px; height: 62px; display: block; }
.rmw-float__dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--rmw-red); border: 2px solid #fff; }
html.rmw-playing .rmw-float__dot { background: #22c55e; }
.rmw-float.is-min .rmw-float__card { display: none; }
.rmw-float.is-min .rmw-float__bubble { display: block; }

@media (max-width: 600px) {
	.rmw-float { bottom: 10px; }
	.rmw-float--left { left: 10px; } .rmw-float--right { right: 10px; }
	.rmw-float__card { width: 290px; max-width: calc(100vw - 20px); }
}
@media print { .rmw-float { display: none !important; } }

/* ---------- Player compacto [radio_mix_player] ---------- */
.rmw-inline {
	display: flex; align-items: center; gap: 14px; margin: 1.5em 0; padding: 12px 14px;
	background: linear-gradient(135deg, var(--rmw-dark-2), var(--rmw-dark)); color: #fff;
	border-radius: 16px; border-bottom: 3px solid var(--rmw-red); font-family: var(--rmw-body);
}
.rmw-inline__logo { width: 64px; height: 64px; flex: 0 0 auto; }
.rmw-inline__info { flex: 1; min-width: 0; line-height: 1.25; }
.rmw-inline__info strong { display: block; font: 800 17px/1.3 var(--rmw-font); margin: 3px 0 2px; }
.rmw-inline__info .rmw-marquee { color: var(--rmw-gold); font-size: 13px; }

/* ---------- Banners rotativos [radio_mix_banner] ---------- */
.rmw-banner { position: relative; display: grid; border-radius: 14px; overflow: hidden; margin: 28px 0; box-shadow: 0 8px 26px rgba(0, 0, 0, .14); background: var(--rmw-dark); line-height: 0; }
.rmw-banner__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; line-height: 0; }
.rmw-banner__slide.is-active { opacity: 1; visibility: visible; }
.rmw-page .rmw-banner a.rmw-banner__slide, .rmw-banner a.rmw-banner__slide { display: block; margin: 0 !important; padding: 0 !important; border: 0 !important; text-decoration: none !important; background: none !important; }
.rmw-banner .rmw-banner__slide img, .rmw-page .rmw-banner img { display: block !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; float: none !important; }
.rmw-banner__dots { line-height: 1; }
.rmw-banner__dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; }
.rmw-banner__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; cursor: pointer; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.rmw-banner__dots button.is-active { width: 22px; background: #fff; }

/* ---------- Página [radio_mix_pagina] ---------- */
.rmw-page a, .rmw-page a:hover, .rmw-page a:focus { text-decoration: none !important; box-shadow: none; }
.rmw-page a.rmw-card, .rmw-page a.rmw-card:hover { color: var(--cor-texto, #222) !important; }
.rmw-page a.rmw-card strong { color: var(--cor-texto, #222) !important; }
.rmw-page a.rmw-card:hover strong { color: var(--rmw-red) !important; }
.rmw-page img { margin: 0; max-width: 100%; }
body.rmw-radio-page .entry-header,
body.rmw-radio-page .page-header,
body.rmw-radio-page .page-title,
body.rmw-radio-page .entry-title { display: none; }

.rmw-page { container-type: inline-size; container-name: rmw; font-family: var(--rmw-body); color: var(--cor-texto, #222); }
.rmw-page *, .rmw-float *, .rmw-inline * { box-sizing: border-box; }

.rmw-hero {
	position: relative; overflow: hidden; border-radius: 24px; color: #fff;
	background:
		radial-gradient(circle at 12% 40%, rgba(255, 122, 0, .38), transparent 42%),
		radial-gradient(circle at 95% 0%, rgba(230, 57, 70, .30), transparent 40%),
		linear-gradient(160deg, #26262b, #111113 70%);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
	border-bottom: 5px solid var(--rmw-red);
}
.rmw-hero__bars { position: absolute; inset: auto 0 0 0; height: 110px; display: flex; align-items: flex-end; gap: 6px; padding: 0 12px; opacity: .14; pointer-events: none; }
.rmw-hero__bars i { flex: 1; height: 30%; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--rmw-orange), var(--rmw-gold)); }
.rmw-hero__bars i:nth-child(3n) { height: 60%; } .rmw-hero__bars i:nth-child(4n+1) { height: 85%; } .rmw-hero__bars i:nth-child(5n+2) { height: 45%; }
html.rmw-playing .rmw-hero__bars { opacity: .22; }
html.rmw-playing .rmw-hero__bars i { animation: rmw-eq 1.1s ease-in-out infinite; }
html.rmw-playing .rmw-hero__bars i:nth-child(2n) { animation-duration: .8s; }
html.rmw-playing .rmw-hero__bars i:nth-child(3n) { animation-duration: 1.4s; animation-delay: -.4s; }
html.rmw-playing .rmw-hero__bars i:nth-child(5n) { animation-duration: .95s; animation-delay: -.2s; }

.rmw-hero__inner { position: relative; display: flex; align-items: center; gap: 36px; padding: 44px 48px 52px; }
.rmw-hero__logo { flex: 0 0 auto; }
.rmw-hero__logo img { width: 220px; height: 220px; display: block; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }
html.rmw-playing .rmw-hero__logo img { animation: rmw-bump 1.2s ease-in-out infinite; }
@keyframes rmw-bump { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.rmw-hero__body { flex: 1; min-width: 0; }
.rmw-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rmw-tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font: 800 11px/1 var(--rmw-font); letter-spacing: .08em; text-transform: uppercase; }
.rmw-tag--live { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.rmw-tag--gold { color: var(--rmw-gold); border: 1px solid rgba(255, 196, 0, .45); }
.rmw-page .rmw-hero__title { font: 900 clamp(30px, 6.2cqi, 54px)/1.05 var(--rmw-font); margin: 0 0 6px; color: #fff; letter-spacing: -.01em; }
.rmw-hero__slogan { font: italic 800 clamp(18px, 3cqi, 24px)/1.2 var(--rmw-font); color: var(--rmw-gold); margin: 0 0 26px; }

.rmw-hero__player {
	display: flex; align-items: center; gap: 20px; padding: 14px 20px 14px 14px;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 999px; backdrop-filter: blur(6px); max-width: 620px;
}
.rmw-hero__now { flex: 1; min-width: 0; line-height: 1.3; }
.rmw-hero__label { display: flex; align-items: center; font: 800 11px/1 var(--rmw-font); letter-spacing: .1em; text-transform: uppercase; color: var(--rmw-muted); margin-bottom: 6px; }
.rmw-marquee--lg { font: 700 18px/1.3 var(--rmw-font); color: #fff; }
.rmw-hero__listeners { display: block; font-size: 12px; color: var(--rmw-muted); margin-top: 3px; }
.rmw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rmw-volume { display: flex; align-items: center; gap: 8px; color: var(--rmw-muted); }
.rmw-volume svg { width: 20px; height: 20px; fill: currentColor; }
.rmw-volume input { width: 90px; accent-color: var(--rmw-red); }
.rmw-hero__status { min-height: 1.2em; margin: 12px 0 0 6px; font-size: 13px; color: var(--rmw-gold); }
.rmw-hero__status a { color: #fff; text-decoration: underline; }

.rmw-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; }
.rmw-card {
	display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; text-decoration: none !important;
	background: #fff; color: var(--cor-texto, #222); border: 1px solid var(--cor-borda, #e5e5e5);
	box-shadow: var(--sombra, 0 4px 16px rgba(0, 0, 0, .07)); transition: transform .2s, box-shadow .2s;
}
.rmw-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-hover, 0 12px 32px rgba(0, 0, 0, .13)); }
.rmw-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(230, 57, 70, .1); color: var(--rmw-red); margin-bottom: 6px; }
.rmw-card__icon svg { width: 22px; height: 22px; fill: currentColor; }
.rmw-card strong { font: 800 16px/1.3 var(--rmw-font); }
.rmw-card span:not(.rmw-card__icon) { font-size: 14px; line-height: 1.45; color: var(--cor-texto-leve, #666); }
.rmw-card--wa .rmw-card__icon { background: rgba(37, 211, 102, .12); color: #1ea952; }

.rmw-hero__logo { display: block; line-height: 0; border-radius: 50%; transition: transform .25s ease; }
.rmw-hero__logo:hover { transform: scale(1.04) rotate(-2deg); }
.rmw-hero__cta { margin-top: 18px; }

.rmw-page .rmw-btn-site {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 22px; border-radius: 999px;
	font: 800 15px/1.2 var(--rmw-font); letter-spacing: .01em;
	color: var(--rmw-gold) !important; background: rgba(255, 196, 0, .08);
	border: 2px solid var(--rmw-gold);
	transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.rmw-page .rmw-btn-site:hover { background: var(--rmw-gold); color: #141416 !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 196, 0, .3); }
.rmw-btn-site svg { width: 20px; height: 20px; flex: 0 0 auto; }
.rmw-btn-site svg:last-child { transition: transform .2s; }
.rmw-btn-site:hover svg:last-child { transform: translateX(4px); }
.rmw-page .rmw-btn-site--solid { background: var(--rmw-gold); color: #141416 !important; font-size: 17px; padding: 16px 28px; box-shadow: 0 10px 26px rgba(255, 196, 0, .28); }
.rmw-page .rmw-btn-site--solid:hover { background: #ffd23f; }

.rmw-about {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 32px;
	padding: 36px 40px; border-radius: 22px; color: #fff;
	background: linear-gradient(135deg, #26262b, #111113 75%);
	border-bottom: 5px solid var(--rmw-red);
	box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}
.rmw-about__glow { position: absolute; left: -60px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); background: radial-gradient(circle, rgba(255, 122, 0, .4), transparent 65%); pointer-events: none; }
.rmw-about__logo { position: relative; width: 150px; height: 150px; flex: 0 0 auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .5)); }
.rmw-about__body { position: relative; flex: 1; min-width: 0; }
.rmw-about__kicker { display: inline-block; font: 800 11px/1 var(--rmw-font); letter-spacing: .12em; text-transform: uppercase; color: var(--rmw-gold); margin-bottom: 8px; }
.rmw-page .rmw-about h2 { font: 900 clamp(22px, 3.6cqi, 28px)/1.2 var(--rmw-font); margin: 0 0 10px; color: #fff; }
.rmw-about p { margin: 0 0 20px; line-height: 1.6; color: #d6d6dc; font-size: 15px; }
.rmw-about em { color: var(--rmw-gold); font-style: italic; font-weight: 700; }

.rmw-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 22px 0 8px; }
.rmw-share > span { display: inline-flex; align-items: center; gap: 6px; font: 700 14px var(--rmw-font); color: var(--cor-texto-leve, #666); margin-right: 4px; }
.rmw-share > span svg { width: 16px; height: 16px; fill: currentColor; }
.rmw-page .rmw-share a { padding: 9px 18px; border-radius: 999px; font: 700 13px var(--rmw-font); color: #fff !important; transition: transform .2s, filter .2s; }
.rmw-page .rmw-share a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.rmw-share a.rmw-share--wa { background: #25d366; }
.rmw-share a.rmw-share--fb { background: #1877f2; }
.rmw-share a.rmw-share--tg { background: #229ed9; }

@container rmw (max-width: 900px) {
	.rmw-hero__inner { padding: 34px 30px 44px; gap: 26px; }
	.rmw-hero__logo img { width: 160px; height: 160px; }
	.rmw-hero__player { flex-wrap: wrap; border-radius: 26px; gap: 12px 16px; }
	.rmw-hero__now { flex: 1 1 140px; }
	.rmw-volume { width: 100%; padding: 0 6px 2px; }
	.rmw-volume input { flex: 1; width: auto; max-width: 260px; }
}
@container rmw (max-width: 620px) {
	.rmw-hero__inner { flex-direction: column; text-align: center; padding: 32px 20px 44px; gap: 18px; }
	.rmw-hero__logo img { width: 160px; height: 160px; }
	.rmw-hero__body { width: 100%; }
	.rmw-hero__player { width: 100%; max-width: none; }
	.rmw-hero__tags { justify-content: center; }
	.rmw-hero__player { border-radius: 22px; text-align: left; flex-wrap: wrap; gap: 14px; }
	.rmw-btn-play--xl { --s: 72px; }
	.rmw-volume { width: 100%; justify-content: flex-start; padding-left: 4px; }
	.rmw-volume input { flex: 1; max-width: 220px; }
	.rmw-actions { grid-template-columns: 1fr; }
	.rmw-about { flex-direction: column; text-align: center; padding: 30px 22px; gap: 16px; }
	.rmw-about__logo { width: 120px; height: 120px; }
	.rmw-about__glow { left: 50%; top: 0; transform: translateX(-50%); }
	.rmw-hero__cta { text-align: center; }
	.rmw-page .rmw-btn-site { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.rmw-page *, .rmw-float *, .rmw-inline * { animation: none !important; transition: none !important; }
	.rmw-marquee { text-overflow: ellipsis; }
}
