/* Definir a fonte Poppins */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

/* Página de Marcas */
.marcas-page {
  text-align: center;
  padding: 40px 20px;
}

.marcas-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    color: var(--primary-red);
    margin-bottom: 30px;
}

.marcas-separator {
  width: 960px;
  max-width: 100%;
  border: 1px solid #000;
  margin: 0 auto 20px auto;
}

/* Grid principal */
.marcas-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Cada linha */
.linha {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Bloco de marca */
.marca {
    width: 100%;
    height: 100%;
    /*  background: #d9d9d9;
  border: 1px solid #bfbfbf;*/
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marca:hover {
  transform: translateY(-8px);
  box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.2);
}

/* ====== Versão Mobile (Celulares) ====== */
@media (max-width: 680px) {

  /* ===== CONFIGURAÇÃO GERAL ===== */
  html,
  body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  main {
    width: 100%;
  }

  #header,
  #footer {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .marcas-page {
    text-align: center;
    padding: 40px 15px;
  }

  .marcas-grid {
    display: flex;
    gap: 20px;
    justify-items: center;
  }

  .marcas-grid .linha {
    display: contents;
  }

    .marcas-grid .marca {
        width: 100%;
        height: 100%;
        border-radius: 9px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}