/**
 * Estilos para a seção de Regiões Atendidas
 * Design baseado no mockup com tabs de estados e grid de cidades
 */

.section-regioes {
  padding: 4rem 0;
}

.section-regioes .container {
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-regioes .wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-regioes h2 {
  text-align: center;
  font-size: 1.5rem;
  line-height: 120%;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .section-regioes h2 {
    font-size: 1.75rem;
  }
}

/* Grid de Estados (Tabs) */
.regioes__grid {
  display: flex;
  flex-wrap: wrap;
  background-color: #f0f0f0;
  border-radius: 0.5rem;
  overflow: hidden;
  gap: 0;
}

.regioes__menu-item {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 1rem;
  background-color: #ffffff;
  border: none;
  border-right: 1px solid #dadada;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 150%;
  font-weight: 600;
  color: #4c4c4c;
  text-transform: uppercase;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.regioes__menu-item:last-child {
  border-right: none;
}

.regioes__menu-item:hover {
  background-color: #90765f;
  color: #ffffff;
}

.regioes__menu-item.active {
  background-color: #90765f;
  color: #ffffff;
}

/* Conteúdo das Cidades */
.regioes__content {
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(27, 27, 27, 0.08);
  padding: 1.5rem;
  min-height: 120px;
}

.regioes__content ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.regioes__content ul li {
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 150%;
  font-weight: 600;
  color: #4c4c4c;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.regioes__content ul li:hover {
  border-color: #dadada;
  background-color: #f8f8f8;
}

.regioes__content ul li strong {
  font-weight: 600;
  color: #4c4c4c;
}

/* Responsividade */
@media (min-width: 640px) {
  .regioes__content ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .regioes__content ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .regioes__content ul {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .section-regioes {
    padding: 6.5rem 0;
  }
}

@media (min-width: 1280px) {
  .regioes__content ul {
    grid-template-columns: repeat(5, 1fr);
  }
}
