/* =============================================
   HOME.CSS — Seções específicas da Home
   ============================================= */

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 42, 59, 0.75) 0%,
    rgba(62, 109, 174, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero__title span {
  color: #9ec5f5;
}

.hero__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
  }
  .hero__buttons {
    flex-direction: column;
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   SOBRE RESUMO (home)
   ============================================= */

.sobre-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sobre-home__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card-hover);
}

.sobre-home__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-home__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.sobre-home__title {
  margin-bottom: 20px;
}

.sobre-home__text {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre-home__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 36px;
}

.sobre-home__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.sobre-home__highlight [data-lucide] {
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sobre-home {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   SERVIÇOS (home grid)
   ============================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =============================================
   NÚMEROS / STATS
   ============================================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stats-grid .stat-item {
  border-right: 1px solid var(--color-border);
}

.stats-grid .stat-item:last-child {
  border-right: none;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .stats-grid .stat-item:last-child {
    border-bottom: none;
  }
}

/* =============================================
   PORTFÓLIO PREVIEW (home)
   ============================================= */

.portfolio-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .portfolio-grid-home { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .portfolio-grid-home { grid-template-columns: 1fr; }
}

/* =============================================
   DEPOIMENTOS
   ============================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* =============================================
   INSTAGRAM FEED
   ============================================= */

.instagram-section {
  text-align: center;
}

.instagram-section .section-header__label a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.instagram-section .section-header__label a:hover {
  color: var(--color-primary);
}

.snapwidget-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
