@charset "UTF-8";

/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  vertical-align: baseline;
}

html {
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #ededed;
  color: #282828;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-width: 320px;
}

#bodyg {
  overflow: auto;
}

h1, h2 {
  font-weight: 400;
}

h3, h4, h5, h6 {
  font-weight: normal;
}

a {
  text-decoration: none;
  color: #fff;
}

hr {
  background: #dadde1;
  height: 1px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #007bff;
  color: #fff;
  z-index: 999;
}

.menug {
  background: #007bff;
  width: 100%;
  padding: 17px 0;
}

.menugg {
  width: 1050px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.menugg::after {
  content: "";
  display: table;
  clear: both;
}

.logo {
  background: url(../images/logo.png) no-repeat;
  background-size: auto 35px;
  height: 35px;
  width: 35px;
  display: block;
}

.logo-text {
  font-size: 17px;
  font-weight: 500;
  margin-left: 5px;
  max-width: 66%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1020px) and (max-width: 1180px) {
  .menugg {
    width: 948px;
  }
}

@media (min-width: 768px) and (max-width: 1019px) {
  .menugg {
    width: 700px;
  }
  .menug {
    padding-bottom: 57px;
  }
  .logo-text {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .menugg {
    width: auto;
    margin: 0 8%;
  }
  .menug {
    padding: 10px 0;
  }
  .logo-text {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .logo-text {
    font-size: 12px;
  }
}

/* Conteúdo Principal */
#mid {
  padding-top: 66px;
}

.rArea {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.tTitle {
  font-size: 28px;
  font-weight: 600;
  margin: 15px 0 10px;
  text-align: center;
}

.tSubTitle {
  font-size: 20px;
  font-weight: 600;
  padding: 15px 20px 20px;
  text-align: center;
}

.tText {
  font-size: 18px;
  font-weight: 400;
  padding: 0 20px 10px;
  text-align: left;
}

.tPost {
  padding: 10px 0;
  margin: 10px 0;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.tPost a {
  color: #ff0000;
}

.tBtn {
  text-align: center;
  margin: 20px 0;
}

.btn-tags {
  background: #d9d9d9;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 26px;
  padding: 0 6px;
  display: inline-block;
}

.btn-tags:hover {
  background: #a8a8a8;
  color: #fff;
}

/* Grupos */
.AreaGrupos {
  padding: 0 0 0 15px;
}

.gArea {
  display: inline-flex;
  padding-right: 15px;
  width: 100%;
}

@media (min-width: 1200px) {
  .gArea {
    width: 24%;
  }
  .AreaGrupos {
    padding: 0 0 0 60px;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .gArea {
    width: 24%;
  }
  .AreaGrupos {
    padding: 0 0 0 55px;
  }
}

@media (min-width: 900px) and (max-width: 999px) {
  .gArea {
    width: 31%;
  }
  .AreaGrupos {
    padding: 0 0 0 72px;
  }
}

.rGrupo {
  background: #fff;
  margin-bottom: 25px;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
}

.rGrupo:hover {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.titleCategory, .footerCategory {
  background: #16796a;
  height: 20px;
  border-radius: 5px 5px 0 0;
}

.footerCategory {
  border-radius: 0 0 5px 5px;
}

.titleGrupo {
  display: block;
  color: #000;
  padding: 0 20px;
  font-weight: 600;
  font-size: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.descGrupo {
  color: #5b5f62;
  padding: 2px 10px 0;
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.4;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 600px) {
  .descGrupo {
    height: 70px;
    font-size: 16px;
  }
}

.IconGrupo {
  border-radius: 50%;
  height: 128px;
  width: 128px;
  margin: 5px 0 10px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

/* Footer */
#footer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  width: 100%;
}

.begin-footer {
  background: #273443;
  padding: 40px 0 25px;
}

.final-footer {
  background: #232f3c;
  padding: 23px 0;
  text-align: center;
}

.aFooter {
  margin: 0 auto;
  max-width: 1050px;
}

.footerArea {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.fArea {
  box-sizing: border-box;
  padding-right: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

.fAreaz {
  width: 74.9%;
}

.fTxt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ul-fArea {
  list-style: none;
  line-height: normal;
}

.li-fArea {
  margin-bottom: 6px;
}

.a-fArea {
  color: #fff;
}

@media (max-width: 767px) {
  .aFooter {
    padding: 0 24px;
  }
  .fArea {
    margin-bottom: 12px;
    width: 100%;
  }
  .fAreaz {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .fArea {
    width: 24.9%;
  }
}

/* Popup Modal */
.popup {
  position: fixed;
  z-index: 1024;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.4s;
  text-align: center;
  white-space: nowrap;
}

.popup-area {
  position: relative;
  width: auto;
  margin: 0.5rem;
}

@media (min-width: 576px) {
  .popup-area {
    max-width: 500px;
    margin: 1.75rem auto;
  }
}

.popup-box {
  background: #fefefe;
  width: 100%;
  border-radius: 5px;
  animation: slideIn 0.4s;
  text-align: left;
}

.popup-header {
  padding: 0 7px;
  border-radius: 5px 5px 0 0;
  background: #007bff;
  color: #fff;
  text-align: center;
}

.popup-body {
  padding: 19px 10px 0;
}

.popup-footer {
  padding: 0 10px 15px;
  border-radius: 0 0 5px 5px;
  background: #fff;
  color: #000;
}

.close {
  color: #000;
  float: right;
  font-size: 25px;
  font-weight: bold;
  font-family: serif;
}

.close:hover,
.close:focus {
  color: #aaa;
  cursor: pointer;
}

@keyframes slideIn {
  from { bottom: -300px; opacity: 0; }
  to { bottom: 0; opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Spinner */
.spinner {
  margin: 10px auto;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-left-color: #16796a;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Botões */
.sButtom {
  background: #16796a;
  color: #fff;
  border-radius: 0.25rem;
  padding: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.sButtom:hover {
  opacity: 0.6;
}

.buttom-category {
  background: #16796a;
  color: #fff;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 16px;
  margin: 4px 2px;
  display: inline-block;
  cursor: pointer;
}

.buttom-category:hover {
  opacity: 0.6;
}

/* ===== Institucional (layout escuro) ===== */
:root{
  --legal-bg:#0b1020;
  --legal-surface:#0f172a;
  --legal-surface-2:#111c35;
  --legal-text:#e5e7eb;
  --legal-muted:#94a3b8;
  --legal-border:rgba(148,163,184,.18);
  --legal-accent:#22d3ee;
  --legal-danger:#ef4444;
  --legal-radius:16px;
  --legal-shadow:0 18px 55px rgba(0,0,0,.45);
  --legal-topbar-h:42px;
  --legal-header-h:62px;
}

body.legal-body{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(34,211,238,.12), transparent 55%),
    radial-gradient(700px 360px at 80% 10%, rgba(99,102,241,.10), transparent 60%),
    var(--legal-bg);
  color:var(--legal-text);
  min-height:100vh;
}

body.legal-body a{ color:inherit; }

.legal-topbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:var(--legal-topbar-h);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  background:rgba(2,6,23,.65);
  border-bottom:1px solid var(--legal-border);
  z-index:1000;
  font-weight:700;
  font-size:13px;
  letter-spacing:.2px;
}
.legal-topbar strong{ color:#fff; }
.legal-topbar span{
  color:var(--legal-muted);
  font-weight:600;
  margin-left:8px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:78vw;
}

.legal-header{
  position:sticky;
  top:var(--legal-topbar-h);
  z-index:900;
  background:linear-gradient(135deg,#0a58ca,#004a99);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--legal-border);
}
.legal-header-inner{
  height:var(--legal-header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 auto;
  max-width:1020px;
  padding:0 16px;
}
.legal-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-weight:800;
  letter-spacing:.2px;
}
.legal-brand img{
  width:36px;
  height:36px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--legal-border);
}
.legal-brand span{ font-size:15px; }

.legal-main{
  padding-top:calc(var(--legal-topbar-h) + 18px);
  padding-bottom:40px;
}
.legal-container{
  max-width:1020px;
  margin:0 auto;
  padding:0 16px;
}
.legal-card{
  margin-top:calc(var(--legal-header-h) + 16px);
  background:linear-gradient(180deg,var(--legal-surface),var(--legal-surface-2));
  border:1px solid var(--legal-border);
  border-radius:var(--legal-radius);
  box-shadow:var(--legal-shadow);
  padding:24px;
}
.legal-card h1{
  font-size:28px;
  line-height:1.15;
  margin:0 0 8px 0;
  font-weight:900;
}
.legal-updated{
  margin:0 0 18px 0;
  color:var(--legal-muted);
  font-size:13px;
  font-weight:600;
}
.legal-card h2{
  margin:22px 0 10px 0;
  font-size:16px;
  letter-spacing:.2px;
  font-weight:900;
}
.legal-card p{
  margin:10px 0;
  color:rgba(229,231,235,.92);
  line-height:1.75;
  font-size:15px;
}
.legal-card ul{
  margin:10px 0 10px 18px;
  padding:0;
}
.legal-card li{
  margin:8px 0;
  line-height:1.6;
  color:rgba(229,231,235,.92);
  font-size:15px;
}
.legal-note{
  margin:16px 0;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid var(--legal-border);
  background:rgba(2,6,23,.45);
  color:var(--legal-muted);
  font-weight:600;
  line-height:1.55;
}
.legal-note strong{ color:#fff; }
.legal-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--legal-border);
  background:rgba(2,6,23,.35);
  font-size:12px;
  margin:8px 0 10px 0;
}
.legal-badge i{ color:var(--legal-accent); }

.legal-footer{
  border-top:1px solid var(--legal-border);
  padding:26px 0;
  background:rgba(15,23,42,.55);
}
.legal-footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin:0 0 14px 0;
}
.legal-footer-nav a{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid var(--legal-border);
  border-radius:999px;
  background:rgba(2,6,23,.35);
  font-weight:800;
  font-size:13px;
}
.legal-footer-nav a:hover{
  border-color:rgba(34,211,238,.35);
  box-shadow:0 0 0 4px rgba(34,211,238,.08);
}
.legal-footer-copy{
  color:var(--legal-muted);
  font-size:13px;
  font-weight:600;
}

@media (max-width: 520px){
  :root{
    --legal-topbar-h:46px;
    --legal-header-h:58px;
  }
  .legal-card{ padding:18px; }
  .legal-card h1{ font-size:24px; }
  .legal-footer-nav a{ width:100%; text-align:center; }
  .legal-topbar span{ max-width:64vw; }
}
