

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: black;
  font-family: "Nunito Sans", sans-serif;
  text-align: center;
  overflow-x: hidden; /* Evita rolagem horizontal */
}

.texto-principal h1 {
  color: white;
  margin-top: 5%;
  font-size: 55px;
}

.texto-principal-2 h1 {
  font-size: 55px;
  color: white;
}

.texto-principal strong {
  color: #c6ff3d;
}

.textos-menores {
  color: white;
  margin-top: 5px;
  padding: 0 15px; /* Adiciona um respiro nas laterais */
}

.texto-central h2 {
  font-size: 35px;
  color: #c6ff3d;
}

.texto-central {
  margin-top: 100px;
}

.cards-linha {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
  padding: 0 20px; /* Adiciona espaçamento lateral */
}

.cards-linha .texto-card,
.cards-linha .texto-card2 {
  max-width: 350px;
  text-align: center;
}

.cards-linha .texto-card h3,
.cards-linha .texto-card2 h3 {
  color: #c6ff3d;
  margin-bottom: 20px;
  font-size: 25px;
}

.cards-linha .texto-card p,
.cards-linha .texto-card2 p {
  color: rgb(159, 146, 146);
}

.cards-linha .img img {
  width: 50px;
  height: 50px;
  display: block;
}

.texto-card-nome h2 {
  color: #c6ff3d;
  margin-top: 80px;
  font-size: 40px;
}

.valores-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px; /* Adiciona espaçamento lateral */
}

.valor-card {
  background-color: #1d1c1c;
  border-radius: 8px;
  padding: 20px 15px; /* Aumentado padding para mais respiro */
  width: 100%; /* Ocupa a largura do grid */
  max-width: 250px; /* Limita a largura máxima */
  text-align: center;
  box-sizing: border-box;
}

.valor-icone {
  font-size: 28px;
  color: #c6ff3d;
  margin-bottom: 12px;
}

.valor-card h3 {
  color: #c6ff3d;
  font-size: 20px;
  margin-bottom: 10px;
}

.valor-card p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.4;
}

/* ===== Footer de Chamada ===== */
.cta-footer {
  background: #c6ff3d;
  width: 100%;
  text-align: center;
  padding: 50px 20px;
  margin-top: 80px;
}

.cta-text {
  font-weight: 900;
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: #000;
  color: #fff;
  font-weight: 900;
  padding: 10px 40px;
  border-radius: 6px;
  border: none;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.cta-button:hover {
  background: #222;
}


/* ================================================= */
/* ============== MEDIA QUERIES (RESPONSIVIDADE) ==== */
/* ================================================= */


/* Para Tablets e telas menores (até 768px) */
@media (max-width: 768px) {
  .texto-principal h1,
  .texto-principal-2 h1 {
    font-size: 45px; /* Reduz o tamanho da fonte principal */
  }

  .texto-central h2 {
    font-size: 30px; /* Reduz o tamanho do subtítulo */
  }

  .texto-card-nome h2 {
    font-size: 32px; /* Reduz o título "Nossos Valores" */
  }

  .cards-linha {
    flex-direction: column; /* Empilha os cards verticalmente */
    gap: 40px; /* Ajusta o espaçamento entre os cards empilhados */
  }

  /* Rotaciona o ícone central para manter a lógica visual */
  .cards-linha .img img {
      transform: rotate(90deg);
  }

  .cta-text {
    font-size: 24px; /* Reduz a fonte do footer */
  }

  .cta-button {
    font-size: 18px;
    padding: 10px 35px;
  }
}


/* Para Celulares (até 480px) */
@media (max-width: 480px) {
  .texto-principal h1,
  .texto-principal-2 h1 {
    font-size: 36px; /* Reduz ainda mais a fonte principal */
    line-height: 1.2; /* Melhora a legibilidade */
  }

  .textos-menores {
    font-size: 14px;
  }
  
  .texto-central {
    margin-top: 80px; /* Reduz o espaçamento superior */
  }

  .texto-central h2 {
    font-size: 26px;
  }

  .texto-card-nome h2 {
    font-size: 28px;
  }

  .valores-container {
    grid-template-columns: 1fr; /* Força uma única coluna de cards */
    max-width: 300px; /* Centraliza melhor o card único */
  }
  
  .cta-footer {
      padding: 40px 15px;
  }

  .cta-text {
    font-size: 20px;
  }

  .cta-button {
    font-size: 16px;
    padding: 12px 30px; /* Aumenta a área de toque */
    width: 100%; /* Faz o botão ocupar a largura toda */
    max-width: 300px;
  }
}