@import url('https://fonts.googleapis.com/css2?family=Cabin:wght@400;500;600;700&display=swap');
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cabin", sans-serif;
}

.ferramentas-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1rem;
  background: #f7f7f700;
}
.search-form {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.social-icon {
  margin: 0 8px;
  display: none;
  font-size: 22px;
  color: #fff;
  transition: transform 0.2s, color 0.2s;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Ajuste do logo ChatGPT */
.chatgpt-icon {
  margin-top: 30px;
  height: 27px;
  filter: invert(100%); /* deixa branco para combinar */
  transition: transform 0.2s;
}

.social-icon:hover .chatgpt-icon {
  transform: scale(1.2);
  filter: invert(63%) sepia(91%) saturate(444%) hue-rotate(102deg) brightness(90%) contrast(92%);
  /* fica verde no hover (cor oficial OpenAI) */
}

.search-form input {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px 0 0 20px;
  outline: none;
  width: 400px;
  height: 40px;
}

.search-form button {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-left: none;
  background: #0073e6;
  color: white;
  cursor: pointer;
  height: 40px;
  border-radius: 0 20px 20px 0;
}

.ferramenta-card {
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 180px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.ferramenta-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
}

.ferramenta-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem 1rem;
  color: #222;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  gap: 1.2rem;
}

.ferramenta-card i {
  font-size: 2.8rem;
  color: #0077ff;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.ferramenta-card:hover i {
  color: #005bb5;
}
@media (min-width: 1024px) {
  .social-icon {
    display: inline-block;
  }
}