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

.hero {
  min-height: 760px;
  background: var(--color-petroleo);
  display: flex;
  align-items: center;
  padding-top: 80px; /* navbar height */
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 680px;
  gap: 0;
}

/* ── Coluna esquerda — conteúdo ─────────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-2xl) 0;
  z-index: 2;
}

.hero-logo {
  margin-bottom: var(--spacing-sm);
  width: 100%;
}

.hero-logo-img {
  width: min(600px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-gold-line {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--color-dourado);
  margin: 0 auto var(--spacing-md);
}

/* ── Badges CRM/RQE/TEOT ────────────────────────────────── */
.hero-badges {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.hero-badge {
  background: var(--color-petroleo-mid);
  border: 1px solid var(--color-dourado);
  color: var(--color-dourado-light);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* ── Nome / Especialidade ───────────────────────────────── */
.hero-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-branco);
  line-height: 1.15;
  margin-bottom: var(--spacing-xs);
  letter-spacing: -0.01em;
}

.hero-specialty {
  font-family: var(--font-body);
  font-size: var(--text-md);
  color: var(--color-dourado-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: var(--spacing-xl);
}

/* ── CTAs ───────────────────────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Coluna direita — foto ──────────────────────────────── */
.hero-image-col {
  position: relative;
  height: 100%;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Fade gradiente esquerda e direita */
.hero-image-wrap::before,
.hero-image-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-petroleo) 0%, transparent 100%);
}

.hero-image-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-petroleo) 0%, transparent 100%);
}

/* Cantos decorativos dourados */
.hero-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
  pointer-events: none;
}

.hero-corner--tl {
  top: var(--spacing-md);
  left: var(--spacing-md);
  border-top: 2px solid var(--color-dourado);
  border-left: 2px solid var(--color-dourado);
}

.hero-corner--br {
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  border-bottom: 2px solid var(--color-dourado);
  border-right: 2px solid var(--color-dourado);
}

/* ── Placeholder quando não há foto ─────────────────────── */
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 680px;
  background: var(--color-petroleo-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder span {
  color: rgba(255,255,255,0.2);
  font-size: var(--text-base);
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    padding-top: 60px;
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-col {
    order: -1;
    min-height: 420px;
    height: 420px;
  }

  .hero-image-wrap::before {
    display: none;
  }

  .hero-image-wrap::after {
    display: none;
  }

  /* Fade inferior no mobile */
  .hero-image-col::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--color-petroleo));
    z-index: 1;
    pointer-events: none;
  }

  .hero-content {
    padding: var(--spacing-md) var(--padding-mobile) var(--spacing-xl);
    order: 1;
  }

  .hero-logo {
    margin-bottom: var(--spacing-xs);
  }

  .hero-logo-img {
    width: min(340px, 100%);
  }

  .hero-gold-line {
    margin-bottom: var(--spacing-sm);
  }

  .hero-badges {
    margin-bottom: var(--spacing-md);
  }

  .hero-name {
    font-size: var(--text-2xl);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
