/* Reset e configurações globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: 0;
}

/* Background com overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./assets/background.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.6);
  z-index: -1;
}

/* Container do cabeçalho (imagem + subtítulo) */
.header-wrapper {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  border-bottom: 3px solid #3498db;
  margin-bottom: 4rem;
}

/* Imagem da logo */
#logoj {
  max-width: 300px;
  height: auto;
}

/* Subtítulo */
.header-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #7f8c8d;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}


/* Container principal centralizado */
.container {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: stretch;
  min-height: calc(100vh - 200px);
  align-content: flex-start;
  padding-top: 2rem;
}

/* Cards melhorados e centralizados */
.box {
  width: 350px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
  margin: 0;
}

/* Borda superior colorida nos cards */
.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #f39c12);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.box:hover::before {
  opacity: 1;
}

/* Efeito hover melhorado */
.box:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* Conteúdo dos cards */
.card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h2 {
  font-size: 1.8rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

.card-content p {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  line-height: 1.6;
  color: #f8f9fa;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

/* Destacar informações específicas */
.card-content p:first-of-type {
  color: #a8e6cf;
  font-weight: 600;
}

.card-content p:nth-of-type(2) {
  color: #ffd93d;
  font-weight: 600;
}

/* Seções de informações adicionais */
.info {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.imagem img {
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.imagem img:hover {
  transform: scale(1.02);
}

.mapa iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 15px;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* Títulos de seção */
h2 {
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Responsividade */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
  
  h1::after {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 1rem;
    gap: 1.5rem;
    padding-top: 1rem;
  }
  
  .box {
    width: 100%;
    max-width: 400px;
    min-height: 280px;
    padding: 2rem;
  }
  
  .card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-content p {
    font-size: 1rem;
    margin: 0.6rem 0;
  }
  
  h2 {
    font-size: 2rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
    padding: 1rem;
  }
  
  h1::after {
    font-size: 0.9rem;
  }
  
  .box {
    padding: 1.5rem;
    min-height: 250px;
  }
  
  .card-content h2 {
    font-size: 1.3rem;
  }
  
  .card-content p {
    font-size: 0.95rem;
    margin: 0.5rem 0;
  }
  
  h2 {
    font-size: 1.8rem;
  }
}

/* Animação de entrada para os cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box {
  animation: fadeInUp 0.6s ease-out;
}

/* Delay escalonado para múltiplos cards */
.box:nth-child(1) { animation-delay: 0.1s; }
.box:nth-child(2) { animation-delay: 0.2s; }
.box:nth-child(3) { animation-delay: 0.3s; }
.box:nth-child(4) { animation-delay: 0.4s; }
.box:nth-child(5) { animation-delay: 0.5s; }
.box:nth-child(6) { animation-delay: 0.6s; }

