* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #222;
}

.topo {
  background: #08284a;
}

.banner-topo {
  width: 100%;
}

.banner-topo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ? MENU PARA PC — AGORA MAIS COMPACTO */
.menu-toggle {
  display: none !important;
}
.fechar-menu {
  display: none;
}
.fundo-menu {
  display: none;
}

.menu {
  background: #08284a;
  text-align: center;
  padding: 4px 8px; /* ? MENOR ALTURA */
}

.menu a {
  color: #fff;
  text-decoration: none;
  padding: 5px 8px; /* ? MENOR ESPAÇO */
  display: inline-block;
  font-weight: bold;
  font-size: 11px; /* ? FONTE UM POUCO MENOR */
  line-height: 1.2;
}

.menu a:hover {
  background: #1d4e89;
  border-radius: 3px;
}

/* LAYOUT */
.wrap {
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  gap: 20px;
  padding: 0 15px;
}

.main {
  flex: 1;
}
.conteudo {
  flex: 1;
}
.lateral {
  width: 280px;
}

.banner-principal,
.ultimas-noticias,
.conteudo,
.area-classificados,
.chamada,
.anuncio,
.box-lateral {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

h1, h2, h3 {
  color: #08284a;
}
.banner-principal h1 {
  margin-top: 0;
  font-size: 32px;
}
p {
  font-size: 17px;
  line-height: 1.5;
}

.botao,
.card a,
.classificado a,
.anuncio a {
  display: inline-block;
  margin-top: 10px;
  background: #08284a;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card,
.classificado {
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}
.classificados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.noticia {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}
.noticia:last-child {
  border-bottom: none;
}

/* CLASSIFICADOS */
.destaque-classificado h3 {
  color: #08284a;
  font-size: 24px;
  margin-bottom: 15px;
}
.galeria-classificado {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.galeria-classificado img {
  width: 40%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.lista-classificado {
  font-size: 17px;
  line-height: 1.6;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 50px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
}

/* RODAPÉ */
footer,
.rodape {
  background: #08284a;
  color: #fff;
  padding: 20px;
  text-align: center;
}
footer a,
.rodape a {
  color: #fff;
  text-decoration: none;
}

/* ?? CELULAR — TUDO COMO ESTAVA E FUNCIONANDO */
@media (max-width: 850px) {
  .menu-toggle {
    display: block !important;
    width: 100%;
    background: #08284a;
    color: #fff;
    border: 0;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
  }

  .menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #08284a;
    z-index: 10000;
    padding: 0;
    text-align: left;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  .menu.ativo {
    left: 0;
  }
  .menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .fechar-menu {
    display: block;
    width: 100%;
    background: #041d36;
    color: #fff;
    border: 0;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
  }
  .fundo-menu.ativo {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.55);
    z-index: 9999;
  }

  .wrap {
    display: block;
    width: 100%;
    margin: 15px auto;
    padding: 0 12px;
  }
  .main,
  .conteudo,
  .lateral {
    width: 100%;
  }
  .cards,
  .classificados-grid,
  .galeria-classificado {
    grid-template-columns: 1fr;
  }
  .banner-principal,
  .ultimas-noticias,
  .conteudo,
  .area-classificados,
  .chamada,
  .anuncio,
  .box-lateral {
    padding: 18px;
  }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  p { font-size: 16px; }
  .whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 12px 15px;
  }
}
