/* VOLANTE APP — SECOES.CSS */
/* Escopo: cabeçalhos, estados e regiões da Home */

.home-main {
  width: 100%;
}

.home-section,
.secao {
  width: 100%;
  max-width: 1440px;
  min-width: 0;
}

/* CABEÇALHOS */

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px 20px 0;
}

.section-head-menor {
  margin-bottom: 10px;
}

.section-head > div {
  min-width: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(30, 58, 138, .14);
  color: var(--azul-principal);
  font-size: .64rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.section-head h2,
.section-head h3 {
  margin: 7px 0 0;
  color: var(--texto);
  font-size: 1.42rem;
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.section-head h3 {
  font-size: 1.18rem;
}

.section-head p {
  margin: 5px 0 0;
  color: var(--cinza);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.32;
}

.home-ver-todos {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(30, 58, 138, .18);
  color: var(--azul-principal);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .045);
  white-space: nowrap;
  transition: .2s ease;
  flex: 0 0 auto;
}

.home-ver-todos:hover {
  border-color: rgba(30, 58, 138, .32);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

/* EXPLORE POR REGIÃO */

.secao-regioes {
  width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 0 12px 12px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .07);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.regioes-grid {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.regiao-card {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .055);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: .2s ease;
}

.regiao-card:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 58, 138, .2);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .055);
}

.regiao-card strong {
  display: block;
  color: var(--texto);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.08;
}

.regiao-card span {
  display: block;
  margin-top: 3px;
  color: var(--cinza);
  font-size: .62rem;
  font-weight: 650;
  line-height: 1.12;
}

/* ESTADO VAZIO */

.home-empty,
.secao .empty {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  color: var(--cinza);
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

/* MOBILE */

@media (max-width: 820px) {
  .section-head {
    padding: 12px 14px 0;
  }

  .regioes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section-head {
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 12px 14px 0;
  }

  .section-label {
    min-height: 22px;
    padding: 0 9px;
    font-size: .62rem;
  }

  .section-head h2 {
    font-size: 1.35rem;
  }

  .section-head h3 {
    font-size: 1.15rem;
  }

  .section-head p {
    font-size: .82rem;
  }

  .home-ver-todos {
    min-height: 32px;
    padding: 0 12px;
    font-size: .74rem;
  }

  .secao-regioes {
    width: 100%;
    padding: 0 11px 11px;
    border-radius: 17px;
  }

  .regioes-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .regiao-card {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: 14px;
    display: flex !important;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .regioes-grid {
    grid-template-columns: 1fr;
  }
}
