* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #262626;
    color: white;
    width: 100%;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

header .logo {
    height: 40px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.titulo {
    font-size: 1.5rem;
    text-align: center;
}

.card-aviso {
  background-color: #0f0f0f;
  border-left: 4px solid #003292;
  padding: 1.5rem;
  border-radius: 8px;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 900px;
  width: 100%;
}

.card-aviso strong {
  color: #fff;
}

.icones-mapas {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.icone-acao {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ccc;
  transition: transform 0.3s;
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  fill: #bfbfbf;
  transition: filter 0.3s, transform 0.3s;
}

.icone-acao span {
  font-size: 0.85rem;
  font-weight: bold;
  color: #bfbfbf;
}

.icon:hover  {
  transform: scale(1.15);
  fill: #ccc;
}

.icone-acao:hover span {
  color: #fff;
}

.container-filtros {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 900px;
}

.search {
  flex: 1;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  border: 1px solid #868686;
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
  min-width: 250px;
}

.search::placeholder {
  color: #fff;
}

.filtro-ordenacao select {
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  border: 1px solid #555;
  background-color: #868686;
  color: white;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  min-width: 220px;
  text-align: center;
  margin: 0 auto;
}

.motos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-top: 1rem;    
}

.moto-card {
    background-color: #0f0f0f;
    border-radius: 8px;
    padding: 1rem;
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(8, 8, 8, 0.474);
    
}

.moto-card:hover {
    transform: scale(1.05);
}

.moto-card h3 {
    position: absolute;
    top: 10px;   
    left: 10px;  
    font-size: 3rem;
    opacity: 0.7;
    pointer-events: none; 
}

.moto-card img {
    width: 100%;
    max-width: 400px;
    object-fit: contain;
}

/* Aqui começa os mapas */
.mapas-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    grid-auto-rows: 1fr;
    margin-top: 1rem;
}

.mapa-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(8, 8, 8, 0.474);
}

.mapa-topo {
  background-color: rgba(116, 115, 115, 0.067);
  padding: 1rem 1.2rem 0.5rem 1.2rem;
}


.mapa-conteudo {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #0f0f0f;
  padding: 1rem 1.2rem;
  border-radius: 0 0 8px 8px;
}

.mapa-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ccc;
}

.mapa-nome {
  font-size: 1.4rem;
  margin: 0.3rem 0 0.6rem 0;
  font-weight: bold;
  color: #fff;
}

.mapa-card p {
  font-size: 0.85rem;
  margin: 0.2rem 0;
  color: #ccc;
}

.mapa-card p strong {
  color: #fff;
  font-weight: 600;
}

.link-whatsapp {
  color: #2a7cff; 
  text-decoration: underline;
  font-weight: 500;
}

.link-whatsapp:hover {
  color: #fff;
  text-decoration: underline;
}

.botao-download {
  margin-top: .5rem;
  align-self: flex-end;
  background-color: transparent;
  border: 1px solid #2a7cff;
  color: #2a7cff;
  padding: 0.4rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.botao-download:hover {
  background-color: #2a7cff;
  color: #000;
}


/* Aqui acaba os mapas */


@media (max-width: 720px) {

    .titulo{
    font-size: 1rem;
    }
    .motos-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 300px);

    }

    .moto-card.cbr {
        grid-column: auto;
    }

      .mapas-container{
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

    .filtro-ordenacao select{
    font-size: .8rem;
    min-width: 175px;
  }

  .container-filtros{
    gap: 3rem;
  }

}