/* ==========================================================================
   10. Como chegar (Design System 7.12)
   Fundo red-900 · título, texto do briefing, 3 passos numerados (círculos
   dourados com número em night-900) · botões Google Maps (secundário) e
   Waze (destaque). Sem texto dourado sobre vermelho.
   ========================================================================== */

.nes-chegar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 0% 100%, rgba(216, 28, 35, .35) 0%, rgba(216, 28, 35, 0) 70%),
    var(--nes-red-900);
  color: var(--nes-cream-100);
}

.nes-chegar__inner {
  display: grid;
  gap: var(--nes-space-7);
}

.nes-chegar__title {
  color: var(--nes-white);
}

.nes-chegar__text {
  margin-top: var(--nes-space-3);
  color: rgba(248, 240, 224, .92);
}

/* --- Passos --- */
.nes-chegar__steps {
  display: grid;
  gap: var(--nes-space-4);
  margin-top: var(--nes-space-6);
  counter-reset: none;
}

.nes-chegar__step {
  display: flex;
  align-items: center;
  gap: var(--nes-space-4);
  color: var(--nes-cream-100);
}

.nes-chegar__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nes-gold-400); /* círculo dourado (fundo), número em night-900 */
  box-shadow: 0 3px 0 var(--nes-gold-500);
  color: var(--nes-night-900);
  font-family: var(--nes-font-serif);
  font-weight: 700;
  font-size: 1.25rem;
}

.nes-chegar__step p {
  font-size: var(--nes-fs-body);
  line-height: var(--nes-lh-body);
}

/* --- Botões --- */
.nes-chegar__actions {
  display: grid;
  gap: var(--nes-space-3);
  margin-top: var(--nes-space-6);
}

.nes-chegar__actions .nes-btn {
  gap: var(--nes-space-2);
}

/* --- Foto --- */
.nes-chegar__media {
  order: -1;
  overflow: hidden;
  border: 4px solid var(--nes-cream-100);
  border-radius: var(--nes-radius-lg);
  background: var(--nes-night-950);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .25), 0 24px 40px rgba(0, 0, 0, .3);
  aspect-ratio: 3 / 2;
}

.nes-chegar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .nes-chegar__content,
  .nes-chegar__media {
    width: 100%;
    max-width: 600px;
    justify-self: center;
  }

  .nes-chegar__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   Desktop: texto à esquerda, foto à direita
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .nes-chegar__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: var(--nes-space-8);
    align-items: center;
  }

  .nes-chegar__content,
  .nes-chegar__media {
    max-width: none;
    justify-self: stretch;
  }

  .nes-chegar__media {
    order: 0;
    aspect-ratio: 4 / 3;
  }
}
