/* =============================================
   HOMEPAGE — Grupo Gesplam (index.html styles)
   ============================================= */

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #1E5DB7 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.025'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-watermark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  font-size: 28rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  font-family: var(--font);
  line-height: 1;
  user-select: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-text .eyebrow { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 100px; font-size: clamp(0.5rem, 2vw, 0.75rem); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 100%; }
.hero-text h1 { color: var(--white); margin: 16px 0 24px; }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.hero-img-wrap .img-placeholder { border-radius: var(--radius-lg); min-height: 400px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.25); }
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}
.hero-badge strong { font-size: 1.75rem; font-weight: 800; color: var(--blue); }
.hero-badge span { font-size: 0.875rem; color: var(--text-body); font-weight: 500; }

/* ── CREDIBILIDADE ── */
.credibility {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cred-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.cred-item:hover { background: var(--gray-bg); border-color: var(--border); }
.cred-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.cred-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.cred-label { font-size: 0.9375rem; font-weight: 600; color: var(--graphite-2); line-height: 1.35; }
.cred-desc { font-size: 0.875rem; color: var(--text-body); }

/* ── QUEM SOMOS RESUMO ── */
.about-preview { padding: var(--section-py) 0; background: var(--gray-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.about-img-wrap .img-placeholder { min-height: 460px; }
.about-img-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--blue);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  max-width: 180px;
  line-height: 1.4;
}
.about-text p + p { margin-top: 16px; }
.about-text .btn { margin-top: 32px; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--graphite-2);
}
.about-feature-icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

/* ── SERVIÇOS ── */
.services { padding: var(--section-py) 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 12px; font-weight: 700; }
.service-card p { font-size: 0.9375rem; line-height: 1.65; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}
.service-more:hover { gap: 10px; }

/* ── DIFERENCIAIS ── */
.differentials { padding: var(--section-py) 0; background: var(--gray-bg); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.diff-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.diff-icon {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 16px;
}
.diff-card h4 { font-size: 1.0625rem; margin-bottom: 10px; }
.diff-card p { font-size: 0.9rem; }

/* ── ÁREAS DE ATUAÇÃO ── */
.areas { padding: var(--section-py) 0; background: var(--white); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.area-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: var(--transition);
}
.area-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.area-icon {
  width: 60px; height: 60px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.area-body h4 { font-size: 1.05rem; margin-bottom: 8px; }
.area-body p { font-size: 0.9375rem; }
.areas-visual { border-radius: var(--radius-lg); overflow: hidden; }
.areas-visual .img-placeholder { min-height: 300px; }

/* ── PROCESSO ── */
.process { 
  padding: var(--section-py) 0; 
  background: #12296E; /* Tom sutilmente diferente do --blue-dark para distinguir do rodapé */
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.process .section-title { color: var(--white); }
.process .section-subtitle { color: rgba(255,255,255,0.7); }
.process .eyebrow { color: rgba(255,255,255,0.6); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-number-wrap {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition);
}
.process-step:hover .step-number-wrap {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}
.process-step h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
.process-step p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ── CTA FINAL ── */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 40px; font-size: 1.0625rem; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ═══ RESPONSIVIDADE HOME ═══ */
@media (max-width: 1024px) {
  .credibility-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .hero { padding: 110px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-badge { display: none; }
  .credibility-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { height: 280px; }
  .about-img-wrap .img-placeholder { min-height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .credibility-grid { grid-template-columns: 1fr; }
}
