/* =========================
   VARIÁVEIS DA MARCA
========================= */
:root {
  --azul-escuro: #00478A;
  --azul-claro: #42BDFF;
  --azul-suave: #A2C8EB;
  --cinza: #7A7A7A;
  --branco: #FFFFFF;
}

/* =========================
   ESTRUTURA BASE
========================= */
main {
  width: 100%;
}

main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   ANIMAÇÃO BASE
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main section {
  animation: fadeUp 0.6s ease both;
}


/* =========================
   HISTORY
========================= */
main .history {
  display: flex;
  background: linear-gradient(135deg, var(--azul-escuro), #003566);
  color: var(--branco);
  padding: 100px 0;
  text-align: center;
  flex-direction: row;
  justify-content: center;
}

.history .container {
  margin-top: 80px;
}

main .history h1 {
  font-family: 'Arimo SemiBold', 'Arimo', sans-serif;
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

main .history-subtitle {
  font-size: 1.3rem;
  color: var(--azul-suave);
  margin-bottom: 15px;
}

main .history p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1rem;
}


main .btn-primary {
  display: inline-block;
  background-color: var(--azul-claro);
  color: var(--azul-escuro);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =========================
   SEÇÕES PADRÃO
========================= */
main section {
  padding: 80px 0;
}

main section h2 {
  font-family: 'Arimo SemiBold', 'Arimo', sans-serif;
  font-size: 2rem;
  color: var(--azul-escuro);
  margin-bottom: 20px;
}

main section p {
  font-size: 2rem;
  color: var(--branco);
  max-width: 1200px;
}

/* =========================
   VALORES
========================= */
main .values {
  background: linear-gradient(135deg, #F5FAFF, #FFFFFF);
}

.values-content {
  margin-top: 30px;
  max-width: 900px;
}

/* =========================
   SUBTÍTULO - METODOLOGIA
========================= */
.value-subtitle {
  margin: 0 auto 40px;
  text-align: left;
}

.value-subtitle p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cinza);
  margin: 0;
  
}

.values-list li {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  min-height: 200px;   /* 🔑 garante alinhamento */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.values-list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.values-text {
  font-size: 1.05rem;
  color: var(--azul-escuro);
  font-weight: 500;
  max-width: 750px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0;
  list-style: none;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--azul-escuro), #003566);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  /* Estrutura geral */
  main section {
    padding: 60px 0;
  }

  main .container {
    padding: 0 16px;
  }

  /* HISTORY */
  main .history {
    flex-direction: column;
    padding: 80px 0 60px;
  }

  .history .container {
    margin-top: 0;
  }

  main .history h1 {
    font-size: 1.9rem;
  }

  main .history-subtitle {
    font-size: 1.1rem;
  }

  main .history p {
    font-size: 0.95rem;
  }

  /* Botão */
  main .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* VALUES */
  .values-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .values-list li {
    min-height: 180px;
    padding: 20px 14px;
  }

   .value-subtitle p {
    font-size: 0.95rem;
  }

  .value-icon {
    width: 56px;
    height: 56px;
  }

  .value-icon svg {
    width: 28px;
    height: 28px;
  }

  .values-list li span {
    font-size: 0.95rem;
  }

  .history img {
    display: none;
  }
  
}

@media (max-width: 480px) {

  main .history h1 {
    font-size: 1.6rem;
  }

  main .history-subtitle {
    font-size: 1rem;
  }

  main .history p {
    font-size: 0.9rem;
  }

  /* VALUES */
  .values-list {
    grid-template-columns: 1fr;
  }

  .values-list li {
    min-height: 160px;
  }
}

/* =========================
   TABLET
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

  main .history h1 {
    font-size: 2.1rem;
  }

  .values-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-list li {
    min-height: 190px;
  }
}
