/* ===== Altair Em Foco — tema céu estrelado responsivo ===== */
:root {
  --navy: #101b33;
  --navy-2: #0d1730;
  --gold: #d9a63f;
  --gold-claro: #e8c064;
  --creme: #fdfbf6;
  --bg: #f7f5ef;
  --text: #2a2f3a;
  --muted: #6d7484;
  --line: #e5e1d4;
  --radius: 12px;
  --shadow: 0 2px 14px rgba(16, 27, 51, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; font-family: "Segoe UI", sans-serif; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.titulo-secao { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.estrela { color: var(--gold); font-style: normal; }
.estrela.sol { font-size: 1.2rem; }

.tag { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; width: fit-content; font-family: "Segoe UI", sans-serif; }
.tag-cidade { background: var(--gold); color: var(--navy); }
.tag-bairros { background: #7a8fd4; color: #fff; }
.tag-campo { background: #6da96f; color: #fff; }
.tag-cultura { background: #c56a9a; color: #fff; }

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: #f0ead8; position: sticky; top: 0; z-index: 60; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; }
.brand-texto strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: 1px; color: #fff; }
.brand-texto em { display: block; font-style: normal; font-size: .76rem; opacity: .85; }
.nav-menu { display: flex; list-style: none; gap: 4px; margin: 0 auto; }
.nav-menu a { display: block; padding: 10px 14px; font-family: "Segoe UI", sans-serif; font-weight: 600; font-size: .88rem; color: #e9e4d4; border-radius: 6px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--gold-claro); }
.nav-busca { padding: 9px 11px !important; }
.nav-toggle { display: none; background: rgba(255,255,255,.1); border: 0; border-radius: 8px; padding: 8px 10px; margin-left: auto; }
.nav-toggle span { display: block; width: 21px; height: 2.4px; background: #fff; margin: 4px 0; border-radius: 2px; }
.topar-local {
  display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--gold);
  color: var(--gold-claro); font-family: "Segoe UI", sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: 1px; padding: 8px 16px; border-radius: 6px;
}

/* ===== Hero ===== */
.hero { position: relative; }
.hero-foto { width: 100%; height: clamp(280px, 36vw, 460px); object-fit: cover; display: block; }
.hero-faixa {
  background: var(--navy-2); color: #fff; padding: 18px clamp(20px, 4vw, 60px) 22px;
  margin-top: -6px; position: relative;
}
.hero-faixa::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 30%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 34% 60%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(2px 2px at 56% 24%, rgba(232,192,100,.9) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 74% 52%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 34%, rgba(232,192,100,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 78%, rgba(255,255,255,.5) 50%, transparent 51%);
}
.hero-selo { display: inline-flex; align-items: center; gap: 8px; font-family: "Segoe UI", sans-serif; font-size: .68rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-claro); border-bottom: 1px solid rgba(232,192,100,.4); padding-bottom: 5px; }
.hero-faixa h1 { font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; margin-top: 10px; }
.hero-faixa h1 a:hover { text-decoration: underline; }

/* ===== Constelação ===== */
.constelacao { background: var(--navy); color: #e9e4d4; padding: 26px 0 30px; margin-bottom: 26px; }
.const-titulo { font-size: 1.5rem; font-weight: 700; color: var(--gold-claro); letter-spacing: 2px; }
.const-linha { height: 56px; margin: 6px auto 12px; }
.const-linha svg { width: 100%; height: 100%; }
.const-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.const-card { background: rgba(255,255,255,.06); border: 1px solid rgba(232,192,100,.25); border-radius: 10px; overflow: hidden; }
.const-card > a { display: block; height: 100%; }
.const-card img { width: 100%; height: 104px; object-fit: cover; }
.const-texto { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.const-texto h3 { font-size: .86rem; line-height: 1.3; color: #fff; font-family: "Segoe UI", sans-serif; font-weight: 700; }
.const-texto p { font-size: .74rem; opacity: .8; line-height: 1.4; }
.const-card:hover h3 { color: var(--gold-claro); }

/* ===== Primeira Luz ===== */
.luz { padding-top: 26px; padding-bottom: 10px; }
.luz-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.luz-filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-left: 8px; }
.filtro { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .84rem; color: var(--text); }
.filtro.ativo { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.luz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.luz-card { background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.luz-card > a { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px; height: 100%; }
.luz-card img { width: 100%; height: 100%; min-height: 104px; object-fit: cover; border-radius: 8px; }
.luz-chave { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.luz-chave strong { font-family: "Segoe UI", sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--gold); }
.luz-chave .estrela { font-size: .8rem; }
.luz-texto h3 { font-size: .94rem; line-height: 1.3; color: var(--navy); font-family: "Segoe UI", sans-serif; font-weight: 700; }
.luz-texto p { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.luz-card:hover h3 { text-decoration: underline; }
.luz-card.hidden { display: none; }

/* ===== Mais lidas ===== */
.maislidas { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.maislidas-intro { flex-shrink: 0; }
.maislidas-lista { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 260px; }
.mais-item { display: flex; gap: 12px; align-items: baseline; }
.mais-num { font-family: "Segoe UI", sans-serif; font-size: .85rem; font-weight: 800; color: var(--gold); min-width: 16px; }
.mais-item a { font-size: .88rem; color: var(--text); }
.mais-item a:hover { text-decoration: underline; color: var(--navy); }
.mais-news { margin-left: auto; display: flex; flex-direction: column; gap: 8px; min-width: 280px; }
.news-texto { display: flex; align-items: center; gap: 8px; font-family: "Segoe UI", sans-serif; font-size: .84rem; font-weight: 700; color: var(--navy); }
.news-campo { display: flex; gap: 8px; }
.news-campo input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-family: "Segoe UI", sans-serif; background: #fff; }
.news-campo input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.news-campo button { background: var(--gold); color: var(--navy); border: 0; border-radius: 6px; padding: 11px 18px; font-weight: 700; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; }
.news-campo button:hover { background: var(--gold-claro); }
.news-ok { font-size: .78rem; color: #2e8b57; font-family: "Segoe UI", sans-serif; }

/* ===== Paginação ===== */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 24px 0 10px; }
.page-btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 6px; background: #fff; border: 1.5px solid var(--line); font-family: "Segoe UI", sans-serif; font-weight: 700; font-size: .9rem; color: var(--navy); transition: .15s; }
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.current { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.page-ellipsis { align-self: end; padding: 6px; color: var(--muted); }

/* ===== Post / páginas ===== */
main > .post, main > .static-page, main > .categoria-page { margin-top: 24px; }
.post { max-width: 860px; background: var(--creme); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px clamp(18px, 4vw, 40px); }
.post-header { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 18px; }
.post-header h1 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 700; line-height: 1.22; letter-spacing: -.3px; margin-top: 10px; color: var(--navy); }
.post-meta { color: var(--muted); font-size: .86rem; margin-top: 8px; font-family: "Segoe UI", sans-serif; }
.post-image { margin: 0 0 20px; border-radius: 10px; overflow: hidden; }
.post-content { font-size: 1.02rem; }
.post-content p { margin-bottom: 1em; }
.post-content h2, .post-content h3 { margin: 1.2em 0 .5em; color: var(--navy); }
.post-content ul, .post-content ol { margin: 0 0 1em 1.4em; }
.post-content blockquote { border-left: 3px solid var(--gold); background: #faf6ea; padding: 12px 18px; border-radius: 0 8px 8px 0; margin-bottom: 1em; font-style: italic; }
.post-share { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; font-family: "Segoe UI", sans-serif; }
.post-share span { font-weight: 700; color: var(--muted); }
.post-share a { background: var(--bg); padding: 7px 14px; border-radius: 20px; font-weight: 600; }
.post-share a:hover { color: var(--gold); }
.related { margin-top: 24px; }
.categoria-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px; }
.categoria-head p { color: var(--muted); font-size: .9rem; font-style: italic; }
.static-page h1 { font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.btn { display: inline-block; background: var(--gold); color: var(--navy) !important; font-family: "Segoe UI", sans-serif; font-weight: 700; padding: 11px 26px; border-radius: 6px; border: 0; cursor: pointer; margin-top: 16px; }
.btn:hover { background: var(--gold-claro); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; font-family: "Segoe UI", sans-serif; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.page-404 { text-align: center; }
.page-404 h1 { font-size: 4rem; color: var(--gold); }
.busca-box { display: flex; gap: 10px; max-width: 540px; margin: 20px auto 24px; }
.busca-box input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }

/* ===== Rodapé ===== */
.rodape { background: var(--navy); color: #e9e4d4; margin-top: 26px; }
.rodape-inner { display: flex; align-items: center; gap: 18px; padding: 22px 20px; flex-wrap: wrap; }
.rodape-marca { display: flex; align-items: center; gap: 10px; }
.rodape-marca img { width: 34px; }
.rodape-marca strong { font-size: 1rem; color: #fff; letter-spacing: 1px; display: block; }
.rodape-marca span { font-size: .74rem; opacity: .8; display: block; }
.rodape-nav { display: flex; gap: 6px 14px; flex-wrap: wrap; margin: 0 auto; font-family: "Segoe UI", sans-serif; font-size: .8rem; }
.rodape-nav a:hover { color: var(--gold-claro); }
.rodape-frase { font-size: .78rem; opacity: .85; }
.rodape-frase em { font-style: normal; color: var(--gold-claro); }
.rodape-social { display: flex; gap: 8px; }
.rodape-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; }
.rodape-social a:hover { background: var(--gold); color: var(--navy); }
.rodape-base { border-top: 1px solid rgba(255,255,255,.12); padding: 12px 20px; font-size: .74rem; opacity: .85; font-family: "Segoe UI", sans-serif; }

/* ===== Responsivo ===== */
@media (max-width: 1180px) {
  .const-grid { grid-template-columns: repeat(3, 1fr); }
  .const-linha { display: none; }
  .luz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 66px; left: 0; right: 0; z-index: 80;
    flex-direction: column; gap: 2px; background: var(--navy-2); padding: 10px 16px 14px;
    box-shadow: 0 14px 24px rgba(0,0,0,.35);
  }
  .nav-menu.open { display: flex; }
  .topbar-inner { position: relative; }
  .topar-local { display: none; }
  .const-grid { grid-template-columns: repeat(2, 1fr); }
  .maislidas { flex-direction: column; align-items: flex-start; }
  .mais-news { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .const-grid, .luz-grid { grid-template-columns: 1fr; }
  .brand-texto strong { font-size: 1rem; }
  .maislidas-lista { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
