/* ===================== ABOUT MODAIS ===================== */
.about {
  background: #f8f8f8;
  color: #333;
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Grade responsiva */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Cartões (modais flutuantes) */
.about-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatCard 4s ease-in-out infinite;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Animação flutuante */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Imagens dentro dos modais */
.about-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #eee;
}

/* Texto */
.about-content {
  padding: 25px 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* Responsividade */
@media (max-width: 768px) {
  .about h2 {
    font-size: 2rem;
  }

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

  .about-card img {
    height: 180px;
  }
}
