:root{
  --bg:#0f1115;
  --surface:#151823;
  --text:#f5f7fb;
  --muted:#c7cbd6;
  --gold:#d5b63d;

  --line:rgba(213,182,61,.26);
  --card:rgba(255,255,255,.055);
  --card2:rgba(255,255,255,.085);

  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:18px;
  --max:1100px;
}

/* RESET */
*{box-sizing:border-box}
html, body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(213,182,61,.14), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(213,182,61,.11), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(255,255,255,.06), transparent 60%),
    var(--bg);
  color:var(--text);
}

/* links sem azul */
a, a:visited { color: inherit; }
a:hover { opacity: .95; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* HEADER */
.top{
  border-bottom:1px solid var(--line);
  background: linear-gradient(180deg, rgba(21,24,35,.88), rgba(15,17,21,.88));
  position:sticky;
  top:0;
  backdrop-filter: blur(10px);
  z-index:5;
}
.top .container{ padding-top:6px; }

.brand{
  display:flex;
  gap:14px;
  align-items:center;
  padding:16px 0 12px;
}

/* ✅ PADRÃO ÚNICO da marca (remove conflitos) */
.brand-mark{
  width:86px;                 /* caixa do logo */
  height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(255,255,255,.03);
  flex: 0 0 auto;
}
.brand-logo{
  height:74px;                /* altura do logo dentro da caixa */
  width:auto;
  display:block;
  object-fit:contain;
}

.brand-title{
  font-weight:850;
  font-size:16px;
}
.brand-sub{
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
  opacity:.92;
}

/* BOTÕES */
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0 0 14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:750;
  font-size:14px;
  border:1px solid transparent;
  transition:transform .12s ease, opacity .12s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-gold{
  background: linear-gradient(180deg, #d5b63d, #b99828);
  color:#111;
}
.btn-outline{
  background: rgba(255,255,255,.05);
  border-color: var(--line);
  color: var(--text);
}

/* SEÇÕES */
.section{ padding:46px 0; }
.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* HERO */
.hero{ padding-top:34px; }
.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

/* ✅ TÍTULOS (igualar com Associações/Institucional) */
h1{
  font-size:56px;             /* <- aqui resolve a diferença visual */
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.6px;
}
h2{
  font-size:24px;
  margin:0 0 12px;
}
h3{
  font-size:16px;
  margin:0 0 8px;
}

p{
  color:var(--muted);
  line-height:1.65;
  font-size:15.5px;
}
strong{ color: var(--text); }

ul, ol{
  margin:14px 0 0;
  padding-left:18px;
  color:var(--muted);
}
li{ margin:6px 0; }

/* GRID / CARDS */
.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}

.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.card:hover{ background: var(--card2); }

.note{ color:var(--text); opacity:.92; }

/* MINI CARDS */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:16px;
}
.mini{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
}
.mini:hover{ background: var(--card2); }

/* CONTATO */
.contact{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.contact-meta{
  margin-top:12px;
  display:grid;
  gap:8px;
  color: var(--muted);
}

.tag{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size:12px;
  margin-right:8px;
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:13px;
}

.footnote{
  font-size:12px;
  opacity:.85;
  color: var(--muted);
}

/* FOOTER */
.footer{
  padding:22px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
}
.footer .container{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.muted{ opacity:.85; }

/* RL MARCA D’ÁGUA */
.rl-watermark{
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 70px;
  max-width: 70px;
  height: auto;
  opacity: .18;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.55));
}

/* RESPONSIVO */
@media (max-width: 920px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .grid{ grid-template-columns: 1fr; }

  /* mantém título grande, mas proporcional no mobile */
  h1{ font-size:34px; line-height:1.12; letter-spacing:-.3px; }

  /* marca (logo) no topo */
  .brand-mark{
    width:72px;
    height:72px;
    border-radius:16px;
  }
  .brand-logo{
    height:58px;
  }
}
