
:root {
  --primary: #274496;
  --secondary: #fbd037;
  --bg: #f8f9fb;
  --dark: #231f20;
  --gray-900: #0f172a;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --transition: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-links a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.header-btns {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #1d3574;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #f2c21c;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb i {
  font-size: 12px;
}

/* Help Hero */
.help-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #3a60c9 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.help-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.help-hero p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.help-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto 32px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.help-search i {
  padding: 16px;
  color: var(--gray-500);
}

.help-search input {
  flex: 1;
  border: none;
  padding: 16px 0;
  font-size: 1rem;
  outline: none;
}

.help-search button {
  border-radius: 0;
  white-space: nowrap;
}

.quick-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip:hover {
  background: rgba(255,255,255,0.25);
}

/* Status do Sistema */
.system-status {
  margin: 40px auto;
}

.status-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--success);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.status-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.online {
  background: #d1fae5;
  color: #065f46;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online {
  background: var(--success);
}

/* Guias Rápidos */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 40px;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.guide-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.guide-card ul {
  margin: 16px 0;
  padding-left: 20px;
  color: var(--gray-700);
}

.guide-card li {
  margin-bottom: 8px;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.guide-link:hover {
  text-decoration: underline;
}

/* Categorias */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.category-card .icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.category-card p {
  color: var(--gray-600);
  margin-bottom: 8px;
}

.count {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* FAQs */
.faq-group {
  margin-bottom: 48px;
}

.faq-group-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: var(--white);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question i {
  transition: var(--transition);
  color: var(--gray-500);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.link:hover {
  text-decoration: underline;
}

.popular-badge {
  background: var(--secondary);
  color: var(--dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.muted {
  color: var(--gray-500);
  font-style: italic;
}

/* Suporte */
.support-header {
  text-align: center;
  margin-bottom: 40px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}

.support-card .icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.support-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--gray-600);
  margin-bottom: 8px;
}

.response-time {
  font-size: 14px;
  color: var(--success);
  font-weight: 600;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
}

.close-btn:hover {
  color: var(--dark);
}

.form {
  padding: 0 24px 24px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-col-6 { flex: 0 0 calc(50% - 8px); }
.form-col-12 { flex: 0 0 100%; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 68, 150, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-800);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.gg {
  color: var(--secondary);
  font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-btns {
    display: none;
  }

  .help-hero h1 {
    font-size: 2rem;
  }

  .help-hero p {
    font-size: 1rem;
  }

  .help-search {
    flex-direction: column;
  }

  .help-search input {
    padding: 16px;
  }

  .help-search button {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .quick-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .status-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .guides-grid,
  .categories-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .form-col-6 {
    flex: 0 0 100%;
  }

  .form-actions {
    flex-direction: column;
  }
}
