/* ==================================== */
/* VARIÁVEIS E ESTILOS GLOBAIS          */

:root {
  --blue-dark: #1e3a8a;
  --blue-light: #3b82f6;
  --white: #ffffff;
  --gray-light: #f9fafb;
  --gray-dark: #374151;
  --font-family: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(to right, var(--blue-dark), var(--blue-light));
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ==================================== */
/* CONTAINER                            */

.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
}

/* ==================================== */
/*----NAVBAR----*/

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue-dark);
  padding: 1rem 2rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
}

.logo-text {
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  background-color: var(--blue-light);
  transform: scale(1.05);
}

/* ==================================== */
/* CABEÇALHO DA PÁGINA SOBRE             */

.main-header {
  text-align: center;
  margin-bottom: 40px;
}

.main-header h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.main-header .lead {
  font-size: 1.2rem;
  color: #e5e7eb;
}

/* ==================================== */
/* CARDS E SEÇÕES                         */

.card {
  background: #B0C4DE;
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

h2 {
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

ul {
  padding-left: 20px;
  line-height: 1.8;
}

/* ==================================== */
/*-----RODAPÉ-----*/

footer {
  margin-top: 40px;
  text-align: center;
  padding: 1rem;
  background-color: var(--blue-dark);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.95rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

/* ==================================== */
/* RESPONSIVIDADE                       */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sobre h1 {
    font-size: 2rem;
  }

  .sobre p {
    font-size: 1rem;
  }

  .card {
    padding: 18px;
  }
}
