/* Hero Section */
.help-hero {
  background: linear-gradient(135deg, #00BACE 0%, #0098a8 100%);
  padding: 60px 20px 80px; /* Padding extra embaixo para as abas */
  text-align: center;
  color: white;
}

.help-hero h1 {
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-container i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
}

.search-container input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  outline: none;
}

/* Tabs */
.help-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: -30px; /* Sobrepõe o hero */
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.help-tab {
  background: white;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-tab.active {
  background: #333;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.help-tab:hover:not(.active) {
  background: #f9f9f9;
}

/* Content */
.help-content {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  min-height: 300px;
}

.faq-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.faq-section.active {
  display: block;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background: white;
}

.accordion-header {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.accordion-header:hover {
  background: #f9fafb;
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: #00BACE;
}

.accordion-header.active i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #f9fafb;
}

.accordion-body p {
  padding: 20px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Contact Footer */
.help-contact {
  background: #f3f4f6;
  padding: 60px 20px;
  text-align: center;
  margin-top: 50px;
}

.help-contact h3 { margin-bottom: 10px; color: #333; }
.contact-options { display: flex; justify-content: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.contact-card { background: white; padding: 30px; border-radius: 12px; width: 200px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.contact-card i { font-size: 30px; color: #00BACE; margin-bottom: 15px; }
.contact-card h4 { margin-bottom: 5px; color: #333; }
.contact-card p { color: #666; font-size: 14px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .help-hero h1 { font-size: 2rem; }
  .help-tabs { flex-direction: column; align-items: center; margin-top: -20px; }
  .help-tab { width: 100%; justify-content: center; }

  .contact-options {
    flex-wrap: nowrap; /* Força ficar na mesma linha */
    gap: 10px; /* Diminui o espaço entre eles */
  }
  .contact-card {
    width: 100%; /* Ocupa o espaço disponível igualmente */
    padding: 20px 5px; /* Reduz padding interno para caber o texto */
    min-width: 0; /* Permite que o flex item encolha se necessário */
  }
  .contact-card p {
    font-size: 12px; /* Ajusta fonte para não quebrar layout */
  }
}