.inner-page {
  background: #f7f9f9;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 20%, rgba(247, 201, 72, .3) 0 7%, transparent 7.2%),
    linear-gradient(135deg, var(--navy), var(--blue));
}

.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { max-width: 850px; margin-bottom: 1rem; color: var(--white); font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero p:last-child { max-width: 680px; margin: 0; color: #dcecf0; font-size: 1.1rem; }
.inner-content { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* Guia */
.filters-shell { position: sticky; top: 82px; z-index: 50; padding: 1rem 0; background: rgba(247, 249, 249, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.filtros-container { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; }
.btn-filtro { min-height: 44px; padding: .65rem 1rem; color: var(--blue); background: var(--white); border: 1px solid #bdd0d7; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: .18s ease; }
.btn-filtro:hover, .btn-filtro.ativo { color: var(--white); background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
.guia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; }
.card-guia { position: relative; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(7, 59, 76, .08); transition: transform .18s ease, box-shadow .18s ease; }
.card-guia:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.badge-destaque { position: absolute; top: 1rem; right: 1rem; z-index: 2; padding: .4rem .7rem; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: .72rem; font-weight: 800; }
.card-img-top { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-title { margin-bottom: .6rem; font-size: 1.35rem; }
.card-text, .card-address { color: var(--muted); }
.card-address { font-size: .85rem; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 1rem; color: var(--white); background: #168c46; border-radius: 10px; font-weight: 750; text-decoration: none; }

/* Notícias */
.news-masthead { padding: clamp(1.8rem, 4vw, 3rem) 0; }
.news-masthead-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr); align-items: end; gap: 2rem; }
.news-masthead .eyebrow { margin-bottom: .45rem; }
.news-masthead h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.8rem); }
.news-masthead p:last-child { justify-self: end; max-width: 520px; font-size: 1rem; }
.news-hub-content { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 7vw, 6rem); background: #f7f9f9; }
.news-lead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); min-height: 430px; margin-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; color: var(--white); background: var(--navy); border-radius: 26px; box-shadow: var(--shadow); }
.news-lead-media { display: block; min-height: 100%; overflow: hidden; }
.news-lead-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform .35s ease; }
.news-lead:hover .news-lead-media img { transform: scale(1.025); }
.news-lead-content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(1.7rem, 4vw, 3rem); }
.news-lead-content .eyebrow { margin-bottom: .8rem; color: var(--yellow); }
.news-lead h2 { margin-bottom: .75rem; color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; }
.news-lead h2 a { text-decoration: none; }
.news-lead-date { margin: 0 0 1rem; color: #bcd2da; font-size: .82rem; font-weight: 650; }
.news-lead-summary { display: -webkit-box; margin: 0 0 1.5rem; overflow: hidden; color: #dcecf0; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.news-lead .button { width: auto; min-height: 46px; margin-top: .2rem; }
.news-feed-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1rem; }
.news-feed-header .eyebrow { margin-bottom: .35rem; }
.news-feed-header h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
.news-search-form { display: grid; grid-template-columns: minmax(220px, 330px) auto; }
.news-search-form input { min-height: 46px; padding: .7rem 1rem; border: 1px solid #bdd0d7; border-radius: 12px 0 0 12px; font: inherit; }
.news-search-form input:focus { position: relative; z-index: 1; outline: 3px solid rgba(247, 201, 72, .45); border-color: var(--blue); }
.news-search-form button { min-height: 46px; padding: .7rem 1rem; color: var(--white); background: var(--blue); border: 0; border-radius: 0 12px 12px 0; font: inherit; font-weight: 750; cursor: pointer; }
.news-category-filters { display: flex; gap: .55rem; margin-bottom: .8rem; padding: .35rem 0 .55rem; overflow-x: auto; scrollbar-width: thin; }
.news-filter { flex: 0 0 auto; min-height: 38px; padding: .5rem .85rem; color: var(--blue); background: var(--white); border: 1px solid #c7d7dc; border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 750; cursor: pointer; }
.news-filter:hover, .news-filter.active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.news-results-count { margin: 0 0 1rem; color: var(--muted); font-size: .82rem; }
#news-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.news-item { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(7, 59, 76, .07); transition: transform .18s ease, box-shadow .18s ease; }
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-item-media { display: block; overflow: hidden; }
.news-item-media img { width: 100%; height: 245px; object-fit: cover; transition: transform .3s ease; }
.news-item:hover .news-item-media img { transform: scale(1.025); }
.news-item .content { display: flex; flex-direction: column; padding: 1.35rem; }
.news-item-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 .65rem; color: var(--muted); font-size: .72rem; font-weight: 650; }
.news-item-meta span { color: var(--blue); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.news-item h3 { margin-bottom: .7rem; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.25; }
.news-item h3 a { text-decoration: none; }
.news-item-summary { display: -webkit-box; margin: 0 0 1.1rem; overflow: hidden; color: var(--muted); font-size: .9rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-item .read-more { margin-top: auto; color: var(--blue); font-weight: 750; }
.news-load-more { display: block; min-height: 46px; margin: 2rem auto 0; padding: .7rem 1.25rem; color: var(--blue); background: var(--white); border: 1px solid var(--blue); border-radius: 12px; font: inherit; font-weight: 750; cursor: pointer; }
.news-load-more:hover { color: var(--white); background: var(--blue); }
.guia-load-more-wrap { display: flex; justify-content: center; }
.guia-load-more-wrap .news-load-more[hidden] { display: none; }
.news-empty { grid-column: 1 / -1; }
.news-empty strong { display: block; color: var(--navy); }
.news-empty p { margin-bottom: 0; }

/* Matéria */
.article-main { padding: clamp(2rem, 5vw, 4.5rem) 1rem; }
.news-detail-container { max-width: 960px; margin: 0 auto; padding: clamp(1.5rem, 4.5vw, 4rem); background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.article-header { max-width: 780px; margin: 0 auto; }
.news-detail-container .article-header .eyebrow { margin-bottom: .8rem; }
.news-detail-container h1 { max-width: 760px; margin-bottom: 1rem; font-size: clamp(2rem, 4.6vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em; }
.news-detail-container .article-subtitle { max-width: 720px; margin: 0 0 1.35rem; color: #526872; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }
.news-detail-container .meta { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; margin: 0; padding: 1rem 0 1.6rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.news-detail-container .meta time { position: relative; }
.news-detail-container .meta time::before { position: absolute; left: -.68rem; content: "•"; color: var(--yellow); }
.news-detail-container .article-figure { margin: .65rem 0 clamp(2rem, 4vw, 3rem); }
.news-detail-container .main-image { display: block; width: 100%; max-height: 560px; margin: 0; object-fit: cover; border-radius: 18px; }
.news-detail-container .article-figure figcaption { max-width: 760px; margin: 0 auto; padding-top: .7rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.news-detail-container .article-copy { max-width: 720px; margin: 0 auto; color: #263f49; font-size: clamp(1.04rem, 1.5vw, 1.13rem); line-height: 1.82; }
.news-detail-container .article-copy > :first-child { margin-top: 0; }
.news-detail-container .article-copy > :last-child { margin-bottom: 0; }
.news-detail-container .article-copy p { margin: 0 0 1.35em; }
.news-detail-container .article-copy h2,
.news-detail-container .article-copy h3,
.news-detail-container .article-copy h4 { margin: 1.8em 0 .65em; color: var(--navy); line-height: 1.22; letter-spacing: -.025em; }
.news-detail-container .article-copy h2 { font-size: clamp(1.55rem, 3vw, 2rem); }
.news-detail-container .article-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.news-detail-container .article-copy ul,
.news-detail-container .article-copy ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.news-detail-container .article-copy li { margin-bottom: .55em; padding-left: .2em; }
.news-detail-container .article-copy a { color: var(--blue); font-weight: 650; text-underline-offset: 3px; }
.news-detail-container .article-copy blockquote { margin: 1.8em 0; padding: 1.1rem 1.3rem; color: var(--navy); background: var(--pale); border-left: 5px solid var(--yellow); border-radius: 0 14px 14px 0; font-size: 1.08em; font-weight: 600; }
.news-detail-container .article-copy blockquote p:last-child { margin-bottom: 0; }
.news-detail-container .article-copy img { display: block; width: auto; max-width: 100%; height: auto; margin: 2rem auto; border-radius: 14px; }
.news-detail-container .article-copy iframe,
.news-detail-container .article-copy video { display: block; width: 100%; max-width: 100%; margin: 2rem auto; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.share-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-buttons p { width: 100%; margin: 0 0 .35rem; font-weight: 750; }
.btn-share { padding: .65rem 1rem; color: var(--white); background: var(--blue); border-radius: 9px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.news-detail-container .share-buttons { max-width: 720px; margin-right: auto; margin-left: auto; }
.news-detail-container .related-news { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.news-detail-container .related-heading { margin-bottom: 1.35rem; }
.news-detail-container .related-heading .eyebrow { margin-bottom: .35rem; }
.news-detail-container .related-heading h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -.025em; }
.news-detail-container .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.news-detail-container .related-card { border-radius: 16px; }
.news-detail-container .related-card img,
.news-detail-container .related-placeholder { height: 150px; }
.news-detail-container .related-card-body { padding: 1rem; }
.news-detail-container .related-card h3 { font-size: 1rem; line-height: 1.35; }
.not-found-message { max-width: 700px; margin: 5rem auto; padding: 2rem; text-align: center; background: var(--white); border-radius: var(--radius); }

/* Links */
.links-page { min-height: 100vh; padding: 3rem 0; background: linear-gradient(145deg, var(--pale), #f8fbfb 50%, #fff4cf); }
.links-container { width: min(calc(100% - 2rem), 520px); margin: 0 auto; padding: clamp(1.5rem, 5vw, 2.5rem); text-align: center; background: rgba(255, 255, 255, .96); border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px; box-shadow: var(--shadow); }
.links-logo { width: 210px; height: auto; margin: 0 auto 1.5rem; }
.links-container h1 { margin-bottom: .6rem; font-size: 2.4rem; }
.links-container > p { margin-bottom: 2rem; color: var(--muted); }
.links-list { display: grid; gap: .75rem; }
.link-button { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: .8rem 1rem; color: var(--navy); background: #f4f7f7; border: 1px solid var(--line); border-radius: 12px; font-weight: 750; text-decoration: none; transition: .18s ease; }
.link-button:hover { color: var(--white); background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.links-back { display: inline-block; margin-top: 1.5rem; color: var(--blue); font-size: .9rem; font-weight: 700; }

/* Páginas legais */
.legal-wrap { max-width: 920px; margin: 0 auto; }
.legal-card { padding: clamp(1.4rem, 5vw, 3.2rem); background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 12px 40px rgba(7, 59, 76, .08); }
.legal-card section { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.legal-card section:first-child { padding-top: 0; }
.legal-card section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-card h2 { margin-bottom: .65rem; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-card p, .legal-card li { color: #3f535d; }
.legal-card ul { padding-left: 1.35rem; }
.legal-card a { color: var(--blue); font-weight: 650; }

@media (max-width: 980px) {
  .guia-grid, #news-container { grid-template-columns: 1fr 1fr; }
  .news-lead { grid-template-columns: 1.05fr .95fr; }
  .news-lead-media img { min-height: 400px; }
  .news-item-media img { height: 210px; }
}

@media (max-width: 900px) {
  .filters-shell { top: 70px; }
  .news-detail-container .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-masthead-layout { grid-template-columns: 1fr; gap: .75rem; }
  .news-masthead p:last-child { justify-self: start; }
  .news-lead { grid-template-columns: 1fr; }
  .news-lead-media img { height: 330px; min-height: 0; }
  .news-feed-header { align-items: stretch; flex-direction: column; gap: 1rem; }
  .news-search-form { grid-template-columns: 1fr auto; width: 100%; }
}

@media (max-width: 650px) {
  .page-hero { padding: 3rem 0; }
  .news-masthead { padding: 1.6rem 0; }
  .guia-grid, #news-container { grid-template-columns: 1fr; }
  .filtros-container { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; }
  .btn-filtro { flex: 0 0 auto; }
  .news-hub-content { padding-top: 1rem; }
  .news-lead { min-height: 0; margin-bottom: 2.5rem; border-radius: 18px; }
  .news-lead-media img { height: 235px; }
  .news-lead-content { padding: 1.35rem; }
  .news-lead h2 { font-size: 1.65rem; }
  .news-lead-summary { -webkit-line-clamp: 3; }
  .news-search-form { grid-template-columns: minmax(0, 1fr) auto; }
  .news-search-form input { min-width: 0; }
  .news-search-form button { padding-inline: .8rem; }
  .news-item-media img { height: 210px; }
  .news-item .content { padding: 1.1rem; }
  .news-item h3 { font-size: 1.18rem; }
  .news-item-summary { -webkit-line-clamp: 2; }
  .news-item-meta { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .article-main { padding: 1.25rem .7rem 2.5rem; }
  .news-detail-container { padding: 1.25rem; border-radius: 18px; box-shadow: 0 10px 30px rgba(7, 59, 76, .08); }
  .news-detail-container h1 { font-size: clamp(1.85rem, 9vw, 2.45rem); line-height: 1.1; letter-spacing: -.035em; }
  .news-detail-container .article-subtitle { margin-bottom: 1.1rem; font-size: 1.04rem; }
  .news-detail-container .meta { display: grid; gap: .3rem; padding: .85rem 0 1.25rem; }
  .news-detail-container .meta time::before { content: none; }
  .news-detail-container .article-figure { margin: .4rem -.35rem 1.8rem; }
  .news-detail-container .main-image { max-height: 340px; border-radius: 14px; }
  .news-detail-container .article-copy { font-size: 1.03rem; line-height: 1.78; }
  .news-detail-container .article-copy p { margin-bottom: 1.2em; }
  .news-detail-container .related-grid { grid-template-columns: 1fr; }
  .news-detail-container .related-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
  .news-detail-container .related-card img,
  .news-detail-container .related-placeholder { height: 100%; min-height: 160px; }
  .news-detail-container .related-card-body > p:not(.related-meta) { display: none; }
}

/* Leitura editorial e compartilhamento da notícia */
.article-main { background: linear-gradient(180deg, #edf5f6 0, #f7f9f9 240px); }
.article-breadcrumb { display: flex; align-items: center; gap: .55rem; max-width: 780px; margin: 0 auto 1.4rem; color: #71838a; font-size: .78rem; font-weight: 650; }
.article-breadcrumb a { color: var(--blue); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news-detail-container .meta > * { position: relative; }
.news-detail-container .meta > * + *::before { position: absolute; left: -.68rem; content: "•"; color: var(--yellow); }
.news-detail-container .share-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; max-width: 720px; margin: 2.8rem auto 0; padding: 1.25rem; background: #f5f8f8; border: 1px solid var(--line); border-radius: 18px; }
.share-heading { grid-column: 1 / -1; margin-bottom: .25rem; }
.share-heading span { display: block; margin-bottom: .15rem; color: var(--navy); font-size: 1rem; font-weight: 850; }
.share-heading p { width: auto; margin: 0; color: var(--muted); font-size: .82rem; font-weight: 400; }
.news-detail-container .btn-share { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1rem; color: var(--white); border: 0; border-radius: 11px; font: inherit; font-size: .86rem; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.news-detail-container .btn-share svg { width: 19px; height: 19px; fill: currentColor; }
.news-detail-container .btn-share:hover { color: var(--white); filter: brightness(.96); transform: translateY(-2px); box-shadow: 0 9px 20px rgba(7, 59, 76, .18); }
.news-detail-container .btn-share:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.news-detail-container .btn-share-whatsapp { background: #168c46; }
.news-detail-container .btn-share-facebook { background: #1877f2; }
.news-detail-container .btn-share-copy { background: var(--navy); }

@media (max-width: 650px) {
  .news-detail-container .meta > * + *::before { content: none; }
  .news-detail-container .share-buttons { grid-template-columns: 1fr; padding: 1rem; border-radius: 15px; }
  .share-heading { grid-column: 1; }
  .news-detail-container .btn-share { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .news-detail-container .btn-share { transition: none; }
}
