/* ==========================================================================
   HOME / APRESENTA??O BLUEPRINTLABS3D - PROFISSIONAL & CONTIDO
   ========================================================================== */

.page-home {
  padding-bottom: 96px;
}

/* Hero Section */
.home-hero {
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.home-hero-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.home-hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.home-hero-title span {
  color: var(--brand-blue-accent);
}

.home-hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
}

.home-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.home-hero-image-wrap {
  position: relative;
}

.home-hero-img-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.home-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
}

.home-hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

/* Metrics Banner */
.stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 88px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  padding-right: 16px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

/* Section Common */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 88px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-navy);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-subtle);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.solution-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Materials Grid */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 88px;
}

.material-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.material-card:hover {
  border-color: var(--brand-navy);
}

.material-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.material-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.material-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-muted);
  color: var(--text-muted);
  text-transform: uppercase;
}

.material-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

.material-attr-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-body);
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.material-attr-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Process Steps */
.process-section {
  background: var(--brand-navy-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  margin-bottom: 88px;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.process-header h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.process-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.process-step-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #134074 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   WIDESCREEN 16:9 DESKTOP & MOBILE PWA RESPONSIVENESS
   ========================================================================== */

/* Widescreen Desktop Expansion (>1024px) */
@media (min-width: 1024px) {
  .home-hero {
    padding: 72px 0 88px;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
  .home-hero-title {
    font-size: 3.4rem;
  }
  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .materials-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
  }
  .process-steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1400px) {
  .home-hero-title {
    font-size: 3.8rem;
  }
}

/* Tablet Layout (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile PWA Viewport (<768px) */
@media (max-width: 768px) {
  .page-home {
    padding-bottom: 60px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 28px 0 36px;
    gap: 24px;
    text-align: left;
  }

  .home-hero-text {
    align-items: flex-start;
    gap: 16px;
  }

  .home-hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .home-hero-desc {
    font-size: 1rem;
  }

  .home-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .home-hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    justify-content: center;
  }

  /* Stats Banner em Carrossel Horizontal Deslizável */
  .stats-banner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 48px;
    border-radius: var(--radius-sm);
    -webkit-overflow-scrolling: touch;
  }

  .stat-item {
    min-width: 190px;
    scroll-snap-align: start;
    flex-shrink: 0;
    border-right: 1px solid var(--border-subtle);
    padding-right: 16px;
  }

  /* Soluções em Carrossel Horizontal no Mobile */
  .solutions-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 56px;
    -webkit-overflow-scrolling: touch;
  }

  .solution-card {
    min-width: 260px;
    scroll-snap-align: start;
    flex-shrink: 0;
    padding: 24px 20px;
  }

  .materials-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 56px;
  }

  .process-section {
    padding: 36px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 56px;
  }

  .process-header h2 {
    font-size: 1.7rem;
  }

  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-banner {
    padding: 40px 24px;
    border-radius: var(--radius-md);
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }
}
