/**
 * Estilos compartilhados para páginas Datameros
 * Hero e cards padronizados (contatos, sobre, preços, dashboard, integrações)
 */

/* ======== Page Hero (gradiente igual ao contatos) ======== */
.page-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 150px 0 80px;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></linearGradient></defs><polygon fill="url(%23grad)" points="0,100 100,0 100,100"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-hero h2 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 120px 20px 60px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero p {
    font-size: 18px;
  }
}

/* ======== Page Cards (conceito contatos) ======== */
.page-cards {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.page-card {
  background: #fff;
  border-radius: 15px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.page-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.page-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-card .icon i {
  font-size: 28px;
  color: #fff;
}

.page-card h3,
.page-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.page-card p {
  color: #64748b;
  margin-bottom: 5px;
}

.page-card a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.page-card a:hover {
  color: #764ba2;
}

/* ======== Footer logo (compartilhado por todas as páginas que usam includes/footer.php) ======== */
.footer .logo img {
  max-width: 200px;
  height: auto;
  width: 100%;
}
