/* Cores de Tema Atualizadas para UX Moderno */
:root {
  --verde-appso: #34a853;
  --verde-hover: #2d8e47;
  --bg-lateral: #f8faf9;
  --bg-conteudo: #ffffff;
  --cor-texto-principal: #1a1f1c;
  --cor-texto-apoio: #555e58;
  --borda-suave: #eef2f0;
  --sombra-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Tabs Section */
.tabs-section {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #fcfdfc;
}

.tabs-title {
  background-color: #fcfdfc;
}

.tabs-container {
  display: flex;
  background-color: var(--bg-conteudo);
  border-radius: 16px;
  box-shadow: var(--sombra-card);
  width: 100%;
  max-width: 1100px;
  overflow: hidden; /* Garante que as bordas arredondadas cortem o conteúdo */
  border: 1px solid var(--borda-suave);
}

/* Menu Lateral de Tabs */
.tabs {
  display: flex;
  flex-direction: column;
  min-width: 280px;
  background-color: var(--bg-lateral);
  border-right: 1px solid var(--borda-suave);
  padding: 20px 0;
}

.tab-button {
  background-color: transparent;
  border: none;
  padding: 18px 25px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cor-texto-apoio);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
}

/* Indicador visual lateral no botão ativo */
.tab-button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0%;
  width: 4px;
  background-color: var(--verde-appso);
  transition: height 0.3s ease;
  border-radius: 0 4px 4px 0;
}

.tab-button:hover {
  background-color: #f0f4f2;
  color: var(--verde-appso);
  padding-left: 30px; /* Efeito de deslize suave */
}

.tab-button.active {
  background-color: #ffffff;
  color: var(--verde-appso);
  font-weight: 700;
  box-shadow: -5px 0 15px rgba(0,0,0,0.02);
}

.tab-button.active::after {
  height: 60%; /* O indicador cresce quando ativo */
}

/* Área de Conteúdo */
.tabs-content {
  flex-grow: 1;
  padding: 50px;
  background-color: var(--bg-conteudo);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tab-content {
  display: none;
  animation: slideIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  color: var(--cor-texto-principal);
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

/* Linha decorativa abaixo do título */
.tab-content h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--verde-appso);
  margin-top: 10px;
  border-radius: 2px;
}

.tab-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--cor-texto-apoio);
  max-width: 650px;
}

.tab-button i {
  margin-right: 12px; /* Espaço entre ícone e texto */
  width: 20px;       /* Garante que os ícones fiquem alinhados verticalmente */
  text-align: center;
  font-size: 18px;
  opacity: 0.7;       /* Ícone um pouco mais discreto por padrão */
  transition: 0.3s;
}

.tab-button.active i, 
.tab-button:hover i {
  opacity: 1;         /* Ícone brilha no hover e quando ativo */
  transform: scale(1.1); /* Dá um leve zoom no ícone */
}

/* Animação de entrada mais elegante */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Ajustes Responsivos (Mobile) */
@media (max-width: 850px) {
  .tabs-section {
    padding: 30px 15px;
  }
  
  .tabs-container {
    flex-direction: column;
  }

  .tabs {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    border-right: none;
    border-bottom: 1px solid var(--borda-suave);
    scrollbar-width: none; /* Esconde scroll no Firefox */
  }
  
  .tabs::-webkit-scrollbar {
    display: none; /* Esconde scroll no Chrome/Safari */
  }

  .tab-button {
    padding: 15px 20px;
    font-size: 14px;
    width: auto;
    border-bottom: none;
  }

  .tab-button::after {
    bottom: 0;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .tab-button.active::after {
    width: 60%;
    height: 3px;
  }

  .tabs-content {
    padding: 30px 20px;
    min-height: auto;
  }
}