/*
  HOME.CSS — Página inicial
*/

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
}

.hero-meta span {
  color: var(--color-primary);
}

.hero h1 {
  font-size: var(--fs-4xl);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-sm);
}

.hero-role {
  font-size: var(--fs-xl);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero-text {
  max-width: 34rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-frame {
  position: relative;
  width: min(100%, 360px);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: var(--border-width) solid var(--color-border-strong);
}

.hero-caption {
  position: absolute;
  left: -12px;
  bottom: 24px;
  background: var(--color-bg-elevated);
  border: var(--border-width) solid var(--color-border);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border-width) solid var(--color-border);
  border-bottom: var(--border-width) solid var(--color-border);
}

.status-item {
  padding: var(--space-lg) var(--gutter);
}

.status-item + .status-item {
  border-left: var(--border-width) solid var(--color-border);
}

.status-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xs);
}

.status-value {
  font-size: var(--fs-md);
}

.home-block {
  padding: var(--space-3xl) 0;
}

.home-block-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.home-block-head p {
  color: var(--color-text-muted);
  max-width: 28rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
}

.featured-card {
  background: var(--color-bg-card);
  border: var(--border-width) solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.featured-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.featured-body h3 {
  font-size: var(--fs-xl);
  letter-spacing: -0.02em;
}

.featured-body p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.featured-link {
  margin-top: auto;
  color: var(--color-primary);
  font-size: var(--fs-sm);
}

.featured-link:hover {
  text-decoration: underline;
}

.console-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.console-intro h2 {
  font-size: var(--fs-2xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.console-intro p {
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .hero,
  .featured-grid,
  .console-intro,
  .status-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-visual {
    justify-content: flex-start;
    order: -1;
  }

  .hero-frame {
    width: min(100%, 280px);
  }

  .status-item + .status-item {
    border-left: none;
    border-top: var(--border-width) solid var(--color-border);
  }

  .home-block-head {
    flex-direction: column;
    align-items: start;
  }
}
