/* ==========================================================================
   HOME.CSS  —  Exclusivo da página inicial (home.html)
   Depende de global.css (carregue o global.css ANTES deste).
   OBS: o carrossel "Nossos Clientes" NÃO fica aqui — ele é um componente
        compartilhado (home + sobre) e vive apenas no style.css (global).
   ========================================================================== */

/* ==========================================
   HERO — CARROSSEL DE BANNERS
========================================== */
.hero-wrapper {
  padding: 0 0 48px 0;
}

.hero-swiper {
  width: 100%;
  aspect-ratio: 1440 / 464;
  height: auto;
}

.hero-swiper .hero-slide {
  width: 100%;
  height: 100%;
  background-color: var(--navy-light);
  background-size: cover;
  background-position: center;
}

.hero-swiper .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--red-brand);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
}

/* ==========================================
   DESTAQUES
========================================== */
.highlights {
  background-color: var(--bg-white);
  padding: 0 0 40px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-destaque {
  background-color: var(--navy-mid);
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--bg-white);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.card-destaque img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-destaque:hover {
  background-color: var(--red-brand);
}

/* ==========================================
   POR QUE TRANSPORTAR
========================================== */
.why-us {
  background-color: var(--bg-gray);
  padding: 80px 0;
}

.why-us-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.why-us-left {
  flex: 1;
}

.why-us-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.why-us-title img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.why-us-title h2 {
  margin-bottom: 0;
}

.why-us-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}

.why-us-gap {
  width: 80px;
  flex-shrink: 0;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card-diferencial {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

.diferencial-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.diferencial-header img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.diferencial-header strong {
  font-size: 15px;
  color: var(--text-dark);
}

.why-us-right {
  width: 380px;
  flex-shrink: 0;
}

.why-us-image {
  background-color: var(--navy-light);
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* ==========================================
   NOSSOS SERVIÇOS (wrapper da home — fundo branco)
   Os cards vêm do componente em global.css
========================================== */
.services {
  padding: 80px 0;
  background-color: var(--bg-white);
}

/* ==========================================
   RESPONSIVO DA HOME
========================================== */
@media (max-width: 1024px) {
  .why-us-gap {
    display: none;
  }
  .why-us-layout {
    flex-direction: column;
    gap: 40px;
  }
  .why-us-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .highlights-grid,
  .differentials-grid {
    grid-template-columns: 1fr;
  }
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    display: none;
  }

  .hero-swiper {
    aspect-ratio: auto;
    height: 252px;
  }
}