/* ===== PÁGINA DE AJUDA IMEDIATA ===== */

.ajuda-hero {
  background: linear-gradient(135deg, #09101c 0%, #1a1a2e 100%);
  color: #ffffff;
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ajuda-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1506905925346-14bda5d7aa97?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80')
    no-repeat center center;
  background-size: cover;
  opacity: 0.1;
}

.ajuda-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.ajuda-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.ajuda-hero-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.ajuda-hero-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Seção de Recursos de Apoio */
.recursos-apoio-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.recursos-apoio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.recursos-apoio-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin-bottom: 3rem;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.recurso-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.recurso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.recurso-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7b42ff, #ff4a18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  font-size: 2rem;
}

.recurso-title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.recurso-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

.recurso-btn {
  background: #7b42ff;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.recurso-btn:hover {
  background: #5a1bc7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 66, 255, 0.3);
}

.emergency-btn {
  background: #ff4a18;
}

.emergency-btn:hover {
  background: #e63900;
  box-shadow: 0 8px 25px rgba(255, 74, 24, 0.3);
}

/* Seção de Emergência */
.emergencia-section {
  background: #09101c;
  color: #ffffff;
  padding: 80px 0;
}

.emergencia-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.emergencia-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
}

.emergencia-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

.emergencia-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.emergencia-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex: 0 0 calc(33.333% - 1.34rem);
  max-width: 300px;
  min-width: 280px;
}

.emergencia-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.emergencia-number {
  font-family: 'Boldonse', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #ff4a18;
  margin-bottom: 1rem;
}

.emergencia-name {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.emergencia-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.emergencia-link {
  background: #ff4a18;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.emergencia-link:hover {
  background: #e63900;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 74, 24, 0.3);
}

/* Seção de Autocuidado */
.autocuidado-section {
  background: #ffffff;
  padding: 80px 0;
}

.autocuidado-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.autocuidado-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin-bottom: 3rem;
}

.dicas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.dica-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.dica-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dica-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7b42ff, #ff4a18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  font-size: 1.5rem;
}

.dica-title {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1rem;
}

.dica-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
  .ajuda-hero-title {
    font-size: 2.5rem;
  }

  .ajuda-hero-subtitle {
    font-size: 1.1rem;
  }

  .recursos-apoio-title,
  .emergencia-title,
  .autocuidado-title {
    font-size: 2rem;
  }

  .recursos-grid,
  .dicas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .emergencia-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .emergencia-item {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: auto;
  }

  .recurso-card,
  .emergencia-item,
  .dica-card {
    padding: 1.5rem;
  }

  .emergencia-number {
    font-size: 2.5rem;
  }
}

/* Seção de Serviços de Saúde Mental */
.servicos-saude-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.servicos-saude-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.servicos-saude-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin-bottom: 1rem;
}

.servicos-saude-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.servicos-grid.hidden {
  display: none;
}

.servico-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.servico-chip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #7b42ff, #ff4a18);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.servico-card.servico-emergencia .servico-chip {
  background: linear-gradient(135deg, #ff4a18, #d12b00);
}

.servico-card.servico-protecao .servico-chip {
  background: linear-gradient(135deg, #ff4a18, #d12b00);
}

.servico-btn {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

/* Detalhes dos Serviços */
.servicos-detalhes-wrapper {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.servicos-detalhes-wrapper.active {
  display: flex;
}

.servico-detalhe {
  display: none;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

.servico-detalhe.active {
  display: flex;
  flex-direction: column;
}

.servico-detalhe-header {
  background: linear-gradient(135deg, #2a2a4e 0%, #1a1a2e 100%);
  color: #ffffff;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-left: 4px solid #ff4a18;
}

.servico-detalhe-header.servico-emergencia-header {
  border-left-color: #ff4a18;
}

.servico-detalhe-header.servico-protecao-header {
  border-left-color: #ff4a18;
}

.servico-detalhe-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 74, 24, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 74, 24, 0.3);
}

.servico-detalhe-info {
  flex: 1;
  min-width: 200px;
}

.servico-detalhe-info h3 {
  font-family: 'Boldonse', sans-serif;
  font-size: 1.8rem;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
}

.servico-detalhe-info p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.servico-detalhe-header .servico-chip {
  position: static;
  background: rgba(255, 74, 24, 0.25);
  border: 1px solid rgba(255, 74, 24, 0.4);
  flex-shrink: 0;
}

.servico-detalhe-content {
  padding: 2rem;
  display: grid;
  gap: 2rem;
}

.servico-detalhe-item h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 0.75rem;
}

.servico-detalhe-item p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.servico-detalhe-item ul {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
  padding-left: 1.5rem;
}

.servico-detalhe-item ul li {
  margin-bottom: 0.5rem;
}

.servico-detalhe-link {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #ff4a18 0%, #ff7c45 100%);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-decoration: none;
  margin: 0 2rem 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 74, 24, 0.3);
}

.servico-detalhe-link:hover {
  background: linear-gradient(135deg, #ff5a28 0%, #ff8c55 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 74, 24, 0.4);
}

.servico-voltar {
  align-self: center;
  background: transparent;
  border: none;
  color: #7b42ff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 1rem 0 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.servico-voltar:hover {
  color: #ff4a18;
  transform: translateX(-4px);
}

.servico-voltar i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .servicos-saude-title {
    font-size: 2rem;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .servico-detalhe-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .servico-detalhe-header .servico-chip {
    align-self: center;
  }

  .servico-detalhe-content {
    padding: 1.5rem;
  }

  .servico-detalhe-link {
    margin: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .ajuda-hero {
    padding: 100px 0 60px 0;
  }

  .ajuda-hero-title {
    font-size: 2rem;
  }

  .recursos-apoio-section,
  .emergencia-section,
  .autocuidado-section,
  .servicos-saude-section {
    padding: 60px 0;
  }

  .recursos-apoio-container,
  .emergencia-container,
  .autocuidado-container,
  .servicos-saude-container {
    padding: 0 1rem;
  }

  .servicos-saude-title {
    font-size: 1.75rem;
  }

  .servico-detalhe-header {
    padding: 1.5rem;
  }

  .servico-detalhe-content {
    padding: 1.25rem;
  }

  .servico-detalhe-link {
    margin: 0 1rem 1rem;
    padding: 14px 20px;
  }
}

/* Seção do Mapa de Serviços */
.mapa-servicos-section {
  background: #09101c;
  color: #ffffff;
  padding: 80px 0;
}

.mapa-servicos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mapa-servicos-title {
  font-family: 'Boldonse', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}

.mapa-servicos-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.mapa-servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 2.5rem;
}

.mapa-servicos-grid a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.mapa-servicos-grid a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(123, 66, 255, 0.4);
  transform: translateY(-2px);
}

.mapa-servicos-grid a i {
  color: #ff4a18;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.mapa-servicos-grid a:hover i {
  color: #ff4a18;
}

.mapa-servicos-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #7b42ff, #ba5bff);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 auto;
  width: fit-content;
  box-shadow: 0 8px 25px rgba(123, 66, 255, 0.25);
}

.mapa-servicos-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(123, 66, 255, 0.35);
}

.mapa-servicos-cta i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .mapa-servicos-title {
    font-size: 2rem;
  }

  .mapa-servicos-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem 1rem;
  }

  .mapa-servicos-grid a {
    font-size: 0.95rem;
    padding: 0.625rem 0.875rem;
  }
}

@media (max-width: 480px) {
  .mapa-servicos-section {
    padding: 60px 0;
  }

  .mapa-servicos-container {
    padding: 0 1rem;
  }

  .mapa-servicos-title {
    font-size: 1.75rem;
  }

  .mapa-servicos-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mapa-servicos-cta {
    width: 100%;
    padding: 16px 24px;
  }
}
