/* Ativa FM 98.1 | tema do portal */
:root {
	--grafite: #2f3d49;
	--tinta: #1b252e;
	--laranja: #f26c30;
	--laranja-texto: #c04b17;
	--vermelho: #e53e4a;
	--ardosia: #546060;
	--ardosia-claro: #6b7680;
	--nevoa: #eef1f3;
	--linha: #dde2e6;
	--branco: #fff;
	--f-ui: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-texto: "Source Serif 4", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 3vw, 28px);
	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 16px;
}

/* ---------- Base (reset mínimo, no lugar do reset do Hello) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin-top: .5rem; margin-bottom: 1rem; line-height: 1.2; }
p { margin-top: 0; margin-bottom: .9rem; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--linha); margin: 2rem 0; }
body {
	margin: 0;
	background: var(--branco);
	color: var(--tinta);
	font-family: var(--f-ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
button svg, a svg { flex-shrink: 0; max-width: none; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 10000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--tinta); color: #fff; border-radius: var(--r-sm);
}
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--text { width: min(720px, 100% - 2 * var(--gutter)); }
.wrap--wide { width: min(1080px, 100% - 2 * var(--gutter)); }
.site-main { display: block; outline: none; }

/* ---------- Marca: o arco do fone da logo ---------- */
.arc {
	flex: 0 0 auto;
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: conic-gradient(from 215deg, var(--laranja), var(--vermelho) 260deg, transparent 260deg);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px));
}
.arc--lg { width: 132px; height: 132px; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px)); mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px)); }

.sec-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 12px;
	margin: 0 0 22px;
	border-bottom: 2px solid var(--linha);
}
.sec-head__title {
	margin: 0;
	font-family: var(--f-ui);
	font-stretch: 112%;
	font-weight: 800;
	font-size: clamp(22px, 2.3vw, 28px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--tinta);
}
h1.sec-head__title { font-size: clamp(30px, 4vw, 46px); }
.sec-head__more {
	margin-left: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--ardosia);
	text-decoration: none;
	white-space: nowrap;
}
.sec-head__more:hover { color: var(--laranja-texto); text-decoration: underline; text-underline-offset: 3px; }

.tag {
	display: inline-block;
	font-family: var(--f-ui);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--laranja-texto);
	text-decoration: none;
	margin-bottom: 6px;
}
a.tag:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabeçalho ---------- */
.sh { background: var(--branco); }
.sh__top {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 84px;
}
.sh__logo { display: block; flex: 0 0 auto; line-height: 0; }
.sh__logo-img { width: auto; height: 56px; }
.sh__logo-text { font-weight: 800; font-size: 26px; line-height: 1; }

.sh__search {
	position: relative;
	margin-left: auto;
	width: min(320px, 30vw);
}
.sh__search input {
	width: 100%;
	height: 42px;
	padding: 0 44px 0 16px;
	border: 1.5px solid var(--linha);
	border-radius: 999px;
	background: var(--nevoa);
	font: 15px var(--f-ui);
	color: var(--tinta);
	-webkit-appearance: none;
	appearance: none;
}
.sh__search input:focus { background: #fff; border-color: var(--grafite); outline: none; }
.sh__search button {
	position: absolute;
	right: 4px; top: 4px;
	width: 34px; height: 34px;
	border: 0; border-radius: 50%;
	background: transparent;
	color: var(--ardosia);
	cursor: pointer;
	display: grid; place-items: center;
}
.sh__search svg { width: 20px; height: 20px; fill: currentColor; }
.sh__search--mobile { display: none; }

.sh__listen, .sf__listen, .btn-listen {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0;
	cursor: pointer;
	font-family: var(--f-ui);
	font-weight: 700;
	color: #fff;
	background: linear-gradient(145deg, var(--laranja), var(--vermelho));
	border-radius: 999px;
	box-shadow: 0 8px 18px -10px rgba(229, 62, 74, .9);
	transition: transform .15s ease;
}
.sh__listen { height: 44px; padding: 0 18px 0 8px; font-size: 15px; }
.sh__listen:active, .btn-listen:active { transform: scale(.97); }
.sh__listen-icon {
	position: relative;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
	flex: 0 0 auto;
}
.sh__listen-icon::before {
	content: "";
	position: absolute;
	left: 11px; top: 8px;
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent #fff;
}
html.ap-is-playing .sh__listen-icon::before {
	left: 9px; top: 9px;
	width: 4px; height: 12px;
	border: 0; background: #fff;
	box-shadow: 8px 0 0 #fff;
}
.sh__listen-off, .btn-listen__off { display: none; }
html.ap-is-playing .sh__listen-on, html.ap-is-playing .btn-listen__on { display: none; }
html.ap-is-playing .sh__listen-off, html.ap-is-playing .btn-listen__off { display: inline; }

.sh__menu-btn { display: none; }

.sh__nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--grafite);
}
body.admin-bar .sh__nav { top: 32px; }
.sh__menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.sh__menu::-webkit-scrollbar { display: none; }
.sh__menu a {
	display: block;
	padding: 15px 14px 13px;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	font-stretch: 105%;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}
.sh__menu a:hover { border-bottom-color: rgba(242, 108, 48, .6); }
.sh__menu .current-menu-item > a,
.sh__menu .current-category-ancestor > a,
.sh__menu .current-post-ancestor > a { border-bottom-color: var(--laranja); }

/* ---------- Cartões ---------- */
.card { position: relative; min-width: 0; }
.card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--r-md);
	background: var(--nevoa);
}
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__body { padding-top: 12px; }
.card__title {
	margin: 0;
	font-family: var(--f-ui);
	font-stretch: 105%;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.25;
	letter-spacing: -0.005em;
	text-wrap: pretty;
}
.card__title a { color: var(--tinta); text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--laranja); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card .tag { position: relative; z-index: 1; }
.card__excerpt { margin: 8px 0 0; font-family: var(--f-texto); font-size: 16.5px; line-height: 1.55; color: #3c4851; }
.card time { display: block; margin-top: 8px; font-size: 13.5px; color: var(--ardosia); }

/* Manchete: foto grande com o título sobre ela */
.card--manchete .card__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.card--manchete .card__body {
	position: absolute;
	inset: auto 0 0 0;
	padding: clamp(20px, 3vw, 36px);
	padding-top: 96px;
	border-radius: 0 0 var(--r-lg) var(--r-lg);
	background: linear-gradient(to top, rgba(27, 37, 46, .95) 0%, rgba(27, 37, 46, .75) 55%, rgba(27, 37, 46, 0) 100%);
	pointer-events: none;
}
.card--manchete .card__body a { pointer-events: auto; }
.card--manchete .tag { color: #ffb48f; }
.card--manchete .card__title { font-stretch: 112%; font-weight: 800; font-size: clamp(26px, 3.3vw, 42px); line-height: 1.08; letter-spacing: -0.015em; }
.card--manchete .card__title a { color: #fff; }
.card--manchete .card__excerpt { color: rgba(255, 255, 255, .86); font-size: 17px; max-width: 60ch; }

/* Lateral: miniatura + título */
.card--lateral { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; }
.card--lateral .card__media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.card--lateral .card__body { padding-top: 0; }
.card--lateral .card__title { font-size: 16.5px; }

/* Destaque */
.card--destaque .card__title { font-stretch: 110%; font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; }

/* Lista */
.card--lista { padding: 14px 0; border-bottom: 1px solid var(--linha); }
.card--lista:first-child { padding-top: 0; }
.card--lista .card__title { font-size: 17px; }
.card--lista time { margin-top: 6px; }

/* Imagem da marca quando a notícia não tem foto */
.is-placeholder { object-fit: cover; }

/* ---------- Grades ---------- */
.grid { display: grid; gap: 32px 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--4 .card__title { font-size: 17px; }

.nw__manchete { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.nw__side { display: flex; flex-direction: column; gap: 18px; }
.nw__side .card--lateral + .card--lateral { padding-top: 18px; border-top: 1px solid var(--linha); }
.nw__destaque { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }

/* ---------- Faixa "No ar agora" ---------- */
.onair {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 28px clamp(20px, 3vw, 40px);
	border-radius: 20px;
	background: var(--grafite);
	color: #fff;
	overflow: hidden;
}
.onair__signal { line-height: 0; }
.onair__now { display: flex; align-items: center; gap: 18px; min-width: 0; }
.onair__art { width: 84px; height: 84px; border-radius: var(--r-md); object-fit: cover; flex: 0 0 auto; background: var(--tinta); }
.onair__text { min-width: 0; }
.onair__title { margin: 0 0 4px; font-stretch: 112%; font-weight: 800; font-size: 26px; line-height: 1.1; color: #fff; }
.onair__song { margin: 0; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onair__song span { color: rgba(255, 255, 255, .72); margin-left: 6px; }
.onair__desc { margin: 6px 0 0; font-size: 15px; color: rgba(255, 255, 255, .7); }
.onair__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.btn-listen { height: 56px; padding: 0 26px 0 12px; font-size: 18px; }
.btn-listen .sh__listen-icon { width: 36px; height: 36px; }
.btn-listen .sh__listen-icon::before { left: 14px; top: 10px; border-width: 8px 0 8px 12px; }
html.ap-is-playing .btn-listen .sh__listen-icon::before { left: 12px; top: 11px; height: 14px; }
.onair__link { font-size: 14.5px; color: rgba(255, 255, 255, .78); text-underline-offset: 3px; }
.onair__link:hover { color: #fff; }

/* ---------- Notícia ---------- */
.nt__head { padding: clamp(28px, 5vw, 56px) 0 0; }
.nt__title {
	margin: 2px 0 14px;
	font-family: var(--f-ui);
	font-stretch: 112%;
	font-weight: 800;
	font-size: clamp(30px, 4.6vw, 50px);
	line-height: 1.07;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.nt__lead { margin: 0 0 18px; font-family: var(--f-texto); font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: #3c4851; }
.nt__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--ardosia); }
.nt__fig { margin: 28px auto 0; }
.nt__img { display: block; width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--r-lg); }
.nt__fig figcaption { margin-top: 10px; font-size: 14px; color: var(--ardosia); }
.nt__body { padding: 8px 0 24px; }
.nt__content { font-family: var(--f-texto); font-size: 19.5px; line-height: 1.75; color: var(--tinta); }
.nt__content > * { margin-top: 0; margin-bottom: 1.15em; }
.nt__content h2, .nt__content h3 { font-family: var(--f-ui); font-stretch: 108%; font-weight: 800; line-height: 1.2; margin-top: 1.6em; margin-bottom: .5em; }
.nt__content h2 { font-size: 27px; }
.nt__content h3 { font-size: 22px; }
.nt__content a { color: var(--laranja-texto); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nt__content img { border-radius: var(--r-md); }
.nt__content figure { margin-inline: 0; }
.nt__content figcaption { font-family: var(--f-ui); font-size: 14px; color: var(--ardosia); margin-top: 8px; }
.nt__content blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--laranja); font-style: italic; font-size: 22px; line-height: 1.55; }
.nt__content iframe { width: 100%; border-radius: var(--r-md); }
.nt__content iframe[src*="youtube"], .nt__content iframe[src*="youtu.be"] { aspect-ratio: 16 / 9; height: auto; }
.nt__content ul, .nt__content ol { padding-left: 1.3em; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.share__label { font-size: 14px; font-weight: 600; color: var(--ardosia); margin-right: 4px; }
.share__btn {
	position: relative;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--linha);
	background: #fff;
	color: var(--grafite);
	display: grid; place-items: center;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.share__btn svg { width: 20px; height: 20px; fill: currentColor; }
.share__btn--whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.share__btn--x:hover, .share__btn--copy:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.share__copied { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); font-size: 12.5px; white-space: nowrap; background: var(--tinta); color: #fff; padding: 3px 8px; border-radius: 6px; }
.share__copied:empty { display: none; }

.nt__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.nt__tags a { display: block; padding: 6px 12px; border: 1.5px solid var(--linha); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--grafite); }
.nt__tags a:hover { border-color: var(--grafite); }

.related { padding: 40px 0 64px; border-top: 0; }

/* ---------- Página ---------- */
.pg__head { padding: clamp(28px, 5vw, 56px) 0 8px; }
.pg__title { margin: 0 0 18px; font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.pg .nt__content { padding-bottom: 56px; }

/* ---------- Editorias, busca, 404 ---------- */
.arch { padding: clamp(28px, 4vw, 48px) 0 64px; }
.arch__head { margin-bottom: 30px; }
.arch__desc { max-width: 70ch; font-family: var(--f-texto); font-size: 18px; color: #3c4851; }
.arch__count { margin: 14px 0 0; color: var(--ardosia); }
.arch__list > .card--manchete { margin-bottom: 40px; }
.arch__list > .card--manchete .card__media { aspect-ratio: 21 / 9; }

.big-search { display: flex; gap: 10px; max-width: 640px; margin-top: 18px; }
.big-search input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 2px solid var(--linha); border-radius: var(--r-md); font: 17px var(--f-ui); color: var(--tinta); }
.big-search input:focus { border-color: var(--grafite); outline: none; }
.big-search button { height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-md); background: var(--grafite); color: #fff; font: 700 16px var(--f-ui); cursor: pointer; }
.big-search button:hover { background: var(--tinta); }
.empty { font-family: var(--f-texto); font-size: 18px; color: #3c4851; }
.empty a { color: var(--laranja-texto); }
.nf .sec-head + .grid { margin-top: 8px; }
.nf .arch__head + .sec-head { margin-top: 48px; }

.pager ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 48px 0 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--linha); border-radius: var(--r-sm); text-decoration: none; font-weight: 600; color: var(--grafite); }
.pager a:hover { border-color: var(--grafite); }
.pager .current { background: var(--grafite); border-color: var(--grafite); color: #fff; }
.pager .dots { border: 0; }

/* ---------- Rodapé ---------- */
.sf { margin-top: 0; padding: 56px 0 28px; background: var(--tinta); color: #c9d1d8; }
.sf__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.sf__name { margin: 0; font-stretch: 112%; font-weight: 800; font-size: 26px; color: #fff; }
.sf__slogan { margin: 6px 0 20px; max-width: 34ch; }
.sf__listen { height: 46px; padding: 0 20px 0 8px; font-size: 15px; }
.sf__title { margin: 0 0 12px; font-weight: 700; font-size: 15px; color: #fff; }
.sf__menu { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.sf__col:last-child .sf__menu { columns: 1; }
.sf__menu li { margin-bottom: 8px; break-inside: avoid; }
.sf__menu a { color: #c9d1d8; text-decoration: none; }
.sf__menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); color: #fff; }
.social a:hover { background: var(--laranja); border-color: var(--laranja); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.sf__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: #9aa6b0; }
.sf__legal p { margin: 0; }

/* ---------- Páginas do Elementor ---------- */
.page-elementor { padding-bottom: 24px; }
.elementor-widget-ativa-noticias .nw,
.elementor-widget-ativa-no-ar .onair { margin: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw__manchete { grid-template-columns: 1fr; }
	.nw__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.nw__side .card--lateral { grid-template-columns: 1fr; gap: 10px; }
	.nw__side .card--lateral .card__media { aspect-ratio: 16 / 9; }
	.nw__side .card--lateral + .card--lateral { padding-top: 0; border-top: 0; }
	.onair { grid-template-columns: minmax(0, 1fr) auto; }
	.onair__signal { display: none; }
}

@media (max-width: 900px) {
	.sh__top { min-height: 68px; gap: 10px; }
	.sh__logo-img { height: 44px; }
	.sh__top > .sh__search { display: none; }
	.sh__listen { margin-left: auto; height: 40px; padding: 0 14px 0 6px; font-size: 14px; }
	.sh__listen .sh__listen-icon { width: 28px; height: 28px; }
	.sh__menu-btn {
		display: grid; place-items: center;
		width: 44px; height: 44px;
		border: 0; border-radius: var(--r-sm);
		background: var(--nevoa); cursor: pointer;
	}
	.sh__burger, .sh__burger::before, .sh__burger::after {
		display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--tinta);
		position: relative; transition: transform .2s ease, background .2s ease;
	}
	.sh__burger::before, .sh__burger::after { content: ""; position: absolute; left: 0; }
	.sh__burger::before { top: -6px; }
	.sh__burger::after { top: 6px; }
	.sh.is-open .sh__burger { background: transparent; }
	.sh.is-open .sh__burger::before { transform: translateY(6px) rotate(45deg); }
	.sh.is-open .sh__burger::after { transform: translateY(-6px) rotate(-45deg); }

	.sh__nav-inner { display: flex; flex-direction: column; }
	.sh__nav .sh__menu { gap: 0; }
	.sh:not(.is-open) .sh__search--mobile { display: none; }
	.sh.is-open .sh__nav { position: relative; }
	.sh.is-open .sh__menu { flex-direction: column; padding: 8px 0; overflow: visible; }
	.sh.is-open .sh__menu a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.sh.is-open .sh__search--mobile { display: block; width: 100%; margin: 12px 0 20px; }
	.sh__search--mobile input { background: #fff; height: 46px; }

	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nw__destaque { grid-template-columns: 1fr; }
	.sf__grid { grid-template-columns: 1fr 1fr; }
	.sf__brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	body.admin-bar .sh__nav { top: 0; }
}

@media (max-width: 640px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 28px; }
	.nw__side { grid-template-columns: 1fr; gap: 16px; }
	.nw__side .card--lateral { grid-template-columns: 112px 1fr; gap: 12px; }
	.nw__side .card--lateral .card__media { aspect-ratio: 4 / 3; }
	.nw__side .card--lateral + .card--lateral { padding-top: 16px; border-top: 1px solid var(--linha); }
	.card--manchete .card__media { aspect-ratio: 4 / 3; }
	.arch__list > .card--manchete .card__media { aspect-ratio: 4 / 3; }
	.card--manchete .card__body { padding: 16px; padding-top: 72px; }
	.card--manchete .card__title { font-size: 25px; }
	.card--manchete .card__excerpt { display: none; }
	.onair { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
	.onair__art { width: 64px; height: 64px; }
	.onair__title { font-size: 22px; }
	.onair__actions { align-items: stretch; }
	.btn-listen { justify-content: center; }
	.onair__link { text-align: center; }
	.sf__grid { grid-template-columns: 1fr; gap: 28px; }
	.nt__content { font-size: 18.5px; }
	.big-search { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Ajustes 1.0.1 ---------- */
/* As imagens preenchem o quadro mesmo com o CSS do Elementor carregado. */
.card .card__media img { height: 100%; width: 100%; object-fit: cover; }
/* Os blocos se adaptam à largura da coluna em que estão, não só à da tela. */
.nw { container-type: inline-size; }
@container (max-width: 760px) {
	.nw__destaque { grid-template-columns: 1fr; gap: 20px; }
	.nw__destaque .card--destaque .card__title { font-size: 24px; }
	.nw .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 420px) {
	.nw .grid--2, .nw .grid--3, .nw .grid--4 { grid-template-columns: 1fr; }
}

/* =========================================================
   Movimento e carregamento (1.1)
   ========================================================= */

/* Imagens: fundo com brilho enquanto carregam, depois surgem suaves */
.card__media, .nt__fig { position: relative; isolation: isolate; }
.js .card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%) var(--nevoa);
	background-size: 200% 100%;
	animation: shimmer 1.4s linear infinite;
	transition: opacity .4s ease;
	z-index: 0;
}
.js .card__media.is-loaded::before { opacity: 0; animation: none; }
.js .card__media img, .js .nt__fig img { opacity: 0; transition: opacity .55s ease, transform .9s cubic-bezier(.2, .7, .2, 1); position: relative; z-index: 1; }
.js .card__media.is-loaded img, .js .nt__fig.is-loaded img { opacity: 1; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Foto aproxima de leve ao passar o mouse (só em dispositivos com mouse) */
@media (hover: hover) {
	.card:hover .card__media img { transform: scale(1.045); }
	.card--manchete:hover .card__media img { transform: scale(1.03); }
}

/* Entrada orquestrada da manchete no primeiro carregamento */
.is-first-load .card--manchete .card__media img { animation: hero-img 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.is-first-load .card--manchete .card__body > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.is-first-load .card--manchete .card__body > *:nth-child(2) { animation-delay: .12s; }
.is-first-load .card--manchete .card__body > *:nth-child(3) { animation-delay: .22s; }
.is-first-load .nw__side .card { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.is-first-load .nw__side .card:nth-child(1) { animation-delay: .3s; }
.is-first-load .nw__side .card:nth-child(2) { animation-delay: .4s; }
.is-first-load .nw__side .card:nth-child(3) { animation-delay: .5s; }
@keyframes hero-img { from { transform: scale(1.08); filter: saturate(.6); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Troca de página: o conteúdo sai e entra deslizando */
html.is-changing .transition-fade { transition: opacity .28s ease, transform .28s cubic-bezier(.2, .7, .2, 1); }
html.is-animating .transition-fade { opacity: 0; transform: translateY(10px); }
html.is-leaving.is-animating .transition-fade { transform: translateY(-6px); }

/* Barra de progresso no topo durante a troca de página */
.nav-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0;
	z-index: 100000;
	background: linear-gradient(90deg, var(--laranja), var(--vermelho));
	box-shadow: 0 0 10px rgba(242, 108, 48, .6);
	opacity: 0;
	pointer-events: none;
}
body.admin-bar .nav-progress { top: 32px; }
.nav-progress.is-loading { opacity: 1; width: 82%; transition: width 2.4s cubic-bezier(.1, .7, .2, 1); }
.nav-progress.is-done { width: 100%; opacity: 0; transition: width .2s ease, opacity .35s ease .15s; }

/* Barra de editorias ganha sombra ao grudar no topo */
.sh__nav { transition: box-shadow .25s ease; }
.sh__nav.is-stuck { box-shadow: 0 10px 24px -14px rgba(27, 37, 46, .65); }

/* Links do menu: sublinhado que cresce do centro */
.sh__menu a { position: relative; border-bottom-color: transparent !important; }
.sh__menu a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--laranja);
	transform: scaleX(0);
	transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.sh__menu a:hover::after { transform: scaleX(.6); }
.sh__menu .current-menu-item > a::after,
.sh__menu .current-category-ancestor > a::after,
.sh__menu .current-post-ancestor > a::after { transform: scaleX(1); }

/* Botões de ouvir: brilho que passa, e reação ao toque */
.sh__listen, .sf__listen, .btn-listen { position: relative; overflow: hidden; }
.sh__listen::after, .btn-listen::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
	transform: translateX(-120%);
}
.sh__listen:hover::after, .btn-listen:hover::after { transform: translateX(120%); transition: transform .7s ease; }
html:not(.ap-is-playing) .btn-listen { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 8px 18px -10px rgba(229, 62, 74, .9); } 50% { box-shadow: 0 10px 30px -6px rgba(242, 108, 48, .75); } }

/* O arco da faixa "No ar" gira quando a rádio está tocando */
.onair .arc--lg { transition: filter .4s ease; }
html.ap-is-playing .onair .arc--lg { animation: spin 7s linear infinite; filter: drop-shadow(0 0 14px rgba(242, 108, 48, .45)); }
@keyframes spin { to { transform: rotate(360deg); } }
html.ap-highlight #ativa-player .ap__play { animation: breathe 1.2s ease-in-out infinite; }

/* Botões de compartilhar: pequeno salto */
.share__btn { transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease; }
.share__btn:hover { transform: translateY(-2px); }

/* Trilha de navegação */
.crumbs { font-size: 13.5px; color: var(--ardosia); margin-bottom: 14px; }
.crumbs a { color: var(--ardosia); text-decoration: none; }
.crumbs a:hover { color: var(--laranja-texto); text-decoration: underline; text-underline-offset: 3px; }
.crumbs__sep { margin: 0 6px; opacity: .55; }
.crumbs .breadcrumb_last { color: var(--tinta); }
.nt__head .crumbs .breadcrumb_last { display: none; }

/* Convite para instalar o app */
.app-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--ap-h, 80px) + 26px);
	z-index: 9995;
	width: min(420px, calc(100% - 24px));
	padding: 16px 18px;
	border-radius: 16px;
	background: #fff;
	color: var(--tinta);
	box-shadow: 0 24px 50px -16px rgba(27, 37, 46, .55), 0 0 0 1px var(--linha);
	transform: translate(-50%, 16px);
	opacity: 0;
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
}
.app-toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.app-toast p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.app-toast div { display: flex; gap: 8px; }
.app-toast__ok { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; color: #fff; background: linear-gradient(145deg, var(--laranja), var(--vermelho)); }
.app-toast__x { border: 1.5px solid var(--linha); border-radius: 999px; padding: 9px 16px; background: #fff; color: var(--grafite); font-weight: 600; }

/* App instalado: respeita a área do relógio e da câmera */
@media (display-mode: standalone) {
	.sh { padding-top: env(safe-area-inset-top); }
	body.has-ativa-player { padding-bottom: calc(var(--ap-h) + 16px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
	.js .card__media img, .js .nt__fig img { opacity: 1; }
	.js .card__media::before { display: none; }
}
