/* ===== Base ===== */
:root{
  --green:#0a7a46;
  --ink:#111827;
  --muted:#6b7280;
  --border:#e6e6e6;
  --yellow:#f59e0b;
  --yellow-bg:#fff4da;
  --yellow-bg-active:#feeecb;
}
*{ box-sizing:border-box }
body{ font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial; color:var(--ink); background:#fff; margin:0; }

/* ===== Topo ===== */
.site-header{ background:#fff; border-bottom:1px solid var(--border); }
.site-header .brand-logo{ height:64px; max-height:64px; width:auto; object-fit:contain; display:block; }

/* Redes sociais (verde) */
.social-group{ background:var(--green); border-radius:12px; overflow:hidden; }
.sg-btn{ color:#fff; width:46px; height:42px; display:flex; align-items:center; justify-content:center; text-decoration:none; }
.sg-btn + .sg-btn{ border-left:1px solid rgba(255,255,255,.25) }
.sg-btn:hover{ background:#06603c; }

/* ===== Busca no topo (Google) ===== */
.header-search{ border:1px solid #e5e7eb; border-radius:999px; padding:2px; background:#fff; }
.header-search .form-control{ border:none; box-shadow:none; outline:none; width:320px; }
.header-search-btn{ border:none; background:transparent; color:#6b7280; border-radius:999px; width:40px; height:40px; }
.header-search-btn:hover{ background:#f3f4f6; color:#111827; }

/* ===== Abas ===== */
.tabs-wrap{ background:#fff; border-top:1px solid var(--border); }
.nav-tabs.custom{ border-bottom:none; gap:1rem; padding:.9rem 0; flex-wrap:wrap; justify-content:center; }
.nav-tabs.custom .nav-link{ border:none; font-weight:800; font-size:1.125rem; color:#000; padding:10px 18px; border-radius:14px; }
.nav-tabs.custom .nav-link:hover{ background:var(--yellow-bg); color:var(--yellow); }
.nav-tabs.custom .nav-link.active{ background:var(--yellow-bg-active); color:var(--yellow); }

/* Banner */
.hero{ width:100%; display:block; }

/* Conteúdo */
.section{ background:#fff; border:1px solid var(--border); border-radius:14px; padding:16px; box-shadow:0 1px 6px rgba(16,24,40,.06); margin:18px 0; }
.section-title{ margin:4px 0 14px; font-weight:800; }

/* ===== Notícias ===== */
.news-list{ display:flex; flex-direction:column; gap:12px; }
.news-row{ display:flex; gap:18px; align-items:center; background:#fff; border:1px solid var(--border); border-radius:12px; padding:10px 12px; }
.news-thumb-xl{ width:260px; height:160px; object-fit:cover; border-radius:10px; flex:0 0 auto; background:#f3f4f6; }
.news-date{ color:var(--muted); font-weight:700; margin-bottom:4px; }
.news-title{ color:var(--ink); font-weight:800; font-size:1.125rem; text-decoration:none; line-height:1.25; }
.news-title:hover{ text-decoration:underline; }

/* ===== Contatos (layout “respirado”) ===== */
.contact-toolbar{ margin-bottom:14px; }
.contact-count{ font-size:.92rem; }
.contact-grid.comfort{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap:24px;
  align-items:start;
}
.contact-card{ border:1px solid var(--border); border-radius:14px; background:#fff; overflow:hidden; box-shadow:0 1px 6px rgba(16,24,40,.05); }
.contact-head{ background:var(--green); color:#fff; font-weight:800; letter-spacing:.2px; text-transform:uppercase; padding:12px 14px; font-size:14px; }
.contact-list{ padding:8px 12px 6px; }
.contact-item{ padding:14px 2px; border-top:1px dashed var(--border); }
.contact-item:first-child{ border-top:0; }
.contact-title{ font-weight:800; margin-bottom:6px; }
.contact-meta{ display:flex; gap:14px; flex-wrap:wrap; font-weight:600; }
.contact-meta a{ text-decoration:none; color:#0a7a46; } .contact-meta a:hover{ text-decoration:underline; }
.contact-address{ margin-top:6px; color:#374151; line-height:1.4; }
mark{ background:var(--yellow-bg); padding:0 .18em; border-radius:.2em; }

/* Atalhos */
.card-icon{ display:flex; align-items:center; gap:12px; border:1px solid #e7e7e7; border-radius:12px; padding:12px 14px; margin-bottom:12px; }
.card-icon i{ font-size:20px; }

/* Página noticia.php */
.article-header{ text-align:center; padding:18px 0 6px; border-bottom:1px solid var(--border); }
.brand-logo-lg{ height:84px; max-height:84px; width:auto; object-fit:contain; display:inline-block; }
.page-title{ font-weight:800; color:var(--yellow); margin-top:6px; margin-bottom:0; }
.news-cover{ display:block; width:100%; max-width:960px; max-height:560px; height:auto; object-fit:contain; margin:0 auto 16px; border-radius:10px; }
.news-body img{ max-width:100%; height:auto; }

/* Responsivo */
@media (max-width: 1200px){ .contact-grid.comfort{ grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } }
@media (max-width: 992px){
  .header-search .form-control{ width:200px; }
  .news-thumb-xl{ width:220px; height:140px; }
  .contact-grid.comfort{ grid-template-columns: 1fr; }
}
@media (max-width: 576px){
  .site-header .brand-logo{ height:56px; max-height:56px; }
  .header-search{ display:none !important; } /* remova se quiser mostrar Google no mobile */
  .news-row{ align-items:flex-start; }
  .news-thumb-xl{ width:160px; height:110px; }
  .brand-logo-lg{ height:72px; max-height:72px; }
}
