/* ─────────────────────────────────────────
   hero.css — Header & Hero section
   Fazenda dos Pinheiros
───────────────────────────────────────── */

header {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 60px var(--space-md);
  position: relative;
}

/* ── Hero grid ── */
.hero {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

/* ── Image column ── */
.hero-visual {
  position: relative;
}

.hero-img-frame {
  border-radius: var(--radius-md) var(--radius-md) 60px var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(200, 152, 42, 0.35),
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-img-frame {
  aspect-ratio: 2 / 3;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.02);
}

/* Vignette on image */
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(15, 12, 28, 0.38) 100%);
  pointer-events: none;
}

/* Gold corner accent */
.hero-visual::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-md) 0;
  opacity: 0.65;
  pointer-events: none;
}

/* Lavender top-left accent */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 60px;
  height: 60px;
  border-left: 2px solid var(--lavender-dim);
  border-top: 2px solid var(--lavender-dim);
  border-radius: var(--radius-md) 0 0 0;
  opacity: 0.50;
  pointer-events: none;
}

/* ── Content column ── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-content .eyebrow {
  margin-bottom: 20px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

h1 em {
  font-style: italic;
  color: var(--lavender);
  display: block;
}

.hero-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--lavender-dim), transparent);
  margin: 28px 0;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 16px;
}

.hero-claim {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(130, 70, 210, 0.20);
  border: 1px solid rgba(140, 80, 220, 0.50);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 40px;
}

.hero-claim::before {
  content: '✦';
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Trust bar ── */
.trust-bar {
  background: rgba(25, 12, 45, 0.70);
  border-top:    1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(10px);
  padding: 22px var(--space-md);
}

.trust-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.trust-item span {
  color: var(--amber);
  font-size: 1.1rem;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { order: -1; }
  .hero-img-frame {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; }
  .btn-primary,
  .btn-ghost  { justify-content: center; }
  .trust-inner { gap: 20px; }
}
