.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-page-header { margin-bottom: 2.25rem; }
.news-page-header h2 { margin-bottom: .6rem; }
.news-page-header p { margin: 0; color: var(--muted); }
#news-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.news-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); overflow: hidden; min-height: 230px; 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 > img { width: 100%; height: 100%; object-fit: cover; }
.news-item .content { display: flex; flex-direction: column; padding: 1.35rem; }
.news-item h2 { margin-bottom: .6rem; font-size: 1.25rem; }
.news-item h2 a { text-decoration: none; }
.news-item p { color: var(--muted); font-size: .93rem; }
.news-item .read-more { margin-top: auto; color: var(--blue); font-weight: 750; }

/* Matéria */
.article-main { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.news-detail-container { max-width: 900px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.news-detail-container .main-image { width: 100%; max-height: 520px; margin-bottom: 2rem; object-fit: cover; border-radius: 18px; }
.news-detail-container h1 { margin-bottom: 1rem; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.news-detail-container .meta { margin-bottom: 2rem; padding-bottom: 1rem; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .9rem; }
.news-detail-container .article-copy { font-size: 1.08rem; line-height: 1.85; }
.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; }
.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-item { grid-template-columns: 1fr; }
  .news-item > img { height: 210px; }
}

@media (max-width: 900px) {
  .filters-shell { top: 70px; }
}

@media (max-width: 650px) {
  .page-hero { padding: 3rem 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-item { grid-template-columns: 130px minmax(0, 1fr); min-height: 190px; }
  .news-item > img { height: 100%; }
  .news-item .content { padding: 1rem; }
  .news-item h2 { font-size: 1.05rem; }
  .news-item p { display: none; }
  .news-detail-container { border-radius: 18px; }
  .news-detail-container .main-image { max-height: 320px; }
}
