/* =============================================
   STYLE.CSS — estilos específicos da home
   (index.html). Depende de main.css.
   ============================================= */

/* ── Serviços / Cards ─────────────────────── */

.container-pieces {
  max-width: 60%;
  margin: var(--espacamento-secao) auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.container-pieces h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

.container-cards {
  display: flex;
  gap: 1rem;
}

.card {
  background-color: var(--cor-branco);
  border: 2px solid #0d0e0d;
  border-radius: 10px;
  box-shadow: 5px 5px 0 #0d0e0d;
  padding: 2.5rem 2rem;
  flex: 1;
}

.card h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Responsivo ───────────────────────────── */

@media (max-width: 1184px) {
  .container-pieces h2 {
    font-size: 2rem;
  }

  .card h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 892px) {
  .container-pieces {
    max-width: 90%;
    margin: 2rem auto;
  }

  .container-cards {
    flex-direction: column;
  }

  .container-header {
    max-width: 100%;
  }
}

/* Só esconde abaixo de 480px, onde não cabe mesmo */
@media (max-width: 480px) {
  .stars-img {
    display: none;
  }

  .titles {
    max-width: 100%;
  }
}
