@import url('/css/fase8.css');

/* ==========================
   RESET E BASE
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* faz o conteúdo principal ocupar o espaço e empurrar o footer para baixo */
}
@media (max-width: 768px) {
  .dicas-seguranca {
    display: none;
  }
}
/* HEADER */
header {
  background-color: white;
  padding: 1rem;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Container flexível */
.header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

/* Botão hambúrguer */
.menu-hamburguer {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Título com pesquisa abaixo */
.titulo-site {
  flex-grow: 1;
  text-align: center;
}

.titulo-site span {
  display: block;
}

.titulo-site form.search-form {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.search-form input {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 200px;
}

.search-form button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Links à direita */
.links-header {
  display: flex;
  gap: 15px;
  align-items: center;
}

.links-header a {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 16px;
}

/* Responsivo para telas pequenas */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .links-header {
    flex-direction: column;
    margin-top: 10px;
  }

  .titulo-site span {
    font-size: 1.5rem;
  }

  .search-form input {
    width: 100%;
    max-width: 300px;
  }
}

/* ÍCONE DO MENU HAMBÚRGUER */
.menu-hamburguer {
  font-size: 3rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  display: block;
  margin-right: 1rem;
}

/* LINKS À DIREITA DO HEADER */
.links-header {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 10px;
}

.links-header a {
  color: black !important;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.links-header a:hover {
  text-decoration: underline;
  color: black !important;
}

/* FORMULÁRIO DE BUSCA */
.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 10px;
}

.search-form input[type="text"],
.search-form input[type="search"] {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 25px 0 0 25px;
  outline: none;
  width: 220px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form button {
  padding: 10px 16px;
  background-color: #007bff;
  border: none;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #0056b3;
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .links-header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 0.5rem;
  }

  .menu-hamburguer {
    align-self: flex-end;
  }

  .search-form {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 10px;
  }

  .search-form input[type="text"],
  .search-form input[type="search"],
  .search-form button {
    width: 100%;
    border-radius: 8px;
  }

  .coluna-lateral {
    display: none;
  }
}

/* ==========================
   MENU LATERAL
========================== */
.menu-lateral {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color:black;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
}

.menu-lateral a {
  padding: 8px 32px;
  text-decoration: none;
  font-size: 1.2rem;
  color: white;
  display: block;
  transition: 0.3s;
}

.menu-lateral a:hover {
  background-color: #575757;
}

.menu-lateral .fechar {
  position: absolute;
  top: 10px;
  right: 20px;
  width: auto;
  margin: 0;
  padding: 4px 10px;
  border: 0;
  background: transparent;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.menu-lateral form {
  padding: 10px 20px;
}

.menu-lateral input,
.menu-lateral select,
.menu-lateral button {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.menu-lateral h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.1rem;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.menu-lateral label {
  color: #ccc;
  font-size: 0.95rem;
  margin-top: 5px;
  display: block;
}
button {
  background-color: red;
}
/* ==========================
   RODAPÉ
========================== */
footer {
  background-color: green;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: auto;
  font-size: 1rem;
  position: relative;
  z-index: 10;
}
/*FIM*/

.coluna-lateral .publicidade-lateral img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.rodape-site{background:#c4170c;padding:20px;text-align:center;color:#fff}.rodape-site nav{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.rodape-site a{color:#fff;font-weight:700}.rodape-site p{margin:10px 0 0}

/* Paginação da página principal: 12 anúncios por página. */
.paginacao {
  grid-column: 1 / -1;
  width: 100%;
  margin: 8px 0 4px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .1);
  text-align: center;
}

.paginacao-botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.paginacao-botoes a {
  min-width: 42px;
  padding: 9px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
  color: #b5120a;
  text-decoration: none;
  font-weight: 700;
}

.paginacao-botoes a:hover,
.paginacao-botoes a:focus,
.paginacao-botoes a.ativo {
  border-color: #cf160d;
  background: #cf160d;
  color: #fff;
}

/* ==========================
   PUBLICIDADE DINÂMICA
========================== */
.area-publicidade {
  width: min(1200px, calc(100% - 32px));
  margin: 20px auto 0;
}

.publicidade-identificacao {
  display: block;
  margin-bottom: 5px;
  color: #777;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.carrossel-publicidade {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #e9e9e9;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .12);
}

.publicidade-topo .carrossel-publicidade {
  aspect-ratio: 24 / 5;
  min-height: 110px;
}

.publicidade-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.publicidade-slide.ativo {
  display: block;
  animation: publicidadeEntrada .45s ease;
}

.publicidade-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publicidade-lateral {
  aspect-ratio: 7 / 12;
  width: 100%;
}

.coluna-lateral .publicidade-lateral img {
  margin: 0;
  border-radius: 0;
}

.publicidade-indicadores {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .38);
}

.publicidade-indicadores button {
  width: 9px;
  height: 9px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}

.publicidade-indicadores button.ativo {
  background: #fff;
  transform: scale(1.2);
}

@keyframes publicidadeEntrada {
  from { opacity: .2; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .publicidade-topo .carrossel-publicidade {
    aspect-ratio: 16 / 5;
    min-height: 90px;
  }
}

/* ==========================
   DICAS DE SEGURANÇA
========================== */
.container-seguranca {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Títulos vermelhos */
.container-seguranca h2 {
  font-size: 1.8rem; /* Aumentado */
  margin-bottom: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d00000;
}

/* Lista de dicas */
.container-seguranca ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #333;
  font-weight: normal;
}

/* Parágrafos gerais */
.container-seguranca p {
  margin-bottom: 12px;
  line-height: 1.6;
  font-weight: normal;
}

/* Último parágrafo (texto cinza claro) */
.container-seguranca p:last-of-type {
  font-size: 1.15rem; /* Aumentado */
  color: #555;
}

/* Destaques */
.container-seguranca strong {
  color: #000;
  font-weight: bold;
}

/* Botão (caso tenha) */
.container-seguranca button {
  margin-top: 20px;
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
}

.container-seguranca button:hover {
  background-color: #b71c1c;
}

/* Último parágrafo (texto cinza claro no final do aviso) */
.container-seguranca p:last-of-type {
  font-size: 1.2rem;   /* Aumentado */
  color:red;         /* Mais escuro para melhor leitura */
  font-weight: normal;
  line-height: 1.7;
}

/* ==========================
   RESPONSIVO (CELULAR)
========================== */
@media (max-width: 768px) {
  .container-seguranca {
    padding: 20px;
    margin: 20px 10px;
  }

  .container-seguranca h2 {
    font-size: 1.6rem;
    flex-wrap: wrap;
    text-align: left;
  }

  .container-seguranca p,
  .container-seguranca li {
    font-size: 1.1rem;
  }

  .container-seguranca button {
    font-size: 1.1rem;
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
  }
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .menu-hamburguer {
    align-self: flex-start;
    display: block;
  }

  .links-header {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 0.5rem;
  }

  .search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 10px;
  }

  .search-form input {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 320px; /* AUMENTADO de 250px para 320px */
  }
  .search-form button {
    padding: 6px 12px;
    background-color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .grid-anuncios,
  .anuncios-centro {
    grid-template-columns: 1fr;
  }

  .coluna-lateral {
    display: none;
  }

  footer {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .anuncio-form-container {
    max-width: 100%;
    margin: 20px;
    padding: 20px;
    font-size: 1.1rem;
  }

  .anuncio-form-container h2 {
    font-size: 1.8rem;
  }

  .anuncio-form-container input,
  .anuncio-form-container textarea,
  .anuncio-form-container select {
    font-size: 1.1rem;
    padding: 14px;
  }

  .anuncio-form-container button {
    font-size: 1.1rem;
    padding: 14px;
  }
}
.container-seguranca {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 10px;
}

/*FIM*/

/* ==========================
   ESTILO: MEUS ANÚNCIOS
========================== */
main.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h2 {
  color: #333;
  margin-bottom: 1.5rem;
}

.grid-anuncios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.anuncio-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  background-color: #f9f9f9;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.anuncio-box:hover {
  transform: translateY(-5px);
}

.anuncio-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.anuncio-box h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #222;
}

.anuncio-box p {
  margin: 0.3rem 0;
  color: #444;
}

.acoes {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-editar,
.btn-excluir {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.btn-editar {
  background-color: #007bff;
}

.btn-excluir {
  background-color: #dc3545;
}

.btn-editar:hover {
  background-color: #0056b3;
}

.btn-excluir:hover {
  background-color: #b02a37;
}
/*FIM*/

/* ==========================
   LISTAGEM DE ANÚNCIOS
========================== */
.grid-anuncios,
.anuncios-centro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.card-anuncio {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-anuncio img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-anuncio img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.card-anuncio h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #000;
}

.card-anuncio p {
  font-size: 0.95rem;
  color: #444;
  margin: 4px 0;
}

.card-anuncio a.btn-detalhes {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #d00000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-ligar {
  display: inline-block;
  margin-top: 5px;
  padding: 6px 10px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.btn-ligar:hover {
  background-color: #1ebe57;
}

.icone-whatsapp {
  font-size: 20px;
  color: #25D366;
  margin-right: 5px;
  vertical-align: middle;
}

/* ==========================
   COLUNA LATERAL (BANNERS)
========================== */
.container-flex {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 20px;
  align-items: flex-start;
}

.anuncios-centro {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.coluna-lateral {
  flex: 1;
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  max-width: 300px;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.espaco-publicidade-lateral + .espaco-publicidade-lateral {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.coluna-lateral h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #111;
}

.coluna-lateral img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}
/* ==========================
   RESPONSIVO (TABLET E CELULAR)
========================== */

/* TABLET */
@media (max-width: 900px) {
  .grid-anuncios,
  .anuncios-centro {
    grid-template-columns: 1fr;
  }

  .card-anuncio {
    flex-direction: column; /* Corrigido: antes era row */
    text-align: center;
    gap: 10px;
    align-items: center;
  }

  .card-anuncio img {
    width: 100%; /* Corrigido: ocupar todo o card */
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
    object-fit: cover;
  }

  .card-anuncio-conteudo {
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-anuncio h3,
  .card-anuncio p,
  .btn-ligar,
  .btn-detalhes {
    margin: 4px 0;
  }
}

/* CELULAR */
@media (max-width: 768px) {
  .card-anuncio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .card-anuncio img {
    width: 90%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .card-anuncio-conteudo {
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/*fim*/
/* ==========================
   FORMULÁRIO DE ANÚNCIO
========================== */
.anuncio-form-container {
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  padding: 30px 25px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  font-weight: bold;
  box-sizing: border-box;
}


.anuncio-form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: black;
  font-size: 26px;
}

.anuncio-form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.anuncio-form-container input,
.anuncio-form-container textarea,
.anuncio-form-container select {
  padding: 12px;
  font-size: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-weight: bold;
}

.anuncio-form-container textarea {
  resize: vertical;
}

.anuncio-form-container label {
  margin-top: 10px;
  font-size: 20px;

}

.checkbox-opcionais {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: red;
}
.anuncio-form-container label {
  color:black;
}

.anuncio-form-container button {
  padding: 12px;
  background-color: red; /* alterado de white para red */
  color: white; /* adicionado para contraste */
  border: none;
  border-radius: 6px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.anuncio-form-container button:hover {
  background-color: darkred; /* cor mais escura ao passar o mouse */
}

.anuncio-form-container a {
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  text-decoration: none;
  color: red;
  font-size: 25px;
  background-color: WHITE;
  border: 1px solid red;
}

.erro-fotos {
  background-color: white;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
  color: red;
}

.aviso-gratis {
  display: none;
  background-color:white;
  color: #2e7d32;
  padding: 10px;
  border-left: 4px solid #2e7d32;
  margin-bottom: 20px;
  font-weight: bold;
}

#aviso-plano {
  background: #f0f0f0;
  padding: 10px;
  margin-bottom: 15px;
  border-left: 4px white;
  font-weight: bold;
  font-size: 20px;
  font-weight: bold;
  background-color: white;
}

#preco-plano {
  background-color: white;
  padding: 8px;
  border-radius: 5px;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

#preco-plano .texto-valor-plano {
  color:red;
}
/*FIM*/
/* ==========================
   MEUS ANÚNCIOS (GRADE)
========================== */
main.container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f5f5;
}
.grid-anuncios {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* FORÇA 4 colunas fixas */
  gap: 25px;
  margin-top: 20px;
}

.anuncio-box {
  max-width: 320px; /* limite para não esticar em colunas únicas */
  width: 100%;
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto; /* centraliza quando estiver sozinho */
}

.anuncio-box img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.anuncio-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.anuncio-box h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #000;
}

.anuncio-box p {
  font-size: 0.95rem;
  color: #444;
  margin: 4px 0;
}

.acoes {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-editar, .btn-excluir {
  padding: 6px 10px;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.btn-editar {
  background-color: #007bff;
}

.btn-editar:hover {
  background-color: #0056b3;
}

.btn-excluir {
  background-color: #dc3545;
}

.btn-excluir:hover {
  background-color: #b02a37;
}
.grid-anuncios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* HEADER */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 1rem;
  flex-wrap: nowrap;
}

/* Garante que o título fique centralizado sempre */
.titulo-site {
  flex-grow: 1;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Título central com ajuste interno */
.titulo-site {
  flex-grow: 1;
  text-align: center;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.search-icon {
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  padding-left: 10px;
}

/* Campo de busca */
#searchBox {
  display: none;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

#searchBox input {
  padding: 8px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 300px; /* OU 250px, se quiser menor */
  max-width: 90%;
}


/* ALINHAMENTO CORRETO TAMBÉM NO MOBILE */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .titulo-site {
    font-size: 1rem;
  }
}
#searchBox input {
  width: 300px;
  max-width: 90%;
}

/* Esconde links no celular */
@media (max-width: 768px) {
  .links-header {
    display: none;
  }
}
/*FIM*/
/*ANIMAÇÃO HEADER*/
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 8s linear infinite;
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
}
/* LINKS DO HEADER EM BRANCO */
.links-header a {
  color: white !important;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s;
}

.links-header a:hover {
  text-decoration: underline;
  color: #f0f0f0 !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/*FIM*/

/* Mantém o banner lateral sem margens herdadas dos banners antigos. */
.coluna-lateral .publicidade-lateral img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
