:root{
  --bg: #f5f7fb;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #0b5ed7;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
}

*{ box-sizing: border-box; }
html{
  overflow-y: scroll;
}
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container{ width: min(1100px, 92%); margin: 0 auto; }

header{
  position: sticky;
  top: 0;
  background: #0f172a;
  z-index: 10;
  /* remove height: 70px; */
}
.brand {
  display: flex;
  align-items: center;
  height: 100%;
}

.brand img {
  height: 48px;          /* controla o tamanho da logo */
  width: 48px;
  object-fit: cover;
  border-radius: 50%;    /* deixa redonda */
}
nav{
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand{
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  text-decoration: none;
  gap: 12px;
}
.menu{
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.menu a{
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  display: inline-block;
}
.menu a:hover{ background: rgba(255,255,255,.08); color: #fff; }
.menu a.active{ background: var(--brand); color: #fff; }

main{ padding: 40px 0 60px; }

.hero{
  background: var(--card);
  border-radius: 18px;
  padding: 34px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero h1{ margin: 0 0 10px; font-size: clamp(26px, 3vw, 40px); }
.hero p{ margin: 0 auto; max-width: 720px; color: var(--muted); font-size: 16px; }

.grid{
  margin-top: 22px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.card{
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}
.card h3{ margin: 0 0 6px; }
.badge{
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,94,215,.12);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}

.section-title{
  margin: 32px 0 14px;
  font-size: 22px;
}

.list{
  display: grid;
  gap: 12px;
}
.item{
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.item small{ color: var(--muted); }

.btn{
  background: var(--brand);
  color: #fff;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

footer{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 16px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
  nav{ flex-direction: column; gap: 10px; }
}
.banner {
  width: 100%;
  min-height: calc(100vh - 32px);
  background-image: url("img/centrosocialcarrossel.png");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #f5f7fb;
  position: relative;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.32));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
main.container{
  padding-top: 0;
}

.banner + main.container{
  margin-top: 40px;
}

.contato-card{
  text-align: left;
}

.contato-card h3{
  text-align: center;
  margin-bottom: 16px;
}

.contato-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.contato-item:last-child{
  margin-bottom: 0;
}

.contato-item .label{
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.contato-item .valor{
  font-size: 15px;
  line-height: 1.5;
}

.contato-item a{
  color: var(--brand);
  text-decoration: none;
  word-break: break-word;
}

.contato-item a:hover{
  text-decoration: underline;
}

@media (max-width: 860px){
  .banner{
    min-height: 72vh;
  }
}
