/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&display=swap');

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #2d4a7a 0%, #1a2e52 50%, #2d4a7a 100%);
  color: #ffffff;
  min-height: 100vh;
}

/* ========== TOPO DA PÁGINA (Hero Section) ========== */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('image/capa.png') center/cover;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -80px 100px rgba(0, 0, 0, 0.5);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: background 0.1s ease;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: 4.5rem;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(90deg, #1e90ff 0%, #ffffff 50%, #1e90ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CONTEÚDO PRINCIPAL (Grid 2x2) ========== */
.main-content {
  padding: 80px 20px;
  background: linear-gradient(to bottom, rgba(26, 46, 82, 0.95) 0%, rgba(45, 74, 122, 0.8) 50%, rgba(26, 46, 82, 0.95) 100%);
  position: relative;
  animation: fadeInContent 1s ease 0.3s both;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.grid-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  justify-items: center;
  animation: slideUpCards 0.8s ease 0.5s both;
}

@keyframes slideUpCards {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  width: 100%;
  max-width: 400px;
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(30, 144, 255, 0.25);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #1e90ff;
  box-shadow: 0 10px 30px rgba(30, 144, 255, 0.25);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-family: 'Crimson Text', serif;
  font-weight: 700;
}

.card-content p {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 0;
  line-height: 1.5;
  font-family: 'Crimson Text', serif;
  /* ← ÁREA SINALIZADA PARA ALTERAR DESCRIÇÃO */
}

/* ========== RODAPÉ ========== */
.footer {
  background: linear-gradient(to bottom, #2d4a7a, #1a2e52);
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid rgba(30, 144, 255, 0.2);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1e90ff;
}

.footer-content p {
  font-size: 0.95rem;
  color: #b0b0b0;
  margin-bottom: 25px;
  line-height: 1.5;
}

.footer-button {
  display: inline-block;
  padding: 10px 30px;
  margin: 8px 12px;
  background: transparent;
  color: #1e90ff;
  text-decoration: none;
  border: 2px solid #1e90ff;
  border-radius: 2px;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 0.9rem;
}

.footer-button:hover {
  background: #1e90ff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(30, 144, 255, 0.4);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 100vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .card {
    height: 350px;
    max-width: 100%;
  }

  .card-content h2 {
    font-size: 1.2rem;
  }

  .card-content p {
    font-size: 0.85rem;
  }

  .footer-content h3 {
    font-size: 1.2rem;
  }

  .footer-button {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 8px auto;
  }
}
