/* Nos Vales News — página inicial profissional, faixa "Agora", carrosséis e matéria. */

/* Clima na faixa superior */
.nap-topbar__weather { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); }
.nap-topbar__weather svg { color: #FFC857; }
.nap-topbar__weather strong { color: #fff; }
@media (max-width: 760px) { .nap-topbar__wlabel { display: none; } }

/* Faixa "AGORA" */
.nap-ticker { background: #fff; border-bottom: 1px solid var(--nap-line); }
.nap-ticker__inner { display: flex; align-items: center; gap: 16px; min-height: 46px; }
.nap-ticker__label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: var(--nap-ink); color: #fff; font: 800 12px/1 var(--f-label); letter-spacing: .1em; }
.nap-ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4F; box-shadow: 0 0 0 0 rgba(255,77,79,.6); animation: nap-pulse 1.6s infinite; }
@keyframes nap-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,77,79,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); } }
.nap-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nap-ticker__track { display: flex; gap: 40px; width: max-content; animation: nap-ticker 70s linear infinite; }
.nap-ticker__track:hover { animation-play-state: paused; }
.nap-ticker__track a { display: inline-flex; gap: 10px; align-items: baseline; white-space: nowrap; font: 600 15px/1 var(--f-body); color: var(--nap-ink); }
.nap-ticker__track a:hover { color: var(--mt-primary); }
.nap-ticker__track time { font: 700 12px/1 var(--f-label); color: var(--mt-primary); }
@keyframes nap-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nap-ticker__track { animation: none; } }

/* Etiquetas (editoria / cidade) */
.nap-ov__tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.nap-tag { display: inline-block; padding: 6px 10px; border-radius: 4px; background: var(--cat, var(--mt-primary)); color: #fff; font: 800 11px/1 var(--f-label); text-transform: uppercase; letter-spacing: .07em; }
.nap-tag--city { background: var(--mt-accent); color: var(--nap-ink); }

/* Destaques: carrossel + 2 manchetes */
.nap-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
.nap-top__main { border-radius: 16px; overflow: hidden; }
.nap-top .mt-hero.mt-slider { min-height: 520px; aspect-ratio: auto; }
.nap-top .mt-hero__link { justify-content: flex-start; }
.nap-top .nap-top__content { text-align: left; padding: 32px 36px 72px; }
.nap-top .mt-hero__title { max-width: 26ch; margin: 12px 0 10px; font-size: clamp(26px, 2.6vw, 40px); }
.nap-top .mt-slider__dots { left: 36px; right: auto; transform: none; }
.nap-top__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
@media (max-width: 960px) {
	.nap-top { grid-template-columns: 1fr; }
	.nap-top .mt-hero.mt-slider { min-height: 0; aspect-ratio: 4 / 5; }
	.nap-top__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.nap-top { margin-top: 0; gap: 14px; }
	.nap-top__main { border-radius: 0; margin: 0 calc(var(--gutter) * -1); }
	.nap-top .nap-top__content { padding: 24px 20px 64px; }
	.nap-top .mt-slider__dots { left: 20px; }
	.nap-top__side { grid-template-columns: 1fr; }
}

/* Card com título sobre a foto */
.nap-ov { position: relative; border-radius: 14px; overflow: hidden; background: var(--nap-ink); min-height: 220px; }
.nap-ov__link { position: absolute; inset: 0; display: block; color: #fff; }
.nap-ov__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nap-ov:hover .nap-ov__img { transform: scale(1.04); }
.nap-ov__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,36,0) 30%, rgba(8,16,36,.55) 62%, rgba(8,16,36,.92) 100%); }
.nap-ov__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; }
.nap-ov__title { margin: 0; color: #fff; font: 800 clamp(18px, 1.5vw, 22px)/1.22 var(--f-label); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nap-ov__time { font: 600 12px/1 var(--f-label); color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .05em; }
.nap-ov--side { min-height: 250px; }
.nap-ov--card { aspect-ratio: 4 / 5; min-height: 0; }
.nap-ov--feature { min-height: 440px; }
.nap-ov--feature .nap-ov__title { font-size: clamp(22px, 2.2vw, 32px); -webkit-line-clamp: 4; }

/* Carrossel das cidades */
.nap-cities-strip .mt-catblock__head { flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.nap-cities-strip .nap-cities { justify-content: flex-end; }
.nap-cities-strip .mt-carousel__track { grid-auto-columns: calc((100% - 72px) / 4); }
@media (max-width: 1000px) { .nap-cities-strip .mt-carousel__track { grid-auto-columns: calc((100% - 48px) / 2.4); } }
@media (max-width: 640px) { .nap-cities-strip .mt-carousel__track { grid-auto-columns: 70%; } .nap-cities-strip .nap-cities { display: none; } }

/* Lateral */
.nap-side { display: flex; flex-direction: column; gap: 24px; }
.nap-box { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--nap-line); }
.nap-box__title { margin: 0 0 16px; font: 800 20px/1.15 var(--f-label); text-transform: uppercase; color: var(--nap-ink); }
.nap-box--ice { background: var(--mt-accent); border-color: transparent; }
.nap-box--wa { background: linear-gradient(140deg, #0B1A33, #10306B); color: rgba(255,255,255,.85); border: 0; }
.nap-box--wa .nap-box__title { color: #fff; text-transform: none; font-size: 22px; }
.nap-box--wa p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.nap-box__eyebrow { display: inline-block; margin-bottom: 10px; color: #7FB4FF; font: 800 12px/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; }
.nap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 800 14px/1 var(--f-label); text-transform: uppercase; letter-spacing: .04em; transition: transform .15s, background .2s; }
.nap-btn:hover { transform: translateY(-1px); }
.nap-btn--wa { background: #25D366; color: #06321A; width: 100%; }
.nap-btn--wa:hover { background: #1fbd59; color: #06321A; }
.nap-btn--light { background: #fff; color: var(--nap-ink); }
.nap-btn--light:hover { background: var(--mt-accent); color: var(--nap-ink); }
.nap-box .mt-popular__item { border-bottom-color: rgba(11,26,51,.12); }

/* Faixa "Participe da notícia" */
.nap-band { margin-top: clamp(56px, 7vw, 96px); background: linear-gradient(120deg, var(--mt-primary), #0040D6 60%, #0B1A33); color: #fff; }
.nap-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 40px; padding-bottom: 40px; }
.nap-band__eyebrow { display: block; margin-bottom: 8px; font: 800 12px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.nap-band__title { margin: 0; max-width: 30ch; color: #fff; font: 800 clamp(22px, 2.4vw, 32px)/1.2 var(--f-label); }

/* Editorias: 1 grande + 3 em lista */
.nap-cat__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
.nap-cat__list { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 860px) { .nap-cat__grid { grid-template-columns: 1fr; } .nap-ov--feature { min-height: 300px; } }

/* Card em linha */
.nap-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--nap-line); }
.nap-row:last-child { border-bottom: 0; padding-bottom: 0; }
.nap-row__img { display: block; border-radius: 10px; overflow: hidden; background: var(--nap-soft); }
.nap-row__img img, .nap-row__img .mt-noimg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.nap-row__body { display: flex; flex-direction: column; gap: 6px; }
.nap-row__cat { color: var(--cat, var(--mt-primary)); font: 800 11px/1 var(--f-label); text-transform: uppercase; letter-spacing: .07em; }
.nap-row__title { margin: 0; font: 700 18px/1.3 var(--f-label); }
.nap-row__title a:hover { color: var(--mt-primary); }
.nap-row__time { font: 500 12px/1 var(--f-label); color: #6B7280; }
@media (max-width: 480px) { .nap-row { grid-template-columns: 110px minmax(0, 1fr); } .nap-row__title { font-size: 16px; } }

/* Matéria: barra de progresso de leitura + carrossel "Leia também" */
.nap-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--mt-primary), #7FB4FF); }
.admin-bar .nap-progress { top: 32px; }
.nap-related-carousel .mt-carousel__track { grid-auto-columns: calc((100% - 48px) / 3); }
@media (max-width: 760px) { .nap-related-carousel .mt-carousel__track { grid-auto-columns: 72%; } }

/* Barra de editorias em telas médias: compacta e esconde as últimas (continuam no rodapé e no menu do celular). */
@media (min-width: 901px) and (max-width: 1260px) {
	.nap-header .nap-nav .mt-nav__list > li > a { padding-left: 11px; padding-right: 11px; font-size: 13px; letter-spacing: .02em; }
	.nap-header .nap-nav .mt-nav__list > li:nth-child(n+10) { display: none; }
}
@media (min-width: 901px) and (max-width: 1080px) {
	.nap-header .nap-nav .mt-nav__list > li:nth-child(n+9) { display: none; }
	.nap-header .nap-nav .mt-nav__list > li > a { padding-left: 9px; padding-right: 9px; }
}

/* Rádio ao vivo */
.nap-topbar__radio { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: 700 12px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; }
.nap-topbar__radio span { width: 7px; height: 7px; border-radius: 50%; background: #FF4D4F; animation: nap-pulse 1.6s infinite; }
.nap-topbar__radio:hover { background: var(--mt-primary); color: #fff; }
.nap-topbar__radio + .nap-topbar__social { margin-left: 4px; }
@media (max-width: 640px) { .nap-topbar__radio { margin-left: 0; } }

.nap-radio-wrap { margin-top: 24px; }
.nap-radio { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 18px; padding: 20px; border-radius: 16px; overflow: hidden; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1B4FD8 0%, #0B1A33 58%); isolation: isolate; }
.nap-radio::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(127,180,255,.08); z-index: -1; }
.nap-radio__play { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%; background: #fff; color: var(--mt-primary); cursor: pointer; box-shadow: 0 10px 26px rgba(10,108,255,.45); transition: transform .15s; }
.nap-radio__play:hover { transform: scale(1.06); }
.nap-radio__play:focus-visible { outline: 3px solid #7FB4FF; outline-offset: 3px; }
.nap-radio__i-pause, .nap-radio__spin { display: none; }
.nap-radio.is-playing .nap-radio__i-play, .nap-radio.is-loading .nap-radio__i-play { display: none; }
.nap-radio.is-playing .nap-radio__i-pause { display: block; }
.nap-radio.is-loading .nap-radio__spin { display: block; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: nap-spin .8s linear infinite; }
.nap-radio.is-loading .nap-radio__i-pause { display: block; }
@keyframes nap-spin { to { transform: rotate(360deg); } }
.nap-radio__body { min-width: 0; }
.nap-radio__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 4px; background: #FF4D4F; font: 800 10.5px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.nap-radio__live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: nap-blink 1.2s infinite; }
@keyframes nap-blink { 50% { opacity: .25; } }
.nap-radio__title { margin: 8px 0 4px; color: #fff; font: 800 22px/1.1 var(--f-label); }
.nap-radio__now { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nap-radio__eq { display: none; align-items: flex-end; gap: 4px; height: 34px; }
.nap-radio__eq i { width: 5px; height: 30%; border-radius: 3px; background: #7FB4FF; }
.nap-radio.is-playing .nap-radio__eq i { animation: nap-eq 1s ease-in-out infinite; }
.nap-radio__eq i:nth-child(2) { animation-delay: -.6s !important; } .nap-radio__eq i:nth-child(3) { animation-delay: -.3s !important; } .nap-radio__eq i:nth-child(4) { animation-delay: -.8s !important; } .nap-radio__eq i:nth-child(5) { animation-delay: -.45s !important; }
@keyframes nap-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.nap-radio__side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.nap-radio__vol { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.8); }
.nap-radio__vol input { width: 110px; accent-color: #7FB4FF; }
.nap-radio__pop { color: #fff; font: 700 13px/1 var(--f-label); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.nap-radio__pop:hover { color: #7FB4FF; }
.mt-layout__side .nap-radio { margin-bottom: 24px; }

/* Faixa larga da página inicial */
.nap-radio--wide { grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 22px 28px; gap: 22px; }
.nap-radio--wide .nap-radio__play { width: 72px; height: 72px; }
.nap-radio--wide .nap-radio__title { font-size: 26px; }
.nap-radio--wide .nap-radio__eq { display: flex; }
.nap-radio--wide .nap-radio__side { grid-column: auto; flex-direction: column; align-items: flex-end; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) {
	.nap-radio--wide { grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 14px 16px; }
	.nap-radio--wide .nap-radio__play { width: 60px; height: 60px; }
	.nap-radio--wide .nap-radio__title { font-size: 21px; }
	.nap-radio--wide .nap-radio__eq { display: none; }
	.nap-radio--wide .nap-radio__side { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}
@media (prefers-reduced-motion: reduce) { .nap-radio__eq i, .nap-radio__live i, .nap-topbar__radio span { animation: none !important; } }
@media (max-width: 640px) { .nap-topbar__region { display: none; } }
.nap-radio__pop { white-space: nowrap; } .mt-layout__side .nap-radio__vol input { width: 80px; }
