/* =========================================
   HERO — vídeo de fundo, texto à esquerda
   ========================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--color-bg);
}

/* ── Vídeo / poster ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Gradiente branco → azul-marinho: funde a arte de fundo (que já é
   azul/laranja, as cores da logo) e mantém o texto legível à esquerda */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.94) 32%,
    rgba(0,40,128,0.55)    64%,
    rgba(0,40,128,0.3)     100%
  );
}

/* ── Conteúdo ── */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  /* O credbar (faixa navy ~36px) já fica acima do hero e ajuda a limpar a
     topbar (72px). Aqui só compensamos o restante, evitando espaço em excesso. */
  padding-top: 2.5rem;
}

.hero-text {
  max-width: 760px;
  padding: 0.75rem 0 3rem;
}

/* Eyebrow — kicker em caixa alta, com barra térmica (quente→frio) */
.hero-eyebrow {
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-thermal);
  margin-bottom: 0.65rem;
}

/* Heading */
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 0.9rem;
}

.hero-heading-accent {
  color: var(--color-accent);
}

/* Body */
.hero-body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--color-body);
  margin-bottom: 1.5rem;
  max-width: 580px;
}

/* Prova social — linha de clientes logo abaixo dos CTAs */
.hero-proof {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 1.25rem 0 0;
  max-width: 560px;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-border);
}
.hero-proof strong {
  color: var(--color-ink);
  font-weight: 600;
}

/* Botões */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.15s;
}
.hero-btn-primary:hover {
  background: var(--color-ink-soft);
  transform: translateY(-2px);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-ink);
  border-radius: var(--radius-btn);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.hero-btn-ghost:hover {
  background: var(--color-ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Fallback sem poster/vídeo: degradê areia → petróleo ── */
.hero:not(:has(.hero-video[poster])) .hero-video-wrap {
  background: linear-gradient(135deg, #ffffff 0%, #e8f0fb 40%, #c9d9f0 100%);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.9)  60%,
      rgba(255,255,255,0.72) 100%
    );
  }

  .hero-text {
    max-width: 100%;
    padding: 0.75rem 0 4rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-body {
    font-size: 0.97rem;
  }

  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
