.fachada {
  position: relative;
  overflow: hidden;
  background-color: #1c2838;
}

.fachada::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: var(--foto-topo, -24%);
  height: var(--foto-altura, 148%);
  background-image: url("../assets/background.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(460px, calc(100svh - var(--header) - 280px), 620px);
  background: none;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 14, 28, 0.55) 0%,
    rgba(8, 14, 28, 0.28) 34%,
    rgba(8, 14, 28, 0.05) 58%,
    rgba(8, 14, 28, 0) 72%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 64px;
}

.hero h1 {
  max-width: 10.6em;
  margin: 0;
  font-size: clamp(32px, 3.05vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.gold-rule {
  display: block;
  width: 44px;
  height: 3px;
  margin: 24px 0 20px;
  background: var(--gold);
}

.hero p {
  max-width: 24em;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.spaces {
  padding: 36px 0 28px;
  background: var(--white);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 250px;
  padding: 36px 32px 32px;
  background: var(--card);
  border-radius: 18px;
}

.card-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h2 {
  margin: 22px 0 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  max-width: 28em;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gold);
  font-size: 14.5px;
  font-weight: 600;
}

.card-link:hover {
  color: var(--gold-hover);
}

.sede {
  padding: 12px 0 36px;
  background: var(--white);
}

.sede .wrap {
  max-width: 760px;
}

.sede-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sede h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sede p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .fachada::before {
    top: 0;
    height: 100%;
    background-position: center center;
    background-size: cover;
  }

  .spaces-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .fachada::before {
    background-position: left center;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 14, 28, 0.78) 0%,
      rgba(8, 14, 28, 0.55) 48%,
      rgba(8, 14, 28, 0.28) 100%
    );
  }

  .hero h1 {
    max-width: 12em;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
