/* =========================================================
   APLICAÇÕES – BIOMAPA
   CSS LIMPO | SEM DUPLICAÇÃO
   TEXTO ALINHADO AO EIXO DAS BARRAS
   ========================================================= */

/* -------------------------
   CONTAINER PRINCIPAL
   ------------------------- */

.aplicacoes-page {
  max-width: 1100px;              /* mesmo eixo das barras */
  margin: 0 auto;
  padding: 40px 24px 80px;
  font-family: "Inter", "Roboto", Arial, sans-serif;
  color: #1f2937;
}

/* -------------------------
   TÍTULO E SUBTÍTULO
   ------------------------- */

.page-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #0f172a;
}

.page-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 1.6;
  color: #475569;
}

/* TEXTO INSTITUCIONAL ALINHADO À BARRA */

.apps-context {
  max-width: 1100px;    
  margin: 0 auto 64px;
  padding: 0 24px;       
  color:#475569
}

/* parágrafo institucional */
.apps-context p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

/* parágrafo final */
.apps-hint {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  text-align: justify;
}


/* =========================================================
   ACCORDION – ESPÉCIE
   ========================================================= */

.accordion-root {
  max-width: 1100px;
  margin: 24px auto 0;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #586ced;
  color: #ffffff;
  border: none;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  margin-bottom: 14px;
  cursor: pointer;
}

.accordion-header::after {
  content: "▾";
  position: absolute;
  right: 22px;
  font-size: 16px;
}

.accordion-header:hover {
  background: #1730d6;
}

.accordion-content {
  display: none;
  background: #f8fafc;
  padding: 18px 22px;
  border-radius: 10px;
}

/* =========================================================
   BIOMASSA
   ========================================================= */

.biomassa-header {
  background: #e5edff;
  border-left: 6px solid #2f63d3;
  padding: 14px 16px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  border-radius: 6px;
}

.biomassa-content {
  display: none;
  padding: 16px 20px;
}

/* =========================================================
   SWITCH USUAL / POTENCIAL
   ========================================================= */

.apps-switch {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.apps-switch button {
  border: 1px solid #c7d2fe;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.apps-switch button.active {
  background: #2f63d3;
  color: #ffffff;
}

/* =========================================================
   CARDS
   ========================================================= */

.app-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.app-card p {
  font-size: 14px;
  margin: 6px 0;
  color: #374151;
}

/* cabeçalho da aplicação */
.aplicacao-header {
  background: #e5edff;
  border-left: 6px solid #2f63d3;
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 12px;
  color: #1f2937;
}

.aplicacao-body {
  text-align: center;
}

.aplicacao-body p {
  margin: 6px 0;
  font-size: 14px;
  color: #374151;
}

/* =========================================================
   UTIL
   ========================================================= */

.apps-list.hidden {
  display: none;
}

.loading,
.apps-loading,
.apps-error {
  background: #f8fafc;
  padding: 18px;
  border-radius: 8px;
  border: 1px dashed #cbd5f5;
  font-size: 14px;
  text-align: center;
  color: #475569;
}
