/* ========================================
   EVENTOS LP — Page-specific overrides
   ======================================== */


/* ---------- PARCEIROS — gap reduzido para caber 9 logos em 1 linha ---------- */
.parceiros__logos {
  gap: var(--space-md);
}


/* ---------- STATS GRID — 3 COLUMNS ---------- */
.hero__stats .stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 479px) {
  .hero__stats .stats-grid {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   FROTA
   ======================================== */
.frota__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.frota__card {
  display: flex;
  flex-direction: column;
}

.frota__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-md);
}

.frota__card-body h3 {
  font-weight: 800;
}

.frota__card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}

.frota__card:hover .frota__card-btn {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.frota__card-slider {
  background: var(--gray-100);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}


/* ========================================
   CTA INLINE (entre seções)
   ======================================== */
.cta-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-2xl) var(--space-md);
}

/* .btn--lg consolidado em css/components.css */


/* ========================================
   SEGURANÇA — Background image
   ======================================== */
.section-banner {
  position: relative;
  overflow: hidden;
}

.section-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.section-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--navy-rgb), 0.88) 0%, rgba(var(--navy-rgb), 0.75) 100%);
  z-index: 1;
}

.section-banner .container {
  position: relative;
  z-index: 2;
}


/* ========================================
   CASES — Card pattern (logo + name + text)
   ======================================== */
.card--case {
  border-left: 4px solid var(--orange);
  padding: var(--space-xl);
}

.card__case-logo {
  height: 60px;
  width: 120px;
  object-fit: contain;
  margin-bottom: var(--space-md);
}

.card__case-logos {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.card__case-logos .card__case-logo {
  margin-bottom: 0;
}

.card__case-logo--round {
  border-radius: 50%;
  object-fit: cover;
  width: 60px;
  height: 60px;
}

.card__case-name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}


/* ========================================
   FORM SLOTS
   ======================================== */
.ghl-form-slot {
  max-height: 500px;
  overflow: hidden;
}

.ghl-form-slot iframe {
  min-height: 500px;
}


/* ========================================
   RESPONSIVE — TABLET (768px+)
   ======================================== */
@media (min-width: 768px) {
  .frota__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #diferenciais .diferenciais__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: unset;
  }

  #diferenciais .diferenciais__grid > * {
    flex: unset;
    max-width: none;
  }

  .servicos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ========================================
   RESPONSIVE — DESKTOP (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .servicos__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}


/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .frota__card-btn {
    transition: none;
  }
}
