/* Mantém o degradê no ::after do conteúdo, sobrepondo a imagem. */
.hpbx-banner-carousel { position: relative; overflow: hidden; }
.hpbx-banner-carousel__track { position: relative; min-height: 400px; }
.hpbx-banner-carousel__slide { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 400px; opacity: 0; pointer-events: none; position: absolute; inset: 0; transition: opacity .55s ease; }
.hpbx-banner-carousel__slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hpbx-topo__content { isolation: isolate; position: relative; z-index: 1; }
.hpbx-topo__content::after { background: linear-gradient(90deg, rgba(8, 36, 67, .96) 0%, rgba(8, 36, 67, .82) 42%, rgba(8, 36, 67, .12) 70%, transparent 100%); content: ''; inset: 0; pointer-events: none; position: absolute; z-index: -1; }
.hpbx-topo__copy { position: relative; z-index: 1; }
.hpbx-topo__media { inset: 0; position: absolute; z-index: 0; }
.hpbx-topo__media img { display: block; height: 100%; object-fit: cover; object-position: center; width: 100%; }
.hpbx-banner-carousel__controls { align-items: center; bottom: 20px; display: flex; gap: 12px; left: 50%; position: absolute; transform: translateX(-50%); z-index: 3; }
.hpbx-banner-carousel__arrow, .hpbx-banner-carousel__dot { background: rgba(255,255,255,.9); border: 0; cursor: pointer; }
.hpbx-banner-carousel__arrow { border-radius: 50%; color: #082443; font-size: 27px; height: 34px; line-height: 1; width: 34px; }
.hpbx-banner-carousel__dots { display: flex; gap: 8px; }
.hpbx-banner-carousel__dot { border-radius: 999px; height: 8px; opacity: .55; padding: 0; width: 8px; }
.hpbx-banner-carousel__dot.is-active { opacity: 1; transform: scale(1.35); }
@media (max-width: 767px) { .hpbx-banner-carousel__track, .hpbx-banner-carousel__slide { min-height: 520px; } .hpbx-topo__content::after { background: linear-gradient(0deg, rgba(8,36,67,.96) 0%, rgba(8,36,67,.66) 60%, rgba(8,36,67,.15) 100%); } }
@media (prefers-reduced-motion: reduce) { .hpbx-banner-carousel__slide { transition: none; } }

.hpbx-noticias { margin: 64px auto; max-width: 1200px; padding: 0 24px; }
.hpbx-noticias__heading { align-items: flex-end; display: flex; justify-content: space-between; gap: 20px; margin: 0 0 26px; }
.hpbx-noticias__heading span { color: #bc8126; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hpbx-noticias__heading h2 { color: #082443; font-size: clamp(30px, 4vw, 44px); margin: 8px 0 0; }
.hpbx-noticias__ver-todas { color: #bc8126; flex: none; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hpbx-noticias__ver-todas:hover { text-decoration: underline; }
.hpbx-noticias__grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hpbx-noticias__card { background: #fff; border-radius: 16px; box-shadow: 0 10px 28px rgba(8,36,67,.09); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.hpbx-noticias__card:hover { box-shadow: 0 18px 38px rgba(8,36,67,.16); transform: translateY(-4px); }
.hpbx-noticias__card-link { color: inherit; display: block; text-decoration: none; }
.hpbx-noticias__image { aspect-ratio: 16 / 9; overflow: hidden; }
.hpbx-noticias__image img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.hpbx-noticias__card:hover .hpbx-noticias__image img { transform: scale(1.05); }
.hpbx-noticias__content { padding: 23px; }
.hpbx-noticias__content h3 { color: #082443; font-size: 21px; margin: 0 0 12px; }
.hpbx-noticias__text { color: #526675; line-height: 1.6; }
.hpbx-noticias__source { color: #8a6b36; font-size: 12px; margin: 18px 0 0; }
.hpbx-noticias__link { color: #bc8126; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 16px; }
.hpbx-noticias__vazio { color: #66798a; padding: 30px 0; }
.hpbx-noticias--todas { margin: 96px auto 110px; }
.hpbx-noticias__pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.hpbx-noticias__pagination .page-numbers { align-items: center; background: #fff; border: 1px solid #e2e8ee; border-radius: 10px; color: #082443; display: inline-flex; font-size: 13px; font-weight: 700; justify-content: center; min-width: 40px; padding: 9px 12px; text-decoration: none; }
.hpbx-noticias__pagination .page-numbers.current { background: #bc8126; border-color: #bc8126; color: #fff; }
.hpbx-noticias__pagination .page-numbers:hover:not(.current) { border-color: #bc8126; color: #bc8126; }
@media (max-width: 767px) { .hpbx-noticias { margin: 46px auto; padding: 0 18px; } .hpbx-noticias__heading { align-items: flex-start; flex-direction: column; } .hpbx-noticias__grid { grid-template-columns: 1fr; } }

.hpbx-noticia__article { margin: 0 auto; max-width: 780px; padding: 56px 24px 100px; }
.hpbx-noticia__voltar { color: #bc8126; display: inline-block; font-size: 13px; font-weight: 700; margin-bottom: 26px; text-decoration: none; }
.hpbx-noticia__voltar:hover { text-decoration: underline; }
.hpbx-noticia__kicker { color: #bc8126; display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hpbx-noticia__titulo { color: #082443; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 10px 0 30px; }
.hpbx-noticia__imagem { border-radius: 18px; margin-bottom: 34px; overflow: hidden; }
.hpbx-noticia__imagem img { display: block; height: auto; width: 100%; }
.hpbx-noticia__conteudo { color: #33475a; font-size: 17px; line-height: 1.8; }
.hpbx-noticia__conteudo p { margin: 0 0 20px; }
.hpbx-noticia__fonte { border-top: 1px solid #e6ebf0; color: #8a6b36; font-size: 13px; margin-top: 40px; padding-top: 20px; }
.hpbx-noticia__fonte a { color: inherit; }
@media (max-width: 767px) { .hpbx-noticia__article { padding: 40px 18px 70px; } }
